Interface GrpcMethodList.ServiceOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GrpcMethodList.Service, GrpcMethodList.Service.Builder
Enclosing class:
GrpcMethodList

public static interface GrpcMethodList.ServiceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getMethodNames(int index)
    The names of the gRPC methods in this service.
    com.google.protobuf.ByteString
    The names of the gRPC methods in this service.
    int
    The names of the gRPC methods in this service.
    The names of the gRPC methods in this service.
    The name of the gRPC service.
    com.google.protobuf.ByteString
    The name of the gRPC service.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getName

      String getName()
       The name of the gRPC service.
       
      string name = 1 [(.validate.rules) = { ... }
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The name of the gRPC service.
       
      string name = 1 [(.validate.rules) = { ... }
      Returns:
      The bytes for name.
    • getMethodNamesList

      List<String> getMethodNamesList()
       The names of the gRPC methods in this service.
       
      repeated string method_names = 2 [(.validate.rules) = { ... }
      Returns:
      A list containing the methodNames.
    • getMethodNamesCount

      int getMethodNamesCount()
       The names of the gRPC methods in this service.
       
      repeated string method_names = 2 [(.validate.rules) = { ... }
      Returns:
      The count of methodNames.
    • getMethodNames

      String getMethodNames(int index)
       The names of the gRPC methods in this service.
       
      repeated string method_names = 2 [(.validate.rules) = { ... }
      Parameters:
      index - The index of the element to return.
      Returns:
      The methodNames at the given index.
    • getMethodNamesBytes

      com.google.protobuf.ByteString getMethodNamesBytes(int index)
       The names of the gRPC methods in this service.
       
      repeated string method_names = 2 [(.validate.rules) = { ... }
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the methodNames at the given index.