Class ConfigSyncState

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState
All Implemented Interfaces:
ConfigSyncStateOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ConfigSyncState extends com.google.protobuf.GeneratedMessage implements ConfigSyncStateOrBuilder
 State information for ConfigSync
 
Protobuf type google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState
See Also:
  • Field Details

    • VERSION_FIELD_NUMBER

      public static final int VERSION_FIELD_NUMBER
      See Also:
    • DEPLOYMENT_STATE_FIELD_NUMBER

      public static final int DEPLOYMENT_STATE_FIELD_NUMBER
      See Also:
    • SYNC_STATE_FIELD_NUMBER

      public static final int SYNC_STATE_FIELD_NUMBER
      See Also:
    • ERRORS_FIELD_NUMBER

      public static final int ERRORS_FIELD_NUMBER
      See Also:
    • ROOTSYNC_CRD_FIELD_NUMBER

      public static final int ROOTSYNC_CRD_FIELD_NUMBER
      See Also:
    • REPOSYNC_CRD_FIELD_NUMBER

      public static final int REPOSYNC_CRD_FIELD_NUMBER
      See Also:
    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • CLUSTER_LEVEL_STOP_SYNCING_STATE_FIELD_NUMBER

      public static final int CLUSTER_LEVEL_STOP_SYNCING_STATE_FIELD_NUMBER
      See Also:
    • CR_COUNT_FIELD_NUMBER

      public static final int CR_COUNT_FIELD_NUMBER
      See Also:
  • 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
    • 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.
    • 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.
    • 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.
    • 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
    • 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
    • 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
    • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ConfigSyncState parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ConfigSyncState parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ConfigSyncState parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ConfigSyncState parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ConfigSyncState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ConfigSyncState parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ConfigSyncState parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ConfigSyncState parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ConfigSyncState parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ConfigSyncState parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ConfigSyncState parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ConfigSyncState parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static ConfigSyncState.Builder newBuilder()
    • newBuilder

      public static ConfigSyncState.Builder newBuilder(ConfigSyncState prototype)
    • toBuilder

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

      protected ConfigSyncState.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ConfigSyncState getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ConfigSyncState> parser()
    • getParserForType

      public com.google.protobuf.Parser<ConfigSyncState> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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