Package io.grpc.serviceconfig
Interface MethodConfig.NameOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MethodConfig.Name,MethodConfig.Name.Builder
- Enclosing class:
- MethodConfig
public static interface MethodConfig.NameOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionstring method = 2;com.google.protobuf.ByteStringstring method = 2;Required.com.google.protobuf.ByteStringRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getService
String getService()Required. Includes proto package name.
string service = 1;- Returns:
- The service.
-
getServiceBytes
com.google.protobuf.ByteString getServiceBytes()Required. Includes proto package name.
string service = 1;- Returns:
- The bytes for service.
-
getMethod
String getMethod()string method = 2;- Returns:
- The method.
-
getMethodBytes
com.google.protobuf.ByteString getMethodBytes()string method = 2;- Returns:
- The bytes for method.
-