Class MonitoringComponentConfig

public final class MonitoringComponentConfig extends GeneratedMessageV3 implements MonitoringComponentConfigOrBuilder

MonitoringComponentConfig is cluster monitoring component configuration.

Protobuf type google.container.v1beta1.MonitoringComponentConfig

Fields

ENABLE_COMPONENTS_FIELD_NUMBER

public static final int ENABLE_COMPONENTS_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

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

getDefaultInstance()

public static MonitoringComponentConfig getDefaultInstance()
Returns
TypeDescription
MonitoringComponentConfig

getDefaultInstanceForType()

public MonitoringComponentConfig getDefaultInstanceForType()
Returns
TypeDescription
MonitoringComponentConfig

getDescriptor()

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

getEnableComponents(int index)

public MonitoringComponentConfig.Component getEnableComponents(int index)

Select components to collect metrics. An empty set would disable all monitoring.

repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
MonitoringComponentConfig.Component

The enableComponents at the given index.

getEnableComponentsCount()

public int getEnableComponentsCount()

Select components to collect metrics. An empty set would disable all monitoring.

repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1;

Returns
TypeDescription
int

The count of enableComponents.

getEnableComponentsList()

public List<MonitoringComponentConfig.Component> getEnableComponentsList()

Select components to collect metrics. An empty set would disable all monitoring.

repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1;

Returns
TypeDescription
List<Component>

A list containing the enableComponents.

getEnableComponentsValue(int index)

public int getEnableComponentsValue(int index)

Select components to collect metrics. An empty set would disable all monitoring.

repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

The enum numeric value on the wire of enableComponents at the given index.

getEnableComponentsValueList()

public List<Integer> getEnableComponentsValueList()

Select components to collect metrics. An empty set would disable all monitoring.

repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1;

Returns
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for enableComponents.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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

newBuilder()

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

newBuilder(MonitoringComponentConfig prototype)

public static MonitoringComponentConfig.Builder newBuilder(MonitoringComponentConfig prototype)
Parameter
NameDescription
prototypeMonitoringComponentConfig
Returns
TypeDescription
MonitoringComponentConfig.Builder

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

toBuilder()

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

writeTo(CodedOutputStream output)

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