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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ExtensionChain.MatchCondition.BuilderImplements
ExtensionChain.MatchConditionOrBuilderStatic 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 |
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 |
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 |
clearOneof(Descriptors.OneofDescriptor oneof)
public ExtensionChain.MatchCondition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ExtensionChain.MatchCondition.Builder |
clone()
public ExtensionChain.MatchCondition.Builder clone()
Returns | |
---|---|
Type | Description |
ExtensionChain.MatchCondition.Builder |
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 |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExtensionChain.MatchCondition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ExtensionChain.MatchCondition.Builder |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final ExtensionChain.MatchCondition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ExtensionChain.MatchCondition.Builder |