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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListReplicationsResponse.BuilderImplements
ListReplicationsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.netapp.v1.Replication> |
Returns | |
---|---|
Type | Description |
ListReplicationsResponse.Builder |
addAllUnreachable(Iterable<String> values)
public ListReplicationsResponse.Builder addAllUnreachable(Iterable<String> values)
Locations that could not be reached.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The unreachable to add. |
Returns | |
---|---|
Type | Description |
ListReplicationsResponse.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListReplicationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListReplicationsResponse.Builder |
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 | |
---|---|
Name | Description |
value |
Replication |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue |
Replication.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index |
int |
value |
Replication |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index |
int |
builderForValue |
Replication.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Replication.Builder |
addUnreachable(String value)
public ListReplicationsResponse.Builder addUnreachable(String value)
Locations that could not be reached.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
value |
String The unreachable to add. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes of the unreachable to add. |
Returns | |
---|---|
Type | Description |
ListReplicationsResponse.Builder |
This builder for chaining. |
build()
public ListReplicationsResponse build()
Returns | |
---|---|
Type | Description |
ListReplicationsResponse |
buildPartial()
public ListReplicationsResponse buildPartial()
Returns | |
---|---|
Type | Description |
ListReplicationsResponse |
clear()
public ListReplicationsResponse.Builder clear()
Returns | |
---|---|
Type | Description |
ListReplicationsResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListReplicationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListReplicationsResponse.Builder |
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 | |
---|---|
Type | Description |
ListReplicationsResponse.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListReplicationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListReplicationsResponse.Builder |
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 | |
---|---|
Type | Description |
ListReplicationsResponse.Builder |
clearUnreachable()
public ListReplicationsResponse.Builder clearUnreachable()
Locations that could not be reached.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
ListReplicationsResponse.Builder |
This builder for chaining. |
clone()
public ListReplicationsResponse.Builder clone()
Returns | |
---|---|
Type | Description |
ListReplicationsResponse.Builder |
getDefaultInstanceForType()
public ListReplicationsResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListReplicationsResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
int |
The count of unreachable. |
getUnreachableList()
public ProtocolStringList getUnreachableList()
Locations that could not be reached.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the unreachable. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ListReplicationsResponse other)
public ListReplicationsResponse.Builder mergeFrom(ListReplicationsResponse other)
Parameter | |
---|---|
Name | Description |
other |
ListReplicationsResponse |
Returns | |
---|---|
Type | Description |
ListReplicationsResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListReplicationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListReplicationsResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListReplicationsResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ListReplicationsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListReplicationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListReplicationsResponse.Builder |
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 | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ListReplicationsResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListReplicationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListReplicationsResponse.Builder |
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 | |
---|---|
Name | Description |
value |
String The nextPageToken to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for nextPageToken to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ListReplicationsResponse.Builder |
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 | |
---|---|
Name | Description |
index |
int |
value |
Replication |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index |
int |
builderForValue |
Replication.Builder |
Returns | |
---|---|
Type | Description |
ListReplicationsResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListReplicationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListReplicationsResponse.Builder |
setUnreachable(int index, String value)
public ListReplicationsResponse.Builder setUnreachable(int index, String value)
Locations that could not be reached.
repeated string unreachable = 3;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The unreachable to set. |
Returns | |
---|---|
Type | Description |
ListReplicationsResponse.Builder |
This builder for chaining. |