Send feedback
Class HierarchyControllerConfig.Builder (1.3.4)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.3.4 keyboard_arrow_down
public static final class HierarchyControllerConfig . Builder extends GeneratedMessageV3 . Builder<HierarchyControllerConfig . Builder > implements HierarchyControllerConfigOrBuilder
Configuration for Hierarchy Controller
Protobuf type google.cloud.gkehub.configmanagement.v1.HierarchyControllerConfig
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HierarchyControllerConfig . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public HierarchyControllerConfig build ()
Returns
buildPartial()
public HierarchyControllerConfig buildPartial ()
Returns
clear()
public HierarchyControllerConfig . Builder clear ()
Returns
Overrides
clearEnableHierarchicalResourceQuota()
public HierarchyControllerConfig . Builder clearEnableHierarchicalResourceQuota ()
Whether hierarchical resource quota is enabled in this cluster.
bool enable_hierarchical_resource_quota = 3;
Returns
clearEnablePodTreeLabels()
public HierarchyControllerConfig . Builder clearEnablePodTreeLabels ()
Whether pod tree labels are enabled in this cluster.
bool enable_pod_tree_labels = 2;
Returns
clearEnabled()
public HierarchyControllerConfig . Builder clearEnabled ()
Whether Hierarchy Controller is enabled in this cluster.
bool enabled = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public HierarchyControllerConfig . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public HierarchyControllerConfig . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public HierarchyControllerConfig . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public HierarchyControllerConfig getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(HierarchyControllerConfig other)
public HierarchyControllerConfig . Builder mergeFrom ( HierarchyControllerConfig other )
Parameter
Returns
public HierarchyControllerConfig . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public HierarchyControllerConfig . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HierarchyControllerConfig . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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
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
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
setField(Descriptors.FieldDescriptor field, Object value)
public HierarchyControllerConfig . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HierarchyControllerConfig . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final HierarchyControllerConfig . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]