Class ListReplicationsResponse (0.20.0)

public final class ListReplicationsResponse extends GeneratedMessageV3 implements ListReplicationsResponseOrBuilder

ListReplicationsResponse is the result of ListReplicationsRequest.

Protobuf type google.cloud.netapp.v1.ListReplicationsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

REPLICATIONS_FIELD_NUMBER

public static final int REPLICATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

UNREACHABLE_FIELD_NUMBER

public static final int UNREACHABLE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListReplicationsResponse getDefaultInstance()
Returns
TypeDescription
ListReplicationsResponse

getDescriptor()

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

newBuilder()

public static ListReplicationsResponse.Builder newBuilder()
Returns
TypeDescription
ListReplicationsResponse.Builder

newBuilder(ListReplicationsResponse prototype)

public static ListReplicationsResponse.Builder newBuilder(ListReplicationsResponse prototype)
Parameter
NameDescription
prototypeListReplicationsResponse
Returns
TypeDescription
ListReplicationsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListReplicationsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListReplicationsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListReplicationsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListReplicationsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListReplicationsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListReplicationsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListReplicationsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListReplicationsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListReplicationsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListReplicationsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListReplicationsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListReplicationsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListReplicationsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListReplicationsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListReplicationsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListReplicationsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListReplicationsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListReplicationsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListReplicationsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListReplicationsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListReplicationsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListReplicationsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListReplicationsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListReplicationsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListReplicationsResponse> parser()
Returns
TypeDescription
Parser<ListReplicationsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListReplicationsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListReplicationsResponse

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.

getParserForType()

public Parser<ListReplicationsResponse> getParserForType()
Returns
TypeDescription
Parser<ListReplicationsResponse>
Overrides

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

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>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListReplicationsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListReplicationsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListReplicationsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListReplicationsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListReplicationsResponse.Builder toBuilder()
Returns
TypeDescription
ListReplicationsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException