Class GrpcRoute.MethodMatch (0.23.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.23.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  GrpcRoute . MethodMatch   extends   GeneratedMessageV3   implements   GrpcRoute . MethodMatchOrBuilder  
   Specifies a match against a method.
 Protobuf type google.cloud.networkservices.v1.GrpcRoute.MethodMatch
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static 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 ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   GrpcRoute . MethodMatch . Builder   newBuilder ()  
  
  newBuilder(GrpcRoute.MethodMatch prototype) 
  
    
public   static   GrpcRoute . MethodMatch . Builder   newBuilder ( GrpcRoute . MethodMatch   prototype )  
  
  
  
    
public   static   GrpcRoute . MethodMatch   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   GrpcRoute . MethodMatch   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   GrpcRoute . MethodMatch   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   GrpcRoute . MethodMatch   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   GrpcRoute . MethodMatch   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   GrpcRoute . MethodMatch   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   GrpcRoute . MethodMatch   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   GrpcRoute . MethodMatch   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   GrpcRoute . MethodMatch   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   GrpcRoute . MethodMatch   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   GrpcRoute . MethodMatch   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   GrpcRoute . MethodMatch   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<GrpcRoute . MethodMatch >  parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  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 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        boolean The caseSensitive.
 
     
  
  getDefaultInstanceForType() 
  
    
public   GrpcRoute . MethodMatch   getDefaultInstanceForType ()  
  
  getGrpcMethod() 
  
    
public   String   getGrpcMethod ()  
   Required. Name of the method to match against. If unspecified, will match
 all methods.
 string grpc_method = 3 [(.google.api.field_behavior) = REQUIRED];
    
      
        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 [(.google.api.field_behavior) = REQUIRED];
    
      
        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 [(.google.api.field_behavior) = REQUIRED];
    
      
        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 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for grpcService.
 
     
  
  getParserForType() 
  
    
public   Parser<GrpcRoute . MethodMatch >  getParserForType ()  
  
  Overrides 
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  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.cloud.networkservices.v1.GrpcRoute.MethodMatch.Type type = 1 [(.google.api.field_behavior) = OPTIONAL];
 
getTypeValue() 
  
    
public   int   getTypeValue ()  
   Optional. Specifies how to match against the name. If not specified, a
 default value of "EXACT" is used.
 
 .google.cloud.networkservices.v1.GrpcRoute.MethodMatch.Type type = 1 [(.google.api.field_behavior) = OPTIONAL];
 
    
      
        Returns  
      
        Type Description  
      
        int The enum numeric value on the wire for type.
 
     
  
  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 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the caseSensitive field is set.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   GrpcRoute . MethodMatch . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   GrpcRoute . MethodMatch . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   GrpcRoute . MethodMatch . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]