Class UpdateUserInstanceConfigAction.Builder (6.56.0)

public static final class UpdateUserInstanceConfigAction.Builder extends GeneratedMessageV3.Builder<UpdateUserInstanceConfigAction.Builder> implements UpdateUserInstanceConfigActionOrBuilder

Action that updates a user instance config.

Protobuf type google.spanner.executor.v1.UpdateUserInstanceConfigAction

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateUserInstanceConfigAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateUserInstanceConfigAction.Builder
Overrides

build()

public UpdateUserInstanceConfigAction build()
Returns
TypeDescription
UpdateUserInstanceConfigAction

buildPartial()

public UpdateUserInstanceConfigAction buildPartial()
Returns
TypeDescription
UpdateUserInstanceConfigAction

clear()

public UpdateUserInstanceConfigAction.Builder clear()
Returns
TypeDescription
UpdateUserInstanceConfigAction.Builder
Overrides

clearDisplayName()

public UpdateUserInstanceConfigAction.Builder clearDisplayName()

The descriptive name for this instance config as it appears in UIs.

optional string display_name = 3;

Returns
TypeDescription
UpdateUserInstanceConfigAction.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public UpdateUserInstanceConfigAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateUserInstanceConfigAction.Builder
Overrides

clearLabels()

public UpdateUserInstanceConfigAction.Builder clearLabels()
Returns
TypeDescription
UpdateUserInstanceConfigAction.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateUserInstanceConfigAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateUserInstanceConfigAction.Builder
Overrides

clearProjectId()

public UpdateUserInstanceConfigAction.Builder clearProjectId()

Cloud project ID, e.g. "spanner-cloud-systest".

string project_id = 2;

Returns
TypeDescription
UpdateUserInstanceConfigAction.Builder

This builder for chaining.

clearUserConfigId()

public UpdateUserInstanceConfigAction.Builder clearUserConfigId()

User instance config ID (not path), e.g. "custom-config".

string user_config_id = 1;

Returns
TypeDescription
UpdateUserInstanceConfigAction.Builder

This builder for chaining.

clone()

public UpdateUserInstanceConfigAction.Builder clone()
Returns
TypeDescription
UpdateUserInstanceConfigAction.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

labels.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getDefaultInstanceForType()

public UpdateUserInstanceConfigAction getDefaultInstanceForType()
Returns
TypeDescription
UpdateUserInstanceConfigAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

The descriptive name for this instance config as it appears in UIs.

optional string display_name = 3;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The descriptive name for this instance config as it appears in UIs.

optional string display_name = 3;

Returns
TypeDescription
ByteString

The bytes for displayName.

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

labels.

map<string, string> labels = 4;

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

labels.

map<string, string> labels = 4;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

labels.

map<string, string> labels = 4;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

labels.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMutableLabels()

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getProjectId()

public String getProjectId()

Cloud project ID, e.g. "spanner-cloud-systest".

string project_id = 2;

Returns
TypeDescription
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

Cloud project ID, e.g. "spanner-cloud-systest".

string project_id = 2;

Returns
TypeDescription
ByteString

The bytes for projectId.

getUserConfigId()

public String getUserConfigId()

User instance config ID (not path), e.g. "custom-config".

string user_config_id = 1;

Returns
TypeDescription
String

The userConfigId.

getUserConfigIdBytes()

public ByteString getUserConfigIdBytes()

User instance config ID (not path), e.g. "custom-config".

string user_config_id = 1;

Returns
TypeDescription
ByteString

The bytes for userConfigId.

hasDisplayName()

public boolean hasDisplayName()

The descriptive name for this instance config as it appears in UIs.

optional string display_name = 3;

Returns
TypeDescription
boolean

Whether the displayName field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateUserInstanceConfigAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateUserInstanceConfigAction.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateUserInstanceConfigAction.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateUserInstanceConfigAction.Builder
Overrides

mergeFrom(UpdateUserInstanceConfigAction other)

public UpdateUserInstanceConfigAction.Builder mergeFrom(UpdateUserInstanceConfigAction other)
Parameter
NameDescription
otherUpdateUserInstanceConfigAction
Returns
TypeDescription
UpdateUserInstanceConfigAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateUserInstanceConfigAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateUserInstanceConfigAction.Builder
Overrides

putAllLabels(Map<String,String> values)

public UpdateUserInstanceConfigAction.Builder putAllLabels(Map<String,String> values)

labels.

map<string, string> labels = 4;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
UpdateUserInstanceConfigAction.Builder

putLabels(String key, String value)

public UpdateUserInstanceConfigAction.Builder putLabels(String key, String value)

labels.

map<string, string> labels = 4;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
UpdateUserInstanceConfigAction.Builder

removeLabels(String key)

public UpdateUserInstanceConfigAction.Builder removeLabels(String key)

labels.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
UpdateUserInstanceConfigAction.Builder

setDisplayName(String value)

public UpdateUserInstanceConfigAction.Builder setDisplayName(String value)

The descriptive name for this instance config as it appears in UIs.

optional string display_name = 3;

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
UpdateUserInstanceConfigAction.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public UpdateUserInstanceConfigAction.Builder setDisplayNameBytes(ByteString value)

The descriptive name for this instance config as it appears in UIs.

optional string display_name = 3;

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
UpdateUserInstanceConfigAction.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateUserInstanceConfigAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateUserInstanceConfigAction.Builder
Overrides

setProjectId(String value)

public UpdateUserInstanceConfigAction.Builder setProjectId(String value)

Cloud project ID, e.g. "spanner-cloud-systest".

string project_id = 2;

Parameter
NameDescription
valueString

The projectId to set.

Returns
TypeDescription
UpdateUserInstanceConfigAction.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public UpdateUserInstanceConfigAction.Builder setProjectIdBytes(ByteString value)

Cloud project ID, e.g. "spanner-cloud-systest".

string project_id = 2;

Parameter
NameDescription
valueByteString

The bytes for projectId to set.

Returns
TypeDescription
UpdateUserInstanceConfigAction.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateUserInstanceConfigAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateUserInstanceConfigAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateUserInstanceConfigAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateUserInstanceConfigAction.Builder
Overrides

setUserConfigId(String value)

public UpdateUserInstanceConfigAction.Builder setUserConfigId(String value)

User instance config ID (not path), e.g. "custom-config".

string user_config_id = 1;

Parameter
NameDescription
valueString

The userConfigId to set.

Returns
TypeDescription
UpdateUserInstanceConfigAction.Builder

This builder for chaining.

setUserConfigIdBytes(ByteString value)

public UpdateUserInstanceConfigAction.Builder setUserConfigIdBytes(ByteString value)

User instance config ID (not path), e.g. "custom-config".

string user_config_id = 1;

Parameter
NameDescription
valueByteString

The bytes for userConfigId to set.

Returns
TypeDescription
UpdateUserInstanceConfigAction.Builder

This builder for chaining.