Class ConfigSyncDeploymentState.Builder (1.48.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.v1.DeploymentState admission_webhook = 7;

Returns
Type Description
ConfigSyncDeploymentState.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ConfigSyncDeploymentState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
ConfigSyncDeploymentState.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReconcilerManager()

public ConfigSyncDeploymentState.Builder clearReconcilerManager()

Deployment state of reconciler-manager pod

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

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

This builder for chaining.

clone()

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

getAdmissionWebhook()

public DeploymentState getAdmissionWebhook()

Deployment state of admission-webhook

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

Returns
Type Description
DeploymentState

The admissionWebhook.

getAdmissionWebhookValue()

public int getAdmissionWebhookValue()

Deployment state of admission-webhook

.google.cloud.gkehub.configmanagement.v1.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.v1.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.v1.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.v1.DeploymentState importer = 1;

Returns
Type Description
DeploymentState

The importer.

getImporterValue()

public int getImporterValue()

Deployment state of the importer pod

.google.cloud.gkehub.configmanagement.v1.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.v1.DeploymentState monitor = 4;

Returns
Type Description
DeploymentState

The monitor.

getMonitorValue()

public int getMonitorValue()

Deployment state of the monitor pod

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

Returns
Type Description
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
Type Description
DeploymentState

The reconcilerManager.

getReconcilerManagerValue()

public int getReconcilerManagerValue()

Deployment state of reconciler-manager pod

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

Returns
Type Description
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
Type Description
DeploymentState

The rootReconciler.

getRootReconcilerValue()

public int getRootReconcilerValue()

Deployment state of root-reconciler

.google.cloud.gkehub.configmanagement.v1.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.v1.DeploymentState syncer = 2;

Returns
Type Description
DeploymentState

The syncer.

getSyncerValue()

public int getSyncerValue()

Deployment state of the syncer pod

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

Returns
Type Description
int

The enum numeric value on the wire for syncer.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAdmissionWebhook(DeploymentState value)

public ConfigSyncDeploymentState.Builder setAdmissionWebhook(DeploymentState value)

Deployment state of admission-webhook

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

setField(Descriptors.FieldDescriptor field, Object value)

public ConfigSyncDeploymentState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
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.v1.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.v1.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.v1.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.v1.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.v1.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.

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
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.v1.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.

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

public ConfigSyncDeploymentState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
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.v1.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.v1.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.v1.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.

setUnknownFields(UnknownFieldSet unknownFields)

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