Class CloudInstanceResponse (6.57.0)

public final class CloudInstanceResponse extends GeneratedMessageV3 implements CloudInstanceResponseOrBuilder

CloudInstanceResponse contains results returned by cloud instance related actions.

Protobuf type google.spanner.executor.v1.CloudInstanceResponse

Static Fields

INSTANCE_FIELD_NUMBER

public static final int INSTANCE_FIELD_NUMBER
Field Value
TypeDescription
int

LISTED_INSTANCES_FIELD_NUMBER

public static final int LISTED_INSTANCES_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CloudInstanceResponse getDefaultInstance()
Returns
TypeDescription
CloudInstanceResponse

getDescriptor()

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

newBuilder()

public static CloudInstanceResponse.Builder newBuilder()
Returns
TypeDescription
CloudInstanceResponse.Builder

newBuilder(CloudInstanceResponse prototype)

public static CloudInstanceResponse.Builder newBuilder(CloudInstanceResponse prototype)
Parameter
NameDescription
prototypeCloudInstanceResponse
Returns
TypeDescription
CloudInstanceResponse.Builder

parseDelimitedFrom(InputStream input)

public static CloudInstanceResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CloudInstanceResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudInstanceResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudInstanceResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CloudInstanceResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CloudInstanceResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CloudInstanceResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudInstanceResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CloudInstanceResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CloudInstanceResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CloudInstanceResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudInstanceResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CloudInstanceResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CloudInstanceResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudInstanceResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudInstanceResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CloudInstanceResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CloudInstanceResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudInstanceResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudInstanceResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CloudInstanceResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CloudInstanceResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CloudInstanceResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudInstanceResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CloudInstanceResponse> parser()
Returns
TypeDescription
Parser<CloudInstanceResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CloudInstanceResponse getDefaultInstanceForType()
Returns
TypeDescription
CloudInstanceResponse

getInstance()

public Instance getInstance()

Instance returned by GetCloudInstanceAction

.google.spanner.admin.instance.v1.Instance instance = 3;

Returns
TypeDescription
Instance

The instance.

getInstanceOrBuilder()

public InstanceOrBuilder getInstanceOrBuilder()

Instance returned by GetCloudInstanceAction

.google.spanner.admin.instance.v1.Instance instance = 3;

Returns
TypeDescription
InstanceOrBuilder

getListedInstances(int index)

public Instance getListedInstances(int index)

List of instances returned by ListCloudInstancesAction.

repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Instance

getListedInstancesCount()

public int getListedInstancesCount()

List of instances returned by ListCloudInstancesAction.

repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;

Returns
TypeDescription
int

getListedInstancesList()

public List<Instance> getListedInstancesList()

List of instances returned by ListCloudInstancesAction.

repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;

Returns
TypeDescription
List<Instance>

getListedInstancesOrBuilder(int index)

public InstanceOrBuilder getListedInstancesOrBuilder(int index)

List of instances returned by ListCloudInstancesAction.

repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
InstanceOrBuilder

getListedInstancesOrBuilderList()

public List<? extends InstanceOrBuilder> getListedInstancesOrBuilderList()

List of instances returned by ListCloudInstancesAction.

repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;

Returns
TypeDescription
List<? extends com.google.spanner.admin.instance.v1.InstanceOrBuilder>

getNextPageToken()

public String getNextPageToken()

"next_page_token" can be sent in a subsequent list action to fetch more of the matching data.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

"next_page_token" can be sent in a subsequent list action to fetch more of the matching data.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<CloudInstanceResponse> getParserForType()
Returns
TypeDescription
Parser<CloudInstanceResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasInstance()

public boolean hasInstance()

Instance returned by GetCloudInstanceAction

.google.spanner.admin.instance.v1.Instance instance = 3;

Returns
TypeDescription
boolean

Whether the instance field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CloudInstanceResponse.Builder newBuilderForType()
Returns
TypeDescription
CloudInstanceResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CloudInstanceResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CloudInstanceResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CloudInstanceResponse.Builder toBuilder()
Returns
TypeDescription
CloudInstanceResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException