Class ConfigSyncDeploymentState.Builder (1.22.0)

public static final class ConfigSyncDeploymentState.Builder extends GeneratedMessageV3.Builder<ConfigSyncDeploymentState.Builder> implements ConfigSyncDeploymentStateOrBuilder

The state of ConfigSync's deployment on a cluster

Protobuf type google.cloud.gkehub.configmanagement.v1.ConfigSyncDeploymentState

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ConfigSyncDeploymentState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ConfigSyncDeploymentState.Builder
Overrides

build()

public ConfigSyncDeploymentState build()
Returns
TypeDescription
ConfigSyncDeploymentState

buildPartial()

public ConfigSyncDeploymentState buildPartial()
Returns
TypeDescription
ConfigSyncDeploymentState

clear()

public ConfigSyncDeploymentState.Builder clear()
Returns
TypeDescription
ConfigSyncDeploymentState.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ConfigSyncDeploymentState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ConfigSyncDeploymentState.Builder
Overrides

clearGitSync()

public ConfigSyncDeploymentState.Builder clearGitSync()

Deployment state of the git-sync pod

.google.cloud.gkehub.configmanagement.v1.DeploymentState git_sync = 3;

Returns
TypeDescription
ConfigSyncDeploymentState.Builder

This builder for chaining.

clearImporter()

public ConfigSyncDeploymentState.Builder clearImporter()

Deployment state of the importer pod

.google.cloud.gkehub.configmanagement.v1.DeploymentState importer = 1;

Returns
TypeDescription
ConfigSyncDeploymentState.Builder

This builder for chaining.

clearMonitor()

public ConfigSyncDeploymentState.Builder clearMonitor()

Deployment state of the monitor pod

.google.cloud.gkehub.configmanagement.v1.DeploymentState monitor = 4;

Returns
TypeDescription
ConfigSyncDeploymentState.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ConfigSyncDeploymentState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ConfigSyncDeploymentState.Builder
Overrides

clearReconcilerManager()

public ConfigSyncDeploymentState.Builder clearReconcilerManager()

Deployment state of reconciler-manager pod

.google.cloud.gkehub.configmanagement.v1.DeploymentState reconciler_manager = 5;

Returns
TypeDescription
ConfigSyncDeploymentState.Builder

This builder for chaining.

clearRootReconciler()

public ConfigSyncDeploymentState.Builder clearRootReconciler()

Deployment state of root-reconciler

.google.cloud.gkehub.configmanagement.v1.DeploymentState root_reconciler = 6;

Returns
TypeDescription
ConfigSyncDeploymentState.Builder

This builder for chaining.

clearSyncer()

public ConfigSyncDeploymentState.Builder clearSyncer()

Deployment state of the syncer pod

.google.cloud.gkehub.configmanagement.v1.DeploymentState syncer = 2;

Returns
TypeDescription
ConfigSyncDeploymentState.Builder

This builder for chaining.

clone()

public ConfigSyncDeploymentState.Builder clone()
Returns
TypeDescription
ConfigSyncDeploymentState.Builder
Overrides

getDefaultInstanceForType()

public ConfigSyncDeploymentState getDefaultInstanceForType()
Returns
TypeDescription
ConfigSyncDeploymentState

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGitSync()

public DeploymentState getGitSync()

Deployment state of the git-sync pod

.google.cloud.gkehub.configmanagement.v1.DeploymentState git_sync = 3;

Returns
TypeDescription
DeploymentState

The gitSync.

getGitSyncValue()

public int getGitSyncValue()

Deployment state of the git-sync pod

.google.cloud.gkehub.configmanagement.v1.DeploymentState git_sync = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for gitSync.

getImporter()

public DeploymentState getImporter()

Deployment state of the importer pod

.google.cloud.gkehub.configmanagement.v1.DeploymentState importer = 1;

Returns
TypeDescription
DeploymentState

The importer.

getImporterValue()

public int getImporterValue()

Deployment state of the importer pod

.google.cloud.gkehub.configmanagement.v1.DeploymentState importer = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for importer.

getMonitor()

public DeploymentState getMonitor()

Deployment state of the monitor pod

.google.cloud.gkehub.configmanagement.v1.DeploymentState monitor = 4;

Returns
TypeDescription
DeploymentState

The monitor.

getMonitorValue()

public int getMonitorValue()

Deployment state of the monitor pod

.google.cloud.gkehub.configmanagement.v1.DeploymentState monitor = 4;

Returns
TypeDescription
int

The enum numeric value on the wire for monitor.

getReconcilerManager()

public DeploymentState getReconcilerManager()

Deployment state of reconciler-manager pod

.google.cloud.gkehub.configmanagement.v1.DeploymentState reconciler_manager = 5;

Returns
TypeDescription
DeploymentState

The reconcilerManager.

getReconcilerManagerValue()

public int getReconcilerManagerValue()

Deployment state of reconciler-manager pod

.google.cloud.gkehub.configmanagement.v1.DeploymentState reconciler_manager = 5;

Returns
TypeDescription
int

The enum numeric value on the wire for reconcilerManager.

getRootReconciler()

public DeploymentState getRootReconciler()

Deployment state of root-reconciler

.google.cloud.gkehub.configmanagement.v1.DeploymentState root_reconciler = 6;

Returns
TypeDescription
DeploymentState

The rootReconciler.

getRootReconcilerValue()

public int getRootReconcilerValue()

Deployment state of root-reconciler

.google.cloud.gkehub.configmanagement.v1.DeploymentState root_reconciler = 6;

Returns
TypeDescription
int

The enum numeric value on the wire for rootReconciler.

getSyncer()

public DeploymentState getSyncer()

Deployment state of the syncer pod

.google.cloud.gkehub.configmanagement.v1.DeploymentState syncer = 2;

Returns
TypeDescription
DeploymentState

The syncer.

getSyncerValue()

public int getSyncerValue()

Deployment state of the syncer pod

.google.cloud.gkehub.configmanagement.v1.DeploymentState syncer = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for syncer.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ConfigSyncDeploymentState other)

public ConfigSyncDeploymentState.Builder mergeFrom(ConfigSyncDeploymentState other)
Parameter
NameDescription
otherConfigSyncDeploymentState
Returns
TypeDescription
ConfigSyncDeploymentState.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ConfigSyncDeploymentState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConfigSyncDeploymentState.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ConfigSyncDeploymentState.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ConfigSyncDeploymentState.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConfigSyncDeploymentState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ConfigSyncDeploymentState.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ConfigSyncDeploymentState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ConfigSyncDeploymentState.Builder
Overrides

setGitSync(DeploymentState value)

public ConfigSyncDeploymentState.Builder setGitSync(DeploymentState value)

Deployment state of the git-sync pod

.google.cloud.gkehub.configmanagement.v1.DeploymentState git_sync = 3;

Parameter
NameDescription
valueDeploymentState

The gitSync to set.

Returns
TypeDescription
ConfigSyncDeploymentState.Builder

This builder for chaining.

setGitSyncValue(int value)

public ConfigSyncDeploymentState.Builder setGitSyncValue(int value)

Deployment state of the git-sync pod

.google.cloud.gkehub.configmanagement.v1.DeploymentState git_sync = 3;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
ConfigSyncDeploymentState.Builder

This builder for chaining.

setImporter(DeploymentState value)

public ConfigSyncDeploymentState.Builder setImporter(DeploymentState value)

Deployment state of the importer pod

.google.cloud.gkehub.configmanagement.v1.DeploymentState importer = 1;

Parameter
NameDescription
valueDeploymentState

The importer to set.

Returns
TypeDescription
ConfigSyncDeploymentState.Builder

This builder for chaining.

setImporterValue(int value)

public ConfigSyncDeploymentState.Builder setImporterValue(int value)

Deployment state of the importer pod

.google.cloud.gkehub.configmanagement.v1.DeploymentState importer = 1;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
ConfigSyncDeploymentState.Builder

This builder for chaining.

setMonitor(DeploymentState value)

public ConfigSyncDeploymentState.Builder setMonitor(DeploymentState value)

Deployment state of the monitor pod

.google.cloud.gkehub.configmanagement.v1.DeploymentState monitor = 4;

Parameter
NameDescription
valueDeploymentState

The monitor to set.

Returns
TypeDescription
ConfigSyncDeploymentState.Builder

This builder for chaining.

setMonitorValue(int value)

public ConfigSyncDeploymentState.Builder setMonitorValue(int value)

Deployment state of the monitor pod

.google.cloud.gkehub.configmanagement.v1.DeploymentState monitor = 4;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
ConfigSyncDeploymentState.Builder

This builder for chaining.

setReconcilerManager(DeploymentState value)

public ConfigSyncDeploymentState.Builder setReconcilerManager(DeploymentState value)

Deployment state of reconciler-manager pod

.google.cloud.gkehub.configmanagement.v1.DeploymentState reconciler_manager = 5;

Parameter
NameDescription
valueDeploymentState

The reconcilerManager to set.

Returns
TypeDescription
ConfigSyncDeploymentState.Builder

This builder for chaining.

setReconcilerManagerValue(int value)

public ConfigSyncDeploymentState.Builder setReconcilerManagerValue(int value)

Deployment state of reconciler-manager pod

.google.cloud.gkehub.configmanagement.v1.DeploymentState reconciler_manager = 5;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
ConfigSyncDeploymentState.Builder

This builder for chaining.

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

public ConfigSyncDeploymentState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ConfigSyncDeploymentState.Builder
Overrides

setRootReconciler(DeploymentState value)

public ConfigSyncDeploymentState.Builder setRootReconciler(DeploymentState value)

Deployment state of root-reconciler

.google.cloud.gkehub.configmanagement.v1.DeploymentState root_reconciler = 6;

Parameter
NameDescription
valueDeploymentState

The rootReconciler to set.

Returns
TypeDescription
ConfigSyncDeploymentState.Builder

This builder for chaining.

setRootReconcilerValue(int value)

public ConfigSyncDeploymentState.Builder setRootReconcilerValue(int value)

Deployment state of root-reconciler

.google.cloud.gkehub.configmanagement.v1.DeploymentState root_reconciler = 6;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
ConfigSyncDeploymentState.Builder

This builder for chaining.

setSyncer(DeploymentState value)

public ConfigSyncDeploymentState.Builder setSyncer(DeploymentState value)

Deployment state of the syncer pod

.google.cloud.gkehub.configmanagement.v1.DeploymentState syncer = 2;

Parameter
NameDescription
valueDeploymentState

The syncer to set.

Returns
TypeDescription
ConfigSyncDeploymentState.Builder

This builder for chaining.

setSyncerValue(int value)

public ConfigSyncDeploymentState.Builder setSyncerValue(int value)

Deployment state of the syncer pod

.google.cloud.gkehub.configmanagement.v1.DeploymentState syncer = 2;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
ConfigSyncDeploymentState.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ConfigSyncDeploymentState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ConfigSyncDeploymentState.Builder
Overrides