Class ConfigSyncDeploymentState.Builder (1.83.0)

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

The state of ConfigSync's deployment on a cluster

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

Static Methods

getDescriptor()

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

Methods

build()

public ConfigSyncDeploymentState build()
Returns
Type Description
ConfigSyncDeploymentState

buildPartial()

public ConfigSyncDeploymentState buildPartial()
Returns
Type Description
ConfigSyncDeploymentState

clear()

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

clearAdmissionWebhook()

public ConfigSyncDeploymentState.Builder clearAdmissionWebhook()

Deployment state of admission-webhook

.google.cloud.gkehub.configmanagement.v1beta.DeploymentState admission_webhook = 7;

Returns
Type Description
ConfigSyncDeploymentState.Builder

This builder for chaining.

clearGitSync()

public ConfigSyncDeploymentState.Builder clearGitSync()

Deployment state of the git-sync pod

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

Returns
Type Description
ConfigSyncDeploymentState.Builder

This builder for chaining.

clearImporter()

public ConfigSyncDeploymentState.Builder clearImporter()

Deployment state of the importer pod

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

Returns
Type Description
ConfigSyncDeploymentState.Builder

This builder for chaining.

clearMonitor()

public ConfigSyncDeploymentState.Builder clearMonitor()

Deployment state of the monitor pod

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

Returns
Type Description
ConfigSyncDeploymentState.Builder

This builder for chaining.

clearOtelCollector()

public ConfigSyncDeploymentState.Builder clearOtelCollector()

Deployment state of otel-collector

.google.cloud.gkehub.configmanagement.v1beta.DeploymentState otel_collector = 9;

Returns
Type Description
ConfigSyncDeploymentState.Builder

This builder for chaining.

clearReconcilerManager()

public ConfigSyncDeploymentState.Builder clearReconcilerManager()

Deployment state of reconciler-manager pod

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

Returns
Type Description
ConfigSyncDeploymentState.Builder

This builder for chaining.

clearResourceGroupControllerManager()

public ConfigSyncDeploymentState.Builder clearResourceGroupControllerManager()

Deployment state of resource-group-controller-manager

.google.cloud.gkehub.configmanagement.v1beta.DeploymentState resource_group_controller_manager = 8;

Returns
Type Description
ConfigSyncDeploymentState.Builder

This builder for chaining.

clearRootReconciler()

public ConfigSyncDeploymentState.Builder clearRootReconciler()

Deployment state of root-reconciler

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

Returns
Type Description
ConfigSyncDeploymentState.Builder

This builder for chaining.

clearSyncer()

public ConfigSyncDeploymentState.Builder clearSyncer()

Deployment state of the syncer pod

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

Returns
Type Description
ConfigSyncDeploymentState.Builder

This builder for chaining.

getAdmissionWebhook()

public DeploymentState getAdmissionWebhook()

Deployment state of admission-webhook

.google.cloud.gkehub.configmanagement.v1beta.DeploymentState admission_webhook = 7;

Returns
Type Description
DeploymentState

The admissionWebhook.

getAdmissionWebhookValue()

public int getAdmissionWebhookValue()

Deployment state of admission-webhook

.google.cloud.gkehub.configmanagement.v1beta.DeploymentState admission_webhook = 7;

Returns
Type Description
int

The enum numeric value on the wire for admissionWebhook.

getDefaultInstanceForType()

public ConfigSyncDeploymentState getDefaultInstanceForType()
Returns
Type Description
ConfigSyncDeploymentState

getDescriptorForType()

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

getGitSync()

public DeploymentState getGitSync()

Deployment state of the git-sync pod

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

Returns
Type Description
DeploymentState

The gitSync.

getGitSyncValue()

public int getGitSyncValue()

Deployment state of the git-sync pod

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

Returns
Type Description
int

The enum numeric value on the wire for gitSync.

getImporter()

public DeploymentState getImporter()

Deployment state of the importer pod

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

Returns
Type Description
DeploymentState

The importer.

getImporterValue()

public int getImporterValue()

Deployment state of the importer pod

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

Returns
Type Description
int

The enum numeric value on the wire for importer.

getMonitor()

public DeploymentState getMonitor()

Deployment state of the monitor pod

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

Returns
Type Description
DeploymentState

The monitor.

getMonitorValue()

public int getMonitorValue()

Deployment state of the monitor pod

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

Returns
Type Description
int

The enum numeric value on the wire for monitor.

getOtelCollector()

public DeploymentState getOtelCollector()

Deployment state of otel-collector

.google.cloud.gkehub.configmanagement.v1beta.DeploymentState otel_collector = 9;

Returns
Type Description
DeploymentState

The otelCollector.

getOtelCollectorValue()

public int getOtelCollectorValue()

Deployment state of otel-collector

.google.cloud.gkehub.configmanagement.v1beta.DeploymentState otel_collector = 9;

Returns
Type Description
int

The enum numeric value on the wire for otelCollector.

getReconcilerManager()

public DeploymentState getReconcilerManager()

Deployment state of reconciler-manager pod

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

Returns
Type Description
DeploymentState

The reconcilerManager.

getReconcilerManagerValue()

public int getReconcilerManagerValue()

Deployment state of reconciler-manager pod

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

Returns
Type Description
int

The enum numeric value on the wire for reconcilerManager.

getResourceGroupControllerManager()

public DeploymentState getResourceGroupControllerManager()

Deployment state of resource-group-controller-manager

.google.cloud.gkehub.configmanagement.v1beta.DeploymentState resource_group_controller_manager = 8;

Returns
Type Description
DeploymentState

The resourceGroupControllerManager.

getResourceGroupControllerManagerValue()

public int getResourceGroupControllerManagerValue()

Deployment state of resource-group-controller-manager

.google.cloud.gkehub.configmanagement.v1beta.DeploymentState resource_group_controller_manager = 8;

Returns
Type Description
int

The enum numeric value on the wire for resourceGroupControllerManager.

getRootReconciler()

public DeploymentState getRootReconciler()

Deployment state of root-reconciler

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

Returns
Type Description
DeploymentState

The rootReconciler.

getRootReconcilerValue()

public int getRootReconcilerValue()

Deployment state of root-reconciler

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

Returns
Type Description
int

The enum numeric value on the wire for rootReconciler.

getSyncer()

public DeploymentState getSyncer()

Deployment state of the syncer pod

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

Returns
Type Description
DeploymentState

The syncer.

getSyncerValue()

public int getSyncerValue()

Deployment state of the syncer pod

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

Returns
Type Description
int

The enum numeric value on the wire for syncer.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ConfigSyncDeploymentState other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAdmissionWebhook(DeploymentState value)

public ConfigSyncDeploymentState.Builder setAdmissionWebhook(DeploymentState value)

Deployment state of admission-webhook

.google.cloud.gkehub.configmanagement.v1beta.DeploymentState admission_webhook = 7;

Parameter
Name Description
value DeploymentState

The admissionWebhook to set.

Returns
Type Description
ConfigSyncDeploymentState.Builder

This builder for chaining.

setAdmissionWebhookValue(int value)

public ConfigSyncDeploymentState.Builder setAdmissionWebhookValue(int value)

Deployment state of admission-webhook

.google.cloud.gkehub.configmanagement.v1beta.DeploymentState admission_webhook = 7;

Parameter
Name Description
value int

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

Returns
Type Description
ConfigSyncDeploymentState.Builder

This builder for chaining.

setGitSync(DeploymentState value)

public ConfigSyncDeploymentState.Builder setGitSync(DeploymentState value)

Deployment state of the git-sync pod

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

Parameter
Name Description
value DeploymentState

The gitSync to set.

Returns
Type Description
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.v1beta.DeploymentState git_sync = 3;

Parameter
Name Description
value int

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

Returns
Type Description
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.v1beta.DeploymentState importer = 1;

Parameter
Name Description
value DeploymentState

The importer to set.

Returns
Type Description
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.v1beta.DeploymentState importer = 1;

Parameter
Name Description
value int

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

Returns
Type Description
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.v1beta.DeploymentState monitor = 4;

Parameter
Name Description
value DeploymentState

The monitor to set.

Returns
Type Description
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.v1beta.DeploymentState monitor = 4;

Parameter
Name Description
value int

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

Returns
Type Description
ConfigSyncDeploymentState.Builder

This builder for chaining.

setOtelCollector(DeploymentState value)

public ConfigSyncDeploymentState.Builder setOtelCollector(DeploymentState value)

Deployment state of otel-collector

.google.cloud.gkehub.configmanagement.v1beta.DeploymentState otel_collector = 9;

Parameter
Name Description
value DeploymentState

The otelCollector to set.

Returns
Type Description
ConfigSyncDeploymentState.Builder

This builder for chaining.

setOtelCollectorValue(int value)

public ConfigSyncDeploymentState.Builder setOtelCollectorValue(int value)

Deployment state of otel-collector

.google.cloud.gkehub.configmanagement.v1beta.DeploymentState otel_collector = 9;

Parameter
Name Description
value int

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

Returns
Type Description
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.v1beta.DeploymentState reconciler_manager = 5;

Parameter
Name Description
value DeploymentState

The reconcilerManager to set.

Returns
Type Description
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.v1beta.DeploymentState reconciler_manager = 5;

Parameter
Name Description
value int

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

Returns
Type Description
ConfigSyncDeploymentState.Builder

This builder for chaining.

setResourceGroupControllerManager(DeploymentState value)

public ConfigSyncDeploymentState.Builder setResourceGroupControllerManager(DeploymentState value)

Deployment state of resource-group-controller-manager

.google.cloud.gkehub.configmanagement.v1beta.DeploymentState resource_group_controller_manager = 8;

Parameter
Name Description
value DeploymentState

The resourceGroupControllerManager to set.

Returns
Type Description
ConfigSyncDeploymentState.Builder

This builder for chaining.

setResourceGroupControllerManagerValue(int value)

public ConfigSyncDeploymentState.Builder setResourceGroupControllerManagerValue(int value)

Deployment state of resource-group-controller-manager

.google.cloud.gkehub.configmanagement.v1beta.DeploymentState resource_group_controller_manager = 8;

Parameter
Name Description
value int

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

Returns
Type Description
ConfigSyncDeploymentState.Builder

This builder for chaining.

setRootReconciler(DeploymentState value)

public ConfigSyncDeploymentState.Builder setRootReconciler(DeploymentState value)

Deployment state of root-reconciler

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

Parameter
Name Description
value DeploymentState

The rootReconciler to set.

Returns
Type Description
ConfigSyncDeploymentState.Builder

This builder for chaining.

setRootReconcilerValue(int value)

public ConfigSyncDeploymentState.Builder setRootReconcilerValue(int value)

Deployment state of root-reconciler

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

Parameter
Name Description
value int

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

Returns
Type Description
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.v1beta.DeploymentState syncer = 2;

Parameter
Name Description
value DeploymentState

The syncer to set.

Returns
Type Description
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.v1beta.DeploymentState syncer = 2;

Parameter
Name Description
value int

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

Returns
Type Description
ConfigSyncDeploymentState.Builder

This builder for chaining.