public static final class LiteEqualsAndHash.Foo extends com.google.protobuf.GeneratedMessageLite implements LiteEqualsAndHash.FooOrBuilder
protobuf_unittest.lite_equals_and_hash.Foo
Modifier and Type | Class and Description |
---|---|
static class |
LiteEqualsAndHash.Foo.Builder
Protobuf type
protobuf_unittest.lite_equals_and_hash.Foo |
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>
Modifier and Type | Field and Description |
---|---|
static int |
BAR_FIELD_NUMBER |
static com.google.protobuf.Parser<LiteEqualsAndHash.Foo> |
PARSER |
static int |
VALUE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
LiteEqualsAndHash.Bar |
getBar(int index)
repeated .protobuf_unittest.lite_equals_and_hash.Bar bar = 2; |
int |
getBarCount()
repeated .protobuf_unittest.lite_equals_and_hash.Bar bar = 2; |
java.util.List<LiteEqualsAndHash.Bar> |
getBarList()
repeated .protobuf_unittest.lite_equals_and_hash.Bar bar = 2; |
LiteEqualsAndHash.BarOrBuilder |
getBarOrBuilder(int index)
repeated .protobuf_unittest.lite_equals_and_hash.Bar bar = 2; |
java.util.List<? extends LiteEqualsAndHash.BarOrBuilder> |
getBarOrBuilderList()
repeated .protobuf_unittest.lite_equals_and_hash.Bar bar = 2; |
static LiteEqualsAndHash.Foo |
getDefaultInstance() |
LiteEqualsAndHash.Foo |
getDefaultInstanceForType() |
com.google.protobuf.Parser<LiteEqualsAndHash.Foo> |
getParserForType() |
int |
getSerializedSize() |
int |
getValue()
optional int32 value = 1; |
int |
hashCode() |
boolean |
hasValue()
optional int32 value = 1; |
boolean |
isInitialized() |
static LiteEqualsAndHash.Foo.Builder |
newBuilder() |
static LiteEqualsAndHash.Foo.Builder |
newBuilder(LiteEqualsAndHash.Foo prototype) |
LiteEqualsAndHash.Foo.Builder |
newBuilderForType() |
static LiteEqualsAndHash.Foo |
parseDelimitedFrom(java.io.InputStream input) |
static LiteEqualsAndHash.Foo |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LiteEqualsAndHash.Foo |
parseFrom(byte[] data) |
static LiteEqualsAndHash.Foo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LiteEqualsAndHash.Foo |
parseFrom(com.google.protobuf.ByteString data) |
static LiteEqualsAndHash.Foo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LiteEqualsAndHash.Foo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LiteEqualsAndHash.Foo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LiteEqualsAndHash.Foo |
parseFrom(java.io.InputStream input) |
static LiteEqualsAndHash.Foo |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LiteEqualsAndHash.Foo.Builder |
toBuilder() |
protected java.lang.Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownField
public static com.google.protobuf.Parser<LiteEqualsAndHash.Foo> PARSER
public static final int VALUE_FIELD_NUMBER
public static final int BAR_FIELD_NUMBER
public static LiteEqualsAndHash.Foo getDefaultInstance()
public LiteEqualsAndHash.Foo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
public com.google.protobuf.Parser<LiteEqualsAndHash.Foo> getParserForType()
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageLite
public boolean hasValue()
optional int32 value = 1;
hasValue
in interface LiteEqualsAndHash.FooOrBuilder
public int getValue()
optional int32 value = 1;
getValue
in interface LiteEqualsAndHash.FooOrBuilder
public java.util.List<LiteEqualsAndHash.Bar> getBarList()
repeated .protobuf_unittest.lite_equals_and_hash.Bar bar = 2;
getBarList
in interface LiteEqualsAndHash.FooOrBuilder
public java.util.List<? extends LiteEqualsAndHash.BarOrBuilder> getBarOrBuilderList()
repeated .protobuf_unittest.lite_equals_and_hash.Bar bar = 2;
public int getBarCount()
repeated .protobuf_unittest.lite_equals_and_hash.Bar bar = 2;
getBarCount
in interface LiteEqualsAndHash.FooOrBuilder
public LiteEqualsAndHash.Bar getBar(int index)
repeated .protobuf_unittest.lite_equals_and_hash.Bar bar = 2;
getBar
in interface LiteEqualsAndHash.FooOrBuilder
public LiteEqualsAndHash.BarOrBuilder getBarOrBuilder(int index)
repeated .protobuf_unittest.lite_equals_and_hash.Bar bar = 2;
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
protected java.lang.Object writeReplace() throws java.io.ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessageLite
java.io.ObjectStreamException
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public static LiteEqualsAndHash.Foo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LiteEqualsAndHash.Foo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LiteEqualsAndHash.Foo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LiteEqualsAndHash.Foo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LiteEqualsAndHash.Foo parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static LiteEqualsAndHash.Foo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static LiteEqualsAndHash.Foo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static LiteEqualsAndHash.Foo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static LiteEqualsAndHash.Foo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static LiteEqualsAndHash.Foo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static LiteEqualsAndHash.Foo.Builder newBuilder()
public LiteEqualsAndHash.Foo.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.MessageLite
public static LiteEqualsAndHash.Foo.Builder newBuilder(LiteEqualsAndHash.Foo prototype)
public LiteEqualsAndHash.Foo.Builder toBuilder()
toBuilder
in interface com.google.protobuf.MessageLite