Class CloudMonitoringConfig (0.55.0)

public final class CloudMonitoringConfig extends GeneratedMessageV3 implements CloudMonitoringConfigOrBuilder

CloudMonitoringConfig defines the configuration for built-in Cloud Logging and Monitoring. Only for Attached Clusters.

Protobuf type google.cloud.gkemulticloud.v1.CloudMonitoringConfig

Static Fields

ENABLED_FIELD_NUMBER

public static final int ENABLED_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CloudMonitoringConfig getDefaultInstance()
Returns
Type Description
CloudMonitoringConfig

getDescriptor()

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

newBuilder()

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

newBuilder(CloudMonitoringConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CloudMonitoringConfig getDefaultInstanceForType()
Returns
Type Description
CloudMonitoringConfig

getEnabled()

public boolean getEnabled()

Enable GKE-native logging and metrics. Only for Attached Clusters.

optional bool enabled = 1;

Returns
Type Description
boolean

The enabled.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasEnabled()

public boolean hasEnabled()

Enable GKE-native logging and metrics. Only for Attached Clusters.

optional bool enabled = 1;

Returns
Type Description
boolean

Whether the enabled field is set.

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 CloudMonitoringConfig.Builder newBuilderForType()
Returns
Type Description
CloudMonitoringConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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