public static final class UpdateInstanceConfigRequest.Builder extends GeneratedMessageV3.Builder<UpdateInstanceConfigRequest.Builder> implements UpdateInstanceConfigRequestOrBuilder
The request for
UpdateInstanceConfigRequest.
Protobuf type google.spanner.admin.instance.v1.UpdateInstanceConfigRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateInstanceConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateInstanceConfigRequest build()
buildPartial()
public UpdateInstanceConfigRequest buildPartial()
clear()
public UpdateInstanceConfigRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateInstanceConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearInstanceConfig()
public UpdateInstanceConfigRequest.Builder clearInstanceConfig()
Required. The user instance config to update, which must always include the
instance config name. Otherwise, only fields mentioned in
update_mask
need be included. To prevent conflicts of concurrent updates,
etag can
be used.
.google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateInstanceConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateInstanceConfigRequest.Builder clearUpdateMask()
Required. A mask specifying which fields in
InstanceConfig should be
updated. The field mask must always be specified; this prevents any future
fields in InstanceConfig
from being erased accidentally by clients that do not know about them. Only
display_name and labels can be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
clearValidateOnly()
public UpdateInstanceConfigRequest.Builder clearValidateOnly()
An option to validate, but not actually execute, a request,
and provide the same response.
bool validate_only = 3;
clone()
public UpdateInstanceConfigRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateInstanceConfigRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getInstanceConfig()
public InstanceConfig getInstanceConfig()
Required. The user instance config to update, which must always include the
instance config name. Otherwise, only fields mentioned in
update_mask
need be included. To prevent conflicts of concurrent updates,
etag can
be used.
.google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED];
getInstanceConfigBuilder()
public InstanceConfig.Builder getInstanceConfigBuilder()
Required. The user instance config to update, which must always include the
instance config name. Otherwise, only fields mentioned in
update_mask
need be included. To prevent conflicts of concurrent updates,
etag can
be used.
.google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED];
getInstanceConfigOrBuilder()
public InstanceConfigOrBuilder getInstanceConfigOrBuilder()
Required. The user instance config to update, which must always include the
instance config name. Otherwise, only fields mentioned in
update_mask
need be included. To prevent conflicts of concurrent updates,
etag can
be used.
.google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED];
getUpdateMask()
public FieldMask getUpdateMask()
Required. A mask specifying which fields in
InstanceConfig should be
updated. The field mask must always be specified; this prevents any future
fields in InstanceConfig
from being erased accidentally by clients that do not know about them. Only
display_name and labels can be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
FieldMask | The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Required. A mask specifying which fields in
InstanceConfig should be
updated. The field mask must always be specified; this prevents any future
fields in InstanceConfig
from being erased accidentally by clients that do not know about them. Only
display_name and labels can be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. A mask specifying which fields in
InstanceConfig should be
updated. The field mask must always be specified; this prevents any future
fields in InstanceConfig
from being erased accidentally by clients that do not know about them. Only
display_name and labels can be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
getValidateOnly()
public boolean getValidateOnly()
An option to validate, but not actually execute, a request,
and provide the same response.
bool validate_only = 3;
Returns |
---|
Type | Description |
boolean | The validateOnly.
|
hasInstanceConfig()
public boolean hasInstanceConfig()
Required. The user instance config to update, which must always include the
instance config name. Otherwise, only fields mentioned in
update_mask
need be included. To prevent conflicts of concurrent updates,
etag can
be used.
.google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the instanceConfig field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Required. A mask specifying which fields in
InstanceConfig should be
updated. The field mask must always be specified; this prevents any future
fields in InstanceConfig
from being erased accidentally by clients that do not know about them. Only
display_name and labels can be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public UpdateInstanceConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateInstanceConfigRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(UpdateInstanceConfigRequest other)
public UpdateInstanceConfigRequest.Builder mergeFrom(UpdateInstanceConfigRequest other)
mergeInstanceConfig(InstanceConfig value)
public UpdateInstanceConfigRequest.Builder mergeInstanceConfig(InstanceConfig value)
Required. The user instance config to update, which must always include the
instance config name. Otherwise, only fields mentioned in
update_mask
need be included. To prevent conflicts of concurrent updates,
etag can
be used.
.google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateInstanceConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateInstanceConfigRequest.Builder mergeUpdateMask(FieldMask value)
Required. A mask specifying which fields in
InstanceConfig should be
updated. The field mask must always be specified; this prevents any future
fields in InstanceConfig
from being erased accidentally by clients that do not know about them. Only
display_name and labels can be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateInstanceConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setInstanceConfig(InstanceConfig value)
public UpdateInstanceConfigRequest.Builder setInstanceConfig(InstanceConfig value)
Required. The user instance config to update, which must always include the
instance config name. Otherwise, only fields mentioned in
update_mask
need be included. To prevent conflicts of concurrent updates,
etag can
be used.
.google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED];
setInstanceConfig(InstanceConfig.Builder builderForValue)
public UpdateInstanceConfigRequest.Builder setInstanceConfig(InstanceConfig.Builder builderForValue)
Required. The user instance config to update, which must always include the
instance config name. Otherwise, only fields mentioned in
update_mask
need be included. To prevent conflicts of concurrent updates,
etag can
be used.
.google.spanner.admin.instance.v1.InstanceConfig instance_config = 1 [(.google.api.field_behavior) = REQUIRED];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateInstanceConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateInstanceConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateInstanceConfigRequest.Builder setUpdateMask(FieldMask value)
Required. A mask specifying which fields in
InstanceConfig should be
updated. The field mask must always be specified; this prevents any future
fields in InstanceConfig
from being erased accidentally by clients that do not know about them. Only
display_name and labels can be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateInstanceConfigRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Required. A mask specifying which fields in
InstanceConfig should be
updated. The field mask must always be specified; this prevents any future
fields in InstanceConfig
from being erased accidentally by clients that do not know about them. Only
display_name and labels can be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
builderForValue | Builder
|
setValidateOnly(boolean value)
public UpdateInstanceConfigRequest.Builder setValidateOnly(boolean value)
An option to validate, but not actually execute, a request,
and provide the same response.
bool validate_only = 3;
Parameter |
---|
Name | Description |
value | boolean
The validateOnly to set.
|