Class ReverseReplicationDirectionRequest.Builder (0.12.0)

public static final class ReverseReplicationDirectionRequest.Builder extends GeneratedMessageV3.Builder<ReverseReplicationDirectionRequest.Builder> implements ReverseReplicationDirectionRequestOrBuilder

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

Protobuf type google.cloud.netapp.v1.ReverseReplicationDirectionRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReverseReplicationDirectionRequest build()
Returns
TypeDescription
ReverseReplicationDirectionRequest

buildPartial()

public ReverseReplicationDirectionRequest buildPartial()
Returns
TypeDescription
ReverseReplicationDirectionRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public ReverseReplicationDirectionRequest.Builder clearName()

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
ReverseReplicationDirectionRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ReverseReplicationDirectionRequest getDefaultInstanceForType()
Returns
TypeDescription
ReverseReplicationDirectionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReverseReplicationDirectionRequest other)

public ReverseReplicationDirectionRequest.Builder mergeFrom(ReverseReplicationDirectionRequest other)
Parameter
NameDescription
otherReverseReplicationDirectionRequest
Returns
TypeDescription
ReverseReplicationDirectionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public ReverseReplicationDirectionRequest.Builder setName(String value)

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) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
ReverseReplicationDirectionRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ReverseReplicationDirectionRequest.Builder setNameBytes(ByteString value)

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) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
ReverseReplicationDirectionRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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