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
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 GetCloudInstanceAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GetCloudInstanceAction build()
buildPartial()
public GetCloudInstanceAction buildPartial()
clear()
public GetCloudInstanceAction.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public GetCloudInstanceAction.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearInstanceId()
public GetCloudInstanceAction.Builder clearInstanceId()
Cloud instance ID (not path) to retrieve the instance from,
e.g. "test-instance".
string instance_id = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public GetCloudInstanceAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearProjectId()
public GetCloudInstanceAction.Builder clearProjectId()
Cloud project ID, e.g. "spanner-cloud-systest".
string project_id = 1;
clone()
public GetCloudInstanceAction.Builder clone()
Overrides
getDefaultInstanceForType()
public GetCloudInstanceAction getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public GetCloudInstanceAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GetCloudInstanceAction.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(GetCloudInstanceAction other)
public GetCloudInstanceAction.Builder mergeFrom(GetCloudInstanceAction other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetCloudInstanceAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GetCloudInstanceAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.
|
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.
|
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetCloudInstanceAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GetCloudInstanceAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides