Class EncryptVolumesRequest.Builder (0.30.0)

public static final class EncryptVolumesRequest.Builder extends GeneratedMessageV3.Builder<EncryptVolumesRequest.Builder> implements EncryptVolumesRequestOrBuilder

EncryptVolumesRequest specifies the KMS config to encrypt existing volumes.

Protobuf type google.cloud.netapp.v1.EncryptVolumesRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EncryptVolumesRequest build()
Returns
Type Description
EncryptVolumesRequest

buildPartial()

public EncryptVolumesRequest buildPartial()
Returns
Type Description
EncryptVolumesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public EncryptVolumesRequest.Builder clearName()

Required. Name of the KmsConfig.

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

Returns
Type Description
EncryptVolumesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public EncryptVolumesRequest getDefaultInstanceForType()
Returns
Type Description
EncryptVolumesRequest

getDescriptorForType()

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

getName()

public String getName()

Required. Name of the KmsConfig.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the KmsConfig.

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EncryptVolumesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public EncryptVolumesRequest.Builder setName(String value)

Required. Name of the KmsConfig.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
EncryptVolumesRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public EncryptVolumesRequest.Builder setNameBytes(ByteString value)

Required. Name of the KmsConfig.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
EncryptVolumesRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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