Class ListReplicationsResponse.Builder (0.16.0)

public static final class ListReplicationsResponse.Builder extends GeneratedMessageV3.Builder<ListReplicationsResponse.Builder> implements ListReplicationsResponseOrBuilder

ListReplicationsResponse is the result of ListReplicationsRequest.

Protobuf type google.cloud.netapp.v1.ListReplicationsResponse

Static Methods

getDescriptor()

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

Methods

addAllReplications(Iterable<? extends Replication> values)

public ListReplicationsResponse.Builder addAllReplications(Iterable<? extends Replication> values)

A list of replications in the project for the specified volume.

repeated .google.cloud.netapp.v1.Replication replications = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.netapp.v1.Replication>
Returns
TypeDescription
ListReplicationsResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListReplicationsResponse.Builder addAllUnreachable(Iterable<String> values)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
ListReplicationsResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addReplications(Replication value)

public ListReplicationsResponse.Builder addReplications(Replication value)

A list of replications in the project for the specified volume.

repeated .google.cloud.netapp.v1.Replication replications = 1;

Parameter
NameDescription
valueReplication
Returns
TypeDescription
ListReplicationsResponse.Builder

addReplications(Replication.Builder builderForValue)

public ListReplicationsResponse.Builder addReplications(Replication.Builder builderForValue)

A list of replications in the project for the specified volume.

repeated .google.cloud.netapp.v1.Replication replications = 1;

Parameter
NameDescription
builderForValueReplication.Builder
Returns
TypeDescription
ListReplicationsResponse.Builder

addReplications(int index, Replication value)

public ListReplicationsResponse.Builder addReplications(int index, Replication value)

A list of replications in the project for the specified volume.

repeated .google.cloud.netapp.v1.Replication replications = 1;

Parameters
NameDescription
indexint
valueReplication
Returns
TypeDescription
ListReplicationsResponse.Builder

addReplications(int index, Replication.Builder builderForValue)

public ListReplicationsResponse.Builder addReplications(int index, Replication.Builder builderForValue)

A list of replications in the project for the specified volume.

repeated .google.cloud.netapp.v1.Replication replications = 1;

Parameters
NameDescription
indexint
builderForValueReplication.Builder
Returns
TypeDescription
ListReplicationsResponse.Builder

addReplicationsBuilder()

public Replication.Builder addReplicationsBuilder()

A list of replications in the project for the specified volume.

repeated .google.cloud.netapp.v1.Replication replications = 1;

Returns
TypeDescription
Replication.Builder

addReplicationsBuilder(int index)

public Replication.Builder addReplicationsBuilder(int index)

A list of replications in the project for the specified volume.

repeated .google.cloud.netapp.v1.Replication replications = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Replication.Builder

addUnreachable(String value)

public ListReplicationsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
ListReplicationsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListReplicationsResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
ListReplicationsResponse.Builder

This builder for chaining.

build()

public ListReplicationsResponse build()
Returns
TypeDescription
ListReplicationsResponse

buildPartial()

public ListReplicationsResponse buildPartial()
Returns
TypeDescription
ListReplicationsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListReplicationsResponse.Builder clearNextPageToken()

The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.

string next_page_token = 2;

Returns
TypeDescription
ListReplicationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReplications()

public ListReplicationsResponse.Builder clearReplications()

A list of replications in the project for the specified volume.

repeated .google.cloud.netapp.v1.Replication replications = 1;

Returns
TypeDescription
ListReplicationsResponse.Builder

clearUnreachable()

public ListReplicationsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListReplicationsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListReplicationsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListReplicationsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getReplications(int index)

public Replication getReplications(int index)

A list of replications in the project for the specified volume.

repeated .google.cloud.netapp.v1.Replication replications = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Replication

getReplicationsBuilder(int index)

public Replication.Builder getReplicationsBuilder(int index)

A list of replications in the project for the specified volume.

repeated .google.cloud.netapp.v1.Replication replications = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Replication.Builder

getReplicationsBuilderList()

public List<Replication.Builder> getReplicationsBuilderList()

A list of replications in the project for the specified volume.

repeated .google.cloud.netapp.v1.Replication replications = 1;

Returns
TypeDescription
List<Builder>

getReplicationsCount()

public int getReplicationsCount()

A list of replications in the project for the specified volume.

repeated .google.cloud.netapp.v1.Replication replications = 1;

Returns
TypeDescription
int

getReplicationsList()

public List<Replication> getReplicationsList()

A list of replications in the project for the specified volume.

repeated .google.cloud.netapp.v1.Replication replications = 1;

Returns
TypeDescription
List<Replication>

getReplicationsOrBuilder(int index)

public ReplicationOrBuilder getReplicationsOrBuilder(int index)

A list of replications in the project for the specified volume.

repeated .google.cloud.netapp.v1.Replication replications = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ReplicationOrBuilder

getReplicationsOrBuilderList()

public List<? extends ReplicationOrBuilder> getReplicationsOrBuilderList()

A list of replications in the project for the specified volume.

repeated .google.cloud.netapp.v1.Replication replications = 1;

Returns
TypeDescription
List<? extends com.google.cloud.netapp.v1.ReplicationOrBuilder>

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListReplicationsResponse other)

public ListReplicationsResponse.Builder mergeFrom(ListReplicationsResponse other)
Parameter
NameDescription
otherListReplicationsResponse
Returns
TypeDescription
ListReplicationsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeReplications(int index)

public ListReplicationsResponse.Builder removeReplications(int index)

A list of replications in the project for the specified volume.

repeated .google.cloud.netapp.v1.Replication replications = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListReplicationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListReplicationsResponse.Builder setNextPageToken(String value)

The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListReplicationsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListReplicationsResponse.Builder setNextPageTokenBytes(ByteString value)

The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListReplicationsResponse.Builder

This builder for chaining.

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

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

setReplications(int index, Replication value)

public ListReplicationsResponse.Builder setReplications(int index, Replication value)

A list of replications in the project for the specified volume.

repeated .google.cloud.netapp.v1.Replication replications = 1;

Parameters
NameDescription
indexint
valueReplication
Returns
TypeDescription
ListReplicationsResponse.Builder

setReplications(int index, Replication.Builder builderForValue)

public ListReplicationsResponse.Builder setReplications(int index, Replication.Builder builderForValue)

A list of replications in the project for the specified volume.

repeated .google.cloud.netapp.v1.Replication replications = 1;

Parameters
NameDescription
indexint
builderForValueReplication.Builder
Returns
TypeDescription
ListReplicationsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListReplicationsResponse.Builder setUnreachable(int index, String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListReplicationsResponse.Builder

This builder for chaining.