Class CloudInstanceConfigResponse (6.56.0)

public final class CloudInstanceConfigResponse extends GeneratedMessageV3 implements CloudInstanceConfigResponseOrBuilder

CloudInstanceConfigResponse contains results returned by cloud instance config related actions.

Protobuf type google.spanner.executor.v1.CloudInstanceConfigResponse

Static Fields

INSTANCE_CONFIG_FIELD_NUMBER

public static final int INSTANCE_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

LISTED_INSTANCE_CONFIGS_FIELD_NUMBER

public static final int LISTED_INSTANCE_CONFIGS_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 CloudInstanceConfigResponse getDefaultInstance()
Returns
TypeDescription
CloudInstanceConfigResponse

getDescriptor()

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

newBuilder()

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

newBuilder(CloudInstanceConfigResponse prototype)

public static CloudInstanceConfigResponse.Builder newBuilder(CloudInstanceConfigResponse prototype)
Parameter
NameDescription
prototypeCloudInstanceConfigResponse
Returns
TypeDescription
CloudInstanceConfigResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CloudInstanceConfigResponse getDefaultInstanceForType()
Returns
TypeDescription
CloudInstanceConfigResponse

getInstanceConfig()

public InstanceConfig getInstanceConfig()

Instance config returned by GetCloudInstanceConfigAction.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 3;

Returns
TypeDescription
InstanceConfig

The instanceConfig.

getInstanceConfigOrBuilder()

public InstanceConfigOrBuilder getInstanceConfigOrBuilder()

Instance config returned by GetCloudInstanceConfigAction.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 3;

Returns
TypeDescription
InstanceConfigOrBuilder

getListedInstanceConfigs(int index)

public InstanceConfig getListedInstanceConfigs(int index)

List of instance configs returned by ListCloudInstanceConfigsAction.

repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
InstanceConfig

getListedInstanceConfigsCount()

public int getListedInstanceConfigsCount()

List of instance configs returned by ListCloudInstanceConfigsAction.

repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1;

Returns
TypeDescription
int

getListedInstanceConfigsList()

public List<InstanceConfig> getListedInstanceConfigsList()

List of instance configs returned by ListCloudInstanceConfigsAction.

repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1;

Returns
TypeDescription
List<InstanceConfig>

getListedInstanceConfigsOrBuilder(int index)

public InstanceConfigOrBuilder getListedInstanceConfigsOrBuilder(int index)

List of instance configs returned by ListCloudInstanceConfigsAction.

repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
InstanceConfigOrBuilder

getListedInstanceConfigsOrBuilderList()

public List<? extends InstanceConfigOrBuilder> getListedInstanceConfigsOrBuilderList()

List of instance configs returned by ListCloudInstanceConfigsAction.

repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1;

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

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<CloudInstanceConfigResponse> getParserForType()
Returns
TypeDescription
Parser<CloudInstanceConfigResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasInstanceConfig()

public boolean hasInstanceConfig()

Instance config returned by GetCloudInstanceConfigAction.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 3;

Returns
TypeDescription
boolean

Whether the instanceConfig 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 CloudInstanceConfigResponse.Builder newBuilderForType()
Returns
TypeDescription
CloudInstanceConfigResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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