public static final class EncryptVolumesRequest.Builder extends GeneratedMessageV3.Builder<EncryptVolumesRequest.Builder> implements EncryptVolumesRequestOrBuilder
EncryptVolumesRequest EncryptVolumesRequest specifies the KMS config to encrypt existing volumes.
Protobuf type google.cloud.netapp.v1beta1.EncryptVolumesRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > EncryptVolumesRequest.BuilderImplements
EncryptVolumesRequestOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public EncryptVolumesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
EncryptVolumesRequest.Builder |
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 |
clone()
public EncryptVolumesRequest.Builder clone()
Returns | |
---|---|
Type | Description |
EncryptVolumesRequest.Builder |
getDefaultInstanceForType()
public EncryptVolumesRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
EncryptVolumesRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public EncryptVolumesRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
EncryptVolumesRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EncryptVolumesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
EncryptVolumesRequest.Builder |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final EncryptVolumesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
EncryptVolumesRequest.Builder |