public static final class GetCloudInstanceAction.Builder extends GeneratedMessageV3.Builder<GetCloudInstanceAction.Builder> implements GetCloudInstanceActionOrBuilder
Action that retrieves a Cloud Spanner instance.
Protobuf type google.spanner.executor.v1.GetCloudInstanceAction
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GetCloudInstanceAction.BuilderImplements
GetCloudInstanceActionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetCloudInstanceAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
GetCloudInstanceAction.Builder |
build()
public GetCloudInstanceAction build()
Returns | |
---|---|
Type | Description |
GetCloudInstanceAction |
buildPartial()
public GetCloudInstanceAction buildPartial()
Returns | |
---|---|
Type | Description |
GetCloudInstanceAction |
clear()
public GetCloudInstanceAction.Builder clear()
Returns | |
---|---|
Type | Description |
GetCloudInstanceAction.Builder |
clearField(Descriptors.FieldDescriptor field)
public GetCloudInstanceAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
GetCloudInstanceAction.Builder |
clearInstanceId()
public GetCloudInstanceAction.Builder clearInstanceId()
Cloud instance ID (not path) to retrieve the instance from, e.g. "test-instance".
string instance_id = 2;
Returns | |
---|---|
Type | Description |
GetCloudInstanceAction.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GetCloudInstanceAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
GetCloudInstanceAction.Builder |
clearProjectId()
public GetCloudInstanceAction.Builder clearProjectId()
Cloud project ID, e.g. "spanner-cloud-systest".
string project_id = 1;
Returns | |
---|---|
Type | Description |
GetCloudInstanceAction.Builder | This builder for chaining. |
clone()
public GetCloudInstanceAction.Builder clone()
Returns | |
---|---|
Type | Description |
GetCloudInstanceAction.Builder |
getDefaultInstanceForType()
public GetCloudInstanceAction getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GetCloudInstanceAction |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getInstanceId()
public String getInstanceId()
Cloud instance ID (not path) to retrieve the instance from, e.g. "test-instance".
string instance_id = 2;
Returns | |
---|---|
Type | Description |
String | The instanceId. |
getInstanceIdBytes()
public ByteString getInstanceIdBytes()
Cloud instance ID (not path) to retrieve the instance from, e.g. "test-instance".
string instance_id = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for instanceId. |
getProjectId()
public String getProjectId()
Cloud project ID, e.g. "spanner-cloud-systest".
string project_id = 1;
Returns | |
---|---|
Type | Description |
String | The projectId. |
getProjectIdBytes()
public ByteString getProjectIdBytes()
Cloud project ID, e.g. "spanner-cloud-systest".
string project_id = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for projectId. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetCloudInstanceAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GetCloudInstanceAction.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public GetCloudInstanceAction.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
GetCloudInstanceAction.Builder |
mergeFrom(GetCloudInstanceAction other)
public GetCloudInstanceAction.Builder mergeFrom(GetCloudInstanceAction other)
Parameter | |
---|---|
Name | Description |
other | GetCloudInstanceAction |
Returns | |
---|---|
Type | Description |
GetCloudInstanceAction.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetCloudInstanceAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GetCloudInstanceAction.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GetCloudInstanceAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
GetCloudInstanceAction.Builder |
setInstanceId(String value)
public GetCloudInstanceAction.Builder setInstanceId(String value)
Cloud instance ID (not path) to retrieve the instance from, e.g. "test-instance".
string instance_id = 2;
Parameter | |
---|---|
Name | Description |
value | String The instanceId to set. |
Returns | |
---|---|
Type | Description |
GetCloudInstanceAction.Builder | This builder for chaining. |
setInstanceIdBytes(ByteString value)
public GetCloudInstanceAction.Builder setInstanceIdBytes(ByteString value)
Cloud instance ID (not path) to retrieve the instance from, e.g. "test-instance".
string instance_id = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for instanceId to set. |
Returns | |
---|---|
Type | Description |
GetCloudInstanceAction.Builder | This builder for chaining. |
setProjectId(String value)
public GetCloudInstanceAction.Builder setProjectId(String value)
Cloud project ID, e.g. "spanner-cloud-systest".
string project_id = 1;
Parameter | |
---|---|
Name | Description |
value | String The projectId to set. |
Returns | |
---|---|
Type | Description |
GetCloudInstanceAction.Builder | This builder for chaining. |
setProjectIdBytes(ByteString value)
public GetCloudInstanceAction.Builder setProjectIdBytes(ByteString value)
Cloud project ID, e.g. "spanner-cloud-systest".
string project_id = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for projectId to set. |
Returns | |
---|---|
Type | Description |
GetCloudInstanceAction.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetCloudInstanceAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
GetCloudInstanceAction.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GetCloudInstanceAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GetCloudInstanceAction.Builder |