Class LoggingVariantConfig.Builder (2.36.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.v1beta1.LoggingVariantConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LoggingVariantConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LoggingVariantConfig.Builder
Overrides

build()

public LoggingVariantConfig build()
Returns
TypeDescription
LoggingVariantConfig

buildPartial()

public LoggingVariantConfig buildPartial()
Returns
TypeDescription
LoggingVariantConfig

clear()

public LoggingVariantConfig.Builder clear()
Returns
TypeDescription
LoggingVariantConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public LoggingVariantConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
LoggingVariantConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public LoggingVariantConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
LoggingVariantConfig.Builder
Overrides

clearVariant()

public LoggingVariantConfig.Builder clearVariant()

Logging variant deployed on nodes.

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

Returns
TypeDescription
LoggingVariantConfig.Builder

This builder for chaining.

clone()

public LoggingVariantConfig.Builder clone()
Returns
TypeDescription
LoggingVariantConfig.Builder
Overrides

getDefaultInstanceForType()

public LoggingVariantConfig getDefaultInstanceForType()
Returns
TypeDescription
LoggingVariantConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getVariant()

public LoggingVariantConfig.Variant getVariant()

Logging variant deployed on nodes.

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

Returns
TypeDescription
LoggingVariantConfig.Variant

The variant.

getVariantValue()

public int getVariantValue()

Logging variant deployed on nodes.

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

Returns
TypeDescription
int

The enum numeric value on the wire for variant.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(LoggingVariantConfig other)

public LoggingVariantConfig.Builder mergeFrom(LoggingVariantConfig other)
Parameter
NameDescription
otherLoggingVariantConfig
Returns
TypeDescription
LoggingVariantConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LoggingVariantConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LoggingVariantConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public LoggingVariantConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
LoggingVariantConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LoggingVariantConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LoggingVariantConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public LoggingVariantConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LoggingVariantConfig.Builder
Overrides

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

public LoggingVariantConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
LoggingVariantConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LoggingVariantConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LoggingVariantConfig.Builder
Overrides

setVariant(LoggingVariantConfig.Variant value)

public LoggingVariantConfig.Builder setVariant(LoggingVariantConfig.Variant value)

Logging variant deployed on nodes.

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

Parameter
NameDescription
valueLoggingVariantConfig.Variant

The variant to set.

Returns
TypeDescription
LoggingVariantConfig.Builder

This builder for chaining.

setVariantValue(int value)

public LoggingVariantConfig.Builder setVariantValue(int value)

Logging variant deployed on nodes.

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

Parameter
NameDescription
valueint

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

Returns
TypeDescription
LoggingVariantConfig.Builder

This builder for chaining.