Package com.google.protobuf
Class DescriptorProtos.FileDescriptorProto
java.lang.Object
com.google.protobuf.AbstractMessageLite<DescriptorProtos.FileDescriptorProto,DescriptorProtos.FileDescriptorProto.Builder>
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
Describes a complete .proto file.Protobuf type
google.protobuf.FileDescriptorProto
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Describes a complete .proto file.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.ExtensionDescriptor, GeneratedMessageLite.GeneratedExtension<ContainingType extends MessageLite, Type>, GeneratedMessageLite.MethodToInvoke, GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
AbstractMessageLite.InternalOneOfEnum
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private static final DescriptorProtos.FileDescriptorProto
private Internal.ProtobufList
<String> static final int
private int
static final int
static final int
static final int
private byte
static final int
private String
static final int
private DescriptorProtos.FileOptions
static final int
private String
static final int
private static Parser
<DescriptorProtos.FileDescriptorProto> static final int
private Internal.IntList
static final int
static final int
private DescriptorProtos.SourceCodeInfo
private String
static final int
static final int
private Internal.IntList
Fields inherited from class com.google.protobuf.GeneratedMessageLite
UNINITIALIZED_HASH_CODE, UNINITIALIZED_SERIALIZED_SIZE, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
addAllDependency
(Iterable<String> values) Names of files imported by this file.private void
addAllEnumType
(Iterable<? extends DescriptorProtos.EnumDescriptorProto> values) repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
private void
addAllExtension
(Iterable<? extends DescriptorProtos.FieldDescriptorProto> values) repeated .google.protobuf.FieldDescriptorProto extension = 7;
private void
addAllMessageType
(Iterable<? extends DescriptorProtos.DescriptorProto> values) All top-level definitions in this file.private void
addAllPublicDependency
(Iterable<? extends Integer> values) Indexes of the public imported files in the dependency list above.private void
addAllService
(Iterable<? extends DescriptorProtos.ServiceDescriptorProto> values) repeated .google.protobuf.ServiceDescriptorProto service = 6;
private void
addAllWeakDependency
(Iterable<? extends Integer> values) Indexes of the weak imported files in the dependency list.private void
addDependency
(String value) Names of files imported by this file.private void
addDependencyBytes
(ByteString value) Names of files imported by this file.private void
addEnumType
(int index, DescriptorProtos.EnumDescriptorProto value) repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
private void
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
private void
addExtension
(int index, DescriptorProtos.FieldDescriptorProto value) repeated .google.protobuf.FieldDescriptorProto extension = 7;
private void
repeated .google.protobuf.FieldDescriptorProto extension = 7;
private void
addMessageType
(int index, DescriptorProtos.DescriptorProto value) All top-level definitions in this file.private void
All top-level definitions in this file.private void
addPublicDependency
(int value) Indexes of the public imported files in the dependency list above.private void
addService
(int index, DescriptorProtos.ServiceDescriptorProto value) repeated .google.protobuf.ServiceDescriptorProto service = 6;
private void
repeated .google.protobuf.ServiceDescriptorProto service = 6;
private void
addWeakDependency
(int value) Indexes of the weak imported files in the dependency list.private void
Names of files imported by this file.private void
The edition of the proto file.private void
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
private void
repeated .google.protobuf.FieldDescriptorProto extension = 7;
private void
All top-level definitions in this file.private void
file name, relative to root of source treeprivate void
optional .google.protobuf.FileOptions options = 8;
private void
e.g.private void
Indexes of the public imported files in the dependency list above.private void
repeated .google.protobuf.ServiceDescriptorProto service = 6;
private void
This field contains optional information about the original source code.private void
The syntax of the proto file.private void
Indexes of the weak imported files in the dependency list.protected final Object
dynamicMethod
(GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) A method that implements different types of operations described inGeneratedMessageLite.MethodToInvoke
.private void
private void
private void
private void
private void
private void
private void
getDependency
(int index) Names of files imported by this file.getDependencyBytes
(int index) Names of files imported by this file.int
Names of files imported by this file.Names of files imported by this file.The edition of the proto file.getEnumType
(int index) repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
int
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
getEnumTypeOrBuilder
(int index) repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
getExtension
(int index) repeated .google.protobuf.FieldDescriptorProto extension = 7;
int
repeated .google.protobuf.FieldDescriptorProto extension = 7;
repeated .google.protobuf.FieldDescriptorProto extension = 7;
getExtensionOrBuilder
(int index) repeated .google.protobuf.FieldDescriptorProto extension = 7;
repeated .google.protobuf.FieldDescriptorProto extension = 7;
getMessageType
(int index) All top-level definitions in this file.int
All top-level definitions in this file.All top-level definitions in this file.getMessageTypeOrBuilder
(int index) All top-level definitions in this file.List
<? extends DescriptorProtos.DescriptorProtoOrBuilder> All top-level definitions in this file.getName()
file name, relative to root of source treefile name, relative to root of source treeoptional .google.protobuf.FileOptions options = 8;
e.g.e.g.int
getPublicDependency
(int index) Indexes of the public imported files in the dependency list above.int
Indexes of the public imported files in the dependency list above.Indexes of the public imported files in the dependency list above.getService
(int index) repeated .google.protobuf.ServiceDescriptorProto service = 6;
int
repeated .google.protobuf.ServiceDescriptorProto service = 6;
repeated .google.protobuf.ServiceDescriptorProto service = 6;
getServiceOrBuilder
(int index) repeated .google.protobuf.ServiceDescriptorProto service = 6;
repeated .google.protobuf.ServiceDescriptorProto service = 6;
This field contains optional information about the original source code.The syntax of the proto file.The syntax of the proto file.int
getWeakDependency
(int index) Indexes of the weak imported files in the dependency list.int
Indexes of the weak imported files in the dependency list.Indexes of the weak imported files in the dependency list.boolean
The edition of the proto file.boolean
hasName()
file name, relative to root of source treeboolean
optional .google.protobuf.FileOptions options = 8;
boolean
e.g.boolean
This field contains optional information about the original source code.boolean
The syntax of the proto file.private void
optional .google.protobuf.FileOptions options = 8;
private void
This field contains optional information about the original source code.newBuilder
(DescriptorProtos.FileDescriptorProto prototype) parseDelimitedFrom
(InputStream input) parseDelimitedFrom
(InputStream input, ExtensionRegistryLite extensionRegistry) parseFrom
(byte[] data) parseFrom
(byte[] data, ExtensionRegistryLite extensionRegistry) parseFrom
(ByteString data) parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) parseFrom
(CodedInputStream input) parseFrom
(CodedInputStream input, ExtensionRegistryLite extensionRegistry) parseFrom
(InputStream input) parseFrom
(InputStream input, ExtensionRegistryLite extensionRegistry) parseFrom
(ByteBuffer data) parseFrom
(ByteBuffer data, ExtensionRegistryLite extensionRegistry) parser()
private void
removeEnumType
(int index) repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
private void
removeExtension
(int index) repeated .google.protobuf.FieldDescriptorProto extension = 7;
private void
removeMessageType
(int index) All top-level definitions in this file.private void
removeService
(int index) repeated .google.protobuf.ServiceDescriptorProto service = 6;
private void
setDependency
(int index, String value) Names of files imported by this file.private void
The edition of the proto file.private void
setEnumType
(int index, DescriptorProtos.EnumDescriptorProto value) repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
private void
setExtension
(int index, DescriptorProtos.FieldDescriptorProto value) repeated .google.protobuf.FieldDescriptorProto extension = 7;
private void
setMessageType
(int index, DescriptorProtos.DescriptorProto value) All top-level definitions in this file.private void
file name, relative to root of source treeprivate void
setNameBytes
(ByteString value) file name, relative to root of source treeprivate void
optional .google.protobuf.FileOptions options = 8;
private void
setPackage
(String value) e.g.private void
setPackageBytes
(ByteString value) e.g.private void
setPublicDependency
(int index, int value) Indexes of the public imported files in the dependency list above.private void
setService
(int index, DescriptorProtos.ServiceDescriptorProto value) repeated .google.protobuf.ServiceDescriptorProto service = 6;
private void
This field contains optional information about the original source code.private void
The syntax of the proto file.private void
setSyntaxBytes
(ByteString value) The syntax of the proto file.private void
setWeakDependency
(int index, int value) Indexes of the weak imported files in the dependency list.Methods inherited from class com.google.protobuf.GeneratedMessageLite
buildMessageInfo, clearMemoizedHashCode, clearMemoizedSerializedSize, computeHashCode, createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstance, getDefaultInstanceForType, getMemoizedHashCode, getMemoizedSerializedSize, getMethodOrDie, getParserForType, getSerializedSize, getSerializedSize, hashCode, hashCodeIsNotMemoized, invokeOrDie, isInitialized, isInitialized, isMutable, makeImmutable, markImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newMutableInstance, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, setMemoizedHashCode, setMemoizedSerializedSize, toBuilder, toString, writeTo
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, newUninitializedMessageException, 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 Details
-
bitField0_
private int bitField0_ -
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
name_
-
PACKAGE_FIELD_NUMBER
public static final int PACKAGE_FIELD_NUMBER- See Also:
-
package_
-
DEPENDENCY_FIELD_NUMBER
public static final int DEPENDENCY_FIELD_NUMBER- See Also:
-
dependency_
-
PUBLIC_DEPENDENCY_FIELD_NUMBER
public static final int PUBLIC_DEPENDENCY_FIELD_NUMBER- See Also:
-
publicDependency_
-
WEAK_DEPENDENCY_FIELD_NUMBER
public static final int WEAK_DEPENDENCY_FIELD_NUMBER- See Also:
-
weakDependency_
-
MESSAGE_TYPE_FIELD_NUMBER
public static final int MESSAGE_TYPE_FIELD_NUMBER- See Also:
-
messageType_
-
ENUM_TYPE_FIELD_NUMBER
public static final int ENUM_TYPE_FIELD_NUMBER- See Also:
-
enumType_
-
SERVICE_FIELD_NUMBER
public static final int SERVICE_FIELD_NUMBER- See Also:
-
service_
-
EXTENSION_FIELD_NUMBER
public static final int EXTENSION_FIELD_NUMBER- See Also:
-
extension_
-
OPTIONS_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER- See Also:
-
options_
-
SOURCE_CODE_INFO_FIELD_NUMBER
public static final int SOURCE_CODE_INFO_FIELD_NUMBER- See Also:
-
sourceCodeInfo_
-
SYNTAX_FIELD_NUMBER
public static final int SYNTAX_FIELD_NUMBER- See Also:
-
syntax_
-
EDITION_FIELD_NUMBER
public static final int EDITION_FIELD_NUMBER- See Also:
-
edition_
private int edition_ -
memoizedIsInitialized
private byte memoizedIsInitialized -
DEFAULT_INSTANCE
-
PARSER
-
-
Constructor Details
-
FileDescriptorProto
private FileDescriptorProto()
-
-
Method Details
-
hasName
public boolean hasName()file name, relative to root of source tree
optional string name = 1;
- Specified by:
hasName
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- Whether the name field is set.
-
getName
file name, relative to root of source tree
optional string name = 1;
- Specified by:
getName
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- The name.
-
getNameBytes
file name, relative to root of source tree
optional string name = 1;
- Specified by:
getNameBytes
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- The bytes for name.
-
setName
file name, relative to root of source tree
optional string name = 1;
- Parameters:
value
- The name to set.
-
clearName
private void clearName()file name, relative to root of source tree
optional string name = 1;
-
setNameBytes
file name, relative to root of source tree
optional string name = 1;
- Parameters:
value
- The bytes for name to set.
-
hasPackage
public boolean hasPackage()e.g. "foo", "foo.bar", etc.
optional string package = 2;
- Specified by:
hasPackage
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- Whether the package field is set.
-
getPackage
e.g. "foo", "foo.bar", etc.
optional string package = 2;
- Specified by:
getPackage
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- The package.
-
getPackageBytes
e.g. "foo", "foo.bar", etc.
optional string package = 2;
- Specified by:
getPackageBytes
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- The bytes for package.
-
setPackage
e.g. "foo", "foo.bar", etc.
optional string package = 2;
- Parameters:
value
- The package to set.
-
clearPackage
private void clearPackage()e.g. "foo", "foo.bar", etc.
optional string package = 2;
-
setPackageBytes
e.g. "foo", "foo.bar", etc.
optional string package = 2;
- Parameters:
value
- The bytes for package to set.
-
getDependencyList
Names of files imported by this file.
repeated string dependency = 3;
- Specified by:
getDependencyList
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- A list containing the dependency.
-
getDependencyCount
public int getDependencyCount()Names of files imported by this file.
repeated string dependency = 3;
- Specified by:
getDependencyCount
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- The count of dependency.
-
getDependency
Names of files imported by this file.
repeated string dependency = 3;
- Specified by:
getDependency
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The dependency at the given index.
-
getDependencyBytes
Names of files imported by this file.
repeated string dependency = 3;
- 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.
-
ensureDependencyIsMutable
private void ensureDependencyIsMutable() -
setDependency
Names of files imported by this file.
repeated string dependency = 3;
- Parameters:
index
- The index to set the value at.value
- The dependency to set.
-
addDependency
Names of files imported by this file.
repeated string dependency = 3;
- Parameters:
value
- The dependency to add.
-
addAllDependency
Names of files imported by this file.
repeated string dependency = 3;
- Parameters:
values
- The dependency to add.
-
clearDependency
private void clearDependency()Names of files imported by this file.
repeated string dependency = 3;
-
addDependencyBytes
Names of files imported by this file.
repeated string dependency = 3;
- Parameters:
value
- The bytes of the dependency to add.
-
getPublicDependencyList
Indexes of the public imported files in the dependency list above.
repeated int32 public_dependency = 10;
- Specified by:
getPublicDependencyList
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- A list containing the publicDependency.
-
getPublicDependencyCount
public int getPublicDependencyCount()Indexes of the public imported files in the dependency list above.
repeated int32 public_dependency = 10;
- Specified by:
getPublicDependencyCount
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- The count of publicDependency.
-
getPublicDependency
public int getPublicDependency(int index) Indexes of the public imported files in the dependency list above.
repeated int32 public_dependency = 10;
- Specified by:
getPublicDependency
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The publicDependency at the given index.
-
ensurePublicDependencyIsMutable
private void ensurePublicDependencyIsMutable() -
setPublicDependency
private void setPublicDependency(int index, int value) Indexes of the public imported files in the dependency list above.
repeated int32 public_dependency = 10;
- Parameters:
index
- The index to set the value at.value
- The publicDependency to set.
-
addPublicDependency
private void addPublicDependency(int value) Indexes of the public imported files in the dependency list above.
repeated int32 public_dependency = 10;
- Parameters:
value
- The publicDependency to add.
-
addAllPublicDependency
Indexes of the public imported files in the dependency list above.
repeated int32 public_dependency = 10;
- Parameters:
values
- The publicDependency to add.
-
clearPublicDependency
private void clearPublicDependency()Indexes of the public imported files in the dependency list above.
repeated int32 public_dependency = 10;
-
getWeakDependencyList
Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
repeated int32 weak_dependency = 11;
- Specified by:
getWeakDependencyList
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- A list containing the weakDependency.
-
getWeakDependencyCount
public int getWeakDependencyCount()Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
repeated int32 weak_dependency = 11;
- Specified by:
getWeakDependencyCount
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- The count of weakDependency.
-
getWeakDependency
public int getWeakDependency(int index) Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
repeated int32 weak_dependency = 11;
- Specified by:
getWeakDependency
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The weakDependency at the given index.
-
ensureWeakDependencyIsMutable
private void ensureWeakDependencyIsMutable() -
setWeakDependency
private void setWeakDependency(int index, int value) Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
repeated int32 weak_dependency = 11;
- Parameters:
index
- The index to set the value at.value
- The weakDependency to set.
-
addWeakDependency
private void addWeakDependency(int value) Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
repeated int32 weak_dependency = 11;
- Parameters:
value
- The weakDependency to add.
-
addAllWeakDependency
Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
repeated int32 weak_dependency = 11;
- Parameters:
values
- The weakDependency to add.
-
clearWeakDependency
private void clearWeakDependency()Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
repeated int32 weak_dependency = 11;
-
getMessageTypeList
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;
- Specified by:
getMessageTypeList
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getMessageTypeOrBuilderList
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;
-
getMessageTypeCount
public int getMessageTypeCount()All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;
- Specified by:
getMessageTypeCount
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getMessageType
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;
- Specified by:
getMessageType
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getMessageTypeOrBuilder
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;
-
ensureMessageTypeIsMutable
private void ensureMessageTypeIsMutable() -
setMessageType
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;
-
addMessageType
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;
-
addMessageType
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;
-
addAllMessageType
All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;
-
clearMessageType
private void clearMessageType()All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;
-
removeMessageType
private void removeMessageType(int index) All top-level definitions in this file.
repeated .google.protobuf.DescriptorProto message_type = 4;
-
getEnumTypeList
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
- Specified by:
getEnumTypeList
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getEnumTypeOrBuilderList
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
getEnumTypeCount
public int getEnumTypeCount()repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
- Specified by:
getEnumTypeCount
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getEnumType
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
- Specified by:
getEnumType
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getEnumTypeOrBuilder
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
ensureEnumTypeIsMutable
private void ensureEnumTypeIsMutable() -
setEnumType
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
addEnumType
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
addEnumType
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
addAllEnumType
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
clearEnumType
private void clearEnumType()repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
removeEnumType
private void removeEnumType(int index) repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
getServiceList
repeated .google.protobuf.ServiceDescriptorProto service = 6;
- Specified by:
getServiceList
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getServiceOrBuilderList
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
getServiceCount
public int getServiceCount()repeated .google.protobuf.ServiceDescriptorProto service = 6;
- Specified by:
getServiceCount
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getService
repeated .google.protobuf.ServiceDescriptorProto service = 6;
- Specified by:
getService
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getServiceOrBuilder
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
ensureServiceIsMutable
private void ensureServiceIsMutable() -
setService
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
addService
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
addService
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
addAllService
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
clearService
private void clearService()repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
removeService
private void removeService(int index) repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
getExtensionList
repeated .google.protobuf.FieldDescriptorProto extension = 7;
- Specified by:
getExtensionList
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getExtensionOrBuilderList
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
getExtensionCount
public int getExtensionCount()repeated .google.protobuf.FieldDescriptorProto extension = 7;
- Specified by:
getExtensionCount
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getExtension
repeated .google.protobuf.FieldDescriptorProto extension = 7;
- Specified by:
getExtension
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getExtensionOrBuilder
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
ensureExtensionIsMutable
private void ensureExtensionIsMutable() -
setExtension
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
addExtension
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
addExtension
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
addAllExtension
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
clearExtension
private void clearExtension()repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
removeExtension
private void removeExtension(int index) repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
hasOptions
public boolean hasOptions()optional .google.protobuf.FileOptions options = 8;
- Specified by:
hasOptions
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- Whether the options field is set.
-
getOptions
optional .google.protobuf.FileOptions options = 8;
- Specified by:
getOptions
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- The options.
-
setOptions
optional .google.protobuf.FileOptions options = 8;
-
mergeOptions
optional .google.protobuf.FileOptions options = 8;
-
clearOptions
private void clearOptions()optional .google.protobuf.FileOptions options = 8;
-
hasSourceCodeInfo
public boolean hasSourceCodeInfo()This field contains optional information about the original source code. You may safely remove this entire field without harming runtime functionality of the descriptors -- the information is needed only by development tools.
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
- Specified by:
hasSourceCodeInfo
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- Whether the sourceCodeInfo field is set.
-
getSourceCodeInfo
This field contains optional information about the original source code. You may safely remove this entire field without harming runtime functionality of the descriptors -- the information is needed only by development tools.
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
- Specified by:
getSourceCodeInfo
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- The sourceCodeInfo.
-
setSourceCodeInfo
This field contains optional information about the original source code. You may safely remove this entire field without harming runtime functionality of the descriptors -- the information is needed only by development tools.
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
-
mergeSourceCodeInfo
This field contains optional information about the original source code. You may safely remove this entire field without harming runtime functionality of the descriptors -- the information is needed only by development tools.
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
-
clearSourceCodeInfo
private void clearSourceCodeInfo()This field contains optional information about the original source code. You may safely remove this entire field without harming runtime functionality of the descriptors -- the information is needed only by development tools.
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
-
hasSyntax
public boolean hasSyntax()The syntax of the proto file. The supported values are "proto2", "proto3", and "editions". If `edition` is present, this value must be "editions".
optional string syntax = 12;
- Specified by:
hasSyntax
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- Whether the syntax field is set.
-
getSyntax
The syntax of the proto file. The supported values are "proto2", "proto3", and "editions". If `edition` is present, this value must be "editions".
optional string syntax = 12;
- Specified by:
getSyntax
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- The syntax.
-
getSyntaxBytes
The syntax of the proto file. The supported values are "proto2", "proto3", and "editions". If `edition` is present, this value must be "editions".
optional string syntax = 12;
- Specified by:
getSyntaxBytes
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- The bytes for syntax.
-
setSyntax
The syntax of the proto file. The supported values are "proto2", "proto3", and "editions". If `edition` is present, this value must be "editions".
optional string syntax = 12;
- Parameters:
value
- The syntax to set.
-
clearSyntax
private void clearSyntax()The syntax of the proto file. The supported values are "proto2", "proto3", and "editions". If `edition` is present, this value must be "editions".
optional string syntax = 12;
-
setSyntaxBytes
The syntax of the proto file. The supported values are "proto2", "proto3", and "editions". If `edition` is present, this value must be "editions".
optional string syntax = 12;
- Parameters:
value
- The bytes for syntax to set.
-
hasEdition
public boolean hasEdition()The edition of the proto file.
optional .google.protobuf.Edition edition = 14;
- Specified by:
hasEdition
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- Whether the edition field is set.
-
getEdition
The edition of the proto file.
optional .google.protobuf.Edition edition = 14;
- Specified by:
getEdition
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
- Returns:
- The edition.
-
setEdition
The edition of the proto file.
optional .google.protobuf.Edition edition = 14;
- Parameters:
value
- The edition to set.
-
clearEdition
private void clearEdition()The edition of the proto file.
optional .google.protobuf.Edition edition = 14;
-
parseFrom
public static DescriptorProtos.FileDescriptorProto parseFrom(ByteBuffer data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FileDescriptorProto parseFrom(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
- Throws:
IOException
-
parseFrom
public static DescriptorProtos.FileDescriptorProto parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static DescriptorProtos.FileDescriptorProto parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static DescriptorProtos.FileDescriptorProto parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DescriptorProtos.FileDescriptorProto parseFrom(CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DescriptorProtos.FileDescriptorProto parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
public static DescriptorProtos.FileDescriptorProto.Builder newBuilder(DescriptorProtos.FileDescriptorProto prototype) -
dynamicMethod
protected final Object dynamicMethod(GeneratedMessageLite.MethodToInvoke method, Object arg0, 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
-
parser
-