Package com.google.protobuf
Class DescriptorProtos.FileDescriptorProto
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<DescriptorProtos.FileDescriptorProto,DescriptorProtos.FileDescriptorProto.Builder>
-
- com.google.protobuf.DescriptorProtos.FileDescriptorProto
-
- All Implemented Interfaces:
DescriptorProtos.FileDescriptorProtoOrBuilder
,MessageLite
,MessageLiteOrBuilder
- Enclosing class:
- DescriptorProtos
public static final class DescriptorProtos.FileDescriptorProto extends GeneratedMessageLite<DescriptorProtos.FileDescriptorProto,DescriptorProtos.FileDescriptorProto.Builder> implements DescriptorProtos.FileDescriptorProtoOrBuilder
Protobuf typegoogle.protobuf.FileDescriptorProto
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DescriptorProtos.FileDescriptorProto.Builder
Protobuf typegoogle.protobuf.FileDescriptorProto
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
GeneratedMessageLite.DefaultInstanceBasedParser<T extends GeneratedMessageLite<T,?>>, GeneratedMessageLite.ExtendableBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageLite.ExtendableMessage<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageLite.GeneratedExtension<ContainingType extends MessageLite,Type>, GeneratedMessageLite.MethodToInvoke, GeneratedMessageLite.SerializedForm
-
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
AbstractMessageLite.InternalOneOfEnum
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEPENDENCY_FIELD_NUMBER
static int
EDITION_FIELD_NUMBER
static int
ENUM_TYPE_FIELD_NUMBER
static int
EXTENSION_FIELD_NUMBER
static int
MESSAGE_TYPE_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
OPTIONS_FIELD_NUMBER
static int
PACKAGE_FIELD_NUMBER
static int
PUBLIC_DEPENDENCY_FIELD_NUMBER
static int
SERVICE_FIELD_NUMBER
static int
SOURCE_CODE_INFO_FIELD_NUMBER
static int
SYNTAX_FIELD_NUMBER
static int
WEAK_DEPENDENCY_FIELD_NUMBER
-
Fields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFields
-
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Object
dynamicMethod(GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)
A method that implements different types of operations described inGeneratedMessageLite.MethodToInvoke
.static DescriptorProtos.FileDescriptorProto
getDefaultInstance()
java.lang.String
getDependency(int index)
repeated string dependency = 3 [json_name = "dependency"];
ByteString
getDependencyBytes(int index)
repeated string dependency = 3 [json_name = "dependency"];
int
getDependencyCount()
repeated string dependency = 3 [json_name = "dependency"];
java.util.List<java.lang.String>
getDependencyList()
repeated string dependency = 3 [json_name = "dependency"];
DescriptorProtos.Edition
getEdition()
optional .google.protobuf.Edition edition = 14 [json_name = "edition"];
DescriptorProtos.EnumDescriptorProto
getEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
int
getEnumTypeCount()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
java.util.List<DescriptorProtos.EnumDescriptorProto>
getEnumTypeList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
DescriptorProtos.EnumDescriptorProtoOrBuilder
getEnumTypeOrBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
java.util.List<? extends DescriptorProtos.EnumDescriptorProtoOrBuilder>
getEnumTypeOrBuilderList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
DescriptorProtos.FieldDescriptorProto
getExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
int
getExtensionCount()
repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
java.util.List<DescriptorProtos.FieldDescriptorProto>
getExtensionList()
repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
DescriptorProtos.FieldDescriptorProtoOrBuilder
getExtensionOrBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
java.util.List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder>
getExtensionOrBuilderList()
repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
DescriptorProtos.DescriptorProto
getMessageType(int index)
repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
int
getMessageTypeCount()
repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
java.util.List<DescriptorProtos.DescriptorProto>
getMessageTypeList()
repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
DescriptorProtos.DescriptorProtoOrBuilder
getMessageTypeOrBuilder(int index)
repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
java.util.List<? extends DescriptorProtos.DescriptorProtoOrBuilder>
getMessageTypeOrBuilderList()
repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
java.lang.String
getName()
optional string name = 1 [json_name = "name"];
ByteString
getNameBytes()
optional string name = 1 [json_name = "name"];
DescriptorProtos.FileOptions
getOptions()
optional .google.protobuf.FileOptions options = 8 [json_name = "options"];
java.lang.String
getPackage()
optional string package = 2 [json_name = "package"];
ByteString
getPackageBytes()
optional string package = 2 [json_name = "package"];
int
getPublicDependency(int index)
repeated int32 public_dependency = 10 [json_name = "publicDependency"];
int
getPublicDependencyCount()
repeated int32 public_dependency = 10 [json_name = "publicDependency"];
java.util.List<java.lang.Integer>
getPublicDependencyList()
repeated int32 public_dependency = 10 [json_name = "publicDependency"];
DescriptorProtos.ServiceDescriptorProto
getService(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
int
getServiceCount()
repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
java.util.List<DescriptorProtos.ServiceDescriptorProto>
getServiceList()
repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
DescriptorProtos.ServiceDescriptorProtoOrBuilder
getServiceOrBuilder(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
java.util.List<? extends DescriptorProtos.ServiceDescriptorProtoOrBuilder>
getServiceOrBuilderList()
repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
DescriptorProtos.SourceCodeInfo
getSourceCodeInfo()
optional .google.protobuf.SourceCodeInfo source_code_info = 9 [json_name = "sourceCodeInfo"];
java.lang.String
getSyntax()
optional string syntax = 12 [json_name = "syntax"];
ByteString
getSyntaxBytes()
optional string syntax = 12 [json_name = "syntax"];
int
getWeakDependency(int index)
repeated int32 weak_dependency = 11 [json_name = "weakDependency"];
int
getWeakDependencyCount()
repeated int32 weak_dependency = 11 [json_name = "weakDependency"];
java.util.List<java.lang.Integer>
getWeakDependencyList()
repeated int32 weak_dependency = 11 [json_name = "weakDependency"];
boolean
hasEdition()
optional .google.protobuf.Edition edition = 14 [json_name = "edition"];
boolean
hasName()
optional string name = 1 [json_name = "name"];
boolean
hasOptions()
optional .google.protobuf.FileOptions options = 8 [json_name = "options"];
boolean
hasPackage()
optional string package = 2 [json_name = "package"];
boolean
hasSourceCodeInfo()
optional .google.protobuf.SourceCodeInfo source_code_info = 9 [json_name = "sourceCodeInfo"];
boolean
hasSyntax()
optional string syntax = 12 [json_name = "syntax"];
static DescriptorProtos.FileDescriptorProto.Builder
newBuilder()
static DescriptorProtos.FileDescriptorProto.Builder
newBuilder(DescriptorProtos.FileDescriptorProto prototype)
static DescriptorProtos.FileDescriptorProto
parseDelimitedFrom(java.io.InputStream input)
static DescriptorProtos.FileDescriptorProto
parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.FileDescriptorProto
parseFrom(byte[] data)
static DescriptorProtos.FileDescriptorProto
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.FileDescriptorProto
parseFrom(ByteString data)
static DescriptorProtos.FileDescriptorProto
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.FileDescriptorProto
parseFrom(CodedInputStream input)
static DescriptorProtos.FileDescriptorProto
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.FileDescriptorProto
parseFrom(java.io.InputStream input)
static DescriptorProtos.FileDescriptorProto
parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.FileDescriptorProto
parseFrom(java.nio.ByteBuffer data)
static DescriptorProtos.FileDescriptorProto
parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry)
static Parser<DescriptorProtos.FileDescriptorProto>
parser()
-
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PACKAGE_FIELD_NUMBER
public static final int PACKAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEPENDENCY_FIELD_NUMBER
public static final int DEPENDENCY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PUBLIC_DEPENDENCY_FIELD_NUMBER
public static final int PUBLIC_DEPENDENCY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WEAK_DEPENDENCY_FIELD_NUMBER
public static final int WEAK_DEPENDENCY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MESSAGE_TYPE_FIELD_NUMBER
public static final int MESSAGE_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENUM_TYPE_FIELD_NUMBER
public static final int ENUM_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICE_FIELD_NUMBER
public static final int SERVICE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXTENSION_FIELD_NUMBER
public static final int EXTENSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OPTIONS_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_CODE_INFO_FIELD_NUMBER
public static final int SOURCE_CODE_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SYNTAX_FIELD_NUMBER
public static final int SYNTAX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EDITION_FIELD_NUMBER
public static final int EDITION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
hasName
public boolean hasName()
optional string name = 1 [json_name = "name"];
- Specified by:
hasName
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- Whether the name field is set.
-
getName
public java.lang.String getName()
optional string name = 1 [json_name = "name"];
- Specified by:
getName
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- The name.
-
getNameBytes
public ByteString getNameBytes()
optional string name = 1 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- The bytes for name.
-
hasPackage
public boolean hasPackage()
optional string package = 2 [json_name = "package"];
- Specified by:
hasPackage
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- Whether the package field is set.
-
getPackage
public java.lang.String getPackage()
optional string package = 2 [json_name = "package"];
- Specified by:
getPackage
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- The package.
-
getPackageBytes
public ByteString getPackageBytes()
optional string package = 2 [json_name = "package"];
- Specified by:
getPackageBytes
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- The bytes for package.
-
getDependencyList
public java.util.List<java.lang.String> getDependencyList()
repeated string dependency = 3 [json_name = "dependency"];
- Specified by:
getDependencyList
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- A list containing the dependency.
-
getDependencyCount
public int getDependencyCount()
repeated string dependency = 3 [json_name = "dependency"];
- Specified by:
getDependencyCount
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- The count of dependency.
-
getDependency
public java.lang.String getDependency(int index)
repeated string dependency = 3 [json_name = "dependency"];
- Specified by:
getDependency
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The dependency at the given index.
-
getDependencyBytes
public ByteString getDependencyBytes(int index)
repeated string dependency = 3 [json_name = "dependency"];
- Specified by:
getDependencyBytes
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the dependency at the given index.
-
getPublicDependencyList
public java.util.List<java.lang.Integer> getPublicDependencyList()
repeated int32 public_dependency = 10 [json_name = "publicDependency"];
- Specified by:
getPublicDependencyList
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- A list containing the publicDependency.
-
getPublicDependencyCount
public int getPublicDependencyCount()
repeated int32 public_dependency = 10 [json_name = "publicDependency"];
- Specified by:
getPublicDependencyCount
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- The count of publicDependency.
-
getPublicDependency
public int getPublicDependency(int index)
repeated int32 public_dependency = 10 [json_name = "publicDependency"];
- Specified by:
getPublicDependency
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The publicDependency at the given index.
-
getWeakDependencyList
public java.util.List<java.lang.Integer> getWeakDependencyList()
repeated int32 weak_dependency = 11 [json_name = "weakDependency"];
- Specified by:
getWeakDependencyList
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- A list containing the weakDependency.
-
getWeakDependencyCount
public int getWeakDependencyCount()
repeated int32 weak_dependency = 11 [json_name = "weakDependency"];
- Specified by:
getWeakDependencyCount
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- The count of weakDependency.
-
getWeakDependency
public int getWeakDependency(int index)
repeated int32 weak_dependency = 11 [json_name = "weakDependency"];
- Specified by:
getWeakDependency
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The weakDependency at the given index.
-
getMessageTypeList
public java.util.List<DescriptorProtos.DescriptorProto> getMessageTypeList()
repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
- Specified by:
getMessageTypeList
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getMessageTypeOrBuilderList
public java.util.List<? extends DescriptorProtos.DescriptorProtoOrBuilder> getMessageTypeOrBuilderList()
repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
-
getMessageTypeCount
public int getMessageTypeCount()
repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
- Specified by:
getMessageTypeCount
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getMessageType
public DescriptorProtos.DescriptorProto getMessageType(int index)
repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
- Specified by:
getMessageType
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getMessageTypeOrBuilder
public DescriptorProtos.DescriptorProtoOrBuilder getMessageTypeOrBuilder(int index)
repeated .google.protobuf.DescriptorProto message_type = 4 [json_name = "messageType"];
-
getEnumTypeList
public java.util.List<DescriptorProtos.EnumDescriptorProto> getEnumTypeList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
- Specified by:
getEnumTypeList
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getEnumTypeOrBuilderList
public java.util.List<? extends DescriptorProtos.EnumDescriptorProtoOrBuilder> getEnumTypeOrBuilderList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
-
getEnumTypeCount
public int getEnumTypeCount()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
- Specified by:
getEnumTypeCount
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getEnumType
public DescriptorProtos.EnumDescriptorProto getEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
- Specified by:
getEnumType
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getEnumTypeOrBuilder
public DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5 [json_name = "enumType"];
-
getServiceList
public java.util.List<DescriptorProtos.ServiceDescriptorProto> getServiceList()
repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
- Specified by:
getServiceList
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getServiceOrBuilderList
public java.util.List<? extends DescriptorProtos.ServiceDescriptorProtoOrBuilder> getServiceOrBuilderList()
repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
-
getServiceCount
public int getServiceCount()
repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
- Specified by:
getServiceCount
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getService
public DescriptorProtos.ServiceDescriptorProto getService(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
- Specified by:
getService
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getServiceOrBuilder
public DescriptorProtos.ServiceDescriptorProtoOrBuilder getServiceOrBuilder(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6 [json_name = "service"];
-
getExtensionList
public java.util.List<DescriptorProtos.FieldDescriptorProto> getExtensionList()
repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
- Specified by:
getExtensionList
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getExtensionOrBuilderList
public java.util.List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder> getExtensionOrBuilderList()
repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
-
getExtensionCount
public int getExtensionCount()
repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
- Specified by:
getExtensionCount
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getExtension
public DescriptorProtos.FieldDescriptorProto getExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
- Specified by:
getExtension
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getExtensionOrBuilder
public DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7 [json_name = "extension"];
-
hasOptions
public boolean hasOptions()
optional .google.protobuf.FileOptions options = 8 [json_name = "options"];
- Specified by:
hasOptions
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- Whether the options field is set.
-
getOptions
public DescriptorProtos.FileOptions getOptions()
optional .google.protobuf.FileOptions options = 8 [json_name = "options"];
- Specified by:
getOptions
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- The options.
-
hasSourceCodeInfo
public boolean hasSourceCodeInfo()
optional .google.protobuf.SourceCodeInfo source_code_info = 9 [json_name = "sourceCodeInfo"];
- Specified by:
hasSourceCodeInfo
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- Whether the sourceCodeInfo field is set.
-
getSourceCodeInfo
public DescriptorProtos.SourceCodeInfo getSourceCodeInfo()
optional .google.protobuf.SourceCodeInfo source_code_info = 9 [json_name = "sourceCodeInfo"];
- Specified by:
getSourceCodeInfo
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- The sourceCodeInfo.
-
hasSyntax
public boolean hasSyntax()
optional string syntax = 12 [json_name = "syntax"];
- Specified by:
hasSyntax
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- Whether the syntax field is set.
-
getSyntax
public java.lang.String getSyntax()
optional string syntax = 12 [json_name = "syntax"];
- Specified by:
getSyntax
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- The syntax.
-
getSyntaxBytes
public ByteString getSyntaxBytes()
optional string syntax = 12 [json_name = "syntax"];
- Specified by:
getSyntaxBytes
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- The bytes for syntax.
-
hasEdition
public boolean hasEdition()
optional .google.protobuf.Edition edition = 14 [json_name = "edition"];
- Specified by:
hasEdition
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- Whether the edition field is set.
-
getEdition
public DescriptorProtos.Edition getEdition()
optional .google.protobuf.Edition edition = 14 [json_name = "edition"];
- Specified by:
getEdition
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- The edition.
-
parseFrom
public static DescriptorProtos.FileDescriptorProto parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FileDescriptorProto parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FileDescriptorProto parseFrom(ByteString data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FileDescriptorProto parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FileDescriptorProto parseFrom(byte[] data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FileDescriptorProto parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FileDescriptorProto parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DescriptorProtos.FileDescriptorProto parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static DescriptorProtos.FileDescriptorProto parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static DescriptorProtos.FileDescriptorProto parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DescriptorProtos.FileDescriptorProto parseFrom(CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DescriptorProtos.FileDescriptorProto parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static DescriptorProtos.FileDescriptorProto.Builder newBuilder()
-
newBuilder
public static DescriptorProtos.FileDescriptorProto.Builder newBuilder(DescriptorProtos.FileDescriptorProto prototype)
-
dynamicMethod
protected final java.lang.Object dynamicMethod(GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)
Description copied from class:GeneratedMessageLite
A method that implements different types of operations described inGeneratedMessageLite.MethodToInvoke
. These different kinds of operations are required to implement message-level operations for builders in the runtime. This method bundles those operations to reduce the generated methods count.NEW_INSTANCE
returns a new instance of the protocol buffer that has not yet been made immutable. SeeMAKE_IMMUTABLE
.IS_INITIALIZED
returnsnull
for false and the default instance for true. It doesn't use or modify any memoized value.GET_MEMOIZED_IS_INITIALIZED
returns the memoizedisInitialized
byte value.SET_MEMOIZED_IS_INITIALIZED
sets the memoizedisInitialized
byte value to 1 if the first parameter is not null, or to 0 if the first parameter is null.NEW_BUILDER
returns aBuilderType
instance.
For use by generated code only.
-
getDefaultInstance
public static DescriptorProtos.FileDescriptorProto getDefaultInstance()
-
parser
public static Parser<DescriptorProtos.FileDescriptorProto> parser()
-
-