Class ConfigSyncState.Builder (1.56.0)

public static final class ConfigSyncState.Builder extends GeneratedMessageV3.Builder<ConfigSyncState.Builder> implements ConfigSyncStateOrBuilder

State information for ConfigSync

Protobuf type google.cloud.gkehub.configmanagement.v1beta.ConfigSyncState

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllErrors(Iterable<? extends ConfigSyncError> values)

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];

Parameter
Name Description
values Iterable<? extends com.google.cloud.gkehub.configmanagement.v1beta.ConfigSyncError>
Returns
Type Description
ConfigSyncState.Builder

addErrors(ConfigSyncError value)

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];

Parameter
Name Description
value ConfigSyncError
Returns
Type Description
ConfigSyncState.Builder

addErrors(ConfigSyncError.Builder builderForValue)

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];

Parameter
Name Description
builderForValue ConfigSyncError.Builder
Returns
Type Description
ConfigSyncState.Builder

addErrors(int index, ConfigSyncError value)

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];

Parameters
Name Description
index int
value ConfigSyncError
Returns
Type Description
ConfigSyncState.Builder

addErrors(int index, ConfigSyncError.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue ConfigSyncError.Builder
Returns
Type Description
ConfigSyncState.Builder

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];

Returns
Type Description
ConfigSyncError.Builder

addErrorsBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
ConfigSyncError.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ConfigSyncState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ConfigSyncState.Builder
Overrides

build()

public ConfigSyncState build()
Returns
Type Description
ConfigSyncState

buildPartial()

public ConfigSyncState buildPartial()
Returns
Type Description
ConfigSyncState

clear()

public ConfigSyncState.Builder clear()
Returns
Type Description
ConfigSyncState.Builder
Overrides

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
Type Description
ConfigSyncState.Builder

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
Type Description
ConfigSyncState.Builder

This builder for chaining.

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];

Returns
Type Description
ConfigSyncState.Builder

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];

Returns
Type Description
ConfigSyncState.Builder

clearField(Descriptors.FieldDescriptor field)

public ConfigSyncState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ConfigSyncState.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ConfigSyncState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ConfigSyncState.Builder
Overrides

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
Type Description
ConfigSyncState.Builder

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
Type Description
ConfigSyncState.Builder

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
Type Description
ConfigSyncState.Builder

This builder for chaining.

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];

Returns
Type Description
ConfigSyncState.Builder

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];

Returns
Type Description
ConfigSyncState.Builder

clone()

public ConfigSyncState.Builder clone()
Returns
Type Description
ConfigSyncState.Builder
Overrides

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];

Returns
Type Description
ConfigSyncState.StopSyncingState

The clusterLevelStopSyncingState.

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];

Returns
Type Description
int

The enum numeric value on the wire for 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];

Returns
Type Description
int

The crCount.

getDefaultInstanceForType()

public ConfigSyncState getDefaultInstanceForType()
Returns
Type Description
ConfigSyncState

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];

Returns
Type Description
ConfigSyncDeploymentState

The deploymentState.

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];

Returns
Type Description
ConfigSyncDeploymentState.Builder

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];

Returns
Type Description
ConfigSyncDeploymentStateOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getErrors(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
ConfigSyncError

getErrorsBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
ConfigSyncError.Builder

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];

Returns
Type Description
List<Builder>

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];

Returns
Type Description
int

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];

Returns
Type Description
List<ConfigSyncError>

getErrorsOrBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
ConfigSyncErrorOrBuilder

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];

Returns
Type Description
List<? extends com.google.cloud.gkehub.configmanagement.v1beta.ConfigSyncErrorOrBuilder>

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];

Returns
Type Description
ConfigSyncState.CRDState

The reposyncCrd.

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];

Returns
Type Description
int

The enum numeric value on the wire for reposyncCrd.

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];

Returns
Type Description
ConfigSyncState.CRDState

The rootsyncCrd.

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];

Returns
Type Description
int

The enum numeric value on the wire for rootsyncCrd.

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];

Returns
Type Description
ConfigSyncState.State

The state.

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];

Returns
Type Description
int

The enum numeric value on the wire for state.

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];

Returns
Type Description
SyncState

The syncState.

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];

Returns
Type Description
SyncState.Builder

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];

Returns
Type Description
SyncStateOrBuilder

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];

Returns
Type Description
ConfigSyncVersion

The version.

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];

Returns
Type Description
ConfigSyncVersion.Builder

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];

Returns
Type Description
ConfigSyncVersionOrBuilder

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];

Returns
Type Description
boolean

Whether the deploymentState field is set.

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];

Returns
Type Description
boolean

Whether the syncState field is set.

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];

Returns
Type Description
boolean

Whether the version field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDeploymentState(ConfigSyncDeploymentState value)

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];

Parameter
Name Description
value ConfigSyncDeploymentState
Returns
Type Description
ConfigSyncState.Builder

mergeFrom(ConfigSyncState other)

public ConfigSyncState.Builder mergeFrom(ConfigSyncState other)
Parameter
Name Description
other ConfigSyncState
Returns
Type Description
ConfigSyncState.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ConfigSyncState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConfigSyncState.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ConfigSyncState.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ConfigSyncState.Builder
Overrides

mergeSyncState(SyncState value)

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];

Parameter
Name Description
value SyncState
Returns
Type Description
ConfigSyncState.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConfigSyncState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ConfigSyncState.Builder
Overrides

mergeVersion(ConfigSyncVersion value)

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];

Parameter
Name Description
value ConfigSyncVersion
Returns
Type Description
ConfigSyncState.Builder

removeErrors(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
ConfigSyncState.Builder

setClusterLevelStopSyncingState(ConfigSyncState.StopSyncingState value)

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];

Parameter
Name Description
value ConfigSyncState.StopSyncingState

The clusterLevelStopSyncingState to set.

Returns
Type Description
ConfigSyncState.Builder

This builder for chaining.

setClusterLevelStopSyncingStateValue(int value)

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];

Parameter
Name Description
value int

The enum numeric value on the wire for clusterLevelStopSyncingState to set.

Returns
Type Description
ConfigSyncState.Builder

This builder for chaining.

setCrCount(int value)

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];

Parameter
Name Description
value int

The crCount to set.

Returns
Type Description
ConfigSyncState.Builder

This builder for chaining.

setDeploymentState(ConfigSyncDeploymentState value)

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];

Parameter
Name Description
value ConfigSyncDeploymentState
Returns
Type Description
ConfigSyncState.Builder

setDeploymentState(ConfigSyncDeploymentState.Builder builderForValue)

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];

Parameter
Name Description
builderForValue ConfigSyncDeploymentState.Builder
Returns
Type Description
ConfigSyncState.Builder

setErrors(int index, ConfigSyncError value)

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];

Parameters
Name Description
index int
value ConfigSyncError
Returns
Type Description
ConfigSyncState.Builder

setErrors(int index, ConfigSyncError.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue ConfigSyncError.Builder
Returns
Type Description
ConfigSyncState.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ConfigSyncState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ConfigSyncState.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ConfigSyncState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ConfigSyncState.Builder
Overrides

setReposyncCrd(ConfigSyncState.CRDState value)

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];

Parameter
Name Description
value ConfigSyncState.CRDState

The reposyncCrd to set.

Returns
Type Description
ConfigSyncState.Builder

This builder for chaining.

setReposyncCrdValue(int value)

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];

Parameter
Name Description
value int

The enum numeric value on the wire for reposyncCrd to set.

Returns
Type Description
ConfigSyncState.Builder

This builder for chaining.

setRootsyncCrd(ConfigSyncState.CRDState value)

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];

Parameter
Name Description
value ConfigSyncState.CRDState

The rootsyncCrd to set.

Returns
Type Description
ConfigSyncState.Builder

This builder for chaining.

setRootsyncCrdValue(int value)

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];

Parameter
Name Description
value int

The enum numeric value on the wire for rootsyncCrd to set.

Returns
Type Description
ConfigSyncState.Builder

This builder for chaining.

setState(ConfigSyncState.State value)

public ConfigSyncState.Builder setState(ConfigSyncState.State 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];

Parameter
Name Description
value ConfigSyncState.State

The state to set.

Returns
Type Description
ConfigSyncState.Builder

This builder for chaining.

setStateValue(int value)

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];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
ConfigSyncState.Builder

This builder for chaining.

setSyncState(SyncState value)

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];

Parameter
Name Description
value SyncState
Returns
Type Description
ConfigSyncState.Builder

setSyncState(SyncState.Builder builderForValue)

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];

Parameter
Name Description
builderForValue SyncState.Builder
Returns
Type Description
ConfigSyncState.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ConfigSyncState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ConfigSyncState.Builder
Overrides

setVersion(ConfigSyncVersion value)

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];

Parameter
Name Description
value ConfigSyncVersion
Returns
Type Description
ConfigSyncState.Builder

setVersion(ConfigSyncVersion.Builder builderForValue)

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];

Parameter
Name Description
builderForValue ConfigSyncVersion.Builder
Returns
Type Description
ConfigSyncState.Builder