Class ExtensionChain.MatchCondition.Builder (0.39.0)

public static final class ExtensionChain.MatchCondition.Builder extends GeneratedMessage.Builder<ExtensionChain.MatchCondition.Builder> implements ExtensionChain.MatchConditionOrBuilder

Conditions under which this chain is invoked for a request.

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

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

public ExtensionChain.MatchCondition.Builder clear()
Returns
Type Description
ExtensionChain.MatchCondition.Builder
Overrides

clearCelExpression()

public ExtensionChain.MatchCondition.Builder clearCelExpression()

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
ExtensionChain.MatchCondition.Builder

This builder for chaining.

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

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExtensionChain.MatchCondition other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setCelExpression(String value)

public ExtensionChain.MatchCondition.Builder setCelExpression(String value)

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];

Parameter
Name Description
value String

The celExpression to set.

Returns
Type Description
ExtensionChain.MatchCondition.Builder

This builder for chaining.

setCelExpressionBytes(ByteString value)

public ExtensionChain.MatchCondition.Builder setCelExpressionBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for celExpression to set.

Returns
Type Description
ExtensionChain.MatchCondition.Builder

This builder for chaining.