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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HierarchyControllerConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public HierarchyControllerConfig build()
buildPartial()
public HierarchyControllerConfig buildPartial()
clear()
public HierarchyControllerConfig.Builder clear()
Overrides
clearEnableHierarchicalResourceQuota()
public HierarchyControllerConfig.Builder clearEnableHierarchicalResourceQuota()
Whether hierarchical resource quota is enabled in this cluster.
bool enable_hierarchical_resource_quota = 3;
clearEnablePodTreeLabels()
public HierarchyControllerConfig.Builder clearEnablePodTreeLabels()
Whether pod tree labels are enabled in this cluster.
bool enable_pod_tree_labels = 2;
clearEnabled()
public HierarchyControllerConfig.Builder clearEnabled()
Whether Hierarchy Controller is enabled in this cluster.
bool enabled = 1;
clearField(Descriptors.FieldDescriptor field)
public HierarchyControllerConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public HierarchyControllerConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public HierarchyControllerConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public HierarchyControllerConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(HierarchyControllerConfig other)
public HierarchyControllerConfig.Builder mergeFrom(HierarchyControllerConfig other)
public HierarchyControllerConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public HierarchyControllerConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HierarchyControllerConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public HierarchyControllerConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HierarchyControllerConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final HierarchyControllerConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides