Class ReverseReplicationDirectionRequest (0.19.0)

public final class ReverseReplicationDirectionRequest extends GeneratedMessageV3 implements ReverseReplicationDirectionRequestOrBuilder

ReverseReplicationDirectionRequest reverses direction of replication. Source becomes destination and destination becomes source.

Protobuf type google.cloud.netapp.v1.ReverseReplicationDirectionRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ReverseReplicationDirectionRequest

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReverseReplicationDirectionRequest getDefaultInstance()
Returns
TypeDescription
ReverseReplicationDirectionRequest

getDescriptor()

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

newBuilder()

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

newBuilder(ReverseReplicationDirectionRequest prototype)

public static ReverseReplicationDirectionRequest.Builder newBuilder(ReverseReplicationDirectionRequest prototype)
Parameter
NameDescription
prototypeReverseReplicationDirectionRequest
Returns
TypeDescription
ReverseReplicationDirectionRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ReverseReplicationDirectionRequest getDefaultInstanceForType()
Returns
TypeDescription
ReverseReplicationDirectionRequest

getName()

public String getName()

Required. The resource name of the replication, in the format of projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the replication, in the format of projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 ReverseReplicationDirectionRequest.Builder newBuilderForType()
Returns
TypeDescription
ReverseReplicationDirectionRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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