Class HierarchyControllerDeploymentState.Builder (1.48.0)

public static final class HierarchyControllerDeploymentState.Builder extends GeneratedMessageV3.Builder<HierarchyControllerDeploymentState.Builder> implements HierarchyControllerDeploymentStateOrBuilder

Deployment state for Hierarchy Controller

Protobuf type google.cloud.gkehub.configmanagement.v1beta.HierarchyControllerDeploymentState

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public HierarchyControllerDeploymentState build()
Returns
Type Description
HierarchyControllerDeploymentState

buildPartial()

public HierarchyControllerDeploymentState buildPartial()
Returns
Type Description
HierarchyControllerDeploymentState

clear()

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

clearExtension()

public HierarchyControllerDeploymentState.Builder clearExtension()

The deployment state for Hierarchy Controller extension (e.g. v0.7.0-hc.1)

.google.cloud.gkehub.configmanagement.v1beta.DeploymentState extension = 2;

Returns
Type Description
HierarchyControllerDeploymentState.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearHnc()

public HierarchyControllerDeploymentState.Builder clearHnc()

The deployment state for open source HNC (e.g. v0.7.0-hc.0)

.google.cloud.gkehub.configmanagement.v1beta.DeploymentState hnc = 1;

Returns
Type Description
HierarchyControllerDeploymentState.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public HierarchyControllerDeploymentState getDefaultInstanceForType()
Returns
Type Description
HierarchyControllerDeploymentState

getDescriptorForType()

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

getExtension()

public DeploymentState getExtension()

The deployment state for Hierarchy Controller extension (e.g. v0.7.0-hc.1)

.google.cloud.gkehub.configmanagement.v1beta.DeploymentState extension = 2;

Returns
Type Description
DeploymentState

The extension.

getExtensionValue()

public int getExtensionValue()

The deployment state for Hierarchy Controller extension (e.g. v0.7.0-hc.1)

.google.cloud.gkehub.configmanagement.v1beta.DeploymentState extension = 2;

Returns
Type Description
int

The enum numeric value on the wire for extension.

getHnc()

public DeploymentState getHnc()

The deployment state for open source HNC (e.g. v0.7.0-hc.0)

.google.cloud.gkehub.configmanagement.v1beta.DeploymentState hnc = 1;

Returns
Type Description
DeploymentState

The hnc.

getHncValue()

public int getHncValue()

The deployment state for open source HNC (e.g. v0.7.0-hc.0)

.google.cloud.gkehub.configmanagement.v1beta.DeploymentState hnc = 1;

Returns
Type Description
int

The enum numeric value on the wire for hnc.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(HierarchyControllerDeploymentState other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setExtension(DeploymentState value)

public HierarchyControllerDeploymentState.Builder setExtension(DeploymentState value)

The deployment state for Hierarchy Controller extension (e.g. v0.7.0-hc.1)

.google.cloud.gkehub.configmanagement.v1beta.DeploymentState extension = 2;

Parameter
Name Description
value DeploymentState

The extension to set.

Returns
Type Description
HierarchyControllerDeploymentState.Builder

This builder for chaining.

setExtensionValue(int value)

public HierarchyControllerDeploymentState.Builder setExtensionValue(int value)

The deployment state for Hierarchy Controller extension (e.g. v0.7.0-hc.1)

.google.cloud.gkehub.configmanagement.v1beta.DeploymentState extension = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for extension to set.

Returns
Type Description
HierarchyControllerDeploymentState.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setHnc(DeploymentState value)

public HierarchyControllerDeploymentState.Builder setHnc(DeploymentState value)

The deployment state for open source HNC (e.g. v0.7.0-hc.0)

.google.cloud.gkehub.configmanagement.v1beta.DeploymentState hnc = 1;

Parameter
Name Description
value DeploymentState

The hnc to set.

Returns
Type Description
HierarchyControllerDeploymentState.Builder

This builder for chaining.

setHncValue(int value)

public HierarchyControllerDeploymentState.Builder setHncValue(int value)

The deployment state for open source HNC (e.g. v0.7.0-hc.0)

.google.cloud.gkehub.configmanagement.v1beta.DeploymentState hnc = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for hnc to set.

Returns
Type Description
HierarchyControllerDeploymentState.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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