Package io.grpc.testing.integration
Class Messages.StreamingOutputCallRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.grpc.testing.integration.Messages.StreamingOutputCallRequest
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Messages.StreamingOutputCallRequestOrBuilder,java.io.Serializable
- Enclosing class:
- Messages
public static final class Messages.StreamingOutputCallRequest extends com.google.protobuf.GeneratedMessageV3 implements Messages.StreamingOutputCallRequestOrBuilder
Server-streaming request.
Protobuf typegrpc.testing.StreamingOutputCallRequest- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMessages.StreamingOutputCallRequest.BuilderServer-streaming request.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intORCA_OOB_REPORT_FIELD_NUMBERstatic intPAYLOAD_FIELD_NUMBERstatic intRESPONSE_PARAMETERS_FIELD_NUMBERstatic intRESPONSE_STATUS_FIELD_NUMBERstatic intRESPONSE_TYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)static Messages.StreamingOutputCallRequestgetDefaultInstance()Messages.StreamingOutputCallRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Messages.TestOrcaReportgetOrcaOobReport()If set the server should update this metrics report data at the OOB server.Messages.TestOrcaReportOrBuildergetOrcaOobReportOrBuilder()If set the server should update this metrics report data at the OOB server.com.google.protobuf.Parser<Messages.StreamingOutputCallRequest>getParserForType()Messages.PayloadgetPayload()Optional input payload sent along with the request.Messages.PayloadOrBuildergetPayloadOrBuilder()Optional input payload sent along with the request.Messages.ResponseParametersgetResponseParameters(int index)Configuration for each expected response message.intgetResponseParametersCount()Configuration for each expected response message.java.util.List<Messages.ResponseParameters>getResponseParametersList()Configuration for each expected response message.Messages.ResponseParametersOrBuildergetResponseParametersOrBuilder(int index)Configuration for each expected response message.java.util.List<? extends Messages.ResponseParametersOrBuilder>getResponseParametersOrBuilderList()Configuration for each expected response message.Messages.EchoStatusgetResponseStatus()Whether server should return a given statusMessages.EchoStatusOrBuildergetResponseStatusOrBuilder()Whether server should return a given statusMessages.PayloadTypegetResponseType()Desired payload type in the response from the server.intgetResponseTypeValue()Desired payload type in the response from the server.intgetSerializedSize()inthashCode()booleanhasOrcaOobReport()If set the server should update this metrics report data at the OOB server.booleanhasPayload()Optional input payload sent along with the request.booleanhasResponseStatus()Whether server should return a given statusprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Messages.StreamingOutputCallRequest.BuildernewBuilder()static Messages.StreamingOutputCallRequest.BuildernewBuilder(Messages.StreamingOutputCallRequest prototype)Messages.StreamingOutputCallRequest.BuildernewBuilderForType()protected Messages.StreamingOutputCallRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Messages.StreamingOutputCallRequestparseDelimitedFrom(java.io.InputStream input)static Messages.StreamingOutputCallRequestparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Messages.StreamingOutputCallRequestparseFrom(byte[] data)static Messages.StreamingOutputCallRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Messages.StreamingOutputCallRequestparseFrom(com.google.protobuf.ByteString data)static Messages.StreamingOutputCallRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Messages.StreamingOutputCallRequestparseFrom(com.google.protobuf.CodedInputStream input)static Messages.StreamingOutputCallRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Messages.StreamingOutputCallRequestparseFrom(java.io.InputStream input)static Messages.StreamingOutputCallRequestparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Messages.StreamingOutputCallRequestparseFrom(java.nio.ByteBuffer data)static Messages.StreamingOutputCallRequestparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Messages.StreamingOutputCallRequest>parser()Messages.StreamingOutputCallRequest.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
RESPONSE_TYPE_FIELD_NUMBER
public static final int RESPONSE_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESPONSE_PARAMETERS_FIELD_NUMBER
public static final int RESPONSE_PARAMETERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PAYLOAD_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESPONSE_STATUS_FIELD_NUMBER
public static final int RESPONSE_STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ORCA_OOB_REPORT_FIELD_NUMBER
public static final int ORCA_OOB_REPORT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getResponseTypeValue
public int getResponseTypeValue()
Desired payload type in the response from the server. If response_type is RANDOM, the payload from each response in the stream might be of different types. This is to simulate a mixed type of payload stream.
.grpc.testing.PayloadType response_type = 1;- Specified by:
getResponseTypeValuein interfaceMessages.StreamingOutputCallRequestOrBuilder- Returns:
- The enum numeric value on the wire for responseType.
-
getResponseType
public Messages.PayloadType getResponseType()
Desired payload type in the response from the server. If response_type is RANDOM, the payload from each response in the stream might be of different types. This is to simulate a mixed type of payload stream.
.grpc.testing.PayloadType response_type = 1;- Specified by:
getResponseTypein interfaceMessages.StreamingOutputCallRequestOrBuilder- Returns:
- The responseType.
-
getResponseParametersList
public java.util.List<Messages.ResponseParameters> getResponseParametersList()
Configuration for each expected response message.
repeated .grpc.testing.ResponseParameters response_parameters = 2;- Specified by:
getResponseParametersListin interfaceMessages.StreamingOutputCallRequestOrBuilder
-
getResponseParametersOrBuilderList
public java.util.List<? extends Messages.ResponseParametersOrBuilder> getResponseParametersOrBuilderList()
Configuration for each expected response message.
repeated .grpc.testing.ResponseParameters response_parameters = 2;- Specified by:
getResponseParametersOrBuilderListin interfaceMessages.StreamingOutputCallRequestOrBuilder
-
getResponseParametersCount
public int getResponseParametersCount()
Configuration for each expected response message.
repeated .grpc.testing.ResponseParameters response_parameters = 2;- Specified by:
getResponseParametersCountin interfaceMessages.StreamingOutputCallRequestOrBuilder
-
getResponseParameters
public Messages.ResponseParameters getResponseParameters(int index)
Configuration for each expected response message.
repeated .grpc.testing.ResponseParameters response_parameters = 2;- Specified by:
getResponseParametersin interfaceMessages.StreamingOutputCallRequestOrBuilder
-
getResponseParametersOrBuilder
public Messages.ResponseParametersOrBuilder getResponseParametersOrBuilder(int index)
Configuration for each expected response message.
repeated .grpc.testing.ResponseParameters response_parameters = 2;- Specified by:
getResponseParametersOrBuilderin interfaceMessages.StreamingOutputCallRequestOrBuilder
-
hasPayload
public boolean hasPayload()
Optional input payload sent along with the request.
.grpc.testing.Payload payload = 3;- Specified by:
hasPayloadin interfaceMessages.StreamingOutputCallRequestOrBuilder- Returns:
- Whether the payload field is set.
-
getPayload
public Messages.Payload getPayload()
Optional input payload sent along with the request.
.grpc.testing.Payload payload = 3;- Specified by:
getPayloadin interfaceMessages.StreamingOutputCallRequestOrBuilder- Returns:
- The payload.
-
getPayloadOrBuilder
public Messages.PayloadOrBuilder getPayloadOrBuilder()
Optional input payload sent along with the request.
.grpc.testing.Payload payload = 3;- Specified by:
getPayloadOrBuilderin interfaceMessages.StreamingOutputCallRequestOrBuilder
-
hasResponseStatus
public boolean hasResponseStatus()
Whether server should return a given status
.grpc.testing.EchoStatus response_status = 7;- Specified by:
hasResponseStatusin interfaceMessages.StreamingOutputCallRequestOrBuilder- Returns:
- Whether the responseStatus field is set.
-
getResponseStatus
public Messages.EchoStatus getResponseStatus()
Whether server should return a given status
.grpc.testing.EchoStatus response_status = 7;- Specified by:
getResponseStatusin interfaceMessages.StreamingOutputCallRequestOrBuilder- Returns:
- The responseStatus.
-
getResponseStatusOrBuilder
public Messages.EchoStatusOrBuilder getResponseStatusOrBuilder()
Whether server should return a given status
.grpc.testing.EchoStatus response_status = 7;- Specified by:
getResponseStatusOrBuilderin interfaceMessages.StreamingOutputCallRequestOrBuilder
-
hasOrcaOobReport
public boolean hasOrcaOobReport()
If set the server should update this metrics report data at the OOB server.
.grpc.testing.TestOrcaReport orca_oob_report = 8;- Specified by:
hasOrcaOobReportin interfaceMessages.StreamingOutputCallRequestOrBuilder- Returns:
- Whether the orcaOobReport field is set.
-
getOrcaOobReport
public Messages.TestOrcaReport getOrcaOobReport()
If set the server should update this metrics report data at the OOB server.
.grpc.testing.TestOrcaReport orca_oob_report = 8;- Specified by:
getOrcaOobReportin interfaceMessages.StreamingOutputCallRequestOrBuilder- Returns:
- The orcaOobReport.
-
getOrcaOobReportOrBuilder
public Messages.TestOrcaReportOrBuilder getOrcaOobReportOrBuilder()
If set the server should update this metrics report data at the OOB server.
.grpc.testing.TestOrcaReport orca_oob_report = 8;- Specified by:
getOrcaOobReportOrBuilderin interfaceMessages.StreamingOutputCallRequestOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Messages.StreamingOutputCallRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Messages.StreamingOutputCallRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Messages.StreamingOutputCallRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Messages.StreamingOutputCallRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Messages.StreamingOutputCallRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Messages.StreamingOutputCallRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Messages.StreamingOutputCallRequest parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Messages.StreamingOutputCallRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Messages.StreamingOutputCallRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Messages.StreamingOutputCallRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Messages.StreamingOutputCallRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Messages.StreamingOutputCallRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Messages.StreamingOutputCallRequest.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Messages.StreamingOutputCallRequest.Builder newBuilder()
-
newBuilder
public static Messages.StreamingOutputCallRequest.Builder newBuilder(Messages.StreamingOutputCallRequest prototype)
-
toBuilder
public Messages.StreamingOutputCallRequest.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Messages.StreamingOutputCallRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Messages.StreamingOutputCallRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Messages.StreamingOutputCallRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<Messages.StreamingOutputCallRequest> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Messages.StreamingOutputCallRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-