public static final class ProductOuterClass.Product extends com.google.protobuf.GeneratedMessageV3 implements ProductOuterClass.ProductOrBuilder
Product| Modifier and Type | Class and Description |
|---|---|
static class |
ProductOuterClass.Product.Builder
Protobuf type
Product |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
private static ProductOuterClass.Product |
DEFAULT_INSTANCE |
private Object |
description_ |
static int |
DESCRIPTION_FIELD_NUMBER |
private byte |
memoizedIsInitialized |
private static com.google.protobuf.Parser<ProductOuterClass.Product> |
PARSER |
private double |
price_ |
static int |
PRICE_FIELD_NUMBER |
private static long |
serialVersionUID |
| Modifier | Constructor and Description |
|---|---|
private |
Product() |
private |
Product(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
private |
Product(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static ProductOuterClass.Product |
getDefaultInstance() |
ProductOuterClass.Product |
getDefaultInstanceForType() |
String |
getDescription()
string description = 1; |
com.google.protobuf.ByteString |
getDescriptionBytes()
string description = 1; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<ProductOuterClass.Product> |
getParserForType() |
double |
getPrice()
double price = 2; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ProductOuterClass.Product.Builder |
newBuilder() |
static ProductOuterClass.Product.Builder |
newBuilder(ProductOuterClass.Product prototype) |
ProductOuterClass.Product.Builder |
newBuilderForType() |
protected ProductOuterClass.Product.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ProductOuterClass.Product |
parseDelimitedFrom(InputStream input) |
static ProductOuterClass.Product |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProductOuterClass.Product |
parseFrom(byte[] data) |
static ProductOuterClass.Product |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProductOuterClass.Product |
parseFrom(ByteBuffer data) |
static ProductOuterClass.Product |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProductOuterClass.Product |
parseFrom(com.google.protobuf.ByteString data) |
static ProductOuterClass.Product |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProductOuterClass.Product |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ProductOuterClass.Product |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProductOuterClass.Product |
parseFrom(InputStream input) |
static ProductOuterClass.Product |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ProductOuterClass.Product> |
parser() |
ProductOuterClass.Product.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitprivate static final long serialVersionUID
public static final int DESCRIPTION_FIELD_NUMBER
private volatile Object description_
public static final int PRICE_FIELD_NUMBER
private double price_
private byte memoizedIsInitialized
private static final ProductOuterClass.Product DEFAULT_INSTANCE
private static final com.google.protobuf.Parser<ProductOuterClass.Product> PARSER
private Product(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
private Product()
private Product(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionprotected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getDescription()
string description = 1;getDescription in interface ProductOuterClass.ProductOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
string description = 1;getDescriptionBytes in interface ProductOuterClass.ProductOrBuilderpublic double getPrice()
double price = 2;getPrice in interface ProductOuterClass.ProductOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ProductOuterClass.Product parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProductOuterClass.Product parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProductOuterClass.Product parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProductOuterClass.Product parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProductOuterClass.Product parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProductOuterClass.Product parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProductOuterClass.Product parseFrom(InputStream input) throws IOException
IOExceptionpublic static ProductOuterClass.Product parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ProductOuterClass.Product parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ProductOuterClass.Product parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ProductOuterClass.Product parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ProductOuterClass.Product parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ProductOuterClass.Product.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ProductOuterClass.Product.Builder newBuilder()
public static ProductOuterClass.Product.Builder newBuilder(ProductOuterClass.Product prototype)
public ProductOuterClass.Product.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ProductOuterClass.Product.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ProductOuterClass.Product getDefaultInstance()
public static com.google.protobuf.Parser<ProductOuterClass.Product> parser()
public com.google.protobuf.Parser<ProductOuterClass.Product> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ProductOuterClass.Product getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022. All rights reserved.