Class ConfigSyncState.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ConfigSyncState.Builder>
com.google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState.Builder
All Implemented Interfaces:
ConfigSyncStateOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ConfigSyncState

public static final class ConfigSyncState.Builder extends com.google.protobuf.GeneratedMessage.Builder<ConfigSyncState.Builder> implements ConfigSyncStateOrBuilder
 State information for ConfigSync
 
Protobuf type google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState
  • 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<ConfigSyncState.Builder>
    • clear

      public ConfigSyncState.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<ConfigSyncState.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<ConfigSyncState.Builder>
    • getDefaultInstanceForType

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

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

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

      public ConfigSyncState.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<ConfigSyncState.Builder>
    • mergeFrom

      public ConfigSyncState.Builder mergeFrom(ConfigSyncState other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ConfigSyncState.Builder>
    • mergeFrom

      public ConfigSyncState.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<ConfigSyncState.Builder>
      Throws:
      IOException
    • hasVersion

      public boolean hasVersion()
       Output only. The version of ConfigSync deployed
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncVersion version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasVersion in interface ConfigSyncStateOrBuilder
      Returns:
      Whether the version field is set.
    • getVersion

      public ConfigSyncVersion getVersion()
       Output only. The version of ConfigSync deployed
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncVersion version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getVersion in interface ConfigSyncStateOrBuilder
      Returns:
      The version.
    • setVersion

      public ConfigSyncState.Builder setVersion(ConfigSyncVersion value)
       Output only. The version of ConfigSync deployed
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncVersion version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setVersion

      public ConfigSyncState.Builder setVersion(ConfigSyncVersion.Builder builderForValue)
       Output only. The version of ConfigSync deployed
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncVersion version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeVersion

      public ConfigSyncState.Builder mergeVersion(ConfigSyncVersion value)
       Output only. The version of ConfigSync deployed
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncVersion version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearVersion

      public ConfigSyncState.Builder clearVersion()
       Output only. The version of ConfigSync deployed
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncVersion version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getVersionBuilder

      public ConfigSyncVersion.Builder getVersionBuilder()
       Output only. The version of ConfigSync deployed
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncVersion version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getVersionOrBuilder

      public ConfigSyncVersionOrBuilder getVersionOrBuilder()
       Output only. The version of ConfigSync deployed
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncVersion version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getVersionOrBuilder in interface ConfigSyncStateOrBuilder
    • hasDeploymentState

      public boolean hasDeploymentState()
       Output only. Information about the deployment of ConfigSync, including the
       version of the various Pods deployed
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncDeploymentState deployment_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasDeploymentState in interface ConfigSyncStateOrBuilder
      Returns:
      Whether the deploymentState field is set.
    • getDeploymentState

      public ConfigSyncDeploymentState getDeploymentState()
       Output only. Information about the deployment of ConfigSync, including the
       version of the various Pods deployed
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncDeploymentState deployment_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDeploymentState in interface ConfigSyncStateOrBuilder
      Returns:
      The deploymentState.
    • setDeploymentState

      public ConfigSyncState.Builder setDeploymentState(ConfigSyncDeploymentState value)
       Output only. Information about the deployment of ConfigSync, including the
       version of the various Pods deployed
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncDeploymentState deployment_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setDeploymentState

      public ConfigSyncState.Builder setDeploymentState(ConfigSyncDeploymentState.Builder builderForValue)
       Output only. Information about the deployment of ConfigSync, including the
       version of the various Pods deployed
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncDeploymentState deployment_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeDeploymentState

      public ConfigSyncState.Builder mergeDeploymentState(ConfigSyncDeploymentState value)
       Output only. Information about the deployment of ConfigSync, including the
       version of the various Pods deployed
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncDeploymentState deployment_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearDeploymentState

      public ConfigSyncState.Builder clearDeploymentState()
       Output only. Information about the deployment of ConfigSync, including the
       version of the various Pods deployed
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncDeploymentState deployment_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDeploymentStateBuilder

      public ConfigSyncDeploymentState.Builder getDeploymentStateBuilder()
       Output only. Information about the deployment of ConfigSync, including the
       version of the various Pods deployed
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncDeploymentState deployment_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDeploymentStateOrBuilder

      public ConfigSyncDeploymentStateOrBuilder getDeploymentStateOrBuilder()
       Output only. Information about the deployment of ConfigSync, including the
       version of the various Pods deployed
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncDeploymentState deployment_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDeploymentStateOrBuilder in interface ConfigSyncStateOrBuilder
    • hasSyncState

      public boolean hasSyncState()
       Output only. The state of ConfigSync's process to sync configs to a cluster
       
      .google.cloud.gkehub.configmanagement.v1beta.SyncState sync_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasSyncState in interface ConfigSyncStateOrBuilder
      Returns:
      Whether the syncState field is set.
    • getSyncState

      public SyncState getSyncState()
       Output only. The state of ConfigSync's process to sync configs to a cluster
       
      .google.cloud.gkehub.configmanagement.v1beta.SyncState sync_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSyncState in interface ConfigSyncStateOrBuilder
      Returns:
      The syncState.
    • setSyncState

      public ConfigSyncState.Builder setSyncState(SyncState value)
       Output only. The state of ConfigSync's process to sync configs to a cluster
       
      .google.cloud.gkehub.configmanagement.v1beta.SyncState sync_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setSyncState

      public ConfigSyncState.Builder setSyncState(SyncState.Builder builderForValue)
       Output only. The state of ConfigSync's process to sync configs to a cluster
       
      .google.cloud.gkehub.configmanagement.v1beta.SyncState sync_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeSyncState

      public ConfigSyncState.Builder mergeSyncState(SyncState value)
       Output only. The state of ConfigSync's process to sync configs to a cluster
       
      .google.cloud.gkehub.configmanagement.v1beta.SyncState sync_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearSyncState

      public ConfigSyncState.Builder clearSyncState()
       Output only. The state of ConfigSync's process to sync configs to a cluster
       
      .google.cloud.gkehub.configmanagement.v1beta.SyncState sync_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getSyncStateBuilder

      public SyncState.Builder getSyncStateBuilder()
       Output only. The state of ConfigSync's process to sync configs to a cluster
       
      .google.cloud.gkehub.configmanagement.v1beta.SyncState sync_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getSyncStateOrBuilder

      public SyncStateOrBuilder getSyncStateOrBuilder()
       Output only. The state of ConfigSync's process to sync configs to a cluster
       
      .google.cloud.gkehub.configmanagement.v1beta.SyncState sync_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSyncStateOrBuilder in interface ConfigSyncStateOrBuilder
    • getErrorsList

      public List<ConfigSyncError> getErrorsList()
       Output only. Errors pertaining to the installation of Config Sync.
       
      repeated .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncError errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getErrorsList in interface ConfigSyncStateOrBuilder
    • getErrorsCount

      public int getErrorsCount()
       Output only. Errors pertaining to the installation of Config Sync.
       
      repeated .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncError errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getErrorsCount in interface ConfigSyncStateOrBuilder
    • getErrors

      public ConfigSyncError getErrors(int index)
       Output only. Errors pertaining to the installation of Config Sync.
       
      repeated .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncError errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getErrors in interface ConfigSyncStateOrBuilder
    • setErrors

      public ConfigSyncState.Builder setErrors(int index, ConfigSyncError value)
       Output only. Errors pertaining to the installation of Config Sync.
       
      repeated .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncError errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setErrors

      public ConfigSyncState.Builder setErrors(int index, ConfigSyncError.Builder builderForValue)
       Output only. Errors pertaining to the installation of Config Sync.
       
      repeated .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncError errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addErrors

      public ConfigSyncState.Builder addErrors(ConfigSyncError value)
       Output only. Errors pertaining to the installation of Config Sync.
       
      repeated .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncError errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addErrors

      public ConfigSyncState.Builder addErrors(int index, ConfigSyncError value)
       Output only. Errors pertaining to the installation of Config Sync.
       
      repeated .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncError errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addErrors

      public ConfigSyncState.Builder addErrors(ConfigSyncError.Builder builderForValue)
       Output only. Errors pertaining to the installation of Config Sync.
       
      repeated .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncError errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addErrors

      public ConfigSyncState.Builder addErrors(int index, ConfigSyncError.Builder builderForValue)
       Output only. Errors pertaining to the installation of Config Sync.
       
      repeated .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncError errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllErrors

      public ConfigSyncState.Builder addAllErrors(Iterable<? extends ConfigSyncError> values)
       Output only. Errors pertaining to the installation of Config Sync.
       
      repeated .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncError errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearErrors

      public ConfigSyncState.Builder clearErrors()
       Output only. Errors pertaining to the installation of Config Sync.
       
      repeated .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncError errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeErrors

      public ConfigSyncState.Builder removeErrors(int index)
       Output only. Errors pertaining to the installation of Config Sync.
       
      repeated .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncError errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getErrorsBuilder

      public ConfigSyncError.Builder getErrorsBuilder(int index)
       Output only. Errors pertaining to the installation of Config Sync.
       
      repeated .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncError errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getErrorsOrBuilder

      public ConfigSyncErrorOrBuilder getErrorsOrBuilder(int index)
       Output only. Errors pertaining to the installation of Config Sync.
       
      repeated .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncError errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getErrorsOrBuilder in interface ConfigSyncStateOrBuilder
    • getErrorsOrBuilderList

      public List<? extends ConfigSyncErrorOrBuilder> getErrorsOrBuilderList()
       Output only. Errors pertaining to the installation of Config Sync.
       
      repeated .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncError errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getErrorsOrBuilderList in interface ConfigSyncStateOrBuilder
    • addErrorsBuilder

      public ConfigSyncError.Builder addErrorsBuilder()
       Output only. Errors pertaining to the installation of Config Sync.
       
      repeated .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncError errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addErrorsBuilder

      public ConfigSyncError.Builder addErrorsBuilder(int index)
       Output only. Errors pertaining to the installation of Config Sync.
       
      repeated .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncError errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getErrorsBuilderList

      public List<ConfigSyncError.Builder> getErrorsBuilderList()
       Output only. Errors pertaining to the installation of Config Sync.
       
      repeated .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncError errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getRootsyncCrdValue

      public int getRootsyncCrdValue()
       Output only. The state of the RootSync CRD
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState.CRDState rootsync_crd = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRootsyncCrdValue in interface ConfigSyncStateOrBuilder
      Returns:
      The enum numeric value on the wire for rootsyncCrd.
    • setRootsyncCrdValue

      public ConfigSyncState.Builder setRootsyncCrdValue(int value)
       Output only. The state of the RootSync CRD
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState.CRDState rootsync_crd = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for rootsyncCrd to set.
      Returns:
      This builder for chaining.
    • getRootsyncCrd

      public ConfigSyncState.CRDState getRootsyncCrd()
       Output only. The state of the RootSync CRD
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState.CRDState rootsync_crd = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRootsyncCrd in interface ConfigSyncStateOrBuilder
      Returns:
      The rootsyncCrd.
    • setRootsyncCrd

      public ConfigSyncState.Builder setRootsyncCrd(ConfigSyncState.CRDState value)
       Output only. The state of the RootSync CRD
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState.CRDState rootsync_crd = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The rootsyncCrd to set.
      Returns:
      This builder for chaining.
    • clearRootsyncCrd

      public ConfigSyncState.Builder clearRootsyncCrd()
       Output only. The state of the RootSync CRD
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState.CRDState rootsync_crd = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getReposyncCrdValue

      public int getReposyncCrdValue()
       Output only. The state of the Reposync CRD
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState.CRDState reposync_crd = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getReposyncCrdValue in interface ConfigSyncStateOrBuilder
      Returns:
      The enum numeric value on the wire for reposyncCrd.
    • setReposyncCrdValue

      public ConfigSyncState.Builder setReposyncCrdValue(int value)
       Output only. The state of the Reposync CRD
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState.CRDState reposync_crd = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for reposyncCrd to set.
      Returns:
      This builder for chaining.
    • getReposyncCrd

      public ConfigSyncState.CRDState getReposyncCrd()
       Output only. The state of the Reposync CRD
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState.CRDState reposync_crd = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getReposyncCrd in interface ConfigSyncStateOrBuilder
      Returns:
      The reposyncCrd.
    • setReposyncCrd

      public ConfigSyncState.Builder setReposyncCrd(ConfigSyncState.CRDState value)
       Output only. The state of the Reposync CRD
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState.CRDState reposync_crd = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The reposyncCrd to set.
      Returns:
      This builder for chaining.
    • clearReposyncCrd

      public ConfigSyncState.Builder clearReposyncCrd()
       Output only. The state of the Reposync CRD
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState.CRDState reposync_crd = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getStateValue

      public int getStateValue()
       Output only. The state of CS
       This field summarizes the other fields in this message.
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface ConfigSyncStateOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public ConfigSyncState.Builder setStateValue(int value)
       Output only. The state of CS
       This field summarizes the other fields in this message.
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

      public ConfigSyncState.State getState()
       Output only. The state of CS
       This field summarizes the other fields in this message.
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface ConfigSyncStateOrBuilder
      Returns:
      The state.
    • setState

       Output only. The state of CS
       This field summarizes the other fields in this message.
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public ConfigSyncState.Builder clearState()
       Output only. The state of CS
       This field summarizes the other fields in this message.
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getClusterLevelStopSyncingStateValue

      public int getClusterLevelStopSyncingStateValue()
       Output only. Whether syncing resources to the cluster is stopped at the
       cluster level.
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState.StopSyncingState cluster_level_stop_syncing_state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getClusterLevelStopSyncingStateValue in interface ConfigSyncStateOrBuilder
      Returns:
      The enum numeric value on the wire for clusterLevelStopSyncingState.
    • setClusterLevelStopSyncingStateValue

      public ConfigSyncState.Builder setClusterLevelStopSyncingStateValue(int value)
       Output only. Whether syncing resources to the cluster is stopped at the
       cluster level.
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState.StopSyncingState cluster_level_stop_syncing_state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for clusterLevelStopSyncingState to set.
      Returns:
      This builder for chaining.
    • getClusterLevelStopSyncingState

      public ConfigSyncState.StopSyncingState getClusterLevelStopSyncingState()
       Output only. Whether syncing resources to the cluster is stopped at the
       cluster level.
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState.StopSyncingState cluster_level_stop_syncing_state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getClusterLevelStopSyncingState in interface ConfigSyncStateOrBuilder
      Returns:
      The clusterLevelStopSyncingState.
    • setClusterLevelStopSyncingState

      public ConfigSyncState.Builder setClusterLevelStopSyncingState(ConfigSyncState.StopSyncingState value)
       Output only. Whether syncing resources to the cluster is stopped at the
       cluster level.
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState.StopSyncingState cluster_level_stop_syncing_state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The clusterLevelStopSyncingState to set.
      Returns:
      This builder for chaining.
    • clearClusterLevelStopSyncingState

      public ConfigSyncState.Builder clearClusterLevelStopSyncingState()
       Output only. Whether syncing resources to the cluster is stopped at the
       cluster level.
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState.StopSyncingState cluster_level_stop_syncing_state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getCrCount

      public int getCrCount()
       Output only. The number of RootSync and RepoSync CRs in the cluster.
       
      int32 cr_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCrCount in interface ConfigSyncStateOrBuilder
      Returns:
      The crCount.
    • setCrCount

      public ConfigSyncState.Builder setCrCount(int value)
       Output only. The number of RootSync and RepoSync CRs in the cluster.
       
      int32 cr_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The crCount to set.
      Returns:
      This builder for chaining.
    • clearCrCount

      public ConfigSyncState.Builder clearCrCount()
       Output only. The number of RootSync and RepoSync CRs in the cluster.
       
      int32 cr_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.