public static final class GrpcRoute.MethodMatch extends GeneratedMessageV3 implements GrpcRoute.MethodMatchOrBuilder
Specifies a match against a method.
Protobuf type google.events.cloud.networkservices.v1.GrpcRoute.MethodMatch
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > GrpcRoute.MethodMatchImplements
GrpcRoute.MethodMatchOrBuilderStatic Fields
CASE_SENSITIVE_FIELD_NUMBER
public static final int CASE_SENSITIVE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
GRPC_METHOD_FIELD_NUMBER
public static final int GRPC_METHOD_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
GRPC_SERVICE_FIELD_NUMBER
public static final int GRPC_SERVICE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static GrpcRoute.MethodMatch getDefaultInstance()
Returns | |
---|---|
Type | Description |
GrpcRoute.MethodMatch |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static GrpcRoute.MethodMatch.Builder newBuilder()
Returns | |
---|---|
Type | Description |
GrpcRoute.MethodMatch.Builder |
newBuilder(GrpcRoute.MethodMatch prototype)
public static GrpcRoute.MethodMatch.Builder newBuilder(GrpcRoute.MethodMatch prototype)
Parameter | |
---|---|
Name | Description |
prototype |
GrpcRoute.MethodMatch |
Returns | |
---|---|
Type | Description |
GrpcRoute.MethodMatch.Builder |
parseDelimitedFrom(InputStream input)
public static GrpcRoute.MethodMatch parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
GrpcRoute.MethodMatch |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GrpcRoute.MethodMatch parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GrpcRoute.MethodMatch |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static GrpcRoute.MethodMatch parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
GrpcRoute.MethodMatch |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GrpcRoute.MethodMatch parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GrpcRoute.MethodMatch |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static GrpcRoute.MethodMatch parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
GrpcRoute.MethodMatch |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GrpcRoute.MethodMatch parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GrpcRoute.MethodMatch |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static GrpcRoute.MethodMatch parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
GrpcRoute.MethodMatch |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GrpcRoute.MethodMatch parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GrpcRoute.MethodMatch |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static GrpcRoute.MethodMatch parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
GrpcRoute.MethodMatch |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GrpcRoute.MethodMatch parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GrpcRoute.MethodMatch |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static GrpcRoute.MethodMatch parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
GrpcRoute.MethodMatch |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GrpcRoute.MethodMatch parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GrpcRoute.MethodMatch |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<GrpcRoute.MethodMatch> parser()
Returns | |
---|---|
Type | Description |
Parser<MethodMatch> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getCaseSensitive()
public boolean getCaseSensitive()
Optional. Specifies that matches are case sensitive. The default value is true. case_sensitive must not be used with a type of REGULAR_EXPRESSION.
optional bool case_sensitive = 4;
Returns | |
---|---|
Type | Description |
boolean |
The caseSensitive. |
getDefaultInstanceForType()
public GrpcRoute.MethodMatch getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GrpcRoute.MethodMatch |
getGrpcMethod()
public String getGrpcMethod()
Required. Name of the method to match against. If unspecified, will match all methods.
string grpc_method = 3;
Returns | |
---|---|
Type | Description |
String |
The grpcMethod. |
getGrpcMethodBytes()
public ByteString getGrpcMethodBytes()
Required. Name of the method to match against. If unspecified, will match all methods.
string grpc_method = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for grpcMethod. |
getGrpcService()
public String getGrpcService()
Required. Name of the service to match against. If unspecified, will match all services.
string grpc_service = 2;
Returns | |
---|---|
Type | Description |
String |
The grpcService. |
getGrpcServiceBytes()
public ByteString getGrpcServiceBytes()
Required. Name of the service to match against. If unspecified, will match all services.
string grpc_service = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for grpcService. |
getParserForType()
public Parser<GrpcRoute.MethodMatch> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<MethodMatch> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getType()
public GrpcRoute.MethodMatch.Type getType()
Optional. Specifies how to match against the name. If not specified, a default value of "EXACT" is used.
.google.events.cloud.networkservices.v1.GrpcRoute.MethodMatch.Type type = 1;
Returns | |
---|---|
Type | Description |
GrpcRoute.MethodMatch.Type |
The type. |
getTypeValue()
public int getTypeValue()
Optional. Specifies how to match against the name. If not specified, a default value of "EXACT" is used.
.google.events.cloud.networkservices.v1.GrpcRoute.MethodMatch.Type type = 1;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for type. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns | |
---|---|
Type | Description |
UnknownFieldSet |
hasCaseSensitive()
public boolean hasCaseSensitive()
Optional. Specifies that matches are case sensitive. The default value is true. case_sensitive must not be used with a type of REGULAR_EXPRESSION.
optional bool case_sensitive = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the caseSensitive field is set. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public GrpcRoute.MethodMatch.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
GrpcRoute.MethodMatch.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GrpcRoute.MethodMatch.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
GrpcRoute.MethodMatch.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public GrpcRoute.MethodMatch.Builder toBuilder()
Returns | |
---|---|
Type | Description |
GrpcRoute.MethodMatch.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |