public static final class Replication.UserManaged.Replica extends GeneratedMessageV3 implements Replication.UserManaged.ReplicaOrBuilder
Represents a Replica for this
Secret.
Protobuf type google.cloud.secretmanager.v1.Replication.UserManaged.Replica
Static Fields
CUSTOMER_MANAGED_ENCRYPTION_FIELD_NUMBER
public static final int CUSTOMER_MANAGED_ENCRYPTION_FIELD_NUMBER
Field Value
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Replication.UserManaged.Replica getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Replication.UserManaged.Replica.Builder newBuilder()
Returns
newBuilder(Replication.UserManaged.Replica prototype)
public static Replication.UserManaged.Replica.Builder newBuilder(Replication.UserManaged.Replica prototype)
Parameter
Returns
public static Replication.UserManaged.Replica parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Replication.UserManaged.Replica parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Replication.UserManaged.Replica parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Replication.UserManaged.Replica parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Replication.UserManaged.Replica parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Replication.UserManaged.Replica parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Replication.UserManaged.Replica parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Replication.UserManaged.Replica parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Replication.UserManaged.Replica parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Replication.UserManaged.Replica parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Replication.UserManaged.Replica parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Replication.UserManaged.Replica parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Replication.UserManaged.Replica> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCustomerManagedEncryption()
public CustomerManagedEncryption getCustomerManagedEncryption()
Optional. The customer-managed encryption configuration of the
User-Managed Replica. 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 = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getCustomerManagedEncryptionOrBuilder()
public CustomerManagedEncryptionOrBuilder getCustomerManagedEncryptionOrBuilder()
Optional. The customer-managed encryption configuration of the
User-Managed Replica. 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 = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getDefaultInstanceForType()
public Replication.UserManaged.Replica getDefaultInstanceForType()
Returns
getLocation()
public String getLocation()
The canonical IDs of the location to replicate data.
For example: "us-east1"
.
string location = 1;
Returns
Type | Description |
String | The location.
|
getLocationBytes()
public ByteString getLocationBytes()
The canonical IDs of the location to replicate data.
For example: "us-east1"
.
string location = 1;
Returns
getParserForType()
public Parser<Replication.UserManaged.Replica> 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
User-Managed Replica. 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 = 2 [(.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
newBuilderForType()
public Replication.UserManaged.Replica.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Replication.UserManaged.Replica.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Replication.UserManaged.Replica.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions