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
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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