public static final class HierarchyControllerDeploymentState.Builder extends GeneratedMessageV3.Builder<HierarchyControllerDeploymentState.Builder> implements HierarchyControllerDeploymentStateOrBuilder
Deployment state for Hierarchy Controller
Protobuf type
google.cloud.gkehub.configmanagement.v1.HierarchyControllerDeploymentState
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HierarchyControllerDeploymentState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public HierarchyControllerDeploymentState build()
Returns
buildPartial()
public HierarchyControllerDeploymentState buildPartial()
Returns
clear()
public HierarchyControllerDeploymentState.Builder clear()
Returns
Overrides
clearExtension()
public HierarchyControllerDeploymentState.Builder clearExtension()
The deployment state for Hierarchy Controller extension (e.g. v0.7.0-hc.1)
.google.cloud.gkehub.configmanagement.v1.DeploymentState extension = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public HierarchyControllerDeploymentState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearHnc()
public HierarchyControllerDeploymentState.Builder clearHnc()
The deployment state for open source HNC (e.g. v0.7.0-hc.0)
.google.cloud.gkehub.configmanagement.v1.DeploymentState hnc = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public HierarchyControllerDeploymentState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public HierarchyControllerDeploymentState.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public HierarchyControllerDeploymentState getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getExtension()
public DeploymentState getExtension()
The deployment state for Hierarchy Controller extension (e.g. v0.7.0-hc.1)
.google.cloud.gkehub.configmanagement.v1.DeploymentState extension = 2;
Returns
getExtensionValue()
public int getExtensionValue()
The deployment state for Hierarchy Controller extension (e.g. v0.7.0-hc.1)
.google.cloud.gkehub.configmanagement.v1.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.v1.DeploymentState hnc = 1;
Returns
getHncValue()
The deployment state for open source HNC (e.g. v0.7.0-hc.0)
.google.cloud.gkehub.configmanagement.v1.DeploymentState hnc = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for hnc.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(HierarchyControllerDeploymentState other)
public HierarchyControllerDeploymentState.Builder mergeFrom(HierarchyControllerDeploymentState other)
Parameter
Returns
public HierarchyControllerDeploymentState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public HierarchyControllerDeploymentState.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HierarchyControllerDeploymentState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.v1.DeploymentState extension = 2;
Parameter
Returns
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.v1.DeploymentState extension = 2;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for extension to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public HierarchyControllerDeploymentState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.v1.DeploymentState hnc = 1;
Parameter
Returns
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.v1.DeploymentState hnc = 1;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for hnc to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HierarchyControllerDeploymentState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final HierarchyControllerDeploymentState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides