Interface ExtensionBinding.MatchCondition.To.Destination.HeaderSetOrBuilder (0.55.0)

public static interface ExtensionBinding.MatchCondition.To.Destination.HeaderSetOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHeaders(int index)

public abstract ExtensionBinding.MatchCondition.HeaderMatch getHeaders(int index)

Required. A list of headers to match against in http header. If multiple header matches are provided, they will be evaluated as an AND, i.e. all header matches must match for the request to match.

repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ExtensionBinding.MatchCondition.HeaderMatch

getHeadersCount()

public abstract int getHeadersCount()

Required. A list of headers to match against in http header. If multiple header matches are provided, they will be evaluated as an AND, i.e. all header matches must match for the request to match.

repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getHeadersList()

public abstract List<ExtensionBinding.MatchCondition.HeaderMatch> getHeadersList()

Required. A list of headers to match against in http header. If multiple header matches are provided, they will be evaluated as an AND, i.e. all header matches must match for the request to match.

repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<HeaderMatch>

getHeadersOrBuilder(int index)

public abstract ExtensionBinding.MatchCondition.HeaderMatchOrBuilder getHeadersOrBuilder(int index)

Required. A list of headers to match against in http header. If multiple header matches are provided, they will be evaluated as an AND, i.e. all header matches must match for the request to match.

repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ExtensionBinding.MatchCondition.HeaderMatchOrBuilder

getHeadersOrBuilderList()

public abstract List<? extends ExtensionBinding.MatchCondition.HeaderMatchOrBuilder> getHeadersOrBuilderList()

Required. A list of headers to match against in http header. If multiple header matches are provided, they will be evaluated as an AND, i.e. all header matches must match for the request to match.

repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.HeaderMatchOrBuilder>