Class LoggingVariantConfig.Builder (2.49.0)

public static final class LoggingVariantConfig.Builder extends GeneratedMessageV3.Builder<LoggingVariantConfig.Builder> implements LoggingVariantConfigOrBuilder

LoggingVariantConfig specifies the behaviour of the logging component.

Protobuf type google.container.v1.LoggingVariantConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LoggingVariantConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LoggingVariantConfig.Builder
Overrides

build()

public LoggingVariantConfig build()
Returns
Type Description
LoggingVariantConfig

buildPartial()

public LoggingVariantConfig buildPartial()
Returns
Type Description
LoggingVariantConfig

clear()

public LoggingVariantConfig.Builder clear()
Returns
Type Description
LoggingVariantConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public LoggingVariantConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
LoggingVariantConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public LoggingVariantConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
LoggingVariantConfig.Builder
Overrides

clearVariant()

public LoggingVariantConfig.Builder clearVariant()

Logging variant deployed on nodes.

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

Returns
Type Description
LoggingVariantConfig.Builder

This builder for chaining.

clone()

public LoggingVariantConfig.Builder clone()
Returns
Type Description
LoggingVariantConfig.Builder
Overrides

getDefaultInstanceForType()

public LoggingVariantConfig getDefaultInstanceForType()
Returns
Type Description
LoggingVariantConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getVariant()

public LoggingVariantConfig.Variant getVariant()

Logging variant deployed on nodes.

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

Returns
Type Description
LoggingVariantConfig.Variant

The variant.

getVariantValue()

public int getVariantValue()

Logging variant deployed on nodes.

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

Returns
Type Description
int

The enum numeric value on the wire for variant.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LoggingVariantConfig other)

public LoggingVariantConfig.Builder mergeFrom(LoggingVariantConfig other)
Parameter
Name Description
other LoggingVariantConfig
Returns
Type Description
LoggingVariantConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LoggingVariantConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LoggingVariantConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public LoggingVariantConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
LoggingVariantConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LoggingVariantConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LoggingVariantConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public LoggingVariantConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LoggingVariantConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public LoggingVariantConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
LoggingVariantConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LoggingVariantConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LoggingVariantConfig.Builder
Overrides

setVariant(LoggingVariantConfig.Variant value)

public LoggingVariantConfig.Builder setVariant(LoggingVariantConfig.Variant value)

Logging variant deployed on nodes.

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

Parameter
Name Description
value LoggingVariantConfig.Variant

The variant to set.

Returns
Type Description
LoggingVariantConfig.Builder

This builder for chaining.

setVariantValue(int value)

public LoggingVariantConfig.Builder setVariantValue(int value)

Logging variant deployed on nodes.

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

Parameter
Name Description
value int

The enum numeric value on the wire for variant to set.

Returns
Type Description
LoggingVariantConfig.Builder

This builder for chaining.