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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ReplicationStatus.Builder>
    • clear

      public ReplicationStatus.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ReplicationStatus.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ReplicationStatus.Builder>
    • getDefaultInstanceForType

      public ReplicationStatus getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ReplicationStatus build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ReplicationStatus buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ReplicationStatus.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReplicationStatus.Builder>
    • mergeFrom

      public ReplicationStatus.Builder mergeFrom(ReplicationStatus other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReplicationStatus.Builder>
      Throws:
      IOException
    • getReplicationStatusCase

      public ReplicationStatus.ReplicationStatusCase getReplicationStatusCase()
      Specified by:
      getReplicationStatusCase in interface ReplicationStatusOrBuilder
    • clearReplicationStatus

      public ReplicationStatus.Builder 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:
      hasAutomatic in interface ReplicationStatusOrBuilder
      Returns:
      Whether the automatic field is set.
    • getAutomatic

      public ReplicationStatus.AutomaticStatus 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:
      getAutomatic in interface ReplicationStatusOrBuilder
      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

       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

      public ReplicationStatus.Builder 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

      public ReplicationStatus.AutomaticStatus.Builder 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

      public ReplicationStatus.AutomaticStatusOrBuilder 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:
      getAutomaticOrBuilder in interface ReplicationStatusOrBuilder
    • 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:
      hasUserManaged in interface ReplicationStatusOrBuilder
      Returns:
      Whether the userManaged field is set.
    • getUserManaged

      public ReplicationStatus.UserManagedStatus 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:
      getUserManaged in interface ReplicationStatusOrBuilder
      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

       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

      public ReplicationStatus.Builder 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

      public ReplicationStatus.UserManagedStatus.Builder 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

      public ReplicationStatus.UserManagedStatusOrBuilder 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:
      getUserManagedOrBuilder in interface ReplicationStatusOrBuilder