Class HierarchyControllerConfig (1.28.0)

public final class HierarchyControllerConfig extends GeneratedMessageV3 implements HierarchyControllerConfigOrBuilder

Configuration for Hierarchy Controller

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

Static Fields

ENABLED_FIELD_NUMBER

public static final int ENABLED_FIELD_NUMBER
Field Value
TypeDescription
int

ENABLE_HIERARCHICAL_RESOURCE_QUOTA_FIELD_NUMBER

public static final int ENABLE_HIERARCHICAL_RESOURCE_QUOTA_FIELD_NUMBER
Field Value
TypeDescription
int

ENABLE_POD_TREE_LABELS_FIELD_NUMBER

public static final int ENABLE_POD_TREE_LABELS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static HierarchyControllerConfig getDefaultInstance()
Returns
TypeDescription
HierarchyControllerConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static HierarchyControllerConfig.Builder newBuilder()
Returns
TypeDescription
HierarchyControllerConfig.Builder

newBuilder(HierarchyControllerConfig prototype)

public static HierarchyControllerConfig.Builder newBuilder(HierarchyControllerConfig prototype)
Parameter
NameDescription
prototypeHierarchyControllerConfig
Returns
TypeDescription
HierarchyControllerConfig.Builder

parseDelimitedFrom(InputStream input)

public static HierarchyControllerConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HierarchyControllerConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HierarchyControllerConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HierarchyControllerConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static HierarchyControllerConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
HierarchyControllerConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static HierarchyControllerConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HierarchyControllerConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static HierarchyControllerConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
HierarchyControllerConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static HierarchyControllerConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HierarchyControllerConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static HierarchyControllerConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
HierarchyControllerConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static HierarchyControllerConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HierarchyControllerConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static HierarchyControllerConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HierarchyControllerConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HierarchyControllerConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HierarchyControllerConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static HierarchyControllerConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
HierarchyControllerConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static HierarchyControllerConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HierarchyControllerConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<HierarchyControllerConfig> parser()
Returns
TypeDescription
Parser<HierarchyControllerConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public HierarchyControllerConfig getDefaultInstanceForType()
Returns
TypeDescription
HierarchyControllerConfig

getEnableHierarchicalResourceQuota()

public boolean getEnableHierarchicalResourceQuota()

Whether hierarchical resource quota is enabled in this cluster.

bool enable_hierarchical_resource_quota = 3;

Returns
TypeDescription
boolean

The enableHierarchicalResourceQuota.

getEnablePodTreeLabels()

public boolean getEnablePodTreeLabels()

Whether pod tree labels are enabled in this cluster.

bool enable_pod_tree_labels = 2;

Returns
TypeDescription
boolean

The enablePodTreeLabels.

getEnabled()

public boolean getEnabled()

Whether Hierarchy Controller is enabled in this cluster.

bool enabled = 1;

Returns
TypeDescription
boolean

The enabled.

getParserForType()

public Parser<HierarchyControllerConfig> getParserForType()
Returns
TypeDescription
Parser<HierarchyControllerConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public HierarchyControllerConfig.Builder newBuilderForType()
Returns
TypeDescription
HierarchyControllerConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected HierarchyControllerConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
HierarchyControllerConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public HierarchyControllerConfig.Builder toBuilder()
Returns
TypeDescription
HierarchyControllerConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException