public static final class GetConnectSettingsRequest.Builder extends GeneratedMessage.Builder<GetConnectSettingsRequest.Builder> implements GetConnectSettingsRequestOrBuilderConnect settings retrieval request.
Protobuf type google.cloud.sql.v1.GetConnectSettingsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetConnectSettingsRequest.BuilderImplements
GetConnectSettingsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetConnectSettingsRequest build()| Returns | |
|---|---|
| Type | Description |
GetConnectSettingsRequest |
|
buildPartial()
public GetConnectSettingsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetConnectSettingsRequest |
|
clear()
public GetConnectSettingsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetConnectSettingsRequest.Builder |
|
clearInstance()
public GetConnectSettingsRequest.Builder clearInstance()Cloud SQL instance ID. This does not include the project ID.
string instance = 1;
| Returns | |
|---|---|
| Type | Description |
GetConnectSettingsRequest.Builder |
This builder for chaining. |
clearProject()
public GetConnectSettingsRequest.Builder clearProject()Project ID of the project that contains the instance.
string project = 2;
| Returns | |
|---|---|
| Type | Description |
GetConnectSettingsRequest.Builder |
This builder for chaining. |
clearReadTime()
public GetConnectSettingsRequest.Builder clearReadTime()Optional. Optional snapshot read timestamp to trade freshness for performance.
.google.protobuf.Timestamp read_time = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GetConnectSettingsRequest.Builder |
|
getDefaultInstanceForType()
public GetConnectSettingsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetConnectSettingsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInstance()
public String getInstance()Cloud SQL instance ID. This does not include the project ID.
string instance = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The instance. |
getInstanceBytes()
public ByteString getInstanceBytes()Cloud SQL instance ID. This does not include the project ID.
string instance = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for instance. |
getProject()
public String getProject()Project ID of the project that contains the instance.
string project = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The project. |
getProjectBytes()
public ByteString getProjectBytes()Project ID of the project that contains the instance.
string project = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for project. |
getReadTime()
public Timestamp getReadTime()Optional. Optional snapshot read timestamp to trade freshness for performance.
.google.protobuf.Timestamp read_time = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The readTime. |
getReadTimeBuilder()
public Timestamp.Builder getReadTimeBuilder()Optional. Optional snapshot read timestamp to trade freshness for performance.
.google.protobuf.Timestamp read_time = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getReadTimeOrBuilder()
public TimestampOrBuilder getReadTimeOrBuilder()Optional. Optional snapshot read timestamp to trade freshness for performance.
.google.protobuf.Timestamp read_time = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasReadTime()
public boolean hasReadTime()Optional. Optional snapshot read timestamp to trade freshness for performance.
.google.protobuf.Timestamp read_time = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the readTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetConnectSettingsRequest other)
public GetConnectSettingsRequest.Builder mergeFrom(GetConnectSettingsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetConnectSettingsRequest |
| Returns | |
|---|---|
| Type | Description |
GetConnectSettingsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetConnectSettingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetConnectSettingsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetConnectSettingsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetConnectSettingsRequest.Builder |
|
mergeReadTime(Timestamp value)
public GetConnectSettingsRequest.Builder mergeReadTime(Timestamp value)Optional. Optional snapshot read timestamp to trade freshness for performance.
.google.protobuf.Timestamp read_time = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
GetConnectSettingsRequest.Builder |
|
setInstance(String value)
public GetConnectSettingsRequest.Builder setInstance(String value)Cloud SQL instance ID. This does not include the project ID.
string instance = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe instance to set. |
| Returns | |
|---|---|
| Type | Description |
GetConnectSettingsRequest.Builder |
This builder for chaining. |
setInstanceBytes(ByteString value)
public GetConnectSettingsRequest.Builder setInstanceBytes(ByteString value)Cloud SQL instance ID. This does not include the project ID.
string instance = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for instance to set. |
| Returns | |
|---|---|
| Type | Description |
GetConnectSettingsRequest.Builder |
This builder for chaining. |
setProject(String value)
public GetConnectSettingsRequest.Builder setProject(String value)Project ID of the project that contains the instance.
string project = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe project to set. |
| Returns | |
|---|---|
| Type | Description |
GetConnectSettingsRequest.Builder |
This builder for chaining. |
setProjectBytes(ByteString value)
public GetConnectSettingsRequest.Builder setProjectBytes(ByteString value)Project ID of the project that contains the instance.
string project = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for project to set. |
| Returns | |
|---|---|
| Type | Description |
GetConnectSettingsRequest.Builder |
This builder for chaining. |
setReadTime(Timestamp value)
public GetConnectSettingsRequest.Builder setReadTime(Timestamp value)Optional. Optional snapshot read timestamp to trade freshness for performance.
.google.protobuf.Timestamp read_time = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
GetConnectSettingsRequest.Builder |
|
setReadTime(Timestamp.Builder builderForValue)
public GetConnectSettingsRequest.Builder setReadTime(Timestamp.Builder builderForValue)Optional. Optional snapshot read timestamp to trade freshness for performance.
.google.protobuf.Timestamp read_time = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
GetConnectSettingsRequest.Builder |
|