public static final class CreateKmsConfigRequest.Builder extends GeneratedMessage.Builder<CreateKmsConfigRequest.Builder> implements CreateKmsConfigRequestOrBuilderCreateKmsConfigRequest creates a KMS Config.
Protobuf type google.cloud.netapp.v1.CreateKmsConfigRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateKmsConfigRequest.BuilderImplements
CreateKmsConfigRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateKmsConfigRequest build()| Returns | |
|---|---|
| Type | Description |
CreateKmsConfigRequest |
|
buildPartial()
public CreateKmsConfigRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateKmsConfigRequest |
|
clear()
public CreateKmsConfigRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateKmsConfigRequest.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
CreateKmsConfigRequest.Builder |
|
clearKmsConfigId()
public CreateKmsConfigRequest.Builder clearKmsConfigId()Required. Id of the requesting KmsConfig. Must be unique within the parent resource. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
string kms_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateKmsConfigRequest.Builder |
This builder for chaining. |
clearParent()
public CreateKmsConfigRequest.Builder clearParent()Required. Value for parent.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateKmsConfigRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateKmsConfigRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateKmsConfigRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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];
| Returns | |
|---|---|
| Type | Description |
KmsConfig.Builder |
|
getKmsConfigId()
public String getKmsConfigId()Required. Id of the requesting KmsConfig. Must be unique within the parent resource. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
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. Must be unique within the parent resource. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
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];
| Returns | |
|---|---|
| Type | Description |
KmsConfigOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateKmsConfigRequest other)
public CreateKmsConfigRequest.Builder mergeFrom(CreateKmsConfigRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateKmsConfigRequest |
| Returns | |
|---|---|
| Type | Description |
CreateKmsConfigRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateKmsConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateKmsConfigRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateKmsConfigRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateKmsConfigRequest.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
KmsConfig |
| Returns | |
|---|---|
| Type | Description |
CreateKmsConfigRequest.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
KmsConfig |
| Returns | |
|---|---|
| Type | Description |
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.v1.KmsConfig kms_config = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
KmsConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateKmsConfigRequest.Builder |
|
setKmsConfigId(String value)
public CreateKmsConfigRequest.Builder setKmsConfigId(String value)Required. Id of the requesting KmsConfig. Must be unique within the parent resource. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
string kms_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe kmsConfigId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateKmsConfigRequest.Builder |
This builder for chaining. |
setKmsConfigIdBytes(ByteString value)
public CreateKmsConfigRequest.Builder setKmsConfigIdBytes(ByteString value)Required. Id of the requesting KmsConfig. Must be unique within the parent resource. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
string kms_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for kmsConfigId to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateKmsConfigRequest.Builder |
This builder for chaining. |