Package protobuf_unittest
Class UnittestProto.TestCamelCaseFieldNames
java.lang.Object
org.apache.activemq.protobuf.BaseMessage<T>
protobuf_unittest.UnittestProto.TestCamelCaseFieldNames
- All Implemented Interfaces:
Message<UnittestProto.TestCamelCaseFieldNames>
- Enclosing class:
- UnittestProto
-
Field Summary
Fields inherited from class org.apache.activemq.protobuf.BaseMessage
memoizedSerializedSize
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllRepeatedCordField
(Iterable<? extends String> collection) addAllRepeatedEnumField
(Iterable<? extends UnittestProto.ForeignEnum> collection) addAllRepeatedMessageField
(Iterable<? extends UnittestProto.ForeignMessage> collection) addAllRepeatedPrimitiveField
(Iterable<? extends Integer> collection) addAllRepeatedStringField
(Iterable<? extends String> collection) addAllRepeatedStringPieceField
(Iterable<? extends String> collection) addRepeatedCordField
(String value) addRepeatedPrimitiveField
(Integer value) addRepeatedStringField
(String value) void
clear()
void
void
void
void
void
void
void
void
void
void
void
void
clone()
boolean
boolean
int
getRepeatedCordField
(int index) int
getRepeatedEnumField
(int index) int
getRepeatedMessageField
(int index) int
getRepeatedPrimitiveField
(int index) int
getRepeatedStringField
(int index) int
getRepeatedStringPieceField
(int index) int
boolean
boolean
int
hashCode()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
mergeUnframed
(CodedInputStream input) parseFramed
(byte[] data) parseFramed
(InputStream data) parseFramed
(Buffer data) parseFramed
(CodedInputStream data) parseUnframed
(byte[] data) parseUnframed
(InputStream data) parseUnframed
(Buffer data) int
setCordField
(String cordField) setEnumField
(UnittestProto.ForeignEnum enumField) setMessageField
(UnittestProto.ForeignMessage messageField) setPrimitiveField
(int primitiveField) setRepeatedCordField
(int index, String value) setRepeatedCordFieldList
(List<String> repeatedCordField) setRepeatedEnumField
(int index, UnittestProto.ForeignEnum value) setRepeatedEnumFieldList
(List<UnittestProto.ForeignEnum> repeatedEnumField) setRepeatedMessageField
(int index, UnittestProto.ForeignMessage value) setRepeatedMessageFieldList
(List<UnittestProto.ForeignMessage> repeatedMessageField) setRepeatedPrimitiveField
(int index, Integer value) setRepeatedPrimitiveFieldList
(List<Integer> repeatedPrimitiveField) setRepeatedStringField
(int index, String value) setRepeatedStringFieldList
(List<String> repeatedStringField) setRepeatedStringPieceField
(int index, String value) setRepeatedStringPieceFieldList
(List<String> repeatedStringPieceField) setStringField
(String stringField) setStringPieceField
(String stringPieceField) toString()
toString
(StringBuilder sb, String prefix) void
writeUnframed
(CodedOutputStream output) Methods inherited from class org.apache.activemq.protobuf.BaseMessage
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
-
Constructor Details
-
TestCamelCaseFieldNames
public TestCamelCaseFieldNames()
-
-
Method Details
-
missingFields
- Overrides:
missingFields
in classBaseMessage<UnittestProto.TestCamelCaseFieldNames>
-
clear
public void clear()- Specified by:
clear
in interfaceMessage<UnittestProto.TestCamelCaseFieldNames>
- Overrides:
clear
in classBaseMessage<UnittestProto.TestCamelCaseFieldNames>
-
clone
- Specified by:
clone
in interfaceMessage<UnittestProto.TestCamelCaseFieldNames>
- Specified by:
clone
in classBaseMessage<UnittestProto.TestCamelCaseFieldNames>
-
mergeFrom
- Specified by:
mergeFrom
in interfaceMessage<UnittestProto.TestCamelCaseFieldNames>
- Overrides:
mergeFrom
in classBaseMessage<UnittestProto.TestCamelCaseFieldNames>
-
serializedSizeUnframed
public int serializedSizeUnframed() -
mergeUnframed
public UnittestProto.TestCamelCaseFieldNames mergeUnframed(CodedInputStream input) throws IOException - Throws:
IOException
-
writeUnframed
- Specified by:
writeUnframed
in interfaceMessage<UnittestProto.TestCamelCaseFieldNames>
- Overrides:
writeUnframed
in classBaseMessage<UnittestProto.TestCamelCaseFieldNames>
- Throws:
IOException
-
parseUnframed
public static UnittestProto.TestCamelCaseFieldNames parseUnframed(CodedInputStream data) throws InvalidProtocolBufferException, IOException -
parseUnframed
public static UnittestProto.TestCamelCaseFieldNames parseUnframed(Buffer data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseUnframed
public static UnittestProto.TestCamelCaseFieldNames parseUnframed(byte[] data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseUnframed
public static UnittestProto.TestCamelCaseFieldNames parseUnframed(InputStream data) throws InvalidProtocolBufferException, IOException -
parseFramed
public static UnittestProto.TestCamelCaseFieldNames parseFramed(CodedInputStream data) throws InvalidProtocolBufferException, IOException -
parseFramed
public static UnittestProto.TestCamelCaseFieldNames parseFramed(Buffer data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFramed
public static UnittestProto.TestCamelCaseFieldNames parseFramed(byte[] data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFramed
public static UnittestProto.TestCamelCaseFieldNames parseFramed(InputStream data) throws InvalidProtocolBufferException, IOException -
toString
-
toString
-
equals
-
equals
-
hashCode
public int hashCode() -
hasPrimitiveField
public boolean hasPrimitiveField() -
getPrimitiveField
public int getPrimitiveField() -
setPrimitiveField
-
clearPrimitiveField
public void clearPrimitiveField() -
hasStringField
public boolean hasStringField() -
getStringField
-
setStringField
-
clearStringField
public void clearStringField() -
hasEnumField
public boolean hasEnumField() -
getEnumField
-
setEnumField
-
clearEnumField
public void clearEnumField() -
hasMessageField
public boolean hasMessageField() -
getMessageField
-
setMessageField
public UnittestProto.TestCamelCaseFieldNames setMessageField(UnittestProto.ForeignMessage messageField) -
clearMessageField
public void clearMessageField() -
hasStringPieceField
public boolean hasStringPieceField() -
getStringPieceField
-
setStringPieceField
-
clearStringPieceField
public void clearStringPieceField() -
hasCordField
public boolean hasCordField() -
getCordField
-
setCordField
-
clearCordField
public void clearCordField() -
hasRepeatedPrimitiveField
public boolean hasRepeatedPrimitiveField() -
getRepeatedPrimitiveFieldList
-
setRepeatedPrimitiveFieldList
public UnittestProto.TestCamelCaseFieldNames setRepeatedPrimitiveFieldList(List<Integer> repeatedPrimitiveField) -
getRepeatedPrimitiveFieldCount
public int getRepeatedPrimitiveFieldCount() -
getRepeatedPrimitiveField
-
setRepeatedPrimitiveField
-
addRepeatedPrimitiveField
-
addAllRepeatedPrimitiveField
public UnittestProto.TestCamelCaseFieldNames addAllRepeatedPrimitiveField(Iterable<? extends Integer> collection) -
clearRepeatedPrimitiveField
public void clearRepeatedPrimitiveField() -
hasRepeatedStringField
public boolean hasRepeatedStringField() -
getRepeatedStringFieldList
-
setRepeatedStringFieldList
public UnittestProto.TestCamelCaseFieldNames setRepeatedStringFieldList(List<String> repeatedStringField) -
getRepeatedStringFieldCount
public int getRepeatedStringFieldCount() -
getRepeatedStringField
-
setRepeatedStringField
-
addRepeatedStringField
-
addAllRepeatedStringField
public UnittestProto.TestCamelCaseFieldNames addAllRepeatedStringField(Iterable<? extends String> collection) -
clearRepeatedStringField
public void clearRepeatedStringField() -
hasRepeatedEnumField
public boolean hasRepeatedEnumField() -
getRepeatedEnumFieldList
-
setRepeatedEnumFieldList
public UnittestProto.TestCamelCaseFieldNames setRepeatedEnumFieldList(List<UnittestProto.ForeignEnum> repeatedEnumField) -
getRepeatedEnumFieldCount
public int getRepeatedEnumFieldCount() -
getRepeatedEnumField
-
setRepeatedEnumField
public UnittestProto.TestCamelCaseFieldNames setRepeatedEnumField(int index, UnittestProto.ForeignEnum value) -
addRepeatedEnumField
-
addAllRepeatedEnumField
public UnittestProto.TestCamelCaseFieldNames addAllRepeatedEnumField(Iterable<? extends UnittestProto.ForeignEnum> collection) -
clearRepeatedEnumField
public void clearRepeatedEnumField() -
hasRepeatedMessageField
public boolean hasRepeatedMessageField() -
getRepeatedMessageFieldList
-
setRepeatedMessageFieldList
public UnittestProto.TestCamelCaseFieldNames setRepeatedMessageFieldList(List<UnittestProto.ForeignMessage> repeatedMessageField) -
getRepeatedMessageFieldCount
public int getRepeatedMessageFieldCount() -
getRepeatedMessageField
-
setRepeatedMessageField
public UnittestProto.TestCamelCaseFieldNames setRepeatedMessageField(int index, UnittestProto.ForeignMessage value) -
addRepeatedMessageField
public UnittestProto.TestCamelCaseFieldNames addRepeatedMessageField(UnittestProto.ForeignMessage value) -
addAllRepeatedMessageField
public UnittestProto.TestCamelCaseFieldNames addAllRepeatedMessageField(Iterable<? extends UnittestProto.ForeignMessage> collection) -
clearRepeatedMessageField
public void clearRepeatedMessageField() -
hasRepeatedStringPieceField
public boolean hasRepeatedStringPieceField() -
getRepeatedStringPieceFieldList
-
setRepeatedStringPieceFieldList
public UnittestProto.TestCamelCaseFieldNames setRepeatedStringPieceFieldList(List<String> repeatedStringPieceField) -
getRepeatedStringPieceFieldCount
public int getRepeatedStringPieceFieldCount() -
getRepeatedStringPieceField
-
setRepeatedStringPieceField
-
addRepeatedStringPieceField
-
addAllRepeatedStringPieceField
public UnittestProto.TestCamelCaseFieldNames addAllRepeatedStringPieceField(Iterable<? extends String> collection) -
clearRepeatedStringPieceField
public void clearRepeatedStringPieceField() -
hasRepeatedCordField
public boolean hasRepeatedCordField() -
getRepeatedCordFieldList
-
setRepeatedCordFieldList
public UnittestProto.TestCamelCaseFieldNames setRepeatedCordFieldList(List<String> repeatedCordField) -
getRepeatedCordFieldCount
public int getRepeatedCordFieldCount() -
getRepeatedCordField
-
setRepeatedCordField
-
addRepeatedCordField
-
addAllRepeatedCordField
public UnittestProto.TestCamelCaseFieldNames addAllRepeatedCordField(Iterable<? extends String> collection) -
clearRepeatedCordField
public void clearRepeatedCordField()
-