Interface ExtensionBinding.MatchCondition.To.DestinationOrBuilder (0.55.0)

public static interface ExtensionBinding.MatchCondition.To.DestinationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHeaderSet()

public abstract ExtensionBinding.MatchCondition.To.Destination.HeaderSet getHeaderSet()

Optional. A set of HTTP headers to match against. If not specified, requests with any headers are matched.

.google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.To.Destination.HeaderSet header_set = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination.HeaderSet

The headerSet.

getHeaderSetOrBuilder()

public abstract ExtensionBinding.MatchCondition.To.Destination.HeaderSetOrBuilder getHeaderSetOrBuilder()

Optional. A set of HTTP headers to match against. If not specified, requests with any headers are matched.

.google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.To.Destination.HeaderSet header_set = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination.HeaderSetOrBuilder

getHosts(int index)

public abstract ExtensionBinding.MatchCondition.StringMatch getHosts(int index)

Optional. A list of HTTP Hosts to match against. Limited to 10 hosts. If not specified, any host is allowed. If specified, a match occurs if any of the hosts matches the host value in the request.

repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.StringMatch hosts = 3 [(.google.api.field_behavior) = OPTIONAL];

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

getHostsCount()

public abstract int getHostsCount()

Optional. A list of HTTP Hosts to match against. Limited to 10 hosts. If not specified, any host is allowed. If specified, a match occurs if any of the hosts matches the host value in the request.

repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.StringMatch hosts = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getHostsList()

public abstract List<ExtensionBinding.MatchCondition.StringMatch> getHostsList()

Optional. A list of HTTP Hosts to match against. Limited to 10 hosts. If not specified, any host is allowed. If specified, a match occurs if any of the hosts matches the host value in the request.

repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.StringMatch hosts = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<StringMatch>

getHostsOrBuilder(int index)

public abstract ExtensionBinding.MatchCondition.StringMatchOrBuilder getHostsOrBuilder(int index)

Optional. A list of HTTP Hosts to match against. Limited to 10 hosts. If not specified, any host is allowed. If specified, a match occurs if any of the hosts matches the host value in the request.

repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.StringMatch hosts = 3 [(.google.api.field_behavior) = OPTIONAL];

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

getHostsOrBuilderList()

public abstract List<? extends ExtensionBinding.MatchCondition.StringMatchOrBuilder> getHostsOrBuilderList()

Optional. A list of HTTP Hosts to match against. Limited to 10 hosts. If not specified, any host is allowed. If specified, a match occurs if any of the hosts matches the host value in the request.

repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.StringMatch hosts = 3 [(.google.api.field_behavior) = OPTIONAL];

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

getPaths(int index)

public abstract ExtensionBinding.MatchCondition.StringMatch getPaths(int index)

Optional. A list of paths to match against. Limited to 10 paths. If not specified, any path is allowed.

Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method.

repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.StringMatch paths = 4 [(.google.api.field_behavior) = OPTIONAL];

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

getPathsCount()

public abstract int getPathsCount()

Optional. A list of paths to match against. Limited to 10 paths. If not specified, any path is allowed.

Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method.

repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.StringMatch paths = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getPathsList()

public abstract List<ExtensionBinding.MatchCondition.StringMatch> getPathsList()

Optional. A list of paths to match against. Limited to 10 paths. If not specified, any path is allowed.

Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method.

repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.StringMatch paths = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<StringMatch>

getPathsOrBuilder(int index)

public abstract ExtensionBinding.MatchCondition.StringMatchOrBuilder getPathsOrBuilder(int index)

Optional. A list of paths to match against. Limited to 10 paths. If not specified, any path is allowed.

Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method.

repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.StringMatch paths = 4 [(.google.api.field_behavior) = OPTIONAL];

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

getPathsOrBuilderList()

public abstract List<? extends ExtensionBinding.MatchCondition.StringMatchOrBuilder> getPathsOrBuilderList()

Optional. A list of paths to match against. Limited to 10 paths. If not specified, any path is allowed.

Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method.

repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.StringMatch paths = 4 [(.google.api.field_behavior) = OPTIONAL];

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

getResources(int index)

public abstract ExtensionBinding.MatchCondition.StringMatch getResources(int index)

Optional. A list of non-empty strings whose value is matched against the resource to which a request is sent (e.g., an Agent in AiApplication). If not specified, any resource is allowed. If specified, a match occurs if any of the resources matches the resource value in the request. Limited to 5 resources. When matching against resources in the AgentRegistry, use the URNs of the registry resources.

repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.StringMatch resources = 2 [(.google.api.field_behavior) = OPTIONAL];

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

getResourcesCount()

public abstract int getResourcesCount()

Optional. A list of non-empty strings whose value is matched against the resource to which a request is sent (e.g., an Agent in AiApplication). If not specified, any resource is allowed. If specified, a match occurs if any of the resources matches the resource value in the request. Limited to 5 resources. When matching against resources in the AgentRegistry, use the URNs of the registry resources.

repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.StringMatch resources = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getResourcesList()

public abstract List<ExtensionBinding.MatchCondition.StringMatch> getResourcesList()

Optional. A list of non-empty strings whose value is matched against the resource to which a request is sent (e.g., an Agent in AiApplication). If not specified, any resource is allowed. If specified, a match occurs if any of the resources matches the resource value in the request. Limited to 5 resources. When matching against resources in the AgentRegistry, use the URNs of the registry resources.

repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.StringMatch resources = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<StringMatch>

getResourcesOrBuilder(int index)

public abstract ExtensionBinding.MatchCondition.StringMatchOrBuilder getResourcesOrBuilder(int index)

Optional. A list of non-empty strings whose value is matched against the resource to which a request is sent (e.g., an Agent in AiApplication). If not specified, any resource is allowed. If specified, a match occurs if any of the resources matches the resource value in the request. Limited to 5 resources. When matching against resources in the AgentRegistry, use the URNs of the registry resources.

repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.StringMatch resources = 2 [(.google.api.field_behavior) = OPTIONAL];

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

getResourcesOrBuilderList()

public abstract List<? extends ExtensionBinding.MatchCondition.StringMatchOrBuilder> getResourcesOrBuilderList()

Optional. A list of non-empty strings whose value is matched against the resource to which a request is sent (e.g., an Agent in AiApplication). If not specified, any resource is allowed. If specified, a match occurs if any of the resources matches the resource value in the request. Limited to 5 resources. When matching against resources in the AgentRegistry, use the URNs of the registry resources.

repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.StringMatch resources = 2 [(.google.api.field_behavior) = OPTIONAL];

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

hasHeaderSet()

public abstract boolean hasHeaderSet()

Optional. A set of HTTP headers to match against. If not specified, requests with any headers are matched.

.google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.To.Destination.HeaderSet header_set = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the headerSet field is set.