public static final class ExampleMessageProto.ExampleMsg extends com.google.protobuf.GeneratedMessage implements ExampleMessageProto.ExampleMsgOrBuilder
| Modifier and Type | Class and Description |
|---|---|
static class |
ExampleMessageProto.ExampleMsg.Builder |
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
CODE_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
VALUE_FIELD_NUMBER |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtensiontoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int NAME_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
public static final int CODE_FIELD_NUMBER
public static ExampleMessageProto.ExampleMsg getDefaultInstance()
public ExampleMessageProto.ExampleMsg getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public boolean hasName()
hasName in interface ExampleMessageProto.ExampleMsgOrBuilderpublic String getName()
getName in interface ExampleMessageProto.ExampleMsgOrBuilderpublic boolean hasValue()
hasValue in interface ExampleMessageProto.ExampleMsgOrBuilderpublic String getValue()
getValue in interface ExampleMessageProto.ExampleMsgOrBuilderpublic boolean hasCode()
hasCode in interface ExampleMessageProto.ExampleMsgOrBuilderpublic int getCode()
getCode in interface ExampleMessageProto.ExampleMsgOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessagepublic static ExampleMessageProto.ExampleMsg parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExampleMessageProto.ExampleMsg parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExampleMessageProto.ExampleMsg parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExampleMessageProto.ExampleMsg parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExampleMessageProto.ExampleMsg parseFrom(InputStream input) throws IOException
IOExceptionpublic static ExampleMessageProto.ExampleMsg parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExampleMessageProto.ExampleMsg parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ExampleMessageProto.ExampleMsg parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExampleMessageProto.ExampleMsg parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ExampleMessageProto.ExampleMsg parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExampleMessageProto.ExampleMsg.Builder newBuilder()
public ExampleMessageProto.ExampleMsg.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ExampleMessageProto.ExampleMsg.Builder newBuilder(ExampleMessageProto.ExampleMsg prototype)
public ExampleMessageProto.ExampleMsg.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteCopyright © 2017. All rights reserved.