Class LoggingConfig (0.20.0)

public final class LoggingConfig extends GeneratedMessageV3 implements LoggingConfigOrBuilder

Parameters that describe the Logging configuration in a cluster.

Protobuf type google.cloud.gkemulticloud.v1.LoggingConfig

Static Fields

COMPONENT_CONFIG_FIELD_NUMBER

public static final int COMPONENT_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static LoggingConfig getDefaultInstance()
Returns
TypeDescription
LoggingConfig

getDescriptor()

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

newBuilder()

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

newBuilder(LoggingConfig prototype)

public static LoggingConfig.Builder newBuilder(LoggingConfig prototype)
Parameter
NameDescription
prototypeLoggingConfig
Returns
TypeDescription
LoggingConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getComponentConfig()

public LoggingComponentConfig getComponentConfig()

The configuration of the logging components;

.google.cloud.gkemulticloud.v1.LoggingComponentConfig component_config = 1;

Returns
TypeDescription
LoggingComponentConfig

The componentConfig.

getComponentConfigOrBuilder()

public LoggingComponentConfigOrBuilder getComponentConfigOrBuilder()

The configuration of the logging components;

.google.cloud.gkemulticloud.v1.LoggingComponentConfig component_config = 1;

Returns
TypeDescription
LoggingComponentConfigOrBuilder

getDefaultInstanceForType()

public LoggingConfig getDefaultInstanceForType()
Returns
TypeDescription
LoggingConfig

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasComponentConfig()

public boolean hasComponentConfig()

The configuration of the logging components;

.google.cloud.gkemulticloud.v1.LoggingComponentConfig component_config = 1;

Returns
TypeDescription
boolean

Whether the componentConfig 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 LoggingConfig.Builder newBuilderForType()
Returns
TypeDescription
LoggingConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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