Class AdvancedDatapathObservabilityConfig (2.44.0)

public final class AdvancedDatapathObservabilityConfig extends GeneratedMessageV3 implements AdvancedDatapathObservabilityConfigOrBuilder

AdvancedDatapathObservabilityConfig specifies configuration of observability features of advanced datapath.

Protobuf type google.container.v1.AdvancedDatapathObservabilityConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AdvancedDatapathObservabilityConfig

Static Fields

ENABLE_METRICS_FIELD_NUMBER

public static final int ENABLE_METRICS_FIELD_NUMBER
Field Value
TypeDescription
int

ENABLE_RELAY_FIELD_NUMBER

public static final int ENABLE_RELAY_FIELD_NUMBER
Field Value
TypeDescription
int

RELAY_MODE_FIELD_NUMBER

public static final int RELAY_MODE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AdvancedDatapathObservabilityConfig getDefaultInstance()
Returns
TypeDescription
AdvancedDatapathObservabilityConfig

getDescriptor()

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

newBuilder()

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

newBuilder(AdvancedDatapathObservabilityConfig prototype)

public static AdvancedDatapathObservabilityConfig.Builder newBuilder(AdvancedDatapathObservabilityConfig prototype)
Parameter
NameDescription
prototypeAdvancedDatapathObservabilityConfig
Returns
TypeDescription
AdvancedDatapathObservabilityConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AdvancedDatapathObservabilityConfig getDefaultInstanceForType()
Returns
TypeDescription
AdvancedDatapathObservabilityConfig

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.

getParserForType()

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

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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasEnableRelay()

public boolean hasEnableRelay()

Enable Relay component

optional bool enable_relay = 3;

Returns
TypeDescription
boolean

Whether the enableRelay field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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