Class ConfigSyncState.Builder (1.55.0)

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

State information for ConfigSync

Protobuf type google.cloud.gkehub.configmanagement.v1.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)

Errors pertaining to the installation of Config Sync.

repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4;

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

addErrors(ConfigSyncError value)

public ConfigSyncState.Builder addErrors(ConfigSyncError value)

Errors pertaining to the installation of Config Sync.

repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4;

Parameter
Name Description
value ConfigSyncError
Returns
Type Description
ConfigSyncState.Builder

addErrors(ConfigSyncError.Builder builderForValue)

public ConfigSyncState.Builder addErrors(ConfigSyncError.Builder builderForValue)

Errors pertaining to the installation of Config Sync.

repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4;

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

addErrors(int index, ConfigSyncError value)

public ConfigSyncState.Builder addErrors(int index, ConfigSyncError value)

Errors pertaining to the installation of Config Sync.

repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4;

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)

Errors pertaining to the installation of Config Sync.

repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4;

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

addErrorsBuilder()

public ConfigSyncError.Builder addErrorsBuilder()

Errors pertaining to the installation of Config Sync.

repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4;

Returns
Type Description
ConfigSyncError.Builder

addErrorsBuilder(int index)

public ConfigSyncError.Builder addErrorsBuilder(int index)

Errors pertaining to the installation of Config Sync.

repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4;

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

clearDeploymentState()

public ConfigSyncState.Builder clearDeploymentState()

Information about the deployment of ConfigSync, including the version of the various Pods deployed

.google.cloud.gkehub.configmanagement.v1.ConfigSyncDeploymentState deployment_state = 2;

Returns
Type Description
ConfigSyncState.Builder

clearErrors()

public ConfigSyncState.Builder clearErrors()

Errors pertaining to the installation of Config Sync.

repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4;

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()

The state of the Reposync CRD

.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.CRDState reposync_crd = 6;

Returns
Type Description
ConfigSyncState.Builder

This builder for chaining.

clearRootsyncCrd()

public ConfigSyncState.Builder clearRootsyncCrd()

The state of the RootSync CRD

.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.CRDState rootsync_crd = 5;

Returns
Type Description
ConfigSyncState.Builder

This builder for chaining.

clearState()

public ConfigSyncState.Builder clearState()

The state of CS This field summarizes the other fields in this message.

.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.State state = 7;

Returns
Type Description
ConfigSyncState.Builder

This builder for chaining.

clearSyncState()

public ConfigSyncState.Builder clearSyncState()

The state of ConfigSync's process to sync configs to a cluster

.google.cloud.gkehub.configmanagement.v1.SyncState sync_state = 3;

Returns
Type Description
ConfigSyncState.Builder

clearVersion()

public ConfigSyncState.Builder clearVersion()

The version of ConfigSync deployed

.google.cloud.gkehub.configmanagement.v1.ConfigSyncVersion version = 1;

Returns
Type Description
ConfigSyncState.Builder

clone()

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

getDefaultInstanceForType()

public ConfigSyncState getDefaultInstanceForType()
Returns
Type Description
ConfigSyncState

getDeploymentState()

public ConfigSyncDeploymentState getDeploymentState()

Information about the deployment of ConfigSync, including the version of the various Pods deployed

.google.cloud.gkehub.configmanagement.v1.ConfigSyncDeploymentState deployment_state = 2;

Returns
Type Description
ConfigSyncDeploymentState

The deploymentState.

getDeploymentStateBuilder()

public ConfigSyncDeploymentState.Builder getDeploymentStateBuilder()

Information about the deployment of ConfigSync, including the version of the various Pods deployed

.google.cloud.gkehub.configmanagement.v1.ConfigSyncDeploymentState deployment_state = 2;

Returns
Type Description
ConfigSyncDeploymentState.Builder

getDeploymentStateOrBuilder()

public ConfigSyncDeploymentStateOrBuilder getDeploymentStateOrBuilder()

Information about the deployment of ConfigSync, including the version of the various Pods deployed

.google.cloud.gkehub.configmanagement.v1.ConfigSyncDeploymentState deployment_state = 2;

Returns
Type Description
ConfigSyncDeploymentStateOrBuilder

getDescriptorForType()

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

getErrors(int index)

public ConfigSyncError getErrors(int index)

Errors pertaining to the installation of Config Sync.

repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4;

Parameter
Name Description
index int
Returns
Type Description
ConfigSyncError

getErrorsBuilder(int index)

public ConfigSyncError.Builder getErrorsBuilder(int index)

Errors pertaining to the installation of Config Sync.

repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4;

Parameter
Name Description
index int
Returns
Type Description
ConfigSyncError.Builder

getErrorsBuilderList()

public List<ConfigSyncError.Builder> getErrorsBuilderList()

Errors pertaining to the installation of Config Sync.

repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4;

Returns
Type Description
List<Builder>

getErrorsCount()

public int getErrorsCount()

Errors pertaining to the installation of Config Sync.

repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4;

Returns
Type Description
int

getErrorsList()

public List<ConfigSyncError> getErrorsList()

Errors pertaining to the installation of Config Sync.

repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4;

Returns
Type Description
List<ConfigSyncError>

getErrorsOrBuilder(int index)

public ConfigSyncErrorOrBuilder getErrorsOrBuilder(int index)

Errors pertaining to the installation of Config Sync.

repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4;

Parameter
Name Description
index int
Returns
Type Description
ConfigSyncErrorOrBuilder

getErrorsOrBuilderList()

public List<? extends ConfigSyncErrorOrBuilder> getErrorsOrBuilderList()

Errors pertaining to the installation of Config Sync.

repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4;

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

getReposyncCrd()

public ConfigSyncState.CRDState getReposyncCrd()

The state of the Reposync CRD

.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.CRDState reposync_crd = 6;

Returns
Type Description
ConfigSyncState.CRDState

The reposyncCrd.

getReposyncCrdValue()

public int getReposyncCrdValue()

The state of the Reposync CRD

.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.CRDState reposync_crd = 6;

Returns
Type Description
int

The enum numeric value on the wire for reposyncCrd.

getRootsyncCrd()

public ConfigSyncState.CRDState getRootsyncCrd()

The state of the RootSync CRD

.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.CRDState rootsync_crd = 5;

Returns
Type Description
ConfigSyncState.CRDState

The rootsyncCrd.

getRootsyncCrdValue()

public int getRootsyncCrdValue()

The state of the RootSync CRD

.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.CRDState rootsync_crd = 5;

Returns
Type Description
int

The enum numeric value on the wire for rootsyncCrd.

getState()

public ConfigSyncState.State getState()

The state of CS This field summarizes the other fields in this message.

.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.State state = 7;

Returns
Type Description
ConfigSyncState.State

The state.

getStateValue()

public int getStateValue()

The state of CS This field summarizes the other fields in this message.

.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.State state = 7;

Returns
Type Description
int

The enum numeric value on the wire for state.

getSyncState()

public SyncState getSyncState()

The state of ConfigSync's process to sync configs to a cluster

.google.cloud.gkehub.configmanagement.v1.SyncState sync_state = 3;

Returns
Type Description
SyncState

The syncState.

getSyncStateBuilder()

public SyncState.Builder getSyncStateBuilder()

The state of ConfigSync's process to sync configs to a cluster

.google.cloud.gkehub.configmanagement.v1.SyncState sync_state = 3;

Returns
Type Description
SyncState.Builder

getSyncStateOrBuilder()

public SyncStateOrBuilder getSyncStateOrBuilder()

The state of ConfigSync's process to sync configs to a cluster

.google.cloud.gkehub.configmanagement.v1.SyncState sync_state = 3;

Returns
Type Description
SyncStateOrBuilder

getVersion()

public ConfigSyncVersion getVersion()

The version of ConfigSync deployed

.google.cloud.gkehub.configmanagement.v1.ConfigSyncVersion version = 1;

Returns
Type Description
ConfigSyncVersion

The version.

getVersionBuilder()

public ConfigSyncVersion.Builder getVersionBuilder()

The version of ConfigSync deployed

.google.cloud.gkehub.configmanagement.v1.ConfigSyncVersion version = 1;

Returns
Type Description
ConfigSyncVersion.Builder

getVersionOrBuilder()

public ConfigSyncVersionOrBuilder getVersionOrBuilder()

The version of ConfigSync deployed

.google.cloud.gkehub.configmanagement.v1.ConfigSyncVersion version = 1;

Returns
Type Description
ConfigSyncVersionOrBuilder

hasDeploymentState()

public boolean hasDeploymentState()

Information about the deployment of ConfigSync, including the version of the various Pods deployed

.google.cloud.gkehub.configmanagement.v1.ConfigSyncDeploymentState deployment_state = 2;

Returns
Type Description
boolean

Whether the deploymentState field is set.

hasSyncState()

public boolean hasSyncState()

The state of ConfigSync's process to sync configs to a cluster

.google.cloud.gkehub.configmanagement.v1.SyncState sync_state = 3;

Returns
Type Description
boolean

Whether the syncState field is set.

hasVersion()

public boolean hasVersion()

The version of ConfigSync deployed

.google.cloud.gkehub.configmanagement.v1.ConfigSyncVersion version = 1;

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)

Information about the deployment of ConfigSync, including the version of the various Pods deployed

.google.cloud.gkehub.configmanagement.v1.ConfigSyncDeploymentState deployment_state = 2;

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)

The state of ConfigSync's process to sync configs to a cluster

.google.cloud.gkehub.configmanagement.v1.SyncState sync_state = 3;

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)

The version of ConfigSync deployed

.google.cloud.gkehub.configmanagement.v1.ConfigSyncVersion version = 1;

Parameter
Name Description
value ConfigSyncVersion
Returns
Type Description
ConfigSyncState.Builder

removeErrors(int index)

public ConfigSyncState.Builder removeErrors(int index)

Errors pertaining to the installation of Config Sync.

repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4;

Parameter
Name Description
index int
Returns
Type Description
ConfigSyncState.Builder

setDeploymentState(ConfigSyncDeploymentState value)

public ConfigSyncState.Builder setDeploymentState(ConfigSyncDeploymentState value)

Information about the deployment of ConfigSync, including the version of the various Pods deployed

.google.cloud.gkehub.configmanagement.v1.ConfigSyncDeploymentState deployment_state = 2;

Parameter
Name Description
value ConfigSyncDeploymentState
Returns
Type Description
ConfigSyncState.Builder

setDeploymentState(ConfigSyncDeploymentState.Builder builderForValue)

public ConfigSyncState.Builder setDeploymentState(ConfigSyncDeploymentState.Builder builderForValue)

Information about the deployment of ConfigSync, including the version of the various Pods deployed

.google.cloud.gkehub.configmanagement.v1.ConfigSyncDeploymentState deployment_state = 2;

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

setErrors(int index, ConfigSyncError value)

public ConfigSyncState.Builder setErrors(int index, ConfigSyncError value)

Errors pertaining to the installation of Config Sync.

repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4;

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)

Errors pertaining to the installation of Config Sync.

repeated .google.cloud.gkehub.configmanagement.v1.ConfigSyncError errors = 4;

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)

The state of the Reposync CRD

.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.CRDState reposync_crd = 6;

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)

The state of the Reposync CRD

.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.CRDState reposync_crd = 6;

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)

The state of the RootSync CRD

.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.CRDState rootsync_crd = 5;

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)

The state of the RootSync CRD

.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.CRDState rootsync_crd = 5;

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)

The state of CS This field summarizes the other fields in this message.

.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.State state = 7;

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)

The state of CS This field summarizes the other fields in this message.

.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.State state = 7;

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)

The state of ConfigSync's process to sync configs to a cluster

.google.cloud.gkehub.configmanagement.v1.SyncState sync_state = 3;

Parameter
Name Description
value SyncState
Returns
Type Description
ConfigSyncState.Builder

setSyncState(SyncState.Builder builderForValue)

public ConfigSyncState.Builder setSyncState(SyncState.Builder builderForValue)

The state of ConfigSync's process to sync configs to a cluster

.google.cloud.gkehub.configmanagement.v1.SyncState sync_state = 3;

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)

The version of ConfigSync deployed

.google.cloud.gkehub.configmanagement.v1.ConfigSyncVersion version = 1;

Parameter
Name Description
value ConfigSyncVersion
Returns
Type Description
ConfigSyncState.Builder

setVersion(ConfigSyncVersion.Builder builderForValue)

public ConfigSyncState.Builder setVersion(ConfigSyncVersion.Builder builderForValue)

The version of ConfigSync deployed

.google.cloud.gkehub.configmanagement.v1.ConfigSyncVersion version = 1;

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