public static final class DescriptorProtos.FieldDescriptorProto extends GeneratedMessage implements DescriptorProtos.FieldDescriptorProtoOrBuilder
| Modifier and Type | Class and Description |
|---|---|
static class |
DescriptorProtos.FieldDescriptorProto.Builder |
static class |
DescriptorProtos.FieldDescriptorProto.Label |
static class |
DescriptorProtos.FieldDescriptorProto.Type |
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 |
DEFAULT_VALUE_FIELD_NUMBER |
static int |
EXTENDEE_FIELD_NUMBER |
static int |
LABEL_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
NUMBER_FIELD_NUMBER |
static int |
OPTIONS_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
TYPE_NAME_FIELD_NUMBER |
alwaysUseFieldBuildersgetAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtensionequals, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toStringtoByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasFieldtoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int NAME_FIELD_NUMBER
public static final int NUMBER_FIELD_NUMBER
public static final int LABEL_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int TYPE_NAME_FIELD_NUMBER
public static final int EXTENDEE_FIELD_NUMBER
public static final int DEFAULT_VALUE_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER
public static DescriptorProtos.FieldDescriptorProto getDefaultInstance()
public DescriptorProtos.FieldDescriptorProto getDefaultInstanceForType()
MessageLiteOrBuildergetDefaultInstance() method of generated message classes in that
this method is an abstract method of the MessageLite interface
whereas getDefaultInstance() is a static method of a specific
class. They return the same thing.getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
GeneratedMessageinternalGetFieldAccessorTable in class GeneratedMessagepublic boolean hasName()
hasName in interface DescriptorProtos.FieldDescriptorProtoOrBuilderpublic String getName()
getName in interface DescriptorProtos.FieldDescriptorProtoOrBuilderpublic boolean hasNumber()
hasNumber in interface DescriptorProtos.FieldDescriptorProtoOrBuilderpublic int getNumber()
getNumber in interface DescriptorProtos.FieldDescriptorProtoOrBuilderpublic boolean hasLabel()
hasLabel in interface DescriptorProtos.FieldDescriptorProtoOrBuilderpublic DescriptorProtos.FieldDescriptorProto.Label getLabel()
getLabel in interface DescriptorProtos.FieldDescriptorProtoOrBuilderpublic boolean hasType()
hasType in interface DescriptorProtos.FieldDescriptorProtoOrBuilderpublic DescriptorProtos.FieldDescriptorProto.Type getType()
getType in interface DescriptorProtos.FieldDescriptorProtoOrBuilderpublic boolean hasTypeName()
hasTypeName in interface DescriptorProtos.FieldDescriptorProtoOrBuilderpublic String getTypeName()
getTypeName in interface DescriptorProtos.FieldDescriptorProtoOrBuilderpublic boolean hasExtendee()
hasExtendee in interface DescriptorProtos.FieldDescriptorProtoOrBuilderpublic String getExtendee()
getExtendee in interface DescriptorProtos.FieldDescriptorProtoOrBuilderpublic boolean hasDefaultValue()
hasDefaultValue in interface DescriptorProtos.FieldDescriptorProtoOrBuilderpublic String getDefaultValue()
getDefaultValue in interface DescriptorProtos.FieldDescriptorProtoOrBuilderpublic boolean hasOptions()
hasOptions in interface DescriptorProtos.FieldDescriptorProtoOrBuilderpublic DescriptorProtos.FieldOptions getOptions()
getOptions in interface DescriptorProtos.FieldDescriptorProtoOrBuilderpublic DescriptorProtos.FieldOptionsOrBuilder getOptionsOrBuilder()
getOptionsOrBuilder in interface DescriptorProtos.FieldDescriptorProtoOrBuilderpublic final boolean isInitialized()
MessageLiteOrBuilderisInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessagepublic void writeTo(CodedOutputStream output) throws IOException
MessageLiteoutput. This does not
flush or close the stream.writeTo in interface MessageLitewriteTo in class AbstractMessageIOExceptionpublic int getSerializedSize()
MessageLitegetSerializedSize in interface MessageLitegetSerializedSize in class AbstractMessageprotected Object writeReplace() throws ObjectStreamException
GeneratedMessagereturn super.writeReplace();writeReplace in class GeneratedMessageObjectStreamExceptionpublic static DescriptorProtos.FieldDescriptorProto parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DescriptorProtos.FieldDescriptorProto parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DescriptorProtos.FieldDescriptorProto parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DescriptorProtos.FieldDescriptorProto parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DescriptorProtos.FieldDescriptorProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static DescriptorProtos.FieldDescriptorProto parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DescriptorProtos.FieldDescriptorProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DescriptorProtos.FieldDescriptorProto parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DescriptorProtos.FieldDescriptorProto parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static DescriptorProtos.FieldDescriptorProto parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DescriptorProtos.FieldDescriptorProto.Builder newBuilder()
public DescriptorProtos.FieldDescriptorProto.Builder newBuilderForType()
MessageLitenewBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static DescriptorProtos.FieldDescriptorProto.Builder newBuilder(DescriptorProtos.FieldDescriptorProto prototype)
public DescriptorProtos.FieldDescriptorProto.Builder toBuilder()
MessageLitetoBuilder in interface MessagetoBuilder in interface MessageLiteprotected DescriptorProtos.FieldDescriptorProto.Builder newBuilderForType(GeneratedMessage.BuilderParent parent)
newBuilderForType in class GeneratedMessageCopyright © 2008–2013 Google. All rights reserved.