Class ExtensionChain.MatchCondition.Builder (0.2.0)

public static final class ExtensionChain.MatchCondition.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ExtensionChain.MatchCondition.Builder clone()
Returns
Type Description
ExtensionChain.MatchCondition.Builder
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

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExtensionChain.MatchCondition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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