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, parseUnknownField
public 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.MessageLiteOrBuilder
public com.google.protobuf.Parser<LiteEqualsAndHash.Bar> getParserForType()
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageLite
public boolean hasName()
optional string name = 1;
hasName
in interface LiteEqualsAndHash.BarOrBuilder
public java.lang.String getName()
optional string name = 1;
getName
in interface LiteEqualsAndHash.BarOrBuilder
public com.google.protobuf.ByteString getNameBytes()
optional string name = 1;
getNameBytes
in interface LiteEqualsAndHash.BarOrBuilder
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.Bar parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LiteEqualsAndHash.Bar parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LiteEqualsAndHash.Bar parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LiteEqualsAndHash.Bar parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LiteEqualsAndHash.Bar parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static LiteEqualsAndHash.Bar parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static LiteEqualsAndHash.Bar parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static LiteEqualsAndHash.Bar parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static LiteEqualsAndHash.Bar parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static LiteEqualsAndHash.Bar parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static LiteEqualsAndHash.Bar.Builder newBuilder()
public LiteEqualsAndHash.Bar.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.MessageLite
public static LiteEqualsAndHash.Bar.Builder newBuilder(LiteEqualsAndHash.Bar prototype)
public LiteEqualsAndHash.Bar.Builder toBuilder()
toBuilder
in interface com.google.protobuf.MessageLite