public static final class Common.WireMessage extends com.google.protobuf.GeneratedMessage implements Common.WireMessageOrBuilder
WireMessage
Message which encapsulates another message to support a single RPC endpoint
| Modifier and Type | Class and Description |
|---|---|
static class |
Common.WireMessage.Builder
Protobuf type
WireMessage |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
private static Common.WireMessage |
DEFAULT_INSTANCE |
private byte |
memoizedIsInitialized |
private Object |
name_ |
static int |
NAME_FIELD_NUMBER |
private static com.google.protobuf.Parser<Common.WireMessage> |
PARSER |
private static long |
serialVersionUID |
static int |
WRAPPED_MESSAGE_FIELD_NUMBER |
private com.google.protobuf.ByteString |
wrappedMessage_ |
| Modifier | Constructor and Description |
|---|---|
private |
Common.WireMessage() |
private |
Common.WireMessage(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
private |
Common.WireMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) |
| Modifier and Type | Method and Description |
|---|---|
static Common.WireMessage |
getDefaultInstance() |
Common.WireMessage |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getName()
optional string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
optional string name = 1; |
com.google.protobuf.Parser<Common.WireMessage> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.ByteString |
getWrappedMessage()
optional bytes wrapped_message = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Common.WireMessage.Builder |
newBuilder() |
static Common.WireMessage.Builder |
newBuilder(Common.WireMessage prototype) |
Common.WireMessage.Builder |
newBuilderForType() |
protected Common.WireMessage.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static Common.WireMessage |
parseDelimitedFrom(InputStream input) |
static Common.WireMessage |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Common.WireMessage |
parseFrom(byte[] data) |
static Common.WireMessage |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Common.WireMessage |
parseFrom(com.google.protobuf.ByteString data) |
static Common.WireMessage |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Common.WireMessage |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Common.WireMessage |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Common.WireMessage |
parseFrom(InputStream input) |
static Common.WireMessage |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Common.WireMessage> |
parser() |
Common.WireMessage.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField, writeReplace, writeString, writeStringNoTagequals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
private volatile Object name_
public static final int WRAPPED_MESSAGE_FIELD_NUMBER
private com.google.protobuf.ByteString wrappedMessage_
private byte memoizedIsInitialized
private static final long serialVersionUID
private static final Common.WireMessage DEFAULT_INSTANCE
private static final com.google.protobuf.Parser<Common.WireMessage> PARSER
private Common.WireMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder)
private Common.WireMessage()
private Common.WireMessage(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic String getName()
optional string name = 1;getName in interface Common.WireMessageOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
optional string name = 1;getNameBytes in interface Common.WireMessageOrBuilderpublic com.google.protobuf.ByteString getWrappedMessage()
optional bytes wrapped_message = 2;getWrappedMessage in interface Common.WireMessageOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic static Common.WireMessage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Common.WireMessage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Common.WireMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Common.WireMessage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Common.WireMessage parseFrom(InputStream input) throws IOException
IOExceptionpublic static Common.WireMessage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Common.WireMessage parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Common.WireMessage parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Common.WireMessage parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Common.WireMessage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Common.WireMessage.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Common.WireMessage.Builder newBuilder()
public static Common.WireMessage.Builder newBuilder(Common.WireMessage prototype)
public Common.WireMessage.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Common.WireMessage.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessagepublic static Common.WireMessage getDefaultInstance()
public static com.google.protobuf.Parser<Common.WireMessage> parser()
public com.google.protobuf.Parser<Common.WireMessage> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic Common.WireMessage getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2012–2016 The Apache Software Foundation. All rights reserved.