Class CloudInstanceConfigResponse (6.66.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
Type Description
int

LISTED_INSTANCE_CONFIGS_FIELD_NUMBER

public static final int LISTED_INSTANCE_CONFIGS_FIELD_NUMBER
Field Value
Type Description
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CloudInstanceConfigResponse getDefaultInstance()
Returns
Type Description
CloudInstanceConfigResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CloudInstanceConfigResponse.Builder newBuilder()
Returns
Type Description
CloudInstanceConfigResponse.Builder

newBuilder(CloudInstanceConfigResponse prototype)

public static CloudInstanceConfigResponse.Builder newBuilder(CloudInstanceConfigResponse prototype)
Parameter
Name Description
prototype CloudInstanceConfigResponse
Returns
Type Description
CloudInstanceConfigResponse.Builder

parseDelimitedFrom(InputStream input)

public static CloudInstanceConfigResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CloudInstanceConfigResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudInstanceConfigResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudInstanceConfigResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CloudInstanceConfigResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CloudInstanceConfigResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CloudInstanceConfigResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudInstanceConfigResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CloudInstanceConfigResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CloudInstanceConfigResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CloudInstanceConfigResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudInstanceConfigResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CloudInstanceConfigResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CloudInstanceConfigResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudInstanceConfigResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudInstanceConfigResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CloudInstanceConfigResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CloudInstanceConfigResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudInstanceConfigResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudInstanceConfigResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CloudInstanceConfigResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CloudInstanceConfigResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CloudInstanceConfigResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudInstanceConfigResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CloudInstanceConfigResponse> parser()
Returns
Type Description
Parser<CloudInstanceConfigResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CloudInstanceConfigResponse getDefaultInstanceForType()
Returns
Type Description
CloudInstanceConfigResponse

getInstanceConfig()

public InstanceConfig getInstanceConfig()

Instance config returned by GetCloudInstanceConfigAction.

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

Returns
Type Description
InstanceConfig

The instanceConfig.

getInstanceConfigOrBuilder()

public InstanceConfigOrBuilder getInstanceConfigOrBuilder()

Instance config returned by GetCloudInstanceConfigAction.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
InstanceConfig

getListedInstanceConfigsCount()

public int getListedInstanceConfigsCount()

List of instance configs returned by ListCloudInstanceConfigsAction.

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

Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<CloudInstanceConfigResponse> getParserForType()
Returns
Type Description
Parser<CloudInstanceConfigResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasInstanceConfig()

public boolean hasInstanceConfig()

Instance config returned by GetCloudInstanceConfigAction.

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

Returns
Type Description
boolean

Whether the instanceConfig field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CloudInstanceConfigResponse.Builder newBuilderForType()
Returns
Type Description
CloudInstanceConfigResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CloudInstanceConfigResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CloudInstanceConfigResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CloudInstanceConfigResponse.Builder toBuilder()
Returns
Type Description
CloudInstanceConfigResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException