Class AdvancedDatapathObservabilityConfig.Builder (2.49.0)

public static final class AdvancedDatapathObservabilityConfig.Builder extends GeneratedMessageV3.Builder<AdvancedDatapathObservabilityConfig.Builder> implements AdvancedDatapathObservabilityConfigOrBuilder

AdvancedDatapathObservabilityConfig specifies configuration of observability features of advanced datapath.

Protobuf type google.container.v1.AdvancedDatapathObservabilityConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AdvancedDatapathObservabilityConfig build()
Returns
Type Description
AdvancedDatapathObservabilityConfig

buildPartial()

public AdvancedDatapathObservabilityConfig buildPartial()
Returns
Type Description
AdvancedDatapathObservabilityConfig

clear()

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

clearEnableMetrics()

public AdvancedDatapathObservabilityConfig.Builder clearEnableMetrics()

Expose flow metrics on nodes

bool enable_metrics = 1;

Returns
Type Description
AdvancedDatapathObservabilityConfig.Builder

This builder for chaining.

clearEnableRelay()

public AdvancedDatapathObservabilityConfig.Builder clearEnableRelay()

Enable Relay component

optional bool enable_relay = 3;

Returns
Type Description
AdvancedDatapathObservabilityConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRelayMode()

public AdvancedDatapathObservabilityConfig.Builder clearRelayMode()

Method used to make Relay available

.google.container.v1.AdvancedDatapathObservabilityConfig.RelayMode relay_mode = 2;

Returns
Type Description
AdvancedDatapathObservabilityConfig.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public AdvancedDatapathObservabilityConfig getDefaultInstanceForType()
Returns
Type Description
AdvancedDatapathObservabilityConfig

getDescriptorForType()

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

getEnableMetrics()

public boolean getEnableMetrics()

Expose flow metrics on nodes

bool enable_metrics = 1;

Returns
Type Description
boolean

The enableMetrics.

getEnableRelay()

public boolean getEnableRelay()

Enable Relay component

optional bool enable_relay = 3;

Returns
Type Description
boolean

The enableRelay.

getRelayMode()

public AdvancedDatapathObservabilityConfig.RelayMode getRelayMode()

Method used to make Relay available

.google.container.v1.AdvancedDatapathObservabilityConfig.RelayMode relay_mode = 2;

Returns
Type Description
AdvancedDatapathObservabilityConfig.RelayMode

The relayMode.

getRelayModeValue()

public int getRelayModeValue()

Method used to make Relay available

.google.container.v1.AdvancedDatapathObservabilityConfig.RelayMode relay_mode = 2;

Returns
Type Description
int

The enum numeric value on the wire for relayMode.

hasEnableRelay()

public boolean hasEnableRelay()

Enable Relay component

optional bool enable_relay = 3;

Returns
Type Description
boolean

Whether the enableRelay field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AdvancedDatapathObservabilityConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEnableMetrics(boolean value)

public AdvancedDatapathObservabilityConfig.Builder setEnableMetrics(boolean value)

Expose flow metrics on nodes

bool enable_metrics = 1;

Parameter
Name Description
value boolean

The enableMetrics to set.

Returns
Type Description
AdvancedDatapathObservabilityConfig.Builder

This builder for chaining.

setEnableRelay(boolean value)

public AdvancedDatapathObservabilityConfig.Builder setEnableRelay(boolean value)

Enable Relay component

optional bool enable_relay = 3;

Parameter
Name Description
value boolean

The enableRelay to set.

Returns
Type Description
AdvancedDatapathObservabilityConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setRelayMode(AdvancedDatapathObservabilityConfig.RelayMode value)

public AdvancedDatapathObservabilityConfig.Builder setRelayMode(AdvancedDatapathObservabilityConfig.RelayMode value)

Method used to make Relay available

.google.container.v1.AdvancedDatapathObservabilityConfig.RelayMode relay_mode = 2;

Parameter
Name Description
value AdvancedDatapathObservabilityConfig.RelayMode

The relayMode to set.

Returns
Type Description
AdvancedDatapathObservabilityConfig.Builder

This builder for chaining.

setRelayModeValue(int value)

public AdvancedDatapathObservabilityConfig.Builder setRelayModeValue(int value)

Method used to make Relay available

.google.container.v1.AdvancedDatapathObservabilityConfig.RelayMode relay_mode = 2;

Parameter
Name Description
value int

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

Returns
Type Description
AdvancedDatapathObservabilityConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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