public final class KmsConfig extends com.google.protobuf.GeneratedMessageV3 implements KmsConfigOrBuilder
KmsConfig is the customer managed encryption key(CMEK) configuration.Protobuf type
google.cloud.netapp.v1.KmsConfig| Modifier and Type | Class and Description |
|---|---|
static class |
KmsConfig.Builder
KmsConfig is the customer managed encryption key(CMEK) configuration.
|
static class |
KmsConfig.State
The KmsConfig States
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
CRYPTO_KEY_NAME_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
INSTRUCTIONS_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SERVICE_ACCOUNT_FIELD_NUMBER |
static int |
STATE_DETAILS_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Labels as key value pairs
|
boolean |
equals(Object obj) |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
String |
getCryptoKeyName()
Required.
|
com.google.protobuf.ByteString |
getCryptoKeyNameBytes()
Required.
|
static KmsConfig |
getDefaultInstance() |
KmsConfig |
getDefaultInstanceForType() |
String |
getDescription()
Description of the KmsConfig.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Description of the KmsConfig.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getInstructions()
Output only.
|
com.google.protobuf.ByteString |
getInstructionsBytes()
Output only.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels as key value pairs
|
Map<String,String> |
getLabelsMap()
Labels as key value pairs
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels as key value pairs
|
String |
getLabelsOrThrow(String key)
Labels as key value pairs
|
String |
getName()
Identifier.
|
com.google.protobuf.ByteString |
getNameBytes()
Identifier.
|
com.google.protobuf.Parser<KmsConfig> |
getParserForType() |
int |
getSerializedSize() |
String |
getServiceAccount()
Output only.
|
com.google.protobuf.ByteString |
getServiceAccountBytes()
Output only.
|
KmsConfig.State |
getState()
Output only.
|
String |
getStateDetails()
Output only.
|
com.google.protobuf.ByteString |
getStateDetailsBytes()
Output only.
|
int |
getStateValue()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static KmsConfig.Builder |
newBuilder() |
static KmsConfig.Builder |
newBuilder(KmsConfig prototype) |
KmsConfig.Builder |
newBuilderForType() |
protected KmsConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static KmsConfig |
parseDelimitedFrom(InputStream input) |
static KmsConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KmsConfig |
parseFrom(byte[] data) |
static KmsConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KmsConfig |
parseFrom(ByteBuffer data) |
static KmsConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KmsConfig |
parseFrom(com.google.protobuf.ByteString data) |
static KmsConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KmsConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static KmsConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KmsConfig |
parseFrom(InputStream input) |
static KmsConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<KmsConfig> |
parser() |
KmsConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int CRYPTO_KEY_NAME_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int STATE_DETAILS_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int INSTRUCTIONS_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
Identifier. Name of the KmsConfig.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];getName in interface KmsConfigOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Identifier. Name of the KmsConfig.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];getNameBytes in interface KmsConfigOrBuilderpublic String getCryptoKeyName()
Required. Customer managed crypto key resource full name. Format:
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}.
string crypto_key_name = 2 [(.google.api.field_behavior) = REQUIRED];getCryptoKeyName in interface KmsConfigOrBuilderpublic com.google.protobuf.ByteString getCryptoKeyNameBytes()
Required. Customer managed crypto key resource full name. Format:
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}.
string crypto_key_name = 2 [(.google.api.field_behavior) = REQUIRED];getCryptoKeyNameBytes in interface KmsConfigOrBuilderpublic int getStateValue()
Output only. State of the KmsConfig.
.google.cloud.netapp.v1.KmsConfig.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface KmsConfigOrBuilderpublic KmsConfig.State getState()
Output only. State of the KmsConfig.
.google.cloud.netapp.v1.KmsConfig.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface KmsConfigOrBuilderpublic String getStateDetails()
Output only. State details of the KmsConfig.
string state_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getStateDetails in interface KmsConfigOrBuilderpublic com.google.protobuf.ByteString getStateDetailsBytes()
Output only. State details of the KmsConfig.
string state_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getStateDetailsBytes in interface KmsConfigOrBuilderpublic boolean hasCreateTime()
Output only. Create time of the KmsConfig.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface KmsConfigOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. Create time of the KmsConfig.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface KmsConfigOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Create time of the KmsConfig.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface KmsConfigOrBuilderpublic String getDescription()
Description of the KmsConfig.
string description = 6;getDescription in interface KmsConfigOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Description of the KmsConfig.
string description = 6;getDescriptionBytes in interface KmsConfigOrBuilderpublic int getLabelsCount()
KmsConfigOrBuilderLabels as key value pairs
map<string, string> labels = 7;getLabelsCount in interface KmsConfigOrBuilderpublic boolean containsLabels(String key)
Labels as key value pairs
map<string, string> labels = 7;containsLabels in interface KmsConfigOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface KmsConfigOrBuilderpublic Map<String,String> getLabelsMap()
Labels as key value pairs
map<string, string> labels = 7;getLabelsMap in interface KmsConfigOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs
map<string, string> labels = 7;getLabelsOrDefault in interface KmsConfigOrBuilderpublic String getLabelsOrThrow(String key)
Labels as key value pairs
map<string, string> labels = 7;getLabelsOrThrow in interface KmsConfigOrBuilderpublic String getInstructions()
Output only. Instructions to provide the access to the customer provided encryption key.
string instructions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];getInstructions in interface KmsConfigOrBuilderpublic com.google.protobuf.ByteString getInstructionsBytes()
Output only. Instructions to provide the access to the customer provided encryption key.
string instructions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];getInstructionsBytes in interface KmsConfigOrBuilderpublic String getServiceAccount()
Output only. The Service account which will have access to the customer provided encryption key.
string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];getServiceAccount in interface KmsConfigOrBuilderpublic com.google.protobuf.ByteString getServiceAccountBytes()
Output only. The Service account which will have access to the customer provided encryption key.
string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];getServiceAccountBytes in interface KmsConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static KmsConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KmsConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KmsConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KmsConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KmsConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KmsConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KmsConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static KmsConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KmsConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static KmsConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KmsConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static KmsConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic KmsConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static KmsConfig.Builder newBuilder()
public static KmsConfig.Builder newBuilder(KmsConfig prototype)
public KmsConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected KmsConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static KmsConfig getDefaultInstance()
public static com.google.protobuf.Parser<KmsConfig> parser()
public com.google.protobuf.Parser<KmsConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public KmsConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.