Class UpdateReplicationRequest.Builder (0.6.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateReplicationRequest build()
Returns
TypeDescription
UpdateReplicationRequest

buildPartial()

public UpdateReplicationRequest buildPartial()
Returns
TypeDescription
UpdateReplicationRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateReplicationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
UpdateReplicationRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateReplicationRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateReplicationRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getReplication()

public Replication getReplication()

Required. A replication resource

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

Returns
TypeDescription
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
TypeDescription
Replication.Builder

getReplicationOrBuilder()

public ReplicationOrBuilder getReplicationOrBuilder()

Required. A replication resource

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
FieldMaskOrBuilder

hasReplication()

public boolean hasReplication()

Required. A replication resource

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateReplicationRequest other)

public UpdateReplicationRequest.Builder mergeFrom(UpdateReplicationRequest other)
Parameter
NameDescription
otherUpdateReplicationRequest
Returns
TypeDescription
UpdateReplicationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateReplicationRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueReplication
Returns
TypeDescription
UpdateReplicationRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateReplicationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateReplicationRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public UpdateReplicationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueReplication
Returns
TypeDescription
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
NameDescription
builderForValueReplication.Builder
Returns
TypeDescription
UpdateReplicationRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateReplicationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateReplicationRequest.Builder