Class HierarchyControllerDeploymentState.Builder (1.14.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.v1alpha.HierarchyControllerDeploymentState

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public HierarchyControllerDeploymentState build()
Returns
TypeDescription
HierarchyControllerDeploymentState

buildPartial()

public HierarchyControllerDeploymentState buildPartial()
Returns
TypeDescription
HierarchyControllerDeploymentState

clear()

public HierarchyControllerDeploymentState.Builder clear()
Returns
TypeDescription
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.v1alpha.DeploymentState extension = 2;

Returns
TypeDescription
HierarchyControllerDeploymentState.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public HierarchyControllerDeploymentState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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.v1alpha.DeploymentState hnc = 1;

Returns
TypeDescription
HierarchyControllerDeploymentState.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public HierarchyControllerDeploymentState getDefaultInstanceForType()
Returns
TypeDescription
HierarchyControllerDeploymentState

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExtension()

public DeploymentState getExtension()

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

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

Returns
TypeDescription
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.v1alpha.DeploymentState extension = 2;

Returns
TypeDescription
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.v1alpha.DeploymentState hnc = 1;

Returns
TypeDescription
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.v1alpha.DeploymentState hnc = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for hnc.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(HierarchyControllerDeploymentState other)

public HierarchyControllerDeploymentState.Builder mergeFrom(HierarchyControllerDeploymentState other)
Parameter
NameDescription
otherHierarchyControllerDeploymentState
Returns
TypeDescription
HierarchyControllerDeploymentState.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public HierarchyControllerDeploymentState.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
HierarchyControllerDeploymentState.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HierarchyControllerDeploymentState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1alpha.DeploymentState extension = 2;

Parameter
NameDescription
valueDeploymentState

The extension to set.

Returns
TypeDescription
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.v1alpha.DeploymentState extension = 2;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
HierarchyControllerDeploymentState.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public HierarchyControllerDeploymentState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1alpha.DeploymentState hnc = 1;

Parameter
NameDescription
valueDeploymentState

The hnc to set.

Returns
TypeDescription
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.v1alpha.DeploymentState hnc = 1;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
HierarchyControllerDeploymentState.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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