Class ConfigSyncState.Builder (1.83.0)

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

State information for ConfigSync

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

Static Methods

getDescriptor()

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

Methods

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.v1alpha.ConfigSyncDeploymentState deployment_state = 2;

Returns
Type Description
ConfigSyncState.Builder

clearSyncState()

public ConfigSyncState.Builder clearSyncState()

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

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

Returns
Type Description
ConfigSyncState.Builder

clearVersion()

public ConfigSyncState.Builder clearVersion()

The version of ConfigSync deployed

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

Returns
Type Description
ConfigSyncState.Builder

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.v1alpha.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.v1alpha.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.v1alpha.ConfigSyncDeploymentState deployment_state = 2;

Returns
Type Description
ConfigSyncDeploymentStateOrBuilder

getDescriptorForType()

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

getSyncState()

public SyncState getSyncState()

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

.google.cloud.gkehub.configmanagement.v1alpha.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.v1alpha.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.v1alpha.SyncState sync_state = 3;

Returns
Type Description
SyncStateOrBuilder

getVersion()

public ConfigSyncVersion getVersion()

The version of ConfigSync deployed

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

Returns
Type Description
ConfigSyncVersion

The version.

getVersionBuilder()

public ConfigSyncVersion.Builder getVersionBuilder()

The version of ConfigSync deployed

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

Returns
Type Description
ConfigSyncVersion.Builder

getVersionOrBuilder()

public ConfigSyncVersionOrBuilder getVersionOrBuilder()

The version of ConfigSync deployed

.google.cloud.gkehub.configmanagement.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.ConfigSyncVersion version = 1;

Returns
Type Description
boolean

Whether the version field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.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.v1alpha.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.v1alpha.SyncState sync_state = 3;

Parameter
Name Description
value SyncState
Returns
Type Description
ConfigSyncState.Builder

mergeVersion(ConfigSyncVersion value)

public ConfigSyncState.Builder mergeVersion(ConfigSyncVersion value)

The version of ConfigSync deployed

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

Parameter
Name Description
value ConfigSyncVersion
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.v1alpha.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.v1alpha.ConfigSyncDeploymentState deployment_state = 2;

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

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.v1alpha.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.v1alpha.SyncState sync_state = 3;

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

setVersion(ConfigSyncVersion value)

public ConfigSyncState.Builder setVersion(ConfigSyncVersion value)

The version of ConfigSync deployed

.google.cloud.gkehub.configmanagement.v1alpha.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.v1alpha.ConfigSyncVersion version = 1;

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