public static final class LiteEqualsAndHash.Bar extends com.google.protobuf.GeneratedMessageLite implements LiteEqualsAndHash.BarOrBuilder
protobuf_unittest.lite_equals_and_hash.Bar| Modifier and Type | Class and Description |
|---|---|
static class |
LiteEqualsAndHash.Bar.Builder
Protobuf type
protobuf_unittest.lite_equals_and_hash.Bar |
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 |
NAME_FIELD_NUMBER |
static com.google.protobuf.Parser<LiteEqualsAndHash.Bar> |
PARSER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static LiteEqualsAndHash.Bar |
getDefaultInstance() |
LiteEqualsAndHash.Bar |
getDefaultInstanceForType() |
java.lang.String |
getName()
optional string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
optional string name = 1; |
com.google.protobuf.Parser<LiteEqualsAndHash.Bar> |
getParserForType() |
int |
getSerializedSize() |
int |
hashCode() |
boolean |
hasName()
optional string name = 1; |
boolean |
isInitialized() |
static LiteEqualsAndHash.Bar.Builder |
newBuilder() |
static LiteEqualsAndHash.Bar.Builder |
newBuilder(LiteEqualsAndHash.Bar prototype) |
LiteEqualsAndHash.Bar.Builder |
newBuilderForType() |
static LiteEqualsAndHash.Bar |
parseDelimitedFrom(java.io.InputStream input) |
static LiteEqualsAndHash.Bar |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LiteEqualsAndHash.Bar |
parseFrom(byte[] data) |
static LiteEqualsAndHash.Bar |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LiteEqualsAndHash.Bar |
parseFrom(com.google.protobuf.ByteString data) |
static LiteEqualsAndHash.Bar |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LiteEqualsAndHash.Bar |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LiteEqualsAndHash.Bar |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LiteEqualsAndHash.Bar |
parseFrom(java.io.InputStream input) |
static LiteEqualsAndHash.Bar |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LiteEqualsAndHash.Bar.Builder |
toBuilder() |
protected java.lang.Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownFieldpublic static com.google.protobuf.Parser<LiteEqualsAndHash.Bar> PARSER
public static final int NAME_FIELD_NUMBER
public static LiteEqualsAndHash.Bar getDefaultInstance()
public LiteEqualsAndHash.Bar getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilderpublic com.google.protobuf.Parser<LiteEqualsAndHash.Bar> getParserForType()
getParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageLitepublic boolean hasName()
optional string name = 1;hasName in interface LiteEqualsAndHash.BarOrBuilderpublic java.lang.String getName()
optional string name = 1;getName in interface LiteEqualsAndHash.BarOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
optional string name = 1;getNameBytes in interface LiteEqualsAndHash.BarOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderpublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitejava.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLiteprotected java.lang.Object writeReplace()
throws java.io.ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageLitejava.io.ObjectStreamExceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic static LiteEqualsAndHash.Bar parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LiteEqualsAndHash.Bar parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LiteEqualsAndHash.Bar parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LiteEqualsAndHash.Bar parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LiteEqualsAndHash.Bar parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LiteEqualsAndHash.Bar parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LiteEqualsAndHash.Bar parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LiteEqualsAndHash.Bar parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LiteEqualsAndHash.Bar parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LiteEqualsAndHash.Bar parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LiteEqualsAndHash.Bar.Builder newBuilder()
public LiteEqualsAndHash.Bar.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessageLitepublic static LiteEqualsAndHash.Bar.Builder newBuilder(LiteEqualsAndHash.Bar prototype)
public LiteEqualsAndHash.Bar.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessageLite