Class ListCloudInstanceConfigsAction.Builder (6.74.1)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListCloudInstanceConfigsAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListCloudInstanceConfigsAction.Builder
Overrides

build()

public ListCloudInstanceConfigsAction build()
Returns
Type Description
ListCloudInstanceConfigsAction

buildPartial()

public ListCloudInstanceConfigsAction buildPartial()
Returns
Type Description
ListCloudInstanceConfigsAction

clear()

public ListCloudInstanceConfigsAction.Builder clear()
Returns
Type Description
ListCloudInstanceConfigsAction.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListCloudInstanceConfigsAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListCloudInstanceConfigsAction.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListCloudInstanceConfigsAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
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
Type Description
ListCloudInstanceConfigsAction.Builder

This builder for chaining.

clearProjectId()

public ListCloudInstanceConfigsAction.Builder clearProjectId()

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

string project_id = 1;

Returns
Type Description
ListCloudInstanceConfigsAction.Builder

This builder for chaining.

clone()

public ListCloudInstanceConfigsAction.Builder clone()
Returns
Type Description
ListCloudInstanceConfigsAction.Builder
Overrides

getDefaultInstanceForType()

public ListCloudInstanceConfigsAction getDefaultInstanceForType()
Returns
Type Description
ListCloudInstanceConfigsAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for pageToken.

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.

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
Type Description
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
Type Description
boolean

Whether the pageToken field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListCloudInstanceConfigsAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListCloudInstanceConfigsAction.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListCloudInstanceConfigsAction.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListCloudInstanceConfigsAction.Builder
Overrides

mergeFrom(ListCloudInstanceConfigsAction other)

public ListCloudInstanceConfigsAction.Builder mergeFrom(ListCloudInstanceConfigsAction other)
Parameter
Name Description
other ListCloudInstanceConfigsAction
Returns
Type Description
ListCloudInstanceConfigsAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListCloudInstanceConfigsAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListCloudInstanceConfigsAction.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListCloudInstanceConfigsAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value int

The pageSize to set.

Returns
Type Description
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
Name Description
value String

The pageToken to set.

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

The bytes for pageToken to set.

Returns
Type Description
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
Name Description
value String

The projectId to set.

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

The bytes for projectId to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListCloudInstanceConfigsAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListCloudInstanceConfigsAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListCloudInstanceConfigsAction.Builder
Overrides