Class CreateKmsConfigRequest.Builder (0.1.0)

public static final class CreateKmsConfigRequest.Builder extends GeneratedMessageV3.Builder<CreateKmsConfigRequest.Builder> implements CreateKmsConfigRequestOrBuilder

CreateKmsConfigRequest

Protobuf type google.cloud.netapp.v1beta1.CreateKmsConfigRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateKmsConfigRequest build()
Returns
TypeDescription
CreateKmsConfigRequest

buildPartial()

public CreateKmsConfigRequest buildPartial()
Returns
TypeDescription
CreateKmsConfigRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearKmsConfig()

public CreateKmsConfigRequest.Builder clearKmsConfig()

Required. The required parameters to create a new KmsConfig.

.google.cloud.netapp.v1beta1.KmsConfig kms_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreateKmsConfigRequest.Builder

clearKmsConfigId()

public CreateKmsConfigRequest.Builder clearKmsConfigId()

Required. Id of the requesting KmsConfig If auto-generating Id server-side, remove this field and id from the method_signature of Create RPC

string kms_config_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreateKmsConfigRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateKmsConfigRequest.Builder clearParent()

Required. Value for parent.

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

Returns
TypeDescription
CreateKmsConfigRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateKmsConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateKmsConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getKmsConfig()

public KmsConfig getKmsConfig()

Required. The required parameters to create a new KmsConfig.

.google.cloud.netapp.v1beta1.KmsConfig kms_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
KmsConfig

The kmsConfig.

getKmsConfigBuilder()

public KmsConfig.Builder getKmsConfigBuilder()

Required. The required parameters to create a new KmsConfig.

.google.cloud.netapp.v1beta1.KmsConfig kms_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
KmsConfig.Builder

getKmsConfigId()

public String getKmsConfigId()

Required. Id of the requesting KmsConfig If auto-generating Id server-side, remove this field and id from the method_signature of Create RPC

string kms_config_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The kmsConfigId.

getKmsConfigIdBytes()

public ByteString getKmsConfigIdBytes()

Required. Id of the requesting KmsConfig If auto-generating Id server-side, remove this field and id from the method_signature of Create RPC

string kms_config_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for kmsConfigId.

getKmsConfigOrBuilder()

public KmsConfigOrBuilder getKmsConfigOrBuilder()

Required. The required parameters to create a new KmsConfig.

.google.cloud.netapp.v1beta1.KmsConfig kms_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
KmsConfigOrBuilder

getParent()

public String getParent()

Required. Value for parent.

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Value for parent.

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

Returns
TypeDescription
ByteString

The bytes for parent.

hasKmsConfig()

public boolean hasKmsConfig()

Required. The required parameters to create a new KmsConfig.

.google.cloud.netapp.v1beta1.KmsConfig kms_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the kmsConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateKmsConfigRequest other)

public CreateKmsConfigRequest.Builder mergeFrom(CreateKmsConfigRequest other)
Parameter
NameDescription
otherCreateKmsConfigRequest
Returns
TypeDescription
CreateKmsConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeKmsConfig(KmsConfig value)

public CreateKmsConfigRequest.Builder mergeKmsConfig(KmsConfig value)

Required. The required parameters to create a new KmsConfig.

.google.cloud.netapp.v1beta1.KmsConfig kms_config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueKmsConfig
Returns
TypeDescription
CreateKmsConfigRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setKmsConfig(KmsConfig value)

public CreateKmsConfigRequest.Builder setKmsConfig(KmsConfig value)

Required. The required parameters to create a new KmsConfig.

.google.cloud.netapp.v1beta1.KmsConfig kms_config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueKmsConfig
Returns
TypeDescription
CreateKmsConfigRequest.Builder

setKmsConfig(KmsConfig.Builder builderForValue)

public CreateKmsConfigRequest.Builder setKmsConfig(KmsConfig.Builder builderForValue)

Required. The required parameters to create a new KmsConfig.

.google.cloud.netapp.v1beta1.KmsConfig kms_config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueKmsConfig.Builder
Returns
TypeDescription
CreateKmsConfigRequest.Builder

setKmsConfigId(String value)

public CreateKmsConfigRequest.Builder setKmsConfigId(String value)

Required. Id of the requesting KmsConfig If auto-generating Id server-side, remove this field and id from the method_signature of Create RPC

string kms_config_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The kmsConfigId to set.

Returns
TypeDescription
CreateKmsConfigRequest.Builder

This builder for chaining.

setKmsConfigIdBytes(ByteString value)

public CreateKmsConfigRequest.Builder setKmsConfigIdBytes(ByteString value)

Required. Id of the requesting KmsConfig If auto-generating Id server-side, remove this field and id from the method_signature of Create RPC

string kms_config_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for kmsConfigId to set.

Returns
TypeDescription
CreateKmsConfigRequest.Builder

This builder for chaining.

setParent(String value)

public CreateKmsConfigRequest.Builder setParent(String value)

Required. Value for parent.

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

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
CreateKmsConfigRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateKmsConfigRequest.Builder setParentBytes(ByteString value)

Required. Value for parent.

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

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
CreateKmsConfigRequest.Builder

This builder for chaining.

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

public CreateKmsConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateKmsConfigRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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