Package io.grpc.testing.integration
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 Messages.GrpclbRouteTypegetGrpclbRouteType()gRPCLB Path.intgetGrpclbRouteTypeValue()gRPCLB Path.java.lang.StringgetHostname()Server hostname.com.google.protobuf.ByteStringgetHostnameBytes()Server hostname.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.StringgetServerId()Server ID.com.google.protobuf.ByteStringgetServerIdBytes()Server ID.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.
-
getServerId
java.lang.String getServerId()
Server ID. This must be unique among different server instances, but the same across all RPC's made to a particular server instance.
string server_id = 4;- Returns:
- The serverId.
-
getServerIdBytes
com.google.protobuf.ByteString getServerIdBytes()
Server ID. This must be unique among different server instances, but the same across all RPC's made to a particular server instance.
string server_id = 4;- Returns:
- The bytes for serverId.
-
getGrpclbRouteTypeValue
int getGrpclbRouteTypeValue()
gRPCLB Path.
.grpc.testing.GrpclbRouteType grpclb_route_type = 5;- Returns:
- The enum numeric value on the wire for grpclbRouteType.
-
getGrpclbRouteType
Messages.GrpclbRouteType getGrpclbRouteType()
gRPCLB Path.
.grpc.testing.GrpclbRouteType grpclb_route_type = 5;- Returns:
- The grpclbRouteType.
-
getHostname
java.lang.String getHostname()
Server hostname.
string hostname = 6;- Returns:
- The hostname.
-
getHostnameBytes
com.google.protobuf.ByteString getHostnameBytes()
Server hostname.
string hostname = 6;- Returns:
- The bytes for hostname.
-
-