Class MonitoringConfig (2.34.0)

public final class MonitoringConfig extends GeneratedMessageV3 implements MonitoringConfigOrBuilder

MonitoringConfig is cluster monitoring configuration.

Protobuf type google.container.v1.MonitoringConfig

Static Fields

ADVANCED_DATAPATH_OBSERVABILITY_CONFIG_FIELD_NUMBER

public static final int ADVANCED_DATAPATH_OBSERVABILITY_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

COMPONENT_CONFIG_FIELD_NUMBER

public static final int COMPONENT_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

MANAGED_PROMETHEUS_CONFIG_FIELD_NUMBER

public static final int MANAGED_PROMETHEUS_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MonitoringConfig getDefaultInstance()
Returns
TypeDescription
MonitoringConfig

getDescriptor()

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

newBuilder()

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

newBuilder(MonitoringConfig prototype)

public static MonitoringConfig.Builder newBuilder(MonitoringConfig prototype)
Parameter
NameDescription
prototypeMonitoringConfig
Returns
TypeDescription
MonitoringConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAdvancedDatapathObservabilityConfig()

public AdvancedDatapathObservabilityConfig getAdvancedDatapathObservabilityConfig()

Configuration of Advanced Datapath Observability features.

.google.container.v1.AdvancedDatapathObservabilityConfig advanced_datapath_observability_config = 3;

Returns
TypeDescription
AdvancedDatapathObservabilityConfig

The advancedDatapathObservabilityConfig.

getAdvancedDatapathObservabilityConfigOrBuilder()

public AdvancedDatapathObservabilityConfigOrBuilder getAdvancedDatapathObservabilityConfigOrBuilder()

Configuration of Advanced Datapath Observability features.

.google.container.v1.AdvancedDatapathObservabilityConfig advanced_datapath_observability_config = 3;

Returns
TypeDescription
AdvancedDatapathObservabilityConfigOrBuilder

getComponentConfig()

public MonitoringComponentConfig getComponentConfig()

Monitoring components configuration

.google.container.v1.MonitoringComponentConfig component_config = 1;

Returns
TypeDescription
MonitoringComponentConfig

The componentConfig.

getComponentConfigOrBuilder()

public MonitoringComponentConfigOrBuilder getComponentConfigOrBuilder()

Monitoring components configuration

.google.container.v1.MonitoringComponentConfig component_config = 1;

Returns
TypeDescription
MonitoringComponentConfigOrBuilder

getDefaultInstanceForType()

public MonitoringConfig getDefaultInstanceForType()
Returns
TypeDescription
MonitoringConfig

getManagedPrometheusConfig()

public ManagedPrometheusConfig getManagedPrometheusConfig()

Enable Google Cloud Managed Service for Prometheus in the cluster.

.google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2;

Returns
TypeDescription
ManagedPrometheusConfig

The managedPrometheusConfig.

getManagedPrometheusConfigOrBuilder()

public ManagedPrometheusConfigOrBuilder getManagedPrometheusConfigOrBuilder()

Enable Google Cloud Managed Service for Prometheus in the cluster.

.google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2;

Returns
TypeDescription
ManagedPrometheusConfigOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasAdvancedDatapathObservabilityConfig()

public boolean hasAdvancedDatapathObservabilityConfig()

Configuration of Advanced Datapath Observability features.

.google.container.v1.AdvancedDatapathObservabilityConfig advanced_datapath_observability_config = 3;

Returns
TypeDescription
boolean

Whether the advancedDatapathObservabilityConfig field is set.

hasComponentConfig()

public boolean hasComponentConfig()

Monitoring components configuration

.google.container.v1.MonitoringComponentConfig component_config = 1;

Returns
TypeDescription
boolean

Whether the componentConfig field is set.

hasManagedPrometheusConfig()

public boolean hasManagedPrometheusConfig()

Enable Google Cloud Managed Service for Prometheus in the cluster.

.google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2;

Returns
TypeDescription
boolean

Whether the managedPrometheusConfig field is set.

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 MonitoringConfig.Builder newBuilderForType()
Returns
TypeDescription
MonitoringConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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