Class EncryptVolumesRequest.Builder (0.13.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EncryptVolumesRequest build()
Returns
TypeDescription
EncryptVolumesRequest

buildPartial()

public EncryptVolumesRequest buildPartial()
Returns
TypeDescription
EncryptVolumesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public EncryptVolumesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
EncryptVolumesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public EncryptVolumesRequest getDefaultInstanceForType()
Returns
TypeDescription
EncryptVolumesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Name of the KmsConfig.

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

Returns
TypeDescription
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
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(EncryptVolumesRequest other)

public EncryptVolumesRequest.Builder mergeFrom(EncryptVolumesRequest other)
Parameter
NameDescription
otherEncryptVolumesRequest
Returns
TypeDescription
EncryptVolumesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public EncryptVolumesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EncryptVolumesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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