public final class MessageWithNoOuter extends BaseMessage<T>
Modifier and Type | Class and Description |
---|---|
static class |
MessageWithNoOuter.NestedEnum |
static class |
MessageWithNoOuter.NestedMessage |
memoizedSerializedSize
Constructor and Description |
---|
MessageWithNoOuter() |
addAll, assertInitialized, checktInitialized, computeGroupSize, computeMessageSize, isInitialized, load, loadAndClear, mergeFramed, mergeFramed, mergeFramed, mergeFramed, mergeUnframed, mergeUnframed, mergeUnframed, prefix, readGroup, readRawByte, readRawVarint32, serializedSizeFramed, toFramedBuffer, toFramedByteArray, toUnframedBuffer, toUnframedByteArray, writeFramed, writeFramed, writeGroup, writeMessage, writeUnframed
public ArrayList<String> missingFields()
missingFields
in class BaseMessage<MessageWithNoOuter>
public void clear()
clear
in interface Message<MessageWithNoOuter>
clear
in class BaseMessage<MessageWithNoOuter>
public MessageWithNoOuter clone()
clone
in interface Message<MessageWithNoOuter>
clone
in class BaseMessage<MessageWithNoOuter>
public MessageWithNoOuter mergeFrom(MessageWithNoOuter other)
mergeFrom
in interface Message<MessageWithNoOuter>
mergeFrom
in class BaseMessage<MessageWithNoOuter>
public int serializedSizeUnframed()
public MessageWithNoOuter mergeUnframed(CodedInputStream input) throws IOException
IOException
public void writeUnframed(CodedOutputStream output) throws IOException
writeUnframed
in interface Message<MessageWithNoOuter>
writeUnframed
in class BaseMessage<MessageWithNoOuter>
IOException
public static MessageWithNoOuter parseUnframed(CodedInputStream data) throws InvalidProtocolBufferException, IOException
public static MessageWithNoOuter parseUnframed(Buffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static MessageWithNoOuter parseUnframed(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static MessageWithNoOuter parseUnframed(InputStream data) throws InvalidProtocolBufferException, IOException
public static MessageWithNoOuter parseFramed(CodedInputStream data) throws InvalidProtocolBufferException, IOException
public static MessageWithNoOuter parseFramed(Buffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static MessageWithNoOuter parseFramed(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static MessageWithNoOuter parseFramed(InputStream data) throws InvalidProtocolBufferException, IOException
public StringBuilder toString(StringBuilder sb, String prefix)
public boolean equals(MessageWithNoOuter obj)
public boolean hasNested()
public MessageWithNoOuter.NestedMessage getNested()
public T setNested(MessageWithNoOuter.NestedMessage nested)
public void clearNested()
public boolean hasForeign()
public List<UnittestProto.TestAllTypes> getForeignList()
public T setForeignList(List<UnittestProto.TestAllTypes> foreign)
public int getForeignCount()
public UnittestProto.TestAllTypes getForeign(int index)
public T setForeign(int index, UnittestProto.TestAllTypes value)
public T addForeign(UnittestProto.TestAllTypes value)
public T addAllForeign(Iterable<? extends UnittestProto.TestAllTypes> collection)
public void clearForeign()
public boolean hasNestedEnum()
public MessageWithNoOuter.NestedEnum getNestedEnum()
public T setNestedEnum(MessageWithNoOuter.NestedEnum nestedEnum)
public void clearNestedEnum()
public boolean hasForeignEnum()
public EnumWithNoOuter getForeignEnum()
public T setForeignEnum(EnumWithNoOuter foreignEnum)
public void clearForeignEnum()
Copyright © 2014 The Apache Software Foundation. All rights reserved.