Class Replication
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.secretmanager.v1beta1.Replication
-
- All Implemented Interfaces:
ReplicationOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Replication extends com.google.protobuf.GeneratedMessageV3 implements ReplicationOrBuilder
A policy that defines the replication configuration of data.
Protobuf typegoogle.cloud.secrets.v1beta1.Replication- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReplication.AutomaticA replication policy that replicates the [Secret][google.cloud.secrets.v1beta1.Secret] payload without any restrictions.static interfaceReplication.AutomaticOrBuilderstatic classReplication.BuilderA policy that defines the replication configuration of data.static classReplication.ReplicationCasestatic classReplication.UserManagedA replication policy that replicates the [Secret][google.cloud.secrets.v1beta1.Secret] payload into the locations specified in [Secret.replication.user_managed.replicas][]static interfaceReplication.UserManagedOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intAUTOMATIC_FIELD_NUMBERstatic intUSER_MANAGED_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Replication.AutomaticgetAutomatic()The [Secret][google.cloud.secrets.v1beta1.Secret] will automatically be replicated without any restrictions.Replication.AutomaticOrBuildergetAutomaticOrBuilder()The [Secret][google.cloud.secrets.v1beta1.Secret] will automatically be replicated without any restrictions.static ReplicationgetDefaultInstance()ReplicationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<Replication>getParserForType()Replication.ReplicationCasegetReplicationCase()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()Replication.UserManagedgetUserManaged()The [Secret][google.cloud.secrets.v1beta1.Secret] will only be replicated into the locations specified.Replication.UserManagedOrBuildergetUserManagedOrBuilder()The [Secret][google.cloud.secrets.v1beta1.Secret] will only be replicated into the locations specified.booleanhasAutomatic()The [Secret][google.cloud.secrets.v1beta1.Secret] will automatically be replicated without any restrictions.inthashCode()booleanhasUserManaged()The [Secret][google.cloud.secrets.v1beta1.Secret] will only be replicated into the locations specified.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Replication.BuildernewBuilder()static Replication.BuildernewBuilder(Replication prototype)Replication.BuildernewBuilderForType()protected Replication.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ReplicationparseDelimitedFrom(InputStream input)static ReplicationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReplicationparseFrom(byte[] data)static ReplicationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReplicationparseFrom(com.google.protobuf.ByteString data)static ReplicationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReplicationparseFrom(com.google.protobuf.CodedInputStream input)static ReplicationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReplicationparseFrom(InputStream input)static ReplicationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReplicationparseFrom(ByteBuffer data)static ReplicationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Replication>parser()Replication.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
AUTOMATIC_FIELD_NUMBER
public static final int AUTOMATIC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USER_MANAGED_FIELD_NUMBER
public static final int USER_MANAGED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getReplicationCase
public Replication.ReplicationCase getReplicationCase()
- Specified by:
getReplicationCasein interfaceReplicationOrBuilder
-
hasAutomatic
public boolean hasAutomatic()
The [Secret][google.cloud.secrets.v1beta1.Secret] will automatically be replicated without any restrictions.
.google.cloud.secrets.v1beta1.Replication.Automatic automatic = 1;- Specified by:
hasAutomaticin interfaceReplicationOrBuilder- Returns:
- Whether the automatic field is set.
-
getAutomatic
public Replication.Automatic getAutomatic()
The [Secret][google.cloud.secrets.v1beta1.Secret] will automatically be replicated without any restrictions.
.google.cloud.secrets.v1beta1.Replication.Automatic automatic = 1;- Specified by:
getAutomaticin interfaceReplicationOrBuilder- Returns:
- The automatic.
-
getAutomaticOrBuilder
public Replication.AutomaticOrBuilder getAutomaticOrBuilder()
The [Secret][google.cloud.secrets.v1beta1.Secret] will automatically be replicated without any restrictions.
.google.cloud.secrets.v1beta1.Replication.Automatic automatic = 1;- Specified by:
getAutomaticOrBuilderin interfaceReplicationOrBuilder
-
hasUserManaged
public boolean hasUserManaged()
The [Secret][google.cloud.secrets.v1beta1.Secret] will only be replicated into the locations specified.
.google.cloud.secrets.v1beta1.Replication.UserManaged user_managed = 2;- Specified by:
hasUserManagedin interfaceReplicationOrBuilder- Returns:
- Whether the userManaged field is set.
-
getUserManaged
public Replication.UserManaged getUserManaged()
The [Secret][google.cloud.secrets.v1beta1.Secret] will only be replicated into the locations specified.
.google.cloud.secrets.v1beta1.Replication.UserManaged user_managed = 2;- Specified by:
getUserManagedin interfaceReplicationOrBuilder- Returns:
- The userManaged.
-
getUserManagedOrBuilder
public Replication.UserManagedOrBuilder getUserManagedOrBuilder()
The [Secret][google.cloud.secrets.v1beta1.Secret] will only be replicated into the locations specified.
.google.cloud.secrets.v1beta1.Replication.UserManaged user_managed = 2;- Specified by:
getUserManagedOrBuilderin interfaceReplicationOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Replication parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Replication parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Replication parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Replication parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Replication parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Replication parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Replication parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Replication parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Replication parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Replication parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Replication parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Replication parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Replication.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Replication.Builder newBuilder()
-
newBuilder
public static Replication.Builder newBuilder(Replication prototype)
-
toBuilder
public Replication.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Replication.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Replication getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Replication> parser()
-
getParserForType
public com.google.protobuf.Parser<Replication> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Replication getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-