public static final class EkmConfig.Builder extends GeneratedMessageV3.Builder<EkmConfig.Builder> implements EkmConfigOrBuilder
An 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
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 EkmConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public EkmConfig buildPartial()
clear()
public EkmConfig.Builder clear()
Overrides
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) = { ... }
clearField(Descriptors.FieldDescriptor field)
public EkmConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public EkmConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public EkmConfig.Builder clone()
Overrides
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(EkmConfig other)
public EkmConfig.Builder mergeFrom(EkmConfig other)
public EkmConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public EkmConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EkmConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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 | String
The defaultEkmConnection to set.
|
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 | ByteString
The bytes for defaultEkmConnection to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public EkmConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 | String
The name to set.
|
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 | ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EkmConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final EkmConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides