Class HierarchyControllerState.Builder (1.27.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public HierarchyControllerState build()
Returns
TypeDescription
HierarchyControllerState

buildPartial()

public HierarchyControllerState buildPartial()
Returns
TypeDescription
HierarchyControllerState

clear()

public HierarchyControllerState.Builder clear()
Returns
TypeDescription
HierarchyControllerState.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public HierarchyControllerState.Builder clearState()

The deployment state for Hierarchy Controller

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

Returns
TypeDescription
HierarchyControllerState.Builder

clearVersion()

public HierarchyControllerState.Builder clearVersion()

The version for Hierarchy Controller

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

Returns
TypeDescription
HierarchyControllerState.Builder

clone()

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

getDefaultInstanceForType()

public HierarchyControllerState getDefaultInstanceForType()
Returns
TypeDescription
HierarchyControllerState

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getState()

public HierarchyControllerDeploymentState getState()

The deployment state for Hierarchy Controller

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

Returns
TypeDescription
HierarchyControllerDeploymentState

The state.

getStateBuilder()

public HierarchyControllerDeploymentState.Builder getStateBuilder()

The deployment state for Hierarchy Controller

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

Returns
TypeDescription
HierarchyControllerDeploymentState.Builder

getStateOrBuilder()

public HierarchyControllerDeploymentStateOrBuilder getStateOrBuilder()

The deployment state for Hierarchy Controller

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

Returns
TypeDescription
HierarchyControllerDeploymentStateOrBuilder

getVersion()

public HierarchyControllerVersion getVersion()

The version for Hierarchy Controller

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

Returns
TypeDescription
HierarchyControllerVersion

The version.

getVersionBuilder()

public HierarchyControllerVersion.Builder getVersionBuilder()

The version for Hierarchy Controller

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

Returns
TypeDescription
HierarchyControllerVersion.Builder

getVersionOrBuilder()

public HierarchyControllerVersionOrBuilder getVersionOrBuilder()

The version for Hierarchy Controller

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

Returns
TypeDescription
HierarchyControllerVersionOrBuilder

hasState()

public boolean hasState()

The deployment state for Hierarchy Controller

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

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

mergeFrom(HierarchyControllerState other)

public HierarchyControllerState.Builder mergeFrom(HierarchyControllerState other)
Parameter
NameDescription
otherHierarchyControllerState
Returns
TypeDescription
HierarchyControllerState.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HierarchyControllerState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueHierarchyControllerVersion
Returns
TypeDescription
HierarchyControllerState.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public HierarchyControllerState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueHierarchyControllerDeploymentState
Returns
TypeDescription
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
NameDescription
builderForValueHierarchyControllerDeploymentState.Builder
Returns
TypeDescription
HierarchyControllerState.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final HierarchyControllerState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueHierarchyControllerVersion
Returns
TypeDescription
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
NameDescription
builderForValueHierarchyControllerVersion.Builder
Returns
TypeDescription
HierarchyControllerState.Builder