public static interface GrpcRoute.RouteMatchOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getHeaders(int index)
public abstract GrpcRoute.HeaderMatch getHeaders(int index)
Optional. Specifies a collection of headers to match.
repeated .google.events.cloud.networkservices.v1.GrpcRoute.HeaderMatch headers = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
GrpcRoute.HeaderMatch |
getHeadersCount()
public abstract int getHeadersCount()
Optional. Specifies a collection of headers to match.
repeated .google.events.cloud.networkservices.v1.GrpcRoute.HeaderMatch headers = 2;
Returns | |
---|---|
Type | Description |
int |
getHeadersList()
public abstract List<GrpcRoute.HeaderMatch> getHeadersList()
Optional. Specifies a collection of headers to match.
repeated .google.events.cloud.networkservices.v1.GrpcRoute.HeaderMatch headers = 2;
Returns | |
---|---|
Type | Description |
List<HeaderMatch> |
getHeadersOrBuilder(int index)
public abstract GrpcRoute.HeaderMatchOrBuilder getHeadersOrBuilder(int index)
Optional. Specifies a collection of headers to match.
repeated .google.events.cloud.networkservices.v1.GrpcRoute.HeaderMatch headers = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
GrpcRoute.HeaderMatchOrBuilder |
getHeadersOrBuilderList()
public abstract List<? extends GrpcRoute.HeaderMatchOrBuilder> getHeadersOrBuilderList()
Optional. Specifies a collection of headers to match.
repeated .google.events.cloud.networkservices.v1.GrpcRoute.HeaderMatch headers = 2;
Returns | |
---|---|
Type | Description |
List<? extends com.google.events.cloud.networkservices.v1.GrpcRoute.HeaderMatchOrBuilder> |
getMethod()
public abstract GrpcRoute.MethodMatch getMethod()
Optional. A gRPC method to match against. If this field is empty or omitted, will match all methods.
optional .google.events.cloud.networkservices.v1.GrpcRoute.MethodMatch method = 1;
Returns | |
---|---|
Type | Description |
GrpcRoute.MethodMatch |
The method. |
getMethodOrBuilder()
public abstract GrpcRoute.MethodMatchOrBuilder getMethodOrBuilder()
Optional. A gRPC method to match against. If this field is empty or omitted, will match all methods.
optional .google.events.cloud.networkservices.v1.GrpcRoute.MethodMatch method = 1;
Returns | |
---|---|
Type | Description |
GrpcRoute.MethodMatchOrBuilder |
hasMethod()
public abstract boolean hasMethod()
Optional. A gRPC method to match against. If this field is empty or omitted, will match all methods.
optional .google.events.cloud.networkservices.v1.GrpcRoute.MethodMatch method = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the method field is set. |