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 ConfigSyncProtobuf type
google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState-
Method Summary
Modifier and TypeMethodDescriptionaddAllErrors(Iterable<? extends ConfigSyncError> values) Output only.addErrors(int index, ConfigSyncError value) Output only.addErrors(int index, ConfigSyncError.Builder builderForValue) Output only.addErrors(ConfigSyncError value) Output only.addErrors(ConfigSyncError.Builder builderForValue) Output only.Output only.addErrorsBuilder(int index) Output only.build()clear()Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.intOutput only.intOutput only.Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetErrors(int index) Output only.getErrorsBuilder(int index) Output only.Output only.intOutput only.Output only.getErrorsOrBuilder(int index) Output only.List<? extends ConfigSyncErrorOrBuilder>Output only.Output only.intOutput only.Output only.intOutput only.getState()Output only.intOutput only.Output only.Output only.Output only.Output only.Output only.Output only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOutput only.mergeFrom(ConfigSyncState other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeSyncState(SyncState value) Output only.mergeVersion(ConfigSyncVersion value) Output only.removeErrors(int index) Output only.Output only.setClusterLevelStopSyncingStateValue(int value) Output only.setCrCount(int value) Output only.Output only.setDeploymentState(ConfigSyncDeploymentState.Builder builderForValue) Output only.setErrors(int index, ConfigSyncError value) Output only.setErrors(int index, ConfigSyncError.Builder builderForValue) Output only.Output only.setReposyncCrdValue(int value) Output only.Output only.setRootsyncCrdValue(int value) Output only.setState(ConfigSyncState.State value) Output only.setStateValue(int value) Output only.setSyncState(SyncState value) Output only.setSyncState(SyncState.Builder builderForValue) Output only.setVersion(ConfigSyncVersion value) Output only.setVersion(ConfigSyncVersion.Builder builderForValue) Output only.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<ConfigSyncState.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<ConfigSyncState.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<ConfigSyncState.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<ConfigSyncState.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
hasVersionin interfaceConfigSyncStateOrBuilder- Returns:
- Whether the version field is set.
-
getVersion
Output only. The version of ConfigSync deployed
.google.cloud.gkehub.configmanagement.v1beta.ConfigSyncVersion version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getVersionin interfaceConfigSyncStateOrBuilder- Returns:
- The version.
-
setVersion
Output only. The version of ConfigSync deployed
.google.cloud.gkehub.configmanagement.v1beta.ConfigSyncVersion version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setVersion
Output only. The version of ConfigSync deployed
.google.cloud.gkehub.configmanagement.v1beta.ConfigSyncVersion version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeVersion
Output only. The version of ConfigSync deployed
.google.cloud.gkehub.configmanagement.v1beta.ConfigSyncVersion version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearVersion
Output only. The version of ConfigSync deployed
.google.cloud.gkehub.configmanagement.v1beta.ConfigSyncVersion version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getVersionBuilder
Output only. The version of ConfigSync deployed
.google.cloud.gkehub.configmanagement.v1beta.ConfigSyncVersion version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getVersionOrBuilder
Output only. The version of ConfigSync deployed
.google.cloud.gkehub.configmanagement.v1beta.ConfigSyncVersion version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getVersionOrBuilderin interfaceConfigSyncStateOrBuilder
-
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:
hasDeploymentStatein interfaceConfigSyncStateOrBuilder- Returns:
- Whether the deploymentState field is set.
-
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:
getDeploymentStatein interfaceConfigSyncStateOrBuilder- Returns:
- The deploymentState.
-
setDeploymentState
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
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
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
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
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:
getDeploymentStateOrBuilderin interfaceConfigSyncStateOrBuilder
-
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:
hasSyncStatein interfaceConfigSyncStateOrBuilder- Returns:
- Whether the syncState field is set.
-
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:
getSyncStatein interfaceConfigSyncStateOrBuilder- Returns:
- The syncState.
-
setSyncState
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
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
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
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
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
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:
getSyncStateOrBuilderin interfaceConfigSyncStateOrBuilder
-
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:
getErrorsListin interfaceConfigSyncStateOrBuilder
-
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:
getErrorsCountin interfaceConfigSyncStateOrBuilder
-
getErrors
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:
getErrorsin interfaceConfigSyncStateOrBuilder
-
setErrors
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
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
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
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
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
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
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
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
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
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
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:
getErrorsOrBuilderin interfaceConfigSyncStateOrBuilder
-
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:
getErrorsOrBuilderListin interfaceConfigSyncStateOrBuilder
-
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
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
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:
getRootsyncCrdValuein interfaceConfigSyncStateOrBuilder- Returns:
- The enum numeric value on the wire for rootsyncCrd.
-
setRootsyncCrdValue
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
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:
getRootsyncCrdin interfaceConfigSyncStateOrBuilder- Returns:
- The rootsyncCrd.
-
setRootsyncCrd
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
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:
getReposyncCrdValuein interfaceConfigSyncStateOrBuilder- Returns:
- The enum numeric value on the wire for reposyncCrd.
-
setReposyncCrdValue
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
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:
getReposyncCrdin interfaceConfigSyncStateOrBuilder- Returns:
- The reposyncCrd.
-
setReposyncCrd
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
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:
getStateValuein interfaceConfigSyncStateOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
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
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:
getStatein interfaceConfigSyncStateOrBuilder- 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
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:
getClusterLevelStopSyncingStateValuein interfaceConfigSyncStateOrBuilder- Returns:
- The enum numeric value on the wire for clusterLevelStopSyncingState.
-
setClusterLevelStopSyncingStateValue
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
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:
getClusterLevelStopSyncingStatein interfaceConfigSyncStateOrBuilder- 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
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:
getCrCountin interfaceConfigSyncStateOrBuilder- Returns:
- The crCount.
-
setCrCount
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
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.
-