Interface DescriptorProtos.ServiceDescriptorProtoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
DescriptorProtos.ServiceDescriptorProto, DescriptorProtos.ServiceDescriptorProto.Builder
Enclosing class:
DescriptorProtos

public static interface DescriptorProtos.ServiceDescriptorProtoOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getMethod(int index)
    repeated .google.protobuf.MethodDescriptorProto method = 2 [json_name = "method"];
    int
    repeated .google.protobuf.MethodDescriptorProto method = 2 [json_name = "method"];
    repeated .google.protobuf.MethodDescriptorProto method = 2 [json_name = "method"];
    optional string name = 1 [json_name = "name"];
    com.google.protobuf.ByteString
    optional string name = 1 [json_name = "name"];
    optional .google.protobuf.ServiceOptions options = 3 [json_name = "options"];
    boolean
    optional string name = 1 [json_name = "name"];
    boolean
    optional .google.protobuf.ServiceOptions options = 3 [json_name = "options"];

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • hasName

      boolean hasName()
      optional string name = 1 [json_name = "name"];
      Returns:
      Whether the name field is set.
    • getName

      String getName()
      optional string name = 1 [json_name = "name"];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
      optional string name = 1 [json_name = "name"];
      Returns:
      The bytes for name.
    • getMethodList

      repeated .google.protobuf.MethodDescriptorProto method = 2 [json_name = "method"];
    • getMethod

      repeated .google.protobuf.MethodDescriptorProto method = 2 [json_name = "method"];
    • getMethodCount

      int getMethodCount()
      repeated .google.protobuf.MethodDescriptorProto method = 2 [json_name = "method"];
    • hasOptions

      boolean hasOptions()
      optional .google.protobuf.ServiceOptions options = 3 [json_name = "options"];
      Returns:
      Whether the options field is set.
    • getOptions

      optional .google.protobuf.ServiceOptions options = 3 [json_name = "options"];
      Returns:
      The options.