public static final class Replication.Automatic extends GeneratedMessageV3 implements Replication.AutomaticOrBuilder
A replication policy that replicates the Secret payload without any
restrictions.
Protobuf type google.cloud.secretmanager.v1.Replication.Automatic
Fields
CUSTOMER_MANAGED_ENCRYPTION_FIELD_NUMBER
public static final int CUSTOMER_MANAGED_ENCRYPTION_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCustomerManagedEncryption()
public CustomerManagedEncryption getCustomerManagedEncryption()
Optional. The customer-managed encryption configuration of the Secret. If no
configuration is provided, Google-managed default encryption is used.
Updates to the Secret encryption configuration only apply to
SecretVersions added afterwards. They do not apply
retroactively to existing SecretVersions.
.google.cloud.secretmanager.v1.CustomerManagedEncryption customer_managed_encryption = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
getCustomerManagedEncryptionOrBuilder()
public CustomerManagedEncryptionOrBuilder getCustomerManagedEncryptionOrBuilder()
Optional. The customer-managed encryption configuration of the Secret. If no
configuration is provided, Google-managed default encryption is used.
Updates to the Secret encryption configuration only apply to
SecretVersions added afterwards. They do not apply
retroactively to existing SecretVersions.
.google.cloud.secretmanager.v1.CustomerManagedEncryption customer_managed_encryption = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
getDefaultInstance()
public static Replication.Automatic getDefaultInstance()
Returns
getDefaultInstanceForType()
public Replication.Automatic getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getParserForType()
public Parser<Replication.Automatic> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasCustomerManagedEncryption()
public boolean hasCustomerManagedEncryption()
Optional. The customer-managed encryption configuration of the Secret. If no
configuration is provided, Google-managed default encryption is used.
Updates to the Secret encryption configuration only apply to
SecretVersions added afterwards. They do not apply
retroactively to existing SecretVersions.
.google.cloud.secretmanager.v1.CustomerManagedEncryption customer_managed_encryption = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | Whether the customerManagedEncryption field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static Replication.Automatic.Builder newBuilder()
Returns
newBuilder(Replication.Automatic prototype)
public static Replication.Automatic.Builder newBuilder(Replication.Automatic prototype)
Parameter
Returns
newBuilderForType()
public Replication.Automatic.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Replication.Automatic.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static Replication.Automatic parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Replication.Automatic parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Replication.Automatic parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Replication.Automatic parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Replication.Automatic parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Replication.Automatic parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Replication.Automatic parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Replication.Automatic parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Replication.Automatic parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Replication.Automatic parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Replication.Automatic parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Replication.Automatic parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Replication.Automatic> parser()
Returns
toBuilder()
public Replication.Automatic.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions