public static final class Messages.SimpleRequest extends com.google.protobuf.GeneratedMessageV3 implements Messages.SimpleRequestOrBuilder
Unary request.Protobuf type
grpc.testing.SimpleRequest| Modifier and Type | Class and Description |
|---|---|
static class |
Messages.SimpleRequest.Builder
Unary request.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
EXPECT_COMPRESSED_FIELD_NUMBER |
static int |
FILL_GRPCLB_ROUTE_TYPE_FIELD_NUMBER |
static int |
FILL_OAUTH_SCOPE_FIELD_NUMBER |
static int |
FILL_SERVER_ID_FIELD_NUMBER |
static int |
FILL_USERNAME_FIELD_NUMBER |
static int |
ORCA_PER_QUERY_REPORT_FIELD_NUMBER |
static int |
PAYLOAD_FIELD_NUMBER |
static int |
RESPONSE_COMPRESSED_FIELD_NUMBER |
static int |
RESPONSE_SIZE_FIELD_NUMBER |
static int |
RESPONSE_STATUS_FIELD_NUMBER |
static int |
RESPONSE_TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Messages.SimpleRequest |
getDefaultInstance() |
Messages.SimpleRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Messages.BoolValue |
getExpectCompressed()
Whether the server should expect this request to be compressed.
|
Messages.BoolValueOrBuilder |
getExpectCompressedOrBuilder()
Whether the server should expect this request to be compressed.
|
boolean |
getFillGrpclbRouteType()
Whether SimpleResponse should include grpclb_route_type.
|
boolean |
getFillOauthScope()
Whether SimpleResponse should include OAuth scope.
|
boolean |
getFillServerId()
Whether SimpleResponse should include server_id.
|
boolean |
getFillUsername()
Whether SimpleResponse should include username.
|
Messages.TestOrcaReport |
getOrcaPerQueryReport()
If set the server should record this metrics report data for the current RPC.
|
Messages.TestOrcaReportOrBuilder |
getOrcaPerQueryReportOrBuilder()
If set the server should record this metrics report data for the current RPC.
|
com.google.protobuf.Parser<Messages.SimpleRequest> |
getParserForType() |
Messages.Payload |
getPayload()
Optional input payload sent along with the request.
|
Messages.PayloadOrBuilder |
getPayloadOrBuilder()
Optional input payload sent along with the request.
|
Messages.BoolValue |
getResponseCompressed()
Whether to request the server to compress the response.
|
Messages.BoolValueOrBuilder |
getResponseCompressedOrBuilder()
Whether to request the server to compress the response.
|
int |
getResponseSize()
Desired payload size in the response from the server.
|
Messages.EchoStatus |
getResponseStatus()
Whether server should return a given status
|
Messages.EchoStatusOrBuilder |
getResponseStatusOrBuilder()
Whether server should return a given status
|
Messages.PayloadType |
getResponseType()
Desired payload type in the response from the server.
|
int |
getResponseTypeValue()
Desired payload type in the response from the server.
|
int |
getSerializedSize() |
boolean |
hasExpectCompressed()
Whether the server should expect this request to be compressed.
|
int |
hashCode() |
boolean |
hasOrcaPerQueryReport()
If set the server should record this metrics report data for the current RPC.
|
boolean |
hasPayload()
Optional input payload sent along with the request.
|
boolean |
hasResponseCompressed()
Whether to request the server to compress the response.
|
boolean |
hasResponseStatus()
Whether server should return a given status
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Messages.SimpleRequest.Builder |
newBuilder() |
static Messages.SimpleRequest.Builder |
newBuilder(Messages.SimpleRequest prototype) |
Messages.SimpleRequest.Builder |
newBuilderForType() |
protected Messages.SimpleRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Messages.SimpleRequest |
parseDelimitedFrom(InputStream input) |
static Messages.SimpleRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.SimpleRequest |
parseFrom(byte[] data) |
static Messages.SimpleRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.SimpleRequest |
parseFrom(ByteBuffer data) |
static Messages.SimpleRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.SimpleRequest |
parseFrom(com.google.protobuf.ByteString data) |
static Messages.SimpleRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.SimpleRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Messages.SimpleRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Messages.SimpleRequest |
parseFrom(InputStream input) |
static Messages.SimpleRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Messages.SimpleRequest> |
parser() |
Messages.SimpleRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int RESPONSE_TYPE_FIELD_NUMBER
public static final int RESPONSE_SIZE_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
public static final int FILL_USERNAME_FIELD_NUMBER
public static final int FILL_OAUTH_SCOPE_FIELD_NUMBER
public static final int RESPONSE_COMPRESSED_FIELD_NUMBER
public static final int RESPONSE_STATUS_FIELD_NUMBER
public static final int EXPECT_COMPRESSED_FIELD_NUMBER
public static final int FILL_SERVER_ID_FIELD_NUMBER
public static final int FILL_GRPCLB_ROUTE_TYPE_FIELD_NUMBER
public static final int ORCA_PER_QUERY_REPORT_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getResponseTypeValue()
Desired payload type in the response from the server. If response_type is RANDOM, server randomly chooses one from other formats.
.grpc.testing.PayloadType response_type = 1;getResponseTypeValue in interface Messages.SimpleRequestOrBuilderpublic Messages.PayloadType getResponseType()
Desired payload type in the response from the server. If response_type is RANDOM, server randomly chooses one from other formats.
.grpc.testing.PayloadType response_type = 1;getResponseType in interface Messages.SimpleRequestOrBuilderpublic int getResponseSize()
Desired payload size in the response from the server.
int32 response_size = 2;getResponseSize in interface Messages.SimpleRequestOrBuilderpublic boolean hasPayload()
Optional input payload sent along with the request.
.grpc.testing.Payload payload = 3;hasPayload in interface Messages.SimpleRequestOrBuilderpublic Messages.Payload getPayload()
Optional input payload sent along with the request.
.grpc.testing.Payload payload = 3;getPayload in interface Messages.SimpleRequestOrBuilderpublic Messages.PayloadOrBuilder getPayloadOrBuilder()
Optional input payload sent along with the request.
.grpc.testing.Payload payload = 3;getPayloadOrBuilder in interface Messages.SimpleRequestOrBuilderpublic boolean getFillUsername()
Whether SimpleResponse should include username.
bool fill_username = 4;getFillUsername in interface Messages.SimpleRequestOrBuilderpublic boolean getFillOauthScope()
Whether SimpleResponse should include OAuth scope.
bool fill_oauth_scope = 5;getFillOauthScope in interface Messages.SimpleRequestOrBuilderpublic boolean hasResponseCompressed()
Whether to request the server to compress the response. This field is "nullable" in order to interoperate seamlessly with clients not able to implement the full compression tests by introspecting the call to verify the response's compression status.
.grpc.testing.BoolValue response_compressed = 6;hasResponseCompressed in interface Messages.SimpleRequestOrBuilderpublic Messages.BoolValue getResponseCompressed()
Whether to request the server to compress the response. This field is "nullable" in order to interoperate seamlessly with clients not able to implement the full compression tests by introspecting the call to verify the response's compression status.
.grpc.testing.BoolValue response_compressed = 6;getResponseCompressed in interface Messages.SimpleRequestOrBuilderpublic Messages.BoolValueOrBuilder getResponseCompressedOrBuilder()
Whether to request the server to compress the response. This field is "nullable" in order to interoperate seamlessly with clients not able to implement the full compression tests by introspecting the call to verify the response's compression status.
.grpc.testing.BoolValue response_compressed = 6;getResponseCompressedOrBuilder in interface Messages.SimpleRequestOrBuilderpublic boolean hasResponseStatus()
Whether server should return a given status
.grpc.testing.EchoStatus response_status = 7;hasResponseStatus in interface Messages.SimpleRequestOrBuilderpublic Messages.EchoStatus getResponseStatus()
Whether server should return a given status
.grpc.testing.EchoStatus response_status = 7;getResponseStatus in interface Messages.SimpleRequestOrBuilderpublic Messages.EchoStatusOrBuilder getResponseStatusOrBuilder()
Whether server should return a given status
.grpc.testing.EchoStatus response_status = 7;getResponseStatusOrBuilder in interface Messages.SimpleRequestOrBuilderpublic boolean hasExpectCompressed()
Whether the server should expect this request to be compressed.
.grpc.testing.BoolValue expect_compressed = 8;hasExpectCompressed in interface Messages.SimpleRequestOrBuilderpublic Messages.BoolValue getExpectCompressed()
Whether the server should expect this request to be compressed.
.grpc.testing.BoolValue expect_compressed = 8;getExpectCompressed in interface Messages.SimpleRequestOrBuilderpublic Messages.BoolValueOrBuilder getExpectCompressedOrBuilder()
Whether the server should expect this request to be compressed.
.grpc.testing.BoolValue expect_compressed = 8;getExpectCompressedOrBuilder in interface Messages.SimpleRequestOrBuilderpublic boolean getFillServerId()
Whether SimpleResponse should include server_id.
bool fill_server_id = 9;getFillServerId in interface Messages.SimpleRequestOrBuilderpublic boolean getFillGrpclbRouteType()
Whether SimpleResponse should include grpclb_route_type.
bool fill_grpclb_route_type = 10;getFillGrpclbRouteType in interface Messages.SimpleRequestOrBuilderpublic boolean hasOrcaPerQueryReport()
If set the server should record this metrics report data for the current RPC.
.grpc.testing.TestOrcaReport orca_per_query_report = 11;hasOrcaPerQueryReport in interface Messages.SimpleRequestOrBuilderpublic Messages.TestOrcaReport getOrcaPerQueryReport()
If set the server should record this metrics report data for the current RPC.
.grpc.testing.TestOrcaReport orca_per_query_report = 11;getOrcaPerQueryReport in interface Messages.SimpleRequestOrBuilderpublic Messages.TestOrcaReportOrBuilder getOrcaPerQueryReportOrBuilder()
If set the server should record this metrics report data for the current RPC.
.grpc.testing.TestOrcaReport orca_per_query_report = 11;getOrcaPerQueryReportOrBuilder in interface Messages.SimpleRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Messages.SimpleRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.SimpleRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.SimpleRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.SimpleRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.SimpleRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.SimpleRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Messages.SimpleRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static Messages.SimpleRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Messages.SimpleRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Messages.SimpleRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Messages.SimpleRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Messages.SimpleRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Messages.SimpleRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Messages.SimpleRequest.Builder newBuilder()
public static Messages.SimpleRequest.Builder newBuilder(Messages.SimpleRequest prototype)
public Messages.SimpleRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Messages.SimpleRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Messages.SimpleRequest getDefaultInstance()
public static com.google.protobuf.Parser<Messages.SimpleRequest> parser()
public com.google.protobuf.Parser<Messages.SimpleRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Messages.SimpleRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder