Class LoggingVariantConfig (2.39.0)

public final class LoggingVariantConfig extends GeneratedMessageV3 implements LoggingVariantConfigOrBuilder

LoggingVariantConfig specifies the behaviour of the logging component.

Protobuf type google.container.v1.LoggingVariantConfig

Static Fields

VARIANT_FIELD_NUMBER

public static final int VARIANT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static LoggingVariantConfig getDefaultInstance()
Returns
TypeDescription
LoggingVariantConfig

getDescriptor()

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

newBuilder()

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

newBuilder(LoggingVariantConfig prototype)

public static LoggingVariantConfig.Builder newBuilder(LoggingVariantConfig prototype)
Parameter
NameDescription
prototypeLoggingVariantConfig
Returns
TypeDescription
LoggingVariantConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public LoggingVariantConfig getDefaultInstanceForType()
Returns
TypeDescription
LoggingVariantConfig

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getVariant()

public LoggingVariantConfig.Variant getVariant()

Logging variant deployed on nodes.

.google.container.v1.LoggingVariantConfig.Variant variant = 1;

Returns
TypeDescription
LoggingVariantConfig.Variant

The variant.

getVariantValue()

public int getVariantValue()

Logging variant deployed on nodes.

.google.container.v1.LoggingVariantConfig.Variant variant = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for variant.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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