public static final class ExampleProtos.CountResponse extends GeneratedMessage implements ExampleProtos.CountResponseOrBuilder
CountResponse| Modifier and Type | Class and Description |
|---|---|
static class |
ExampleProtos.CountResponse.Builder
Protobuf type
CountResponse |
GeneratedMessage.BuilderParent, GeneratedMessage.ExtendableBuilder<MessageType extends GeneratedMessage.ExtendableMessage,BuilderType extends GeneratedMessage.ExtendableBuilder>, GeneratedMessage.ExtendableMessage<MessageType extends GeneratedMessage.ExtendableMessage>, GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends GeneratedMessage.ExtendableMessage>, GeneratedMessage.FieldAccessorTable, GeneratedMessage.GeneratedExtension<ContainingType extends Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
COUNT_FIELD_NUMBER |
static Parser<ExampleProtos.CountResponse> |
PARSER |
alwaysUseFieldBuildersgetAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringtoByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, hasFieldtoByteArray, toByteString, writeDelimitedTo, writeTopublic static Parser<ExampleProtos.CountResponse> PARSER
public static final int COUNT_FIELD_NUMBER
public static ExampleProtos.CountResponse getDefaultInstance()
public ExampleProtos.CountResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessagepublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessagepublic Parser<ExampleProtos.CountResponse> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessagepublic boolean hasCount()
required int64 count = 1 [default = 0];hasCount in interface ExampleProtos.CountResponseOrBuilderpublic long getCount()
required int64 count = 1 [default = 0];getCount in interface ExampleProtos.CountResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessagepublic void writeTo(CodedOutputStream output) throws IOException
writeTo in interface MessageLitewriteTo in class AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class GeneratedMessageObjectStreamExceptionpublic boolean equals(Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static ExampleProtos.CountResponse parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ExampleProtos.CountResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ExampleProtos.CountResponse parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ExampleProtos.CountResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ExampleProtos.CountResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static ExampleProtos.CountResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExampleProtos.CountResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ExampleProtos.CountResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExampleProtos.CountResponse parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static ExampleProtos.CountResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExampleProtos.CountResponse.Builder newBuilder()
public ExampleProtos.CountResponse.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static ExampleProtos.CountResponse.Builder newBuilder(ExampleProtos.CountResponse prototype)
public ExampleProtos.CountResponse.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected ExampleProtos.CountResponse.Builder newBuilderForType(GeneratedMessage.BuilderParent parent)
newBuilderForType in class GeneratedMessageCopyright © 2014 The Apache Software Foundation. All Rights Reserved.