Class ExtensionChain.MatchCondition (0.11.0)

public static final class ExtensionChain.MatchCondition extends GeneratedMessageV3 implements ExtensionChain.MatchConditionOrBuilder

Conditions under which this chain is invoked for a request.

Protobuf type google.cloud.networkservices.v1.ExtensionChain.MatchCondition

Static Fields

CEL_EXPRESSION_FIELD_NUMBER

public static final int CEL_EXPRESSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExtensionChain.MatchCondition getDefaultInstance()
Returns
Type Description
ExtensionChain.MatchCondition

getDescriptor()

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

newBuilder()

public static ExtensionChain.MatchCondition.Builder newBuilder()
Returns
Type Description
ExtensionChain.MatchCondition.Builder

newBuilder(ExtensionChain.MatchCondition prototype)

public static ExtensionChain.MatchCondition.Builder newBuilder(ExtensionChain.MatchCondition prototype)
Parameter
Name Description
prototype ExtensionChain.MatchCondition
Returns
Type Description
ExtensionChain.MatchCondition.Builder

parseDelimitedFrom(InputStream input)

public static ExtensionChain.MatchCondition parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExtensionChain.MatchCondition
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExtensionChain.MatchCondition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExtensionChain.MatchCondition
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ExtensionChain.MatchCondition parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ExtensionChain.MatchCondition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExtensionChain.MatchCondition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExtensionChain.MatchCondition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExtensionChain.MatchCondition parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ExtensionChain.MatchCondition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExtensionChain.MatchCondition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExtensionChain.MatchCondition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExtensionChain.MatchCondition parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExtensionChain.MatchCondition
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExtensionChain.MatchCondition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExtensionChain.MatchCondition
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ExtensionChain.MatchCondition parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExtensionChain.MatchCondition
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExtensionChain.MatchCondition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExtensionChain.MatchCondition
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ExtensionChain.MatchCondition parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExtensionChain.MatchCondition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExtensionChain.MatchCondition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExtensionChain.MatchCondition
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ExtensionChain.MatchCondition> parser()
Returns
Type Description
Parser<MatchCondition>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCelExpression()

public String getCelExpression()

Required. A Common Expression Language (CEL) expression that is used to match requests for which the extension chain is executed.

For more information, see CEL matcher language reference.

string cel_expression = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The celExpression.

getCelExpressionBytes()

public ByteString getCelExpressionBytes()

Required. A Common Expression Language (CEL) expression that is used to match requests for which the extension chain is executed.

For more information, see CEL matcher language reference.

string cel_expression = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for celExpression.

getDefaultInstanceForType()

public ExtensionChain.MatchCondition getDefaultInstanceForType()
Returns
Type Description
ExtensionChain.MatchCondition

getParserForType()

public Parser<ExtensionChain.MatchCondition> getParserForType()
Returns
Type Description
Parser<MatchCondition>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ExtensionChain.MatchCondition.Builder newBuilderForType()
Returns
Type Description
ExtensionChain.MatchCondition.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExtensionChain.MatchCondition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExtensionChain.MatchCondition.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ExtensionChain.MatchCondition.Builder toBuilder()
Returns
Type Description
ExtensionChain.MatchCondition.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException