Class RequestOp
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.vertx.grpc.event.v1alpha.RequestOp
- All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, RequestOpOrBuilder, Serializable
public final class RequestOp
extends com.google.protobuf.GeneratedMessage
implements RequestOpOrBuilder
Message used for request-reply patternProtobuf type
vertx.event.v1alpha.RequestOp- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMessage used for request-reply patternNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsHeaders(String key) Message headersbooleanThe address the message was sent tocom.google.protobuf.ByteStringThe address the message was sent togetBody()Message payloadMessage payloadstatic RequestOpstatic final com.google.protobuf.Descriptors.DescriptorDeprecated.intMessage headersMessage headersgetHeadersOrDefault(String key, String defaultValue) Message headersgetHeadersOrThrow(String key) Message headerscom.google.protobuf.Parser<RequestOp> The desired format of the reply bodyintThe desired format of the reply bodyintcom.google.protobuf.DurationTimeout in millisecondscom.google.protobuf.DurationOrBuilderTimeout in millisecondsbooleanhasBody()Message payloadinthashCode()booleanTimeout in millisecondsprotected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic RequestOp.Builderstatic RequestOp.BuildernewBuilder(RequestOp prototype) protected RequestOp.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static RequestOpparseDelimitedFrom(InputStream input) static RequestOpparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RequestOpparseFrom(byte[] data) static RequestOpparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RequestOpparseFrom(com.google.protobuf.ByteString data) static RequestOpparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RequestOpparseFrom(com.google.protobuf.CodedInputStream input) static RequestOpparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RequestOpparseFrom(InputStream input) static RequestOpparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RequestOpparseFrom(ByteBuffer data) static RequestOpparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<RequestOp> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ADDRESS_FIELD_NUMBER
public static final int ADDRESS_FIELD_NUMBER- See Also:
-
HEADERS_FIELD_NUMBER
public static final int HEADERS_FIELD_NUMBER- See Also:
-
BODY_FIELD_NUMBER
public static final int BODY_FIELD_NUMBER- See Also:
-
REPLY_BODY_FORMAT_FIELD_NUMBER
public static final int REPLY_BODY_FORMAT_FIELD_NUMBER- See Also:
-
TIMEOUT_FIELD_NUMBER
public static final int TIMEOUT_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getAddress
The address the message was sent to
string address = 1;- Specified by:
getAddressin interfaceRequestOpOrBuilder- Returns:
- The address.
-
getAddressBytes
public com.google.protobuf.ByteString getAddressBytes()The address the message was sent to
string address = 1;- Specified by:
getAddressBytesin interfaceRequestOpOrBuilder- Returns:
- The bytes for address.
-
getHeadersCount
public int getHeadersCount()Description copied from interface:RequestOpOrBuilderMessage headers
map<string, string> headers = 2;- Specified by:
getHeadersCountin interfaceRequestOpOrBuilder
-
containsHeaders
Message headers
map<string, string> headers = 2;- Specified by:
containsHeadersin interfaceRequestOpOrBuilder
-
getHeaders
-
getHeadersMap
Message headers
map<string, string> headers = 2;- Specified by:
getHeadersMapin interfaceRequestOpOrBuilder
-
getHeadersOrDefault
Message headers
map<string, string> headers = 2;- Specified by:
getHeadersOrDefaultin interfaceRequestOpOrBuilder
-
getHeadersOrThrow
Message headers
map<string, string> headers = 2;- Specified by:
getHeadersOrThrowin interfaceRequestOpOrBuilder
-
hasBody
public boolean hasBody()Message payload
.vertx.event.v1alpha.JsonValue body = 3;- Specified by:
hasBodyin interfaceRequestOpOrBuilder- Returns:
- Whether the body field is set.
-
getBody
Message payload
.vertx.event.v1alpha.JsonValue body = 3;- Specified by:
getBodyin interfaceRequestOpOrBuilder- Returns:
- The body.
-
getBodyOrBuilder
Message payload
.vertx.event.v1alpha.JsonValue body = 3;- Specified by:
getBodyOrBuilderin interfaceRequestOpOrBuilder
-
getReplyBodyFormatValue
public int getReplyBodyFormatValue()The desired format of the reply body
.vertx.event.v1alpha.JsonValueFormat reply_body_format = 4;- Specified by:
getReplyBodyFormatValuein interfaceRequestOpOrBuilder- Returns:
- The enum numeric value on the wire for replyBodyFormat.
-
getReplyBodyFormat
The desired format of the reply body
.vertx.event.v1alpha.JsonValueFormat reply_body_format = 4;- Specified by:
getReplyBodyFormatin interfaceRequestOpOrBuilder- Returns:
- The replyBodyFormat.
-
hasTimeout
public boolean hasTimeout()Timeout in milliseconds
.google.protobuf.Duration timeout = 5;- Specified by:
hasTimeoutin interfaceRequestOpOrBuilder- Returns:
- Whether the timeout field is set.
-
getTimeout
public com.google.protobuf.Duration getTimeout()Timeout in milliseconds
.google.protobuf.Duration timeout = 5;- Specified by:
getTimeoutin interfaceRequestOpOrBuilder- Returns:
- The timeout.
-
getTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()Timeout in milliseconds
.google.protobuf.Duration timeout = 5;- Specified by:
getTimeoutOrBuilderin interfaceRequestOpOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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 RequestOp parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RequestOp parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RequestOp parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RequestOp parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RequestOp parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RequestOp parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RequestOp parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static RequestOp parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RequestOp parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RequestOp.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-