Class ReplicationStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ReplicationStatus.Builder>
com.google.cloud.secretmanager.v1beta2.ReplicationStatus.Builder
- All Implemented Interfaces:
ReplicationStatusOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ReplicationStatus
public static final class ReplicationStatus.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ReplicationStatus.Builder>
implements ReplicationStatusOrBuilder
The replication status of a [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion].Protobuf type
google.cloud.secretmanager.v1beta2.ReplicationStatus-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Describes the replication status of a [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] with automatic replication.Describes the replication status of a [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] with user-managed replication.Describes the replication status of a [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] with automatic replication.Describes the replication status of a [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] with automatic replication.Describes the replication status of a [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] with automatic replication.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDescribes the replication status of a [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] with user-managed replication.Describes the replication status of a [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] with user-managed replication.Describes the replication status of a [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] with user-managed replication.booleanDescribes the replication status of a [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] with automatic replication.booleanDescribes the replication status of a [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] with user-managed replication.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanDescribes the replication status of a [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] with automatic replication.mergeFrom(ReplicationStatus other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Describes the replication status of a [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] with user-managed replication.Describes the replication status of a [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] with automatic replication.setAutomatic(ReplicationStatus.AutomaticStatus.Builder builderForValue) Describes the replication status of a [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] with automatic replication.Describes the replication status of a [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] with user-managed replication.setUserManaged(ReplicationStatus.UserManagedStatus.Builder builderForValue) Describes the replication status of a [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] with user-managed replication.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ReplicationStatus.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ReplicationStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ReplicationStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReplicationStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ReplicationStatus.Builder>
-
mergeFrom
public ReplicationStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReplicationStatus.Builder>- Throws:
IOException
-
getReplicationStatusCase
- Specified by:
getReplicationStatusCasein interfaceReplicationStatusOrBuilder
-
clearReplicationStatus
-
hasAutomatic
public boolean hasAutomatic()Describes the replication status of a [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] with automatic replication. Only populated if the parent [Secret][google.cloud.secretmanager.v1beta2.Secret] has an automatic replication policy.
.google.cloud.secretmanager.v1beta2.ReplicationStatus.AutomaticStatus automatic = 1;- Specified by:
hasAutomaticin interfaceReplicationStatusOrBuilder- Returns:
- Whether the automatic field is set.
-
getAutomatic
Describes the replication status of a [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] with automatic replication. Only populated if the parent [Secret][google.cloud.secretmanager.v1beta2.Secret] has an automatic replication policy.
.google.cloud.secretmanager.v1beta2.ReplicationStatus.AutomaticStatus automatic = 1;- Specified by:
getAutomaticin interfaceReplicationStatusOrBuilder- Returns:
- The automatic.
-
setAutomatic
Describes the replication status of a [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] with automatic replication. Only populated if the parent [Secret][google.cloud.secretmanager.v1beta2.Secret] has an automatic replication policy.
.google.cloud.secretmanager.v1beta2.ReplicationStatus.AutomaticStatus automatic = 1; -
setAutomatic
public ReplicationStatus.Builder setAutomatic(ReplicationStatus.AutomaticStatus.Builder builderForValue) Describes the replication status of a [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] with automatic replication. Only populated if the parent [Secret][google.cloud.secretmanager.v1beta2.Secret] has an automatic replication policy.
.google.cloud.secretmanager.v1beta2.ReplicationStatus.AutomaticStatus automatic = 1; -
mergeAutomatic
Describes the replication status of a [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] with automatic replication. Only populated if the parent [Secret][google.cloud.secretmanager.v1beta2.Secret] has an automatic replication policy.
.google.cloud.secretmanager.v1beta2.ReplicationStatus.AutomaticStatus automatic = 1; -
clearAutomatic
Describes the replication status of a [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] with automatic replication. Only populated if the parent [Secret][google.cloud.secretmanager.v1beta2.Secret] has an automatic replication policy.
.google.cloud.secretmanager.v1beta2.ReplicationStatus.AutomaticStatus automatic = 1; -
getAutomaticBuilder
Describes the replication status of a [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] with automatic replication. Only populated if the parent [Secret][google.cloud.secretmanager.v1beta2.Secret] has an automatic replication policy.
.google.cloud.secretmanager.v1beta2.ReplicationStatus.AutomaticStatus automatic = 1; -
getAutomaticOrBuilder
Describes the replication status of a [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] with automatic replication. Only populated if the parent [Secret][google.cloud.secretmanager.v1beta2.Secret] has an automatic replication policy.
.google.cloud.secretmanager.v1beta2.ReplicationStatus.AutomaticStatus automatic = 1;- Specified by:
getAutomaticOrBuilderin interfaceReplicationStatusOrBuilder
-
hasUserManaged
public boolean hasUserManaged()Describes the replication status of a [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] with user-managed replication. Only populated if the parent [Secret][google.cloud.secretmanager.v1beta2.Secret] has a user-managed replication policy.
.google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus user_managed = 2;- Specified by:
hasUserManagedin interfaceReplicationStatusOrBuilder- Returns:
- Whether the userManaged field is set.
-
getUserManaged
Describes the replication status of a [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] with user-managed replication. Only populated if the parent [Secret][google.cloud.secretmanager.v1beta2.Secret] has a user-managed replication policy.
.google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus user_managed = 2;- Specified by:
getUserManagedin interfaceReplicationStatusOrBuilder- Returns:
- The userManaged.
-
setUserManaged
Describes the replication status of a [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] with user-managed replication. Only populated if the parent [Secret][google.cloud.secretmanager.v1beta2.Secret] has a user-managed replication policy.
.google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus user_managed = 2; -
setUserManaged
public ReplicationStatus.Builder setUserManaged(ReplicationStatus.UserManagedStatus.Builder builderForValue) Describes the replication status of a [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] with user-managed replication. Only populated if the parent [Secret][google.cloud.secretmanager.v1beta2.Secret] has a user-managed replication policy.
.google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus user_managed = 2; -
mergeUserManaged
Describes the replication status of a [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] with user-managed replication. Only populated if the parent [Secret][google.cloud.secretmanager.v1beta2.Secret] has a user-managed replication policy.
.google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus user_managed = 2; -
clearUserManaged
Describes the replication status of a [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] with user-managed replication. Only populated if the parent [Secret][google.cloud.secretmanager.v1beta2.Secret] has a user-managed replication policy.
.google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus user_managed = 2; -
getUserManagedBuilder
Describes the replication status of a [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] with user-managed replication. Only populated if the parent [Secret][google.cloud.secretmanager.v1beta2.Secret] has a user-managed replication policy.
.google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus user_managed = 2; -
getUserManagedOrBuilder
Describes the replication status of a [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] with user-managed replication. Only populated if the parent [Secret][google.cloud.secretmanager.v1beta2.Secret] has a user-managed replication policy.
.google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus user_managed = 2;- Specified by:
getUserManagedOrBuilderin interfaceReplicationStatusOrBuilder
-