Class ListInstanceConfigOperationsResponse.Builder (6.62.0)

public static final class ListInstanceConfigOperationsResponse.Builder extends GeneratedMessageV3.Builder<ListInstanceConfigOperationsResponse.Builder> implements ListInstanceConfigOperationsResponseOrBuilder

The response for ListInstanceConfigOperations.

Protobuf type google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse

Static Methods

getDescriptor()

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

Methods

addAllOperations(Iterable<? extends Operation> values)

public ListInstanceConfigOperationsResponse.Builder addAllOperations(Iterable<? extends Operation> values)

The list of matching instance config long-running operations. Each operation's name will be prefixed by the instance config's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.longrunning.Operation>
Returns
TypeDescription
ListInstanceConfigOperationsResponse.Builder

addOperations(Operation value)

public ListInstanceConfigOperationsResponse.Builder addOperations(Operation value)

The list of matching instance config long-running operations. Each operation's name will be prefixed by the instance config's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Parameter
NameDescription
valueOperation
Returns
TypeDescription
ListInstanceConfigOperationsResponse.Builder

addOperations(Operation.Builder builderForValue)

public ListInstanceConfigOperationsResponse.Builder addOperations(Operation.Builder builderForValue)

The list of matching instance config long-running operations. Each operation's name will be prefixed by the instance config's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ListInstanceConfigOperationsResponse.Builder

addOperations(int index, Operation value)

public ListInstanceConfigOperationsResponse.Builder addOperations(int index, Operation value)

The list of matching instance config long-running operations. Each operation's name will be prefixed by the instance config's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Parameters
NameDescription
indexint
valueOperation
Returns
TypeDescription
ListInstanceConfigOperationsResponse.Builder

addOperations(int index, Operation.Builder builderForValue)

public ListInstanceConfigOperationsResponse.Builder addOperations(int index, Operation.Builder builderForValue)

The list of matching instance config long-running operations. Each operation's name will be prefixed by the instance config's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Parameters
NameDescription
indexint
builderForValueBuilder
Returns
TypeDescription
ListInstanceConfigOperationsResponse.Builder

addOperationsBuilder()

public Operation.Builder addOperationsBuilder()

The list of matching instance config long-running operations. Each operation's name will be prefixed by the instance config's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Returns
TypeDescription
Builder

addOperationsBuilder(int index)

public Operation.Builder addOperationsBuilder(int index)

The list of matching instance config long-running operations. Each operation's name will be prefixed by the instance config's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListInstanceConfigOperationsResponse build()
Returns
TypeDescription
ListInstanceConfigOperationsResponse

buildPartial()

public ListInstanceConfigOperationsResponse buildPartial()
Returns
TypeDescription
ListInstanceConfigOperationsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListInstanceConfigOperationsResponse.Builder clearNextPageToken()

next_page_token can be sent in a subsequent ListInstanceConfigOperations call to fetch more of the matching metadata.

string next_page_token = 2;

Returns
TypeDescription
ListInstanceConfigOperationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOperations()

public ListInstanceConfigOperationsResponse.Builder clearOperations()

The list of matching instance config long-running operations. Each operation's name will be prefixed by the instance config's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Returns
TypeDescription
ListInstanceConfigOperationsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListInstanceConfigOperationsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListInstanceConfigOperationsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

next_page_token can be sent in a subsequent ListInstanceConfigOperations call to fetch more of the matching metadata.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

next_page_token can be sent in a subsequent ListInstanceConfigOperations call to fetch more of the matching metadata.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getOperations(int index)

public Operation getOperations(int index)

The list of matching instance config long-running operations. Each operation's name will be prefixed by the instance config's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Operation

getOperationsBuilder(int index)

public Operation.Builder getOperationsBuilder(int index)

The list of matching instance config long-running operations. Each operation's name will be prefixed by the instance config's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Builder

getOperationsBuilderList()

public List<Operation.Builder> getOperationsBuilderList()

The list of matching instance config long-running operations. Each operation's name will be prefixed by the instance config's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Returns
TypeDescription
List<Builder>

getOperationsCount()

public int getOperationsCount()

The list of matching instance config long-running operations. Each operation's name will be prefixed by the instance config's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Returns
TypeDescription
int

getOperationsList()

public List<Operation> getOperationsList()

The list of matching instance config long-running operations. Each operation's name will be prefixed by the instance config's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Returns
TypeDescription
List<Operation>

getOperationsOrBuilder(int index)

public OperationOrBuilder getOperationsOrBuilder(int index)

The list of matching instance config long-running operations. Each operation's name will be prefixed by the instance config's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
OperationOrBuilder

getOperationsOrBuilderList()

public List<? extends OperationOrBuilder> getOperationsOrBuilderList()

The list of matching instance config long-running operations. Each operation's name will be prefixed by the instance config's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Returns
TypeDescription
List<? extends com.google.longrunning.OperationOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(ListInstanceConfigOperationsResponse other)

public ListInstanceConfigOperationsResponse.Builder mergeFrom(ListInstanceConfigOperationsResponse other)
Parameter
NameDescription
otherListInstanceConfigOperationsResponse
Returns
TypeDescription
ListInstanceConfigOperationsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeOperations(int index)

public ListInstanceConfigOperationsResponse.Builder removeOperations(int index)

The list of matching instance config long-running operations. Each operation's name will be prefixed by the instance config's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListInstanceConfigOperationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListInstanceConfigOperationsResponse.Builder setNextPageToken(String value)

next_page_token can be sent in a subsequent ListInstanceConfigOperations call to fetch more of the matching metadata.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListInstanceConfigOperationsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListInstanceConfigOperationsResponse.Builder setNextPageTokenBytes(ByteString value)

next_page_token can be sent in a subsequent ListInstanceConfigOperations call to fetch more of the matching metadata.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListInstanceConfigOperationsResponse.Builder

This builder for chaining.

setOperations(int index, Operation value)

public ListInstanceConfigOperationsResponse.Builder setOperations(int index, Operation value)

The list of matching instance config long-running operations. Each operation's name will be prefixed by the instance config's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Parameters
NameDescription
indexint
valueOperation
Returns
TypeDescription
ListInstanceConfigOperationsResponse.Builder

setOperations(int index, Operation.Builder builderForValue)

public ListInstanceConfigOperationsResponse.Builder setOperations(int index, Operation.Builder builderForValue)

The list of matching instance config long-running operations. Each operation's name will be prefixed by the instance config's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Parameters
NameDescription
indexint
builderForValueBuilder
Returns
TypeDescription
ListInstanceConfigOperationsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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