Class ConfigSyncState.Builder (1.45.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

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

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

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

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

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

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

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