Class HierarchyControllerState.Builder (1.49.0)

public static final class HierarchyControllerState.Builder extends GeneratedMessageV3.Builder<HierarchyControllerState.Builder> implements HierarchyControllerStateOrBuilder

State for Hierarchy Controller

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public HierarchyControllerState build()
Returns
Type Description
HierarchyControllerState

buildPartial()

public HierarchyControllerState buildPartial()
Returns
Type Description
HierarchyControllerState

clear()

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

clearField(Descriptors.FieldDescriptor field)

public HierarchyControllerState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
HierarchyControllerState.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public HierarchyControllerState.Builder clearState()

The deployment state for Hierarchy Controller

.google.cloud.gkehub.configmanagement.v1alpha.HierarchyControllerDeploymentState state = 2;

Returns
Type Description
HierarchyControllerState.Builder

clearVersion()

public HierarchyControllerState.Builder clearVersion()

The version for Hierarchy Controller

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

Returns
Type Description
HierarchyControllerState.Builder

clone()

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

getDefaultInstanceForType()

public HierarchyControllerState getDefaultInstanceForType()
Returns
Type Description
HierarchyControllerState

getDescriptorForType()

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

getState()

public HierarchyControllerDeploymentState getState()

The deployment state for Hierarchy Controller

.google.cloud.gkehub.configmanagement.v1alpha.HierarchyControllerDeploymentState state = 2;

Returns
Type Description
HierarchyControllerDeploymentState

The state.

getStateBuilder()

public HierarchyControllerDeploymentState.Builder getStateBuilder()

The deployment state for Hierarchy Controller

.google.cloud.gkehub.configmanagement.v1alpha.HierarchyControllerDeploymentState state = 2;

Returns
Type Description
HierarchyControllerDeploymentState.Builder

getStateOrBuilder()

public HierarchyControllerDeploymentStateOrBuilder getStateOrBuilder()

The deployment state for Hierarchy Controller

.google.cloud.gkehub.configmanagement.v1alpha.HierarchyControllerDeploymentState state = 2;

Returns
Type Description
HierarchyControllerDeploymentStateOrBuilder

getVersion()

public HierarchyControllerVersion getVersion()

The version for Hierarchy Controller

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

Returns
Type Description
HierarchyControllerVersion

The version.

getVersionBuilder()

public HierarchyControllerVersion.Builder getVersionBuilder()

The version for Hierarchy Controller

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

Returns
Type Description
HierarchyControllerVersion.Builder

getVersionOrBuilder()

public HierarchyControllerVersionOrBuilder getVersionOrBuilder()

The version for Hierarchy Controller

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

Returns
Type Description
HierarchyControllerVersionOrBuilder

hasState()

public boolean hasState()

The deployment state for Hierarchy Controller

.google.cloud.gkehub.configmanagement.v1alpha.HierarchyControllerDeploymentState state = 2;

Returns
Type Description
boolean

Whether the state field is set.

hasVersion()

public boolean hasVersion()

The version for Hierarchy Controller

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

mergeFrom(HierarchyControllerState other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeState(HierarchyControllerDeploymentState value)

public HierarchyControllerState.Builder mergeState(HierarchyControllerDeploymentState value)

The deployment state for Hierarchy Controller

.google.cloud.gkehub.configmanagement.v1alpha.HierarchyControllerDeploymentState state = 2;

Parameter
Name Description
value HierarchyControllerDeploymentState
Returns
Type Description
HierarchyControllerState.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeVersion(HierarchyControllerVersion value)

public HierarchyControllerState.Builder mergeVersion(HierarchyControllerVersion value)

The version for Hierarchy Controller

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

Parameter
Name Description
value HierarchyControllerVersion
Returns
Type Description
HierarchyControllerState.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public HierarchyControllerState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
HierarchyControllerState.Builder
Overrides

setState(HierarchyControllerDeploymentState value)

public HierarchyControllerState.Builder setState(HierarchyControllerDeploymentState value)

The deployment state for Hierarchy Controller

.google.cloud.gkehub.configmanagement.v1alpha.HierarchyControllerDeploymentState state = 2;

Parameter
Name Description
value HierarchyControllerDeploymentState
Returns
Type Description
HierarchyControllerState.Builder

setState(HierarchyControllerDeploymentState.Builder builderForValue)

public HierarchyControllerState.Builder setState(HierarchyControllerDeploymentState.Builder builderForValue)

The deployment state for Hierarchy Controller

.google.cloud.gkehub.configmanagement.v1alpha.HierarchyControllerDeploymentState state = 2;

Parameter
Name Description
builderForValue HierarchyControllerDeploymentState.Builder
Returns
Type Description
HierarchyControllerState.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersion(HierarchyControllerVersion value)

public HierarchyControllerState.Builder setVersion(HierarchyControllerVersion value)

The version for Hierarchy Controller

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

Parameter
Name Description
value HierarchyControllerVersion
Returns
Type Description
HierarchyControllerState.Builder

setVersion(HierarchyControllerVersion.Builder builderForValue)

public HierarchyControllerState.Builder setVersion(HierarchyControllerVersion.Builder builderForValue)

The version for Hierarchy Controller

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

Parameter
Name Description
builderForValue HierarchyControllerVersion.Builder
Returns
Type Description
HierarchyControllerState.Builder