Class UpdateReplicationRequest.Builder (0.23.0)

public static final class UpdateReplicationRequest.Builder extends GeneratedMessageV3.Builder<UpdateReplicationRequest.Builder> implements UpdateReplicationRequestOrBuilder

UpdateReplicationRequest updates description and/or labels for a replication.

Protobuf type google.cloud.netapp.v1.UpdateReplicationRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateReplicationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateReplicationRequest.Builder
Overrides

build()

public UpdateReplicationRequest build()
Returns
Type Description
UpdateReplicationRequest

buildPartial()

public UpdateReplicationRequest buildPartial()
Returns
Type Description
UpdateReplicationRequest

clear()

public UpdateReplicationRequest.Builder clear()
Returns
Type Description
UpdateReplicationRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateReplicationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateReplicationRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateReplicationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateReplicationRequest.Builder
Overrides

clearReplication()

public UpdateReplicationRequest.Builder clearReplication()

Required. A replication resource

.google.cloud.netapp.v1.Replication replication = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateReplicationRequest.Builder

clearUpdateMask()

public UpdateReplicationRequest.Builder clearUpdateMask()

Required. Mask of fields to update. At least one path must be supplied in this field.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateReplicationRequest.Builder

clone()

public UpdateReplicationRequest.Builder clone()
Returns
Type Description
UpdateReplicationRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateReplicationRequest getDefaultInstanceForType()
Returns
Type Description
UpdateReplicationRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getReplication()

public Replication getReplication()

Required. A replication resource

.google.cloud.netapp.v1.Replication replication = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Replication

The replication.

getReplicationBuilder()

public Replication.Builder getReplicationBuilder()

Required. A replication resource

.google.cloud.netapp.v1.Replication replication = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Replication.Builder

getReplicationOrBuilder()

public ReplicationOrBuilder getReplicationOrBuilder()

Required. A replication resource

.google.cloud.netapp.v1.Replication replication = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReplicationOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. Mask of fields to update. At least one path must be supplied in this field.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. Mask of fields to update. At least one path must be supplied in this field.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Mask of fields to update. At least one path must be supplied in this field.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

hasReplication()

public boolean hasReplication()

Required. A replication resource

.google.cloud.netapp.v1.Replication replication = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the replication field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Mask of fields to update. At least one path must be supplied in this field.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateReplicationRequest other)

public UpdateReplicationRequest.Builder mergeFrom(UpdateReplicationRequest other)
Parameter
Name Description
other UpdateReplicationRequest
Returns
Type Description
UpdateReplicationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateReplicationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateReplicationRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateReplicationRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateReplicationRequest.Builder
Overrides

mergeReplication(Replication value)

public UpdateReplicationRequest.Builder mergeReplication(Replication value)

Required. A replication resource

.google.cloud.netapp.v1.Replication replication = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Replication
Returns
Type Description
UpdateReplicationRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateReplicationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateReplicationRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateReplicationRequest.Builder mergeUpdateMask(FieldMask value)

Required. Mask of fields to update. At least one path must be supplied in this field.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateReplicationRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateReplicationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateReplicationRequest.Builder
Overrides

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

public UpdateReplicationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateReplicationRequest.Builder
Overrides

setReplication(Replication value)

public UpdateReplicationRequest.Builder setReplication(Replication value)

Required. A replication resource

.google.cloud.netapp.v1.Replication replication = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Replication
Returns
Type Description
UpdateReplicationRequest.Builder

setReplication(Replication.Builder builderForValue)

public UpdateReplicationRequest.Builder setReplication(Replication.Builder builderForValue)

Required. A replication resource

.google.cloud.netapp.v1.Replication replication = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Replication.Builder
Returns
Type Description
UpdateReplicationRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateReplicationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateReplicationRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateReplicationRequest.Builder setUpdateMask(FieldMask value)

Required. Mask of fields to update. At least one path must be supplied in this field.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateReplicationRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateReplicationRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. Mask of fields to update. At least one path must be supplied in this field.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateReplicationRequest.Builder