public final class CustomerManagedEncryptionStatus extends GeneratedMessageV3 implements CustomerManagedEncryptionStatusOrBuilder
Describes the status of customer-managed encryption.
Protobuf type google.cloud.secretmanager.v1.CustomerManagedEncryptionStatus
Static Fields
KMS_KEY_VERSION_NAME_FIELD_NUMBER
public static final int KMS_KEY_VERSION_NAME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CustomerManagedEncryptionStatus getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CustomerManagedEncryptionStatus.Builder newBuilder()
Returns
newBuilder(CustomerManagedEncryptionStatus prototype)
public static CustomerManagedEncryptionStatus.Builder newBuilder(CustomerManagedEncryptionStatus prototype)
Parameter
Returns
public static CustomerManagedEncryptionStatus parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CustomerManagedEncryptionStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CustomerManagedEncryptionStatus parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CustomerManagedEncryptionStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CustomerManagedEncryptionStatus parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CustomerManagedEncryptionStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CustomerManagedEncryptionStatus parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CustomerManagedEncryptionStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CustomerManagedEncryptionStatus parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CustomerManagedEncryptionStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CustomerManagedEncryptionStatus parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CustomerManagedEncryptionStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CustomerManagedEncryptionStatus> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public CustomerManagedEncryptionStatus getDefaultInstanceForType()
Returns
getKmsKeyVersionName()
public String getKmsKeyVersionName()
Required. The resource name of the Cloud KMS CryptoKeyVersion used to encrypt the
secret payload, in the following format:
projects/*/locations/*/keyRings/*/cryptoKeys/*/versions/*
.
string kms_key_version_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The kmsKeyVersionName.
|
getKmsKeyVersionNameBytes()
public ByteString getKmsKeyVersionNameBytes()
Required. The resource name of the Cloud KMS CryptoKeyVersion used to encrypt the
secret payload, in the following format:
projects/*/locations/*/keyRings/*/cryptoKeys/*/versions/*
.
string kms_key_version_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
ByteString | The bytes for kmsKeyVersionName.
|
getParserForType()
public Parser<CustomerManagedEncryptionStatus> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CustomerManagedEncryptionStatus.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CustomerManagedEncryptionStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CustomerManagedEncryptionStatus.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions