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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpdateUserInstanceConfigAction.BuilderImplements
UpdateUserInstanceConfigActionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateUserInstanceConfigAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
UpdateUserInstanceConfigAction.Builder |
build()
public UpdateUserInstanceConfigAction build()
Returns | |
---|---|
Type | Description |
UpdateUserInstanceConfigAction |
buildPartial()
public UpdateUserInstanceConfigAction buildPartial()
Returns | |
---|---|
Type | Description |
UpdateUserInstanceConfigAction |
clear()
public UpdateUserInstanceConfigAction.Builder clear()
Returns | |
---|---|
Type | Description |
UpdateUserInstanceConfigAction.Builder |
clearDisplayName()
public UpdateUserInstanceConfigAction.Builder clearDisplayName()
The descriptive name for this instance config as it appears in UIs.
optional string display_name = 3;
Returns | |
---|---|
Type | Description |
UpdateUserInstanceConfigAction.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public UpdateUserInstanceConfigAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
UpdateUserInstanceConfigAction.Builder |
clearLabels()
public UpdateUserInstanceConfigAction.Builder clearLabels()
Returns | |
---|---|
Type | Description |
UpdateUserInstanceConfigAction.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateUserInstanceConfigAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
UpdateUserInstanceConfigAction.Builder |
clearProjectId()
public UpdateUserInstanceConfigAction.Builder clearProjectId()
Cloud project ID, e.g. "spanner-cloud-systest".
string project_id = 2;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
UpdateUserInstanceConfigAction.Builder |
This builder for chaining. |
clone()
public UpdateUserInstanceConfigAction.Builder clone()
Returns | |
---|---|
Type | Description |
UpdateUserInstanceConfigAction.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
labels.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public UpdateUserInstanceConfigAction getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
UpdateUserInstanceConfigAction |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
The descriptive name for this instance config as it appears in UIs.
optional string display_name = 3;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getLabels() (deprecated)
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
labels.
map<string, string> labels = 4;
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
labels.
map<string, string> labels = 4;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
labels.
map<string, string> labels = 4;
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
labels.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
String |
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getProjectId()
public String getProjectId()
Cloud project ID, e.g. "spanner-cloud-systest".
string project_id = 2;
Returns | |
---|---|
Type | Description |
String |
The projectId. |
getProjectIdBytes()
public ByteString getProjectIdBytes()
Cloud project ID, e.g. "spanner-cloud-systest".
string project_id = 2;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String |
The userConfigId. |
getUserConfigIdBytes()
public ByteString getUserConfigIdBytes()
User instance config ID (not path), e.g. "custom-config".
string user_config_id = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean |
Whether the displayName field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateUserInstanceConfigAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpdateUserInstanceConfigAction.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public UpdateUserInstanceConfigAction.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
UpdateUserInstanceConfigAction.Builder |
mergeFrom(UpdateUserInstanceConfigAction other)
public UpdateUserInstanceConfigAction.Builder mergeFrom(UpdateUserInstanceConfigAction other)
Parameter | |
---|---|
Name | Description |
other |
UpdateUserInstanceConfigAction |
Returns | |
---|---|
Type | Description |
UpdateUserInstanceConfigAction.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateUserInstanceConfigAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UpdateUserInstanceConfigAction.Builder |
putAllLabels(Map<String,String> values)
public UpdateUserInstanceConfigAction.Builder putAllLabels(Map<String,String> values)
labels.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
values |
Map<String,String> |
Returns | |
---|---|
Type | Description |
UpdateUserInstanceConfigAction.Builder |
putLabels(String key, String value)
public UpdateUserInstanceConfigAction.Builder putLabels(String key, String value)
labels.
map<string, string> labels = 4;
Parameters | |
---|---|
Name | Description |
key |
String |
value |
String |
Returns | |
---|---|
Type | Description |
UpdateUserInstanceConfigAction.Builder |
removeLabels(String key)
public UpdateUserInstanceConfigAction.Builder removeLabels(String key)
labels.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
UpdateUserInstanceConfigAction.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateUserInstanceConfigAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
UpdateUserInstanceConfigAction.Builder |
setProjectId(String value)
public UpdateUserInstanceConfigAction.Builder setProjectId(String value)
Cloud project ID, e.g. "spanner-cloud-systest".
string project_id = 2;
Parameter | |
---|---|
Name | Description |
value |
String The projectId to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for projectId to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
UpdateUserInstanceConfigAction.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateUserInstanceConfigAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UpdateUserInstanceConfigAction.Builder |
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 | |
---|---|
Name | Description |
value |
String The userConfigId to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for userConfigId to set. |
Returns | |
---|---|
Type | Description |
UpdateUserInstanceConfigAction.Builder |
This builder for chaining. |