public static final class Replication.UserManaged.Replica extends GeneratedMessageV3 implements Replication.UserManaged.ReplicaOrBuilder
Represents a Replica for this
Secret.
Protobuf type google.cloud.secretmanager.v1beta2.Replication.UserManaged.Replica
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CUSTOMER_MANAGED_ENCRYPTION_FIELD_NUMBER
public static final int CUSTOMER_MANAGED_ENCRYPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Replication.UserManaged.Replica getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Replication.UserManaged.Replica.Builder newBuilder()
newBuilder(Replication.UserManaged.Replica prototype)
public static Replication.UserManaged.Replica.Builder newBuilder(Replication.UserManaged.Replica prototype)
public static Replication.UserManaged.Replica parseDelimitedFrom(InputStream input)
public static Replication.UserManaged.Replica parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Replication.UserManaged.Replica parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Replication.UserManaged.Replica parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Replication.UserManaged.Replica parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Replication.UserManaged.Replica parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Replication.UserManaged.Replica parseFrom(CodedInputStream input)
public static Replication.UserManaged.Replica parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Replication.UserManaged.Replica parseFrom(InputStream input)
public static Replication.UserManaged.Replica parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Replication.UserManaged.Replica parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Replication.UserManaged.Replica parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Replication.UserManaged.Replica> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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.v1beta2.CustomerManagedEncryption customer_managed_encryption = 2 [(.google.api.field_behavior) = OPTIONAL];
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.v1beta2.CustomerManagedEncryption customer_managed_encryption = 2 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
public Replication.UserManaged.Replica getDefaultInstanceForType()
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 |
Type |
Description |
ByteString |
The bytes for location.
|
getParserForType()
public Parser<Replication.UserManaged.Replica> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
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.v1beta2.CustomerManagedEncryption customer_managed_encryption = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the customerManagedEncryption field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Replication.UserManaged.Replica.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Replication.UserManaged.Replica.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Replication.UserManaged.Replica.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides