Class HierarchyControllerConfig (1.55.0)

public final class HierarchyControllerConfig extends GeneratedMessageV3 implements HierarchyControllerConfigOrBuilder

Configuration for Hierarchy Controller

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

Static Fields

ENABLED_FIELD_NUMBER

public static final int ENABLED_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_HIERARCHICAL_RESOURCE_QUOTA_FIELD_NUMBER

public static final int ENABLE_HIERARCHICAL_RESOURCE_QUOTA_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_POD_TREE_LABELS_FIELD_NUMBER

public static final int ENABLE_POD_TREE_LABELS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static HierarchyControllerConfig getDefaultInstance()
Returns
Type Description
HierarchyControllerConfig

getDescriptor()

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

newBuilder()

public static HierarchyControllerConfig.Builder newBuilder()
Returns
Type Description
HierarchyControllerConfig.Builder

newBuilder(HierarchyControllerConfig prototype)

public static HierarchyControllerConfig.Builder newBuilder(HierarchyControllerConfig prototype)
Parameter
Name Description
prototype HierarchyControllerConfig
Returns
Type Description
HierarchyControllerConfig.Builder

parseDelimitedFrom(InputStream input)

public static HierarchyControllerConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HierarchyControllerConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HierarchyControllerConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HierarchyControllerConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static HierarchyControllerConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
HierarchyControllerConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static HierarchyControllerConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HierarchyControllerConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static HierarchyControllerConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
HierarchyControllerConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static HierarchyControllerConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HierarchyControllerConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static HierarchyControllerConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
HierarchyControllerConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static HierarchyControllerConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HierarchyControllerConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static HierarchyControllerConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HierarchyControllerConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HierarchyControllerConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HierarchyControllerConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static HierarchyControllerConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
HierarchyControllerConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static HierarchyControllerConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HierarchyControllerConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<HierarchyControllerConfig> parser()
Returns
Type Description
Parser<HierarchyControllerConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public HierarchyControllerConfig getDefaultInstanceForType()
Returns
Type Description
HierarchyControllerConfig

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.

getParserForType()

public Parser<HierarchyControllerConfig> getParserForType()
Returns
Type Description
Parser<HierarchyControllerConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public HierarchyControllerConfig.Builder newBuilderForType()
Returns
Type Description
HierarchyControllerConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected HierarchyControllerConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
HierarchyControllerConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public HierarchyControllerConfig.Builder toBuilder()
Returns
Type Description
HierarchyControllerConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException