Class HierarchyControllerConfig.Builder (1.47.0)

public static final class HierarchyControllerConfig.Builder extends GeneratedMessageV3.Builder<HierarchyControllerConfig.Builder> implements HierarchyControllerConfigOrBuilder

Configuration for Hierarchy Controller

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public HierarchyControllerConfig build()
Returns
Type Description
HierarchyControllerConfig

buildPartial()

public HierarchyControllerConfig buildPartial()
Returns
Type Description
HierarchyControllerConfig

clear()

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

clearEnableHierarchicalResourceQuota()

public HierarchyControllerConfig.Builder clearEnableHierarchicalResourceQuota()

Whether hierarchical resource quota is enabled in this cluster.

bool enable_hierarchical_resource_quota = 3;

Returns
Type Description
HierarchyControllerConfig.Builder

This builder for chaining.

clearEnablePodTreeLabels()

public HierarchyControllerConfig.Builder clearEnablePodTreeLabels()

Whether pod tree labels are enabled in this cluster.

bool enable_pod_tree_labels = 2;

Returns
Type Description
HierarchyControllerConfig.Builder

This builder for chaining.

clearEnabled()

public HierarchyControllerConfig.Builder clearEnabled()

Whether Hierarchy Controller is enabled in this cluster.

bool enabled = 1;

Returns
Type Description
HierarchyControllerConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public HierarchyControllerConfig getDefaultInstanceForType()
Returns
Type Description
HierarchyControllerConfig

getDescriptorForType()

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

getEnableHierarchicalResourceQuota()

public boolean getEnableHierarchicalResourceQuota()

Whether hierarchical resource quota is enabled in this cluster.

bool enable_hierarchical_resource_quota = 3;

Returns
Type Description
boolean

The enableHierarchicalResourceQuota.

getEnablePodTreeLabels()

public boolean getEnablePodTreeLabels()

Whether pod tree labels are enabled in this cluster.

bool enable_pod_tree_labels = 2;

Returns
Type Description
boolean

The enablePodTreeLabels.

getEnabled()

public boolean getEnabled()

Whether Hierarchy Controller is enabled in this cluster.

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(HierarchyControllerConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEnableHierarchicalResourceQuota(boolean value)

public HierarchyControllerConfig.Builder setEnableHierarchicalResourceQuota(boolean value)

Whether hierarchical resource quota is enabled in this cluster.

bool enable_hierarchical_resource_quota = 3;

Parameter
Name Description
value boolean

The enableHierarchicalResourceQuota to set.

Returns
Type Description
HierarchyControllerConfig.Builder

This builder for chaining.

setEnablePodTreeLabels(boolean value)

public HierarchyControllerConfig.Builder setEnablePodTreeLabels(boolean value)

Whether pod tree labels are enabled in this cluster.

bool enable_pod_tree_labels = 2;

Parameter
Name Description
value boolean

The enablePodTreeLabels to set.

Returns
Type Description
HierarchyControllerConfig.Builder

This builder for chaining.

setEnabled(boolean value)

public HierarchyControllerConfig.Builder setEnabled(boolean value)

Whether Hierarchy Controller is enabled in this cluster.

bool enabled = 1;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
HierarchyControllerConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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