Class ExtensionBinding.MatchCondition.To.Destination (0.55.0)

public static final class ExtensionBinding.MatchCondition.To.Destination extends GeneratedMessage implements ExtensionBinding.MatchCondition.To.DestinationOrBuilder

Describes properties of a single destination.

Protobuf type google.cloud.networkservices.v1beta1.ExtensionBinding.MatchCondition.To.Destination

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ExtensionBinding.MatchCondition.To.Destination

Static Fields

HEADER_SET_FIELD_NUMBER

public static final int HEADER_SET_FIELD_NUMBER
Field Value
Type Description
int

HOSTS_FIELD_NUMBER

public static final int HOSTS_FIELD_NUMBER
Field Value
Type Description
int

PATHS_FIELD_NUMBER

public static final int PATHS_FIELD_NUMBER
Field Value
Type Description
int

RESOURCES_FIELD_NUMBER

public static final int RESOURCES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExtensionBinding.MatchCondition.To.Destination getDefaultInstance()
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination

getDescriptor()

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

newBuilder()

public static ExtensionBinding.MatchCondition.To.Destination.Builder newBuilder()
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination.Builder

newBuilder(ExtensionBinding.MatchCondition.To.Destination prototype)

public static ExtensionBinding.MatchCondition.To.Destination.Builder newBuilder(ExtensionBinding.MatchCondition.To.Destination prototype)
Parameter
Name Description
prototype ExtensionBinding.MatchCondition.To.Destination
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination.Builder

parseDelimitedFrom(InputStream input)

public static ExtensionBinding.MatchCondition.To.Destination parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExtensionBinding.MatchCondition.To.Destination parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ExtensionBinding.MatchCondition.To.Destination parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExtensionBinding.MatchCondition.To.Destination parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExtensionBinding.MatchCondition.To.Destination parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExtensionBinding.MatchCondition.To.Destination parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExtensionBinding.MatchCondition.To.Destination parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExtensionBinding.MatchCondition.To.Destination parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ExtensionBinding.MatchCondition.To.Destination parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExtensionBinding.MatchCondition.To.Destination parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ExtensionBinding.MatchCondition.To.Destination parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExtensionBinding.MatchCondition.To.Destination parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ExtensionBinding.MatchCondition.To.Destination> parser()
Returns
Type Description
Parser<Destination>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ExtensionBinding.MatchCondition.To.Destination getDefaultInstanceForType()
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination

getHeaderSet()

public 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 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 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 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 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 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 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>

getParserForType()

public Parser<ExtensionBinding.MatchCondition.To.Destination> getParserForType()
Returns
Type Description
Parser<Destination>
Overrides

getPaths(int index)

public 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 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 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 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 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 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 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 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 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 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>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasHeaderSet()

public 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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ExtensionBinding.MatchCondition.To.Destination.Builder newBuilderForType()
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ExtensionBinding.MatchCondition.To.Destination.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination.Builder
Overrides

toBuilder()

public ExtensionBinding.MatchCondition.To.Destination.Builder toBuilder()
Returns
Type Description
ExtensionBinding.MatchCondition.To.Destination.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException