Class AdvancedDatapathObservabilityConfig.Builder (2.44.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AdvancedDatapathObservabilityConfig build()
Returns
TypeDescription
AdvancedDatapathObservabilityConfig

buildPartial()

public AdvancedDatapathObservabilityConfig buildPartial()
Returns
TypeDescription
AdvancedDatapathObservabilityConfig

clear()

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

clearEnableMetrics()

public AdvancedDatapathObservabilityConfig.Builder clearEnableMetrics()

Expose flow metrics on nodes

bool enable_metrics = 1;

Returns
TypeDescription
AdvancedDatapathObservabilityConfig.Builder

This builder for chaining.

clearEnableRelay()

public AdvancedDatapathObservabilityConfig.Builder clearEnableRelay()

Enable Relay component

optional bool enable_relay = 3;

Returns
TypeDescription
AdvancedDatapathObservabilityConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRelayMode()

public AdvancedDatapathObservabilityConfig.Builder clearRelayMode()

Method used to make Relay available

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

Returns
TypeDescription
AdvancedDatapathObservabilityConfig.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public AdvancedDatapathObservabilityConfig getDefaultInstanceForType()
Returns
TypeDescription
AdvancedDatapathObservabilityConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnableMetrics()

public boolean getEnableMetrics()

Expose flow metrics on nodes

bool enable_metrics = 1;

Returns
TypeDescription
boolean

The enableMetrics.

getEnableRelay()

public boolean getEnableRelay()

Enable Relay component

optional bool enable_relay = 3;

Returns
TypeDescription
boolean

The enableRelay.

getRelayMode()

public AdvancedDatapathObservabilityConfig.RelayMode getRelayMode()

Method used to make Relay available

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

Returns
TypeDescription
AdvancedDatapathObservabilityConfig.RelayMode

The relayMode.

getRelayModeValue()

public int getRelayModeValue()

Method used to make Relay available

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

Returns
TypeDescription
int

The enum numeric value on the wire for relayMode.

hasEnableRelay()

public boolean hasEnableRelay()

Enable Relay component

optional bool enable_relay = 3;

Returns
TypeDescription
boolean

Whether the enableRelay field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AdvancedDatapathObservabilityConfig other)

public AdvancedDatapathObservabilityConfig.Builder mergeFrom(AdvancedDatapathObservabilityConfig other)
Parameter
NameDescription
otherAdvancedDatapathObservabilityConfig
Returns
TypeDescription
AdvancedDatapathObservabilityConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEnableMetrics(boolean value)

public AdvancedDatapathObservabilityConfig.Builder setEnableMetrics(boolean value)

Expose flow metrics on nodes

bool enable_metrics = 1;

Parameter
NameDescription
valueboolean

The enableMetrics to set.

Returns
TypeDescription
AdvancedDatapathObservabilityConfig.Builder

This builder for chaining.

setEnableRelay(boolean value)

public AdvancedDatapathObservabilityConfig.Builder setEnableRelay(boolean value)

Enable Relay component

optional bool enable_relay = 3;

Parameter
NameDescription
valueboolean

The enableRelay to set.

Returns
TypeDescription
AdvancedDatapathObservabilityConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AdvancedDatapathObservabilityConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueAdvancedDatapathObservabilityConfig.RelayMode

The relayMode to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AdvancedDatapathObservabilityConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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