Interface DescriptorProtos.ServiceDescriptorProtoOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder
- All Known Implementing Classes:
DescriptorProtos.ServiceDescriptorProto, DescriptorProtos.ServiceDescriptorProto.Builder
- Enclosing class:
DescriptorProtos
public static interface DescriptorProtos.ServiceDescriptorProtoOrBuilder
extends MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetMethod(int index) repeated .google.protobuf.MethodDescriptorProto method = 2;intrepeated .google.protobuf.MethodDescriptorProto method = 2;repeated .google.protobuf.MethodDescriptorProto method = 2;getName()optional string name = 1;optional string name = 1;optional .google.protobuf.ServiceOptions options = 3;booleanhasName()optional string name = 1;booleanoptional .google.protobuf.ServiceOptions options = 3;Methods inherited from interface MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasName
boolean hasName()optional string name = 1;- Returns:
- Whether the name field is set.
-
getName
-
getNameBytes
-
getMethodList
List<DescriptorProtos.MethodDescriptorProto> getMethodList()repeated .google.protobuf.MethodDescriptorProto method = 2; -
getMethod
repeated .google.protobuf.MethodDescriptorProto method = 2; -
getMethodCount
int getMethodCount()repeated .google.protobuf.MethodDescriptorProto method = 2; -
hasOptions
boolean hasOptions()optional .google.protobuf.ServiceOptions options = 3;- Returns:
- Whether the options field is set.
-
getOptions
DescriptorProtos.ServiceOptions getOptions()optional .google.protobuf.ServiceOptions options = 3;- Returns:
- The options.
-