public static final class SqlInstancesPatchRequest.Builder extends GeneratedMessage.Builder<SqlInstancesPatchRequest.Builder> implements SqlInstancesPatchRequestOrBuilderProtobuf type google.cloud.sql.v1beta4.SqlInstancesPatchRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SqlInstancesPatchRequest.BuilderImplements
SqlInstancesPatchRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SqlInstancesPatchRequest build()| Returns | |
|---|---|
| Type | Description |
SqlInstancesPatchRequest |
|
buildPartial()
public SqlInstancesPatchRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
SqlInstancesPatchRequest |
|
clear()
public SqlInstancesPatchRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
SqlInstancesPatchRequest.Builder |
|
clearBody()
public SqlInstancesPatchRequest.Builder clearBody().google.cloud.sql.v1beta4.DatabaseInstance body = 100;
| Returns | |
|---|---|
| Type | Description |
SqlInstancesPatchRequest.Builder |
|
clearInstance()
public SqlInstancesPatchRequest.Builder clearInstance()Cloud SQL instance ID. This does not include the project ID.
string instance = 1;
| Returns | |
|---|---|
| Type | Description |
SqlInstancesPatchRequest.Builder |
This builder for chaining. |
clearProject()
public SqlInstancesPatchRequest.Builder clearProject()Project ID of the project that contains the instance.
string project = 2;
| Returns | |
|---|---|
| Type | Description |
SqlInstancesPatchRequest.Builder |
This builder for chaining. |
clearReconcilePscNetworking()
public SqlInstancesPatchRequest.Builder clearReconcilePscNetworking()Optional. Set PSC config to the same value as the existing config to reconcile the PSC networking.
optional bool reconcile_psc_networking = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SqlInstancesPatchRequest.Builder |
This builder for chaining. |
clearReconcilePscNetworkingForce()
public SqlInstancesPatchRequest.Builder clearReconcilePscNetworkingForce()Optional. Set PSC config to the same value as the existing config and force reconcile the PSC networking.
optional bool reconcile_psc_networking_force = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SqlInstancesPatchRequest.Builder |
This builder for chaining. |
getBody()
public DatabaseInstance getBody().google.cloud.sql.v1beta4.DatabaseInstance body = 100;
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance |
The body. |
getBodyBuilder()
public DatabaseInstance.Builder getBodyBuilder().google.cloud.sql.v1beta4.DatabaseInstance body = 100;
| Returns | |
|---|---|
| Type | Description |
DatabaseInstance.Builder |
|
getBodyOrBuilder()
public DatabaseInstanceOrBuilder getBodyOrBuilder().google.cloud.sql.v1beta4.DatabaseInstance body = 100;
| Returns | |
|---|---|
| Type | Description |
DatabaseInstanceOrBuilder |
|
getDefaultInstanceForType()
public SqlInstancesPatchRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SqlInstancesPatchRequest |
|
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. |
getReconcilePscNetworking()
public boolean getReconcilePscNetworking()Optional. Set PSC config to the same value as the existing config to reconcile the PSC networking.
optional bool reconcile_psc_networking = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The reconcilePscNetworking. |
getReconcilePscNetworkingForce()
public boolean getReconcilePscNetworkingForce()Optional. Set PSC config to the same value as the existing config and force reconcile the PSC networking.
optional bool reconcile_psc_networking_force = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The reconcilePscNetworkingForce. |
hasBody()
public boolean hasBody().google.cloud.sql.v1beta4.DatabaseInstance body = 100;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the body field is set. |
hasReconcilePscNetworking()
public boolean hasReconcilePscNetworking()Optional. Set PSC config to the same value as the existing config to reconcile the PSC networking.
optional bool reconcile_psc_networking = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the reconcilePscNetworking field is set. |
hasReconcilePscNetworkingForce()
public boolean hasReconcilePscNetworkingForce()Optional. Set PSC config to the same value as the existing config and force reconcile the PSC networking.
optional bool reconcile_psc_networking_force = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the reconcilePscNetworkingForce field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeBody(DatabaseInstance value)
public SqlInstancesPatchRequest.Builder mergeBody(DatabaseInstance value).google.cloud.sql.v1beta4.DatabaseInstance body = 100;
| Parameter | |
|---|---|
| Name | Description |
value |
DatabaseInstance |
| Returns | |
|---|---|
| Type | Description |
SqlInstancesPatchRequest.Builder |
|
mergeFrom(SqlInstancesPatchRequest other)
public SqlInstancesPatchRequest.Builder mergeFrom(SqlInstancesPatchRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
SqlInstancesPatchRequest |
| Returns | |
|---|---|
| Type | Description |
SqlInstancesPatchRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SqlInstancesPatchRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SqlInstancesPatchRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SqlInstancesPatchRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SqlInstancesPatchRequest.Builder |
|
setBody(DatabaseInstance value)
public SqlInstancesPatchRequest.Builder setBody(DatabaseInstance value).google.cloud.sql.v1beta4.DatabaseInstance body = 100;
| Parameter | |
|---|---|
| Name | Description |
value |
DatabaseInstance |
| Returns | |
|---|---|
| Type | Description |
SqlInstancesPatchRequest.Builder |
|
setBody(DatabaseInstance.Builder builderForValue)
public SqlInstancesPatchRequest.Builder setBody(DatabaseInstance.Builder builderForValue).google.cloud.sql.v1beta4.DatabaseInstance body = 100;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DatabaseInstance.Builder |
| Returns | |
|---|---|
| Type | Description |
SqlInstancesPatchRequest.Builder |
|
setInstance(String value)
public SqlInstancesPatchRequest.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 |
SqlInstancesPatchRequest.Builder |
This builder for chaining. |
setInstanceBytes(ByteString value)
public SqlInstancesPatchRequest.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 |
SqlInstancesPatchRequest.Builder |
This builder for chaining. |
setProject(String value)
public SqlInstancesPatchRequest.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 |
SqlInstancesPatchRequest.Builder |
This builder for chaining. |
setProjectBytes(ByteString value)
public SqlInstancesPatchRequest.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 |
SqlInstancesPatchRequest.Builder |
This builder for chaining. |
setReconcilePscNetworking(boolean value)
public SqlInstancesPatchRequest.Builder setReconcilePscNetworking(boolean value)Optional. Set PSC config to the same value as the existing config to reconcile the PSC networking.
optional bool reconcile_psc_networking = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe reconcilePscNetworking to set. |
| Returns | |
|---|---|
| Type | Description |
SqlInstancesPatchRequest.Builder |
This builder for chaining. |
setReconcilePscNetworkingForce(boolean value)
public SqlInstancesPatchRequest.Builder setReconcilePscNetworkingForce(boolean value)Optional. Set PSC config to the same value as the existing config and force reconcile the PSC networking.
optional bool reconcile_psc_networking_force = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe reconcilePscNetworkingForce to set. |
| Returns | |
|---|---|
| Type | Description |
SqlInstancesPatchRequest.Builder |
This builder for chaining. |