public static final class EkmConfig.Builder extends GeneratedMessage.Builder<EkmConfig.Builder> implements EkmConfigOrBuilderAn EkmConfig is a singleton resource that represents configuration parameters that apply to all CryptoKeys and CryptoKeyVersions with a ProtectionLevel of EXTERNAL_VPC in a given project and location.
Protobuf type google.cloud.kms.v1.EkmConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > EkmConfig.BuilderImplements
EkmConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public EkmConfig build()| Returns | |
|---|---|
| Type | Description |
EkmConfig |
|
buildPartial()
public EkmConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
EkmConfig |
|
clear()
public EkmConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
EkmConfig.Builder |
|
clearDefaultEkmConnection()
public EkmConfig.Builder clearDefaultEkmConnection()Optional. Resource name of the default EkmConnection. Setting this field to the empty string removes the default.
string default_ekm_connection = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
EkmConfig.Builder |
This builder for chaining. |
clearName()
public EkmConfig.Builder clearName() Output only. The resource name for the
EkmConfig in the format
projects/*/locations/*/ekmConfig.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EkmConfig.Builder |
This builder for chaining. |
getDefaultEkmConnection()
public String getDefaultEkmConnection()Optional. Resource name of the default EkmConnection. Setting this field to the empty string removes the default.
string default_ekm_connection = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The defaultEkmConnection. |
getDefaultEkmConnectionBytes()
public ByteString getDefaultEkmConnectionBytes()Optional. Resource name of the default EkmConnection. Setting this field to the empty string removes the default.
string default_ekm_connection = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for defaultEkmConnection. |
getDefaultInstanceForType()
public EkmConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
EkmConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName() Output only. The resource name for the
EkmConfig in the format
projects/*/locations/*/ekmConfig.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Output only. The resource name for the
EkmConfig in the format
projects/*/locations/*/ekmConfig.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(EkmConfig other)
public EkmConfig.Builder mergeFrom(EkmConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
EkmConfig |
| Returns | |
|---|---|
| Type | Description |
EkmConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EkmConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
EkmConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public EkmConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
EkmConfig.Builder |
|
setDefaultEkmConnection(String value)
public EkmConfig.Builder setDefaultEkmConnection(String value)Optional. Resource name of the default EkmConnection. Setting this field to the empty string removes the default.
string default_ekm_connection = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe defaultEkmConnection to set. |
| Returns | |
|---|---|
| Type | Description |
EkmConfig.Builder |
This builder for chaining. |
setDefaultEkmConnectionBytes(ByteString value)
public EkmConfig.Builder setDefaultEkmConnectionBytes(ByteString value)Optional. Resource name of the default EkmConnection. Setting this field to the empty string removes the default.
string default_ekm_connection = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for defaultEkmConnection to set. |
| Returns | |
|---|---|
| Type | Description |
EkmConfig.Builder |
This builder for chaining. |
setName(String value)
public EkmConfig.Builder setName(String value) Output only. The resource name for the
EkmConfig in the format
projects/*/locations/*/ekmConfig.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
EkmConfig.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public EkmConfig.Builder setNameBytes(ByteString value) Output only. The resource name for the
EkmConfig in the format
projects/*/locations/*/ekmConfig.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
EkmConfig.Builder |
This builder for chaining. |