Class ConfigSyncState.Builder (1.2.0)

public static final class ConfigSyncState.Builder extends GeneratedMessageV3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ConfigSyncState build()
Returns
TypeDescription
ConfigSyncState

buildPartial()

public ConfigSyncState buildPartial()
Returns
TypeDescription
ConfigSyncState

clear()

public ConfigSyncState.Builder clear()
Returns
TypeDescription
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
TypeDescription
ConfigSyncState.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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
TypeDescription
ConfigSyncState.Builder

clearVersion()

public ConfigSyncState.Builder clearVersion()

The version of ConfigSync deployed

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

Returns
TypeDescription
ConfigSyncState.Builder

clone()

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

getDefaultInstanceForType()

public ConfigSyncState getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ConfigSyncDeploymentStateOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
SyncStateOrBuilder

getVersion()

public ConfigSyncVersion getVersion()

The version of ConfigSync deployed

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

Returns
TypeDescription
ConfigSyncVersion

The version.

getVersionBuilder()

public ConfigSyncVersion.Builder getVersionBuilder()

The version of ConfigSync deployed

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

Returns
TypeDescription
ConfigSyncVersion.Builder

getVersionOrBuilder()

public ConfigSyncVersionOrBuilder getVersionOrBuilder()

The version of ConfigSync deployed

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the version field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueConfigSyncDeploymentState
Returns
TypeDescription
ConfigSyncState.Builder

mergeFrom(ConfigSyncState other)

public ConfigSyncState.Builder mergeFrom(ConfigSyncState other)
Parameter
NameDescription
otherConfigSyncState
Returns
TypeDescription
ConfigSyncState.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ConfigSyncState.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueSyncState
Returns
TypeDescription
ConfigSyncState.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeVersion(ConfigSyncVersion value)

public ConfigSyncState.Builder mergeVersion(ConfigSyncVersion value)

The version of ConfigSync deployed

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

Parameter
NameDescription
valueConfigSyncVersion
Returns
TypeDescription
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
NameDescription
valueConfigSyncDeploymentState
Returns
TypeDescription
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
NameDescription
builderForValueConfigSyncDeploymentState.Builder
Returns
TypeDescription
ConfigSyncState.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ConfigSyncState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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.v1alpha.SyncState sync_state = 3;

Parameter
NameDescription
valueSyncState
Returns
TypeDescription
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
NameDescription
builderForValueSyncState.Builder
Returns
TypeDescription
ConfigSyncState.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersion(ConfigSyncVersion value)

public ConfigSyncState.Builder setVersion(ConfigSyncVersion value)

The version of ConfigSync deployed

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

Parameter
NameDescription
valueConfigSyncVersion
Returns
TypeDescription
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
NameDescription
builderForValueConfigSyncVersion.Builder
Returns
TypeDescription
ConfigSyncState.Builder