Class ListCloudInstanceConfigsAction.Builder (6.62.0)

public static final class ListCloudInstanceConfigsAction.Builder extends GeneratedMessageV3.Builder<ListCloudInstanceConfigsAction.Builder> implements ListCloudInstanceConfigsActionOrBuilder

Action that lists user instance configs.

Protobuf type google.spanner.executor.v1.ListCloudInstanceConfigsAction

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListCloudInstanceConfigsAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListCloudInstanceConfigsAction.Builder
Overrides

build()

public ListCloudInstanceConfigsAction build()
Returns
TypeDescription
ListCloudInstanceConfigsAction

buildPartial()

public ListCloudInstanceConfigsAction buildPartial()
Returns
TypeDescription
ListCloudInstanceConfigsAction

clear()

public ListCloudInstanceConfigsAction.Builder clear()
Returns
TypeDescription
ListCloudInstanceConfigsAction.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListCloudInstanceConfigsAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListCloudInstanceConfigsAction.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListCloudInstanceConfigsAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListCloudInstanceConfigsAction.Builder
Overrides

clearPageSize()

public ListCloudInstanceConfigsAction.Builder clearPageSize()

Number of instance configs to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.

optional int32 page_size = 2;

Returns
TypeDescription
ListCloudInstanceConfigsAction.Builder

This builder for chaining.

clearPageToken()

public ListCloudInstanceConfigsAction.Builder clearPageToken()

If non-empty, "page_token" should contain a next_page_token from a previous ListInstanceConfigsResponse to the same "parent".

optional string page_token = 3;

Returns
TypeDescription
ListCloudInstanceConfigsAction.Builder

This builder for chaining.

clearProjectId()

public ListCloudInstanceConfigsAction.Builder clearProjectId()

Cloud project ID, e.g. "spanner-cloud-systest".

string project_id = 1;

Returns
TypeDescription
ListCloudInstanceConfigsAction.Builder

This builder for chaining.

clone()

public ListCloudInstanceConfigsAction.Builder clone()
Returns
TypeDescription
ListCloudInstanceConfigsAction.Builder
Overrides

getDefaultInstanceForType()

public ListCloudInstanceConfigsAction getDefaultInstanceForType()
Returns
TypeDescription
ListCloudInstanceConfigsAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPageSize()

public int getPageSize()

Number of instance configs to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.

optional int32 page_size = 2;

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

If non-empty, "page_token" should contain a next_page_token from a previous ListInstanceConfigsResponse to the same "parent".

optional string page_token = 3;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

If non-empty, "page_token" should contain a next_page_token from a previous ListInstanceConfigsResponse to the same "parent".

optional string page_token = 3;

Returns
TypeDescription
ByteString

The bytes for pageToken.

getProjectId()

public String getProjectId()

Cloud project ID, e.g. "spanner-cloud-systest".

string project_id = 1;

Returns
TypeDescription
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

Cloud project ID, e.g. "spanner-cloud-systest".

string project_id = 1;

Returns
TypeDescription
ByteString

The bytes for projectId.

hasPageSize()

public boolean hasPageSize()

Number of instance configs to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.

optional int32 page_size = 2;

Returns
TypeDescription
boolean

Whether the pageSize field is set.

hasPageToken()

public boolean hasPageToken()

If non-empty, "page_token" should contain a next_page_token from a previous ListInstanceConfigsResponse to the same "parent".

optional string page_token = 3;

Returns
TypeDescription
boolean

Whether the pageToken field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListCloudInstanceConfigsAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCloudInstanceConfigsAction.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListCloudInstanceConfigsAction.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListCloudInstanceConfigsAction.Builder
Overrides

mergeFrom(ListCloudInstanceConfigsAction other)

public ListCloudInstanceConfigsAction.Builder mergeFrom(ListCloudInstanceConfigsAction other)
Parameter
NameDescription
otherListCloudInstanceConfigsAction
Returns
TypeDescription
ListCloudInstanceConfigsAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListCloudInstanceConfigsAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListCloudInstanceConfigsAction.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListCloudInstanceConfigsAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListCloudInstanceConfigsAction.Builder
Overrides

setPageSize(int value)

public ListCloudInstanceConfigsAction.Builder setPageSize(int value)

Number of instance configs to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.

optional int32 page_size = 2;

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
ListCloudInstanceConfigsAction.Builder

This builder for chaining.

setPageToken(String value)

public ListCloudInstanceConfigsAction.Builder setPageToken(String value)

If non-empty, "page_token" should contain a next_page_token from a previous ListInstanceConfigsResponse to the same "parent".

optional string page_token = 3;

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
ListCloudInstanceConfigsAction.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListCloudInstanceConfigsAction.Builder setPageTokenBytes(ByteString value)

If non-empty, "page_token" should contain a next_page_token from a previous ListInstanceConfigsResponse to the same "parent".

optional string page_token = 3;

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
ListCloudInstanceConfigsAction.Builder

This builder for chaining.

setProjectId(String value)

public ListCloudInstanceConfigsAction.Builder setProjectId(String value)

Cloud project ID, e.g. "spanner-cloud-systest".

string project_id = 1;

Parameter
NameDescription
valueString

The projectId to set.

Returns
TypeDescription
ListCloudInstanceConfigsAction.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public ListCloudInstanceConfigsAction.Builder setProjectIdBytes(ByteString value)

Cloud project ID, e.g. "spanner-cloud-systest".

string project_id = 1;

Parameter
NameDescription
valueByteString

The bytes for projectId to set.

Returns
TypeDescription
ListCloudInstanceConfigsAction.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListCloudInstanceConfigsAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListCloudInstanceConfigsAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListCloudInstanceConfigsAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListCloudInstanceConfigsAction.Builder
Overrides