public static final class CreateKmsConfigRequest.Builder extends GeneratedMessageV3.Builder<CreateKmsConfigRequest.Builder> implements CreateKmsConfigRequestOrBuilder
CreateKmsConfigRequest creates a KMS Config.
Protobuf type google.cloud.netapp.v1.CreateKmsConfigRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateKmsConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateKmsConfigRequest build()
buildPartial()
public CreateKmsConfigRequest buildPartial()
clear()
public CreateKmsConfigRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateKmsConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearKmsConfig()
public CreateKmsConfigRequest.Builder clearKmsConfig()
Required. The required parameters to create a new KmsConfig.
.google.cloud.netapp.v1.KmsConfig kms_config = 3 [(.google.api.field_behavior) = REQUIRED];
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateKmsConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateKmsConfigRequest.Builder clearParent()
Required. Value for parent.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public CreateKmsConfigRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateKmsConfigRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getKmsConfig()
public KmsConfig getKmsConfig()
Required. The required parameters to create a new KmsConfig.
.google.cloud.netapp.v1.KmsConfig kms_config = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
KmsConfig | The kmsConfig.
|
getKmsConfigBuilder()
public KmsConfig.Builder getKmsConfigBuilder()
Required. The required parameters to create a new KmsConfig.
.google.cloud.netapp.v1.KmsConfig kms_config = 3 [(.google.api.field_behavior) = REQUIRED];
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 |
---|
Type | Description |
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 |
---|
Type | Description |
ByteString | The bytes for kmsConfigId.
|
getKmsConfigOrBuilder()
public KmsConfigOrBuilder getKmsConfigOrBuilder()
Required. The required parameters to create a new KmsConfig.
.google.cloud.netapp.v1.KmsConfig kms_config = 3 [(.google.api.field_behavior) = REQUIRED];
getParent()
public String getParent()
Required. Value for parent.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. Value for parent.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for parent.
|
hasKmsConfig()
public boolean hasKmsConfig()
Required. The required parameters to create a new KmsConfig.
.google.cloud.netapp.v1.KmsConfig kms_config = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the kmsConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateKmsConfigRequest other)
public CreateKmsConfigRequest.Builder mergeFrom(CreateKmsConfigRequest other)
public CreateKmsConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateKmsConfigRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeKmsConfig(KmsConfig value)
public CreateKmsConfigRequest.Builder mergeKmsConfig(KmsConfig value)
Required. The required parameters to create a new KmsConfig.
.google.cloud.netapp.v1.KmsConfig kms_config = 3 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateKmsConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateKmsConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setKmsConfig(KmsConfig value)
public CreateKmsConfigRequest.Builder setKmsConfig(KmsConfig value)
Required. The required parameters to create a new KmsConfig.
.google.cloud.netapp.v1.KmsConfig kms_config = 3 [(.google.api.field_behavior) = REQUIRED];
setKmsConfig(KmsConfig.Builder builderForValue)
public CreateKmsConfigRequest.Builder setKmsConfig(KmsConfig.Builder builderForValue)
Required. The required parameters to create a new KmsConfig.
.google.cloud.netapp.v1.KmsConfig kms_config = 3 [(.google.api.field_behavior) = REQUIRED];
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 |
---|
Name | Description |
value | String
The kmsConfigId to set.
|
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 |
---|
Name | Description |
value | ByteString
The bytes for kmsConfigId to set.
|
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 |
---|
Name | Description |
value | String
The parent to set.
|
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 |
---|
Name | Description |
value | ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateKmsConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateKmsConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides