Package io.grpc.benchmarks.proto
Interface Messages.SimpleResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Messages.SimpleResponse,Messages.SimpleResponse.Builder
- Enclosing class:
- Messages
public static interface Messages.SimpleResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetOauthScope()OAuth scope.com.google.protobuf.ByteStringgetOauthScopeBytes()OAuth scope.Messages.PayloadgetPayload()Payload to increase message size.Messages.PayloadOrBuildergetPayloadOrBuilder()Payload to increase message size.java.lang.StringgetUsername()The user the request came from, for verifying authentication was successful when the client expected it.com.google.protobuf.ByteStringgetUsernameBytes()The user the request came from, for verifying authentication was successful when the client expected it.booleanhasPayload()Payload to increase message size.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasPayload
boolean hasPayload()
Payload to increase message size.
.grpc.testing.Payload payload = 1;- Returns:
- Whether the payload field is set.
-
getPayload
Messages.Payload getPayload()
Payload to increase message size.
.grpc.testing.Payload payload = 1;- Returns:
- The payload.
-
getPayloadOrBuilder
Messages.PayloadOrBuilder getPayloadOrBuilder()
Payload to increase message size.
.grpc.testing.Payload payload = 1;
-
getUsername
java.lang.String getUsername()
The user the request came from, for verifying authentication was successful when the client expected it.
string username = 2;- Returns:
- The username.
-
getUsernameBytes
com.google.protobuf.ByteString getUsernameBytes()
The user the request came from, for verifying authentication was successful when the client expected it.
string username = 2;- Returns:
- The bytes for username.
-
getOauthScope
java.lang.String getOauthScope()
OAuth scope.
string oauth_scope = 3;- Returns:
- The oauthScope.
-
getOauthScopeBytes
com.google.protobuf.ByteString getOauthScopeBytes()
OAuth scope.
string oauth_scope = 3;- Returns:
- The bytes for oauthScope.
-
-