Package io.grpc.testing.integration
Class Messages.StreamingInputCallRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Messages.StreamingInputCallRequest.Builder>
-
- io.grpc.testing.integration.Messages.StreamingInputCallRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Messages.StreamingInputCallRequestOrBuilder,java.lang.Cloneable
- Enclosing class:
- Messages.StreamingInputCallRequest
public static final class Messages.StreamingInputCallRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Messages.StreamingInputCallRequest.Builder> implements Messages.StreamingInputCallRequestOrBuilder
Client-streaming request.
Protobuf typegrpc.testing.StreamingInputCallRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Messages.StreamingInputCallRequestbuild()Messages.StreamingInputCallRequestbuildPartial()Messages.StreamingInputCallRequest.Builderclear()Messages.StreamingInputCallRequest.BuilderclearExpectCompressed()Whether the server should expect this request to be compressed.Messages.StreamingInputCallRequest.BuilderclearPayload()Optional input payload sent along with the request.Messages.StreamingInputCallRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Messages.BoolValuegetExpectCompressed()Whether the server should expect this request to be compressed.Messages.BoolValue.BuildergetExpectCompressedBuilder()Whether the server should expect this request to be compressed.Messages.BoolValueOrBuildergetExpectCompressedOrBuilder()Whether the server should expect this request to be compressed.Messages.PayloadgetPayload()Optional input payload sent along with the request.Messages.Payload.BuildergetPayloadBuilder()Optional input payload sent along with the request.Messages.PayloadOrBuildergetPayloadOrBuilder()Optional input payload sent along with the request.booleanhasExpectCompressed()Whether the server should expect this request to be compressed.booleanhasPayload()Optional input payload sent along with the request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Messages.StreamingInputCallRequest.BuildermergeExpectCompressed(Messages.BoolValue value)Whether the server should expect this request to be compressed.Messages.StreamingInputCallRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Messages.StreamingInputCallRequest.BuildermergeFrom(com.google.protobuf.Message other)Messages.StreamingInputCallRequest.BuildermergeFrom(Messages.StreamingInputCallRequest other)Messages.StreamingInputCallRequest.BuildermergePayload(Messages.Payload value)Optional input payload sent along with the request.Messages.StreamingInputCallRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Messages.StreamingInputCallRequest.BuildersetExpectCompressed(Messages.BoolValue value)Whether the server should expect this request to be compressed.Messages.StreamingInputCallRequest.BuildersetExpectCompressed(Messages.BoolValue.Builder builderForValue)Whether the server should expect this request to be compressed.Messages.StreamingInputCallRequest.BuildersetPayload(Messages.Payload value)Optional input payload sent along with the request.Messages.StreamingInputCallRequest.BuildersetPayload(Messages.Payload.Builder builderForValue)Optional input payload sent along with the request.Messages.StreamingInputCallRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<Messages.StreamingInputCallRequest.Builder>
-
clear
public Messages.StreamingInputCallRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Messages.StreamingInputCallRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Messages.StreamingInputCallRequest.Builder>
-
getDefaultInstanceForType
public Messages.StreamingInputCallRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Messages.StreamingInputCallRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Messages.StreamingInputCallRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public Messages.StreamingInputCallRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Messages.StreamingInputCallRequest.Builder>
-
mergeFrom
public Messages.StreamingInputCallRequest.Builder mergeFrom(Messages.StreamingInputCallRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Messages.StreamingInputCallRequest.Builder>
-
mergeFrom
public Messages.StreamingInputCallRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Messages.StreamingInputCallRequest.Builder>- Throws:
java.io.IOException
-
hasPayload
public boolean hasPayload()
Optional input payload sent along with the request.
.grpc.testing.Payload payload = 1;- Specified by:
hasPayloadin interfaceMessages.StreamingInputCallRequestOrBuilder- Returns:
- Whether the payload field is set.
-
getPayload
public Messages.Payload getPayload()
Optional input payload sent along with the request.
.grpc.testing.Payload payload = 1;- Specified by:
getPayloadin interfaceMessages.StreamingInputCallRequestOrBuilder- Returns:
- The payload.
-
setPayload
public Messages.StreamingInputCallRequest.Builder setPayload(Messages.Payload value)
Optional input payload sent along with the request.
.grpc.testing.Payload payload = 1;
-
setPayload
public Messages.StreamingInputCallRequest.Builder setPayload(Messages.Payload.Builder builderForValue)
Optional input payload sent along with the request.
.grpc.testing.Payload payload = 1;
-
mergePayload
public Messages.StreamingInputCallRequest.Builder mergePayload(Messages.Payload value)
Optional input payload sent along with the request.
.grpc.testing.Payload payload = 1;
-
clearPayload
public Messages.StreamingInputCallRequest.Builder clearPayload()
Optional input payload sent along with the request.
.grpc.testing.Payload payload = 1;
-
getPayloadBuilder
public Messages.Payload.Builder getPayloadBuilder()
Optional input payload sent along with the request.
.grpc.testing.Payload payload = 1;
-
getPayloadOrBuilder
public Messages.PayloadOrBuilder getPayloadOrBuilder()
Optional input payload sent along with the request.
.grpc.testing.Payload payload = 1;- Specified by:
getPayloadOrBuilderin interfaceMessages.StreamingInputCallRequestOrBuilder
-
hasExpectCompressed
public boolean hasExpectCompressed()
Whether the server should expect this request to be compressed. This field is "nullable" in order to interoperate seamlessly with servers not able to implement the full compression tests by introspecting the call to verify the request's compression status.
.grpc.testing.BoolValue expect_compressed = 2;- Specified by:
hasExpectCompressedin interfaceMessages.StreamingInputCallRequestOrBuilder- Returns:
- Whether the expectCompressed field is set.
-
getExpectCompressed
public Messages.BoolValue getExpectCompressed()
Whether the server should expect this request to be compressed. This field is "nullable" in order to interoperate seamlessly with servers not able to implement the full compression tests by introspecting the call to verify the request's compression status.
.grpc.testing.BoolValue expect_compressed = 2;- Specified by:
getExpectCompressedin interfaceMessages.StreamingInputCallRequestOrBuilder- Returns:
- The expectCompressed.
-
setExpectCompressed
public Messages.StreamingInputCallRequest.Builder setExpectCompressed(Messages.BoolValue value)
Whether the server should expect this request to be compressed. This field is "nullable" in order to interoperate seamlessly with servers not able to implement the full compression tests by introspecting the call to verify the request's compression status.
.grpc.testing.BoolValue expect_compressed = 2;
-
setExpectCompressed
public Messages.StreamingInputCallRequest.Builder setExpectCompressed(Messages.BoolValue.Builder builderForValue)
Whether the server should expect this request to be compressed. This field is "nullable" in order to interoperate seamlessly with servers not able to implement the full compression tests by introspecting the call to verify the request's compression status.
.grpc.testing.BoolValue expect_compressed = 2;
-
mergeExpectCompressed
public Messages.StreamingInputCallRequest.Builder mergeExpectCompressed(Messages.BoolValue value)
Whether the server should expect this request to be compressed. This field is "nullable" in order to interoperate seamlessly with servers not able to implement the full compression tests by introspecting the call to verify the request's compression status.
.grpc.testing.BoolValue expect_compressed = 2;
-
clearExpectCompressed
public Messages.StreamingInputCallRequest.Builder clearExpectCompressed()
Whether the server should expect this request to be compressed. This field is "nullable" in order to interoperate seamlessly with servers not able to implement the full compression tests by introspecting the call to verify the request's compression status.
.grpc.testing.BoolValue expect_compressed = 2;
-
getExpectCompressedBuilder
public Messages.BoolValue.Builder getExpectCompressedBuilder()
Whether the server should expect this request to be compressed. This field is "nullable" in order to interoperate seamlessly with servers not able to implement the full compression tests by introspecting the call to verify the request's compression status.
.grpc.testing.BoolValue expect_compressed = 2;
-
getExpectCompressedOrBuilder
public Messages.BoolValueOrBuilder getExpectCompressedOrBuilder()
Whether the server should expect this request to be compressed. This field is "nullable" in order to interoperate seamlessly with servers not able to implement the full compression tests by introspecting the call to verify the request's compression status.
.grpc.testing.BoolValue expect_compressed = 2;- Specified by:
getExpectCompressedOrBuilderin interfaceMessages.StreamingInputCallRequestOrBuilder
-
setUnknownFields
public final Messages.StreamingInputCallRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Messages.StreamingInputCallRequest.Builder>
-
mergeUnknownFields
public final Messages.StreamingInputCallRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Messages.StreamingInputCallRequest.Builder>
-
-