All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.protobuf.DescriptorProtos Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/protobuf/descriptor.proto

package com.google.protobuf;

public final class DescriptorProtos {
  private DescriptorProtos() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }
  public interface FileDescriptorSetOrBuilder extends
      // @@protoc_insertion_point(interface_extends:google.protobuf.FileDescriptorSet)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * repeated .google.protobuf.FileDescriptorProto file = 1;
     */
    java.util.List 
        getFileList();
    /**
     * repeated .google.protobuf.FileDescriptorProto file = 1;
     */
    com.google.protobuf.DescriptorProtos.FileDescriptorProto getFile(int index);
    /**
     * repeated .google.protobuf.FileDescriptorProto file = 1;
     */
    int getFileCount();
  }
  /**
   * 
   * The protocol compiler can output a FileDescriptorSet containing the .proto
   * files it parses.
   * 
* * Protobuf type {@code google.protobuf.FileDescriptorSet} */ public static final class FileDescriptorSet extends com.google.protobuf.GeneratedMessageLite< FileDescriptorSet, FileDescriptorSet.Builder> implements // @@protoc_insertion_point(message_implements:google.protobuf.FileDescriptorSet) FileDescriptorSetOrBuilder { private FileDescriptorSet() { file_ = emptyProtobufList(); } public static final int FILE_FIELD_NUMBER = 1; private com.google.protobuf.Internal.ProtobufList file_; /** * repeated .google.protobuf.FileDescriptorProto file = 1; */ public java.util.List getFileList() { return file_; } /** * repeated .google.protobuf.FileDescriptorProto file = 1; */ public java.util.List getFileOrBuilderList() { return file_; } /** * repeated .google.protobuf.FileDescriptorProto file = 1; */ public int getFileCount() { return file_.size(); } /** * repeated .google.protobuf.FileDescriptorProto file = 1; */ public com.google.protobuf.DescriptorProtos.FileDescriptorProto getFile(int index) { return file_.get(index); } /** * repeated .google.protobuf.FileDescriptorProto file = 1; */ public com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder getFileOrBuilder( int index) { return file_.get(index); } private void ensureFileIsMutable() { if (!file_.isModifiable()) { file_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(file_); } } /** * repeated .google.protobuf.FileDescriptorProto file = 1; */ private void setFile( int index, com.google.protobuf.DescriptorProtos.FileDescriptorProto value) { if (value == null) { throw new NullPointerException(); } ensureFileIsMutable(); file_.set(index, value); } /** * repeated .google.protobuf.FileDescriptorProto file = 1; */ private void setFile( int index, com.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder builderForValue) { ensureFileIsMutable(); file_.set(index, builderForValue.build()); } /** * repeated .google.protobuf.FileDescriptorProto file = 1; */ private void addFile(com.google.protobuf.DescriptorProtos.FileDescriptorProto value) { if (value == null) { throw new NullPointerException(); } ensureFileIsMutable(); file_.add(value); } /** * repeated .google.protobuf.FileDescriptorProto file = 1; */ private void addFile( int index, com.google.protobuf.DescriptorProtos.FileDescriptorProto value) { if (value == null) { throw new NullPointerException(); } ensureFileIsMutable(); file_.add(index, value); } /** * repeated .google.protobuf.FileDescriptorProto file = 1; */ private void addFile( com.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder builderForValue) { ensureFileIsMutable(); file_.add(builderForValue.build()); } /** * repeated .google.protobuf.FileDescriptorProto file = 1; */ private void addFile( int index, com.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder builderForValue) { ensureFileIsMutable(); file_.add(index, builderForValue.build()); } /** * repeated .google.protobuf.FileDescriptorProto file = 1; */ private void addAllFile( java.lang.Iterable values) { ensureFileIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, file_); } /** * repeated .google.protobuf.FileDescriptorProto file = 1; */ private void clearFile() { file_ = emptyProtobufList(); } /** * repeated .google.protobuf.FileDescriptorProto file = 1; */ private void removeFile(int index) { ensureFileIsMutable(); file_.remove(index); } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < file_.size(); i++) { output.writeMessage(1, file_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < file_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, file_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSerializedSize = size; return size; } public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.protobuf.DescriptorProtos.FileDescriptorSet prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } /** *
     * The protocol compiler can output a FileDescriptorSet containing the .proto
     * files it parses.
     * 
* * Protobuf type {@code google.protobuf.FileDescriptorSet} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.google.protobuf.DescriptorProtos.FileDescriptorSet, Builder> implements // @@protoc_insertion_point(builder_implements:google.protobuf.FileDescriptorSet) com.google.protobuf.DescriptorProtos.FileDescriptorSetOrBuilder { // Construct using com.google.protobuf.DescriptorProtos.FileDescriptorSet.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * repeated .google.protobuf.FileDescriptorProto file = 1; */ public java.util.List getFileList() { return java.util.Collections.unmodifiableList( instance.getFileList()); } /** * repeated .google.protobuf.FileDescriptorProto file = 1; */ public int getFileCount() { return instance.getFileCount(); }/** * repeated .google.protobuf.FileDescriptorProto file = 1; */ public com.google.protobuf.DescriptorProtos.FileDescriptorProto getFile(int index) { return instance.getFile(index); } /** * repeated .google.protobuf.FileDescriptorProto file = 1; */ public Builder setFile( int index, com.google.protobuf.DescriptorProtos.FileDescriptorProto value) { copyOnWrite(); instance.setFile(index, value); return this; } /** * repeated .google.protobuf.FileDescriptorProto file = 1; */ public Builder setFile( int index, com.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder builderForValue) { copyOnWrite(); instance.setFile(index, builderForValue); return this; } /** * repeated .google.protobuf.FileDescriptorProto file = 1; */ public Builder addFile(com.google.protobuf.DescriptorProtos.FileDescriptorProto value) { copyOnWrite(); instance.addFile(value); return this; } /** * repeated .google.protobuf.FileDescriptorProto file = 1; */ public Builder addFile( int index, com.google.protobuf.DescriptorProtos.FileDescriptorProto value) { copyOnWrite(); instance.addFile(index, value); return this; } /** * repeated .google.protobuf.FileDescriptorProto file = 1; */ public Builder addFile( com.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder builderForValue) { copyOnWrite(); instance.addFile(builderForValue); return this; } /** * repeated .google.protobuf.FileDescriptorProto file = 1; */ public Builder addFile( int index, com.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder builderForValue) { copyOnWrite(); instance.addFile(index, builderForValue); return this; } /** * repeated .google.protobuf.FileDescriptorProto file = 1; */ public Builder addAllFile( java.lang.Iterable values) { copyOnWrite(); instance.addAllFile(values); return this; } /** * repeated .google.protobuf.FileDescriptorProto file = 1; */ public Builder clearFile() { copyOnWrite(); instance.clearFile(); return this; } /** * repeated .google.protobuf.FileDescriptorProto file = 1; */ public Builder removeFile(int index) { copyOnWrite(); instance.removeFile(index); return this; } // @@protoc_insertion_point(builder_scope:google.protobuf.FileDescriptorSet) } private byte memoizedIsInitialized = -1; protected final Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.google.protobuf.DescriptorProtos.FileDescriptorSet(); } case IS_INITIALIZED: { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return DEFAULT_INSTANCE; if (isInitialized == 0) return null; boolean shouldMemoize = ((Boolean) arg0).booleanValue(); for (int i = 0; i < getFileCount(); i++) { if (!getFile(i).isInitialized()) { if (shouldMemoize) { memoizedIsInitialized = 0; } return null; } } if (shouldMemoize) memoizedIsInitialized = 1; return DEFAULT_INSTANCE; } case MAKE_IMMUTABLE: { file_.makeImmutable(); return null; } case NEW_BUILDER: { return new Builder(); } case VISIT: { Visitor visitor = (Visitor) arg0; com.google.protobuf.DescriptorProtos.FileDescriptorSet other = (com.google.protobuf.DescriptorProtos.FileDescriptorSet) arg1; file_= visitor.visitList(file_, other.file_); if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor .INSTANCE) { } return this; } case MERGE_FROM_STREAM: { com.google.protobuf.CodedInputStream input = (com.google.protobuf.CodedInputStream) arg0; com.google.protobuf.ExtensionRegistryLite extensionRegistry = (com.google.protobuf.ExtensionRegistryLite) arg1; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(tag, input)) { done = true; } break; } case 10: { if (!file_.isModifiable()) { file_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(file_); } file_.add( input.readMessage(com.google.protobuf.DescriptorProtos.FileDescriptorProto.parser(), extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw new RuntimeException(e.setUnfinishedMessage(this)); } catch (java.io.IOException e) { throw new RuntimeException( new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this)); } finally { } } case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { if (PARSER == null) { synchronized (com.google.protobuf.DescriptorProtos.FileDescriptorSet.class) { if (PARSER == null) { PARSER = new DefaultInstanceBasedParser(DEFAULT_INSTANCE); } } } return PARSER; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet) private static final com.google.protobuf.DescriptorProtos.FileDescriptorSet DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new FileDescriptorSet(); DEFAULT_INSTANCE.makeImmutable(); } public static com.google.protobuf.DescriptorProtos.FileDescriptorSet getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } public interface FileDescriptorProtoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.protobuf.FileDescriptorProto) com.google.protobuf.MessageLiteOrBuilder { /** *
     * file name, relative to root of source tree
     * 
* * optional string name = 1; */ boolean hasName(); /** *
     * file name, relative to root of source tree
     * 
* * optional string name = 1; */ java.lang.String getName(); /** *
     * file name, relative to root of source tree
     * 
* * optional string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** *
     * e.g. "foo", "foo.bar", etc.
     * 
* * optional string package = 2; */ boolean hasPackage(); /** *
     * e.g. "foo", "foo.bar", etc.
     * 
* * optional string package = 2; */ java.lang.String getPackage(); /** *
     * e.g. "foo", "foo.bar", etc.
     * 
* * optional string package = 2; */ com.google.protobuf.ByteString getPackageBytes(); /** *
     * Names of files imported by this file.
     * 
* * repeated string dependency = 3; */ java.util.List getDependencyList(); /** *
     * Names of files imported by this file.
     * 
* * repeated string dependency = 3; */ int getDependencyCount(); /** *
     * Names of files imported by this file.
     * 
* * repeated string dependency = 3; */ java.lang.String getDependency(int index); /** *
     * Names of files imported by this file.
     * 
* * repeated string dependency = 3; */ com.google.protobuf.ByteString getDependencyBytes(int index); /** *
     * Indexes of the public imported files in the dependency list above.
     * 
* * repeated int32 public_dependency = 10; */ java.util.List getPublicDependencyList(); /** *
     * Indexes of the public imported files in the dependency list above.
     * 
* * repeated int32 public_dependency = 10; */ int getPublicDependencyCount(); /** *
     * Indexes of the public imported files in the dependency list above.
     * 
* * repeated int32 public_dependency = 10; */ int getPublicDependency(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; */ java.util.List getWeakDependencyList(); /** *
     * Indexes of the weak imported files in the dependency list.
     * For Google-internal migration only. Do not use.
     * 
* * repeated int32 weak_dependency = 11; */ 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; */ int getWeakDependency(int index); /** *
     * All top-level definitions in this file.
     * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; */ java.util.List getMessageTypeList(); /** *
     * All top-level definitions in this file.
     * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; */ com.google.protobuf.DescriptorProtos.DescriptorProto getMessageType(int index); /** *
     * All top-level definitions in this file.
     * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; */ int getMessageTypeCount(); /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; */ java.util.List getEnumTypeList(); /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; */ com.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index); /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; */ int getEnumTypeCount(); /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; */ java.util.List getServiceList(); /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; */ com.google.protobuf.DescriptorProtos.ServiceDescriptorProto getService(int index); /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; */ int getServiceCount(); /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; */ java.util.List getExtensionList(); /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; */ com.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index); /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; */ int getExtensionCount(); /** * optional .google.protobuf.FileOptions options = 8; */ boolean hasOptions(); /** * optional .google.protobuf.FileOptions options = 8; */ com.google.protobuf.DescriptorProtos.FileOptions getOptions(); /** *
     * 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; */ 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; */ com.google.protobuf.DescriptorProtos.SourceCodeInfo getSourceCodeInfo(); /** *
     * The syntax of the proto file.
     * The supported values are "proto2" and "proto3".
     * 
* * optional string syntax = 12; */ boolean hasSyntax(); /** *
     * The syntax of the proto file.
     * The supported values are "proto2" and "proto3".
     * 
* * optional string syntax = 12; */ java.lang.String getSyntax(); /** *
     * The syntax of the proto file.
     * The supported values are "proto2" and "proto3".
     * 
* * optional string syntax = 12; */ com.google.protobuf.ByteString getSyntaxBytes(); } /** *
   * Describes a complete .proto file.
   * 
* * Protobuf type {@code google.protobuf.FileDescriptorProto} */ public static final class FileDescriptorProto extends com.google.protobuf.GeneratedMessageLite< FileDescriptorProto, FileDescriptorProto.Builder> implements // @@protoc_insertion_point(message_implements:google.protobuf.FileDescriptorProto) FileDescriptorProtoOrBuilder { private FileDescriptorProto() { name_ = ""; package_ = ""; dependency_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList(); publicDependency_ = emptyIntList(); weakDependency_ = emptyIntList(); messageType_ = emptyProtobufList(); enumType_ = emptyProtobufList(); service_ = emptyProtobufList(); extension_ = emptyProtobufList(); syntax_ = ""; } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private java.lang.String name_; /** *
     * file name, relative to root of source tree
     * 
* * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     * file name, relative to root of source tree
     * 
* * optional string name = 1; */ public java.lang.String getName() { return name_; } /** *
     * file name, relative to root of source tree
     * 
* * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { return com.google.protobuf.ByteString.copyFromUtf8(name_); } /** *
     * file name, relative to root of source tree
     * 
* * optional string name = 1; */ private void setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; } /** *
     * file name, relative to root of source tree
     * 
* * optional string name = 1; */ private void clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); } /** *
     * file name, relative to root of source tree
     * 
* * optional string name = 1; */ private void setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value.toStringUtf8(); } public static final int PACKAGE_FIELD_NUMBER = 2; private java.lang.String package_; /** *
     * e.g. "foo", "foo.bar", etc.
     * 
* * optional string package = 2; */ public boolean hasPackage() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     * e.g. "foo", "foo.bar", etc.
     * 
* * optional string package = 2; */ public java.lang.String getPackage() { return package_; } /** *
     * e.g. "foo", "foo.bar", etc.
     * 
* * optional string package = 2; */ public com.google.protobuf.ByteString getPackageBytes() { return com.google.protobuf.ByteString.copyFromUtf8(package_); } /** *
     * e.g. "foo", "foo.bar", etc.
     * 
* * optional string package = 2; */ private void setPackage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; package_ = value; } /** *
     * e.g. "foo", "foo.bar", etc.
     * 
* * optional string package = 2; */ private void clearPackage() { bitField0_ = (bitField0_ & ~0x00000002); package_ = getDefaultInstance().getPackage(); } /** *
     * e.g. "foo", "foo.bar", etc.
     * 
* * optional string package = 2; */ private void setPackageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; package_ = value.toStringUtf8(); } public static final int DEPENDENCY_FIELD_NUMBER = 3; private com.google.protobuf.Internal.ProtobufList dependency_; /** *
     * Names of files imported by this file.
     * 
* * repeated string dependency = 3; */ public java.util.List getDependencyList() { return dependency_; } /** *
     * Names of files imported by this file.
     * 
* * repeated string dependency = 3; */ public int getDependencyCount() { return dependency_.size(); } /** *
     * Names of files imported by this file.
     * 
* * repeated string dependency = 3; */ public java.lang.String getDependency(int index) { return dependency_.get(index); } /** *
     * Names of files imported by this file.
     * 
* * repeated string dependency = 3; */ public com.google.protobuf.ByteString getDependencyBytes(int index) { return com.google.protobuf.ByteString.copyFromUtf8( dependency_.get(index)); } private void ensureDependencyIsMutable() { if (!dependency_.isModifiable()) { dependency_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(dependency_); } } /** *
     * Names of files imported by this file.
     * 
* * repeated string dependency = 3; */ private void setDependency( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDependencyIsMutable(); dependency_.set(index, value); } /** *
     * Names of files imported by this file.
     * 
* * repeated string dependency = 3; */ private void addDependency( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDependencyIsMutable(); dependency_.add(value); } /** *
     * Names of files imported by this file.
     * 
* * repeated string dependency = 3; */ private void addAllDependency( java.lang.Iterable values) { ensureDependencyIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, dependency_); } /** *
     * Names of files imported by this file.
     * 
* * repeated string dependency = 3; */ private void clearDependency() { dependency_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList(); } /** *
     * Names of files imported by this file.
     * 
* * repeated string dependency = 3; */ private void addDependencyBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureDependencyIsMutable(); dependency_.add(value.toStringUtf8()); } public static final int PUBLIC_DEPENDENCY_FIELD_NUMBER = 10; private com.google.protobuf.Internal.IntList publicDependency_; /** *
     * Indexes of the public imported files in the dependency list above.
     * 
* * repeated int32 public_dependency = 10; */ public java.util.List getPublicDependencyList() { return publicDependency_; } /** *
     * Indexes of the public imported files in the dependency list above.
     * 
* * repeated int32 public_dependency = 10; */ public int getPublicDependencyCount() { return publicDependency_.size(); } /** *
     * Indexes of the public imported files in the dependency list above.
     * 
* * repeated int32 public_dependency = 10; */ public int getPublicDependency(int index) { return publicDependency_.getInt(index); } private void ensurePublicDependencyIsMutable() { if (!publicDependency_.isModifiable()) { publicDependency_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(publicDependency_); } } /** *
     * Indexes of the public imported files in the dependency list above.
     * 
* * repeated int32 public_dependency = 10; */ private void setPublicDependency( int index, int value) { ensurePublicDependencyIsMutable(); publicDependency_.setInt(index, value); } /** *
     * Indexes of the public imported files in the dependency list above.
     * 
* * repeated int32 public_dependency = 10; */ private void addPublicDependency(int value) { ensurePublicDependencyIsMutable(); publicDependency_.addInt(value); } /** *
     * Indexes of the public imported files in the dependency list above.
     * 
* * repeated int32 public_dependency = 10; */ private void addAllPublicDependency( java.lang.Iterable values) { ensurePublicDependencyIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, publicDependency_); } /** *
     * Indexes of the public imported files in the dependency list above.
     * 
* * repeated int32 public_dependency = 10; */ private void clearPublicDependency() { publicDependency_ = emptyIntList(); } public static final int WEAK_DEPENDENCY_FIELD_NUMBER = 11; private com.google.protobuf.Internal.IntList weakDependency_; /** *
     * Indexes of the weak imported files in the dependency list.
     * For Google-internal migration only. Do not use.
     * 
* * repeated int32 weak_dependency = 11; */ public java.util.List getWeakDependencyList() { return weakDependency_; } /** *
     * Indexes of the weak imported files in the dependency list.
     * For Google-internal migration only. Do not use.
     * 
* * repeated int32 weak_dependency = 11; */ public int getWeakDependencyCount() { return weakDependency_.size(); } /** *
     * Indexes of the weak imported files in the dependency list.
     * For Google-internal migration only. Do not use.
     * 
* * repeated int32 weak_dependency = 11; */ public int getWeakDependency(int index) { return weakDependency_.getInt(index); } private void ensureWeakDependencyIsMutable() { if (!weakDependency_.isModifiable()) { weakDependency_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(weakDependency_); } } /** *
     * Indexes of the weak imported files in the dependency list.
     * For Google-internal migration only. Do not use.
     * 
* * repeated int32 weak_dependency = 11; */ private void setWeakDependency( int index, int value) { ensureWeakDependencyIsMutable(); weakDependency_.setInt(index, value); } /** *
     * Indexes of the weak imported files in the dependency list.
     * For Google-internal migration only. Do not use.
     * 
* * repeated int32 weak_dependency = 11; */ private void addWeakDependency(int value) { ensureWeakDependencyIsMutable(); weakDependency_.addInt(value); } /** *
     * Indexes of the weak imported files in the dependency list.
     * For Google-internal migration only. Do not use.
     * 
* * repeated int32 weak_dependency = 11; */ private void addAllWeakDependency( java.lang.Iterable values) { ensureWeakDependencyIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, weakDependency_); } /** *
     * Indexes of the weak imported files in the dependency list.
     * For Google-internal migration only. Do not use.
     * 
* * repeated int32 weak_dependency = 11; */ private void clearWeakDependency() { weakDependency_ = emptyIntList(); } public static final int MESSAGE_TYPE_FIELD_NUMBER = 4; private com.google.protobuf.Internal.ProtobufList messageType_; /** *
     * All top-level definitions in this file.
     * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; */ public java.util.List getMessageTypeList() { return messageType_; } /** *
     * All top-level definitions in this file.
     * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; */ public java.util.List getMessageTypeOrBuilderList() { return messageType_; } /** *
     * All top-level definitions in this file.
     * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; */ public int getMessageTypeCount() { return messageType_.size(); } /** *
     * All top-level definitions in this file.
     * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; */ public com.google.protobuf.DescriptorProtos.DescriptorProto getMessageType(int index) { return messageType_.get(index); } /** *
     * All top-level definitions in this file.
     * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; */ public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getMessageTypeOrBuilder( int index) { return messageType_.get(index); } private void ensureMessageTypeIsMutable() { if (!messageType_.isModifiable()) { messageType_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(messageType_); } } /** *
     * All top-level definitions in this file.
     * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; */ private void setMessageType( int index, com.google.protobuf.DescriptorProtos.DescriptorProto value) { if (value == null) { throw new NullPointerException(); } ensureMessageTypeIsMutable(); messageType_.set(index, value); } /** *
     * All top-level definitions in this file.
     * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; */ private void setMessageType( int index, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder builderForValue) { ensureMessageTypeIsMutable(); messageType_.set(index, builderForValue.build()); } /** *
     * All top-level definitions in this file.
     * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; */ private void addMessageType(com.google.protobuf.DescriptorProtos.DescriptorProto value) { if (value == null) { throw new NullPointerException(); } ensureMessageTypeIsMutable(); messageType_.add(value); } /** *
     * All top-level definitions in this file.
     * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; */ private void addMessageType( int index, com.google.protobuf.DescriptorProtos.DescriptorProto value) { if (value == null) { throw new NullPointerException(); } ensureMessageTypeIsMutable(); messageType_.add(index, value); } /** *
     * All top-level definitions in this file.
     * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; */ private void addMessageType( com.google.protobuf.DescriptorProtos.DescriptorProto.Builder builderForValue) { ensureMessageTypeIsMutable(); messageType_.add(builderForValue.build()); } /** *
     * All top-level definitions in this file.
     * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; */ private void addMessageType( int index, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder builderForValue) { ensureMessageTypeIsMutable(); messageType_.add(index, builderForValue.build()); } /** *
     * All top-level definitions in this file.
     * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; */ private void addAllMessageType( java.lang.Iterable values) { ensureMessageTypeIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, messageType_); } /** *
     * All top-level definitions in this file.
     * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; */ private void clearMessageType() { messageType_ = emptyProtobufList(); } /** *
     * All top-level definitions in this file.
     * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; */ private void removeMessageType(int index) { ensureMessageTypeIsMutable(); messageType_.remove(index); } public static final int ENUM_TYPE_FIELD_NUMBER = 5; private com.google.protobuf.Internal.ProtobufList enumType_; /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; */ public java.util.List getEnumTypeList() { return enumType_; } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; */ public java.util.List getEnumTypeOrBuilderList() { return enumType_; } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; */ public int getEnumTypeCount() { return enumType_.size(); } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; */ public com.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index) { return enumType_.get(index); } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; */ public com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder( int index) { return enumType_.get(index); } private void ensureEnumTypeIsMutable() { if (!enumType_.isModifiable()) { enumType_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(enumType_); } } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; */ private void setEnumType( int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto value) { if (value == null) { throw new NullPointerException(); } ensureEnumTypeIsMutable(); enumType_.set(index, value); } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; */ private void setEnumType( int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder builderForValue) { ensureEnumTypeIsMutable(); enumType_.set(index, builderForValue.build()); } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; */ private void addEnumType(com.google.protobuf.DescriptorProtos.EnumDescriptorProto value) { if (value == null) { throw new NullPointerException(); } ensureEnumTypeIsMutable(); enumType_.add(value); } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; */ private void addEnumType( int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto value) { if (value == null) { throw new NullPointerException(); } ensureEnumTypeIsMutable(); enumType_.add(index, value); } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; */ private void addEnumType( com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder builderForValue) { ensureEnumTypeIsMutable(); enumType_.add(builderForValue.build()); } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; */ private void addEnumType( int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder builderForValue) { ensureEnumTypeIsMutable(); enumType_.add(index, builderForValue.build()); } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; */ private void addAllEnumType( java.lang.Iterable values) { ensureEnumTypeIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, enumType_); } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; */ private void clearEnumType() { enumType_ = emptyProtobufList(); } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; */ private void removeEnumType(int index) { ensureEnumTypeIsMutable(); enumType_.remove(index); } public static final int SERVICE_FIELD_NUMBER = 6; private com.google.protobuf.Internal.ProtobufList service_; /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; */ public java.util.List getServiceList() { return service_; } /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; */ public java.util.List getServiceOrBuilderList() { return service_; } /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; */ public int getServiceCount() { return service_.size(); } /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; */ public com.google.protobuf.DescriptorProtos.ServiceDescriptorProto getService(int index) { return service_.get(index); } /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; */ public com.google.protobuf.DescriptorProtos.ServiceDescriptorProtoOrBuilder getServiceOrBuilder( int index) { return service_.get(index); } private void ensureServiceIsMutable() { if (!service_.isModifiable()) { service_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(service_); } } /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; */ private void setService( int index, com.google.protobuf.DescriptorProtos.ServiceDescriptorProto value) { if (value == null) { throw new NullPointerException(); } ensureServiceIsMutable(); service_.set(index, value); } /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; */ private void setService( int index, com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder builderForValue) { ensureServiceIsMutable(); service_.set(index, builderForValue.build()); } /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; */ private void addService(com.google.protobuf.DescriptorProtos.ServiceDescriptorProto value) { if (value == null) { throw new NullPointerException(); } ensureServiceIsMutable(); service_.add(value); } /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; */ private void addService( int index, com.google.protobuf.DescriptorProtos.ServiceDescriptorProto value) { if (value == null) { throw new NullPointerException(); } ensureServiceIsMutable(); service_.add(index, value); } /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; */ private void addService( com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder builderForValue) { ensureServiceIsMutable(); service_.add(builderForValue.build()); } /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; */ private void addService( int index, com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder builderForValue) { ensureServiceIsMutable(); service_.add(index, builderForValue.build()); } /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; */ private void addAllService( java.lang.Iterable values) { ensureServiceIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, service_); } /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; */ private void clearService() { service_ = emptyProtobufList(); } /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; */ private void removeService(int index) { ensureServiceIsMutable(); service_.remove(index); } public static final int EXTENSION_FIELD_NUMBER = 7; private com.google.protobuf.Internal.ProtobufList extension_; /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; */ public java.util.List getExtensionList() { return extension_; } /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; */ public java.util.List getExtensionOrBuilderList() { return extension_; } /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; */ public int getExtensionCount() { return extension_.size(); } /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; */ public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index) { return extension_.get(index); } /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; */ public com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder( int index) { return extension_.get(index); } private void ensureExtensionIsMutable() { if (!extension_.isModifiable()) { extension_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(extension_); } } /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; */ private void setExtension( int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) { if (value == null) { throw new NullPointerException(); } ensureExtensionIsMutable(); extension_.set(index, value); } /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; */ private void setExtension( int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) { ensureExtensionIsMutable(); extension_.set(index, builderForValue.build()); } /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; */ private void addExtension(com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) { if (value == null) { throw new NullPointerException(); } ensureExtensionIsMutable(); extension_.add(value); } /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; */ private void addExtension( int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) { if (value == null) { throw new NullPointerException(); } ensureExtensionIsMutable(); extension_.add(index, value); } /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; */ private void addExtension( com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) { ensureExtensionIsMutable(); extension_.add(builderForValue.build()); } /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; */ private void addExtension( int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) { ensureExtensionIsMutable(); extension_.add(index, builderForValue.build()); } /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; */ private void addAllExtension( java.lang.Iterable values) { ensureExtensionIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, extension_); } /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; */ private void clearExtension() { extension_ = emptyProtobufList(); } /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; */ private void removeExtension(int index) { ensureExtensionIsMutable(); extension_.remove(index); } public static final int OPTIONS_FIELD_NUMBER = 8; private com.google.protobuf.DescriptorProtos.FileOptions options_; /** * optional .google.protobuf.FileOptions options = 8; */ public boolean hasOptions() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .google.protobuf.FileOptions options = 8; */ public com.google.protobuf.DescriptorProtos.FileOptions getOptions() { return options_ == null ? com.google.protobuf.DescriptorProtos.FileOptions.getDefaultInstance() : options_; } /** * optional .google.protobuf.FileOptions options = 8; */ private void setOptions(com.google.protobuf.DescriptorProtos.FileOptions value) { if (value == null) { throw new NullPointerException(); } options_ = value; bitField0_ |= 0x00000004; } /** * optional .google.protobuf.FileOptions options = 8; */ private void setOptions( com.google.protobuf.DescriptorProtos.FileOptions.Builder builderForValue) { options_ = builderForValue.build(); bitField0_ |= 0x00000004; } /** * optional .google.protobuf.FileOptions options = 8; */ private void mergeOptions(com.google.protobuf.DescriptorProtos.FileOptions value) { if (options_ != null && options_ != com.google.protobuf.DescriptorProtos.FileOptions.getDefaultInstance()) { options_ = com.google.protobuf.DescriptorProtos.FileOptions.newBuilder(options_).mergeFrom(value).buildPartial(); } else { options_ = value; } bitField0_ |= 0x00000004; } /** * optional .google.protobuf.FileOptions options = 8; */ private void clearOptions() { options_ = null; bitField0_ = (bitField0_ & ~0x00000004); } public static final int SOURCE_CODE_INFO_FIELD_NUMBER = 9; private com.google.protobuf.DescriptorProtos.SourceCodeInfo sourceCodeInfo_; /** *
     * 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; */ public boolean hasSourceCodeInfo() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
     * 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; */ public com.google.protobuf.DescriptorProtos.SourceCodeInfo getSourceCodeInfo() { return sourceCodeInfo_ == null ? com.google.protobuf.DescriptorProtos.SourceCodeInfo.getDefaultInstance() : sourceCodeInfo_; } /** *
     * 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; */ private void setSourceCodeInfo(com.google.protobuf.DescriptorProtos.SourceCodeInfo value) { if (value == null) { throw new NullPointerException(); } sourceCodeInfo_ = value; bitField0_ |= 0x00000008; } /** *
     * 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; */ private void setSourceCodeInfo( com.google.protobuf.DescriptorProtos.SourceCodeInfo.Builder builderForValue) { sourceCodeInfo_ = builderForValue.build(); bitField0_ |= 0x00000008; } /** *
     * 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; */ private void mergeSourceCodeInfo(com.google.protobuf.DescriptorProtos.SourceCodeInfo value) { if (sourceCodeInfo_ != null && sourceCodeInfo_ != com.google.protobuf.DescriptorProtos.SourceCodeInfo.getDefaultInstance()) { sourceCodeInfo_ = com.google.protobuf.DescriptorProtos.SourceCodeInfo.newBuilder(sourceCodeInfo_).mergeFrom(value).buildPartial(); } else { sourceCodeInfo_ = value; } bitField0_ |= 0x00000008; } /** *
     * 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; */ private void clearSourceCodeInfo() { sourceCodeInfo_ = null; bitField0_ = (bitField0_ & ~0x00000008); } public static final int SYNTAX_FIELD_NUMBER = 12; private java.lang.String syntax_; /** *
     * The syntax of the proto file.
     * The supported values are "proto2" and "proto3".
     * 
* * optional string syntax = 12; */ public boolean hasSyntax() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
     * The syntax of the proto file.
     * The supported values are "proto2" and "proto3".
     * 
* * optional string syntax = 12; */ public java.lang.String getSyntax() { return syntax_; } /** *
     * The syntax of the proto file.
     * The supported values are "proto2" and "proto3".
     * 
* * optional string syntax = 12; */ public com.google.protobuf.ByteString getSyntaxBytes() { return com.google.protobuf.ByteString.copyFromUtf8(syntax_); } /** *
     * The syntax of the proto file.
     * The supported values are "proto2" and "proto3".
     * 
* * optional string syntax = 12; */ private void setSyntax( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; syntax_ = value; } /** *
     * The syntax of the proto file.
     * The supported values are "proto2" and "proto3".
     * 
* * optional string syntax = 12; */ private void clearSyntax() { bitField0_ = (bitField0_ & ~0x00000010); syntax_ = getDefaultInstance().getSyntax(); } /** *
     * The syntax of the proto file.
     * The supported values are "proto2" and "proto3".
     * 
* * optional string syntax = 12; */ private void setSyntaxBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; syntax_ = value.toStringUtf8(); } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeString(1, getName()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeString(2, getPackage()); } for (int i = 0; i < dependency_.size(); i++) { output.writeString(3, dependency_.get(i)); } for (int i = 0; i < messageType_.size(); i++) { output.writeMessage(4, messageType_.get(i)); } for (int i = 0; i < enumType_.size(); i++) { output.writeMessage(5, enumType_.get(i)); } for (int i = 0; i < service_.size(); i++) { output.writeMessage(6, service_.get(i)); } for (int i = 0; i < extension_.size(); i++) { output.writeMessage(7, extension_.get(i)); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(8, getOptions()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeMessage(9, getSourceCodeInfo()); } for (int i = 0; i < publicDependency_.size(); i++) { output.writeInt32(10, publicDependency_.getInt(i)); } for (int i = 0; i < weakDependency_.size(); i++) { output.writeInt32(11, weakDependency_.getInt(i)); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeString(12, getSyntax()); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeStringSize(1, getName()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeStringSize(2, getPackage()); } { int dataSize = 0; for (int i = 0; i < dependency_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeStringSizeNoTag(dependency_.get(i)); } size += dataSize; size += 1 * getDependencyList().size(); } for (int i = 0; i < messageType_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, messageType_.get(i)); } for (int i = 0; i < enumType_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, enumType_.get(i)); } for (int i = 0; i < service_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, service_.get(i)); } for (int i = 0; i < extension_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, extension_.get(i)); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getOptions()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getSourceCodeInfo()); } { int dataSize = 0; for (int i = 0; i < publicDependency_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(publicDependency_.getInt(i)); } size += dataSize; size += 1 * getPublicDependencyList().size(); } { int dataSize = 0; for (int i = 0; i < weakDependency_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(weakDependency_.getInt(i)); } size += dataSize; size += 1 * getWeakDependencyList().size(); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeStringSize(12, getSyntax()); } size += unknownFields.getSerializedSize(); memoizedSerializedSize = size; return size; } public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.google.protobuf.DescriptorProtos.FileDescriptorProto parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.protobuf.DescriptorProtos.FileDescriptorProto prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } /** *
     * Describes a complete .proto file.
     * 
* * Protobuf type {@code google.protobuf.FileDescriptorProto} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.google.protobuf.DescriptorProtos.FileDescriptorProto, Builder> implements // @@protoc_insertion_point(builder_implements:google.protobuf.FileDescriptorProto) com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder { // Construct using com.google.protobuf.DescriptorProtos.FileDescriptorProto.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** *
       * file name, relative to root of source tree
       * 
* * optional string name = 1; */ public boolean hasName() { return instance.hasName(); } /** *
       * file name, relative to root of source tree
       * 
* * optional string name = 1; */ public java.lang.String getName() { return instance.getName(); } /** *
       * file name, relative to root of source tree
       * 
* * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { return instance.getNameBytes(); } /** *
       * file name, relative to root of source tree
       * 
* * optional string name = 1; */ public Builder setName( java.lang.String value) { copyOnWrite(); instance.setName(value); return this; } /** *
       * file name, relative to root of source tree
       * 
* * optional string name = 1; */ public Builder clearName() { copyOnWrite(); instance.clearName(); return this; } /** *
       * file name, relative to root of source tree
       * 
* * optional string name = 1; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setNameBytes(value); return this; } /** *
       * e.g. "foo", "foo.bar", etc.
       * 
* * optional string package = 2; */ public boolean hasPackage() { return instance.hasPackage(); } /** *
       * e.g. "foo", "foo.bar", etc.
       * 
* * optional string package = 2; */ public java.lang.String getPackage() { return instance.getPackage(); } /** *
       * e.g. "foo", "foo.bar", etc.
       * 
* * optional string package = 2; */ public com.google.protobuf.ByteString getPackageBytes() { return instance.getPackageBytes(); } /** *
       * e.g. "foo", "foo.bar", etc.
       * 
* * optional string package = 2; */ public Builder setPackage( java.lang.String value) { copyOnWrite(); instance.setPackage(value); return this; } /** *
       * e.g. "foo", "foo.bar", etc.
       * 
* * optional string package = 2; */ public Builder clearPackage() { copyOnWrite(); instance.clearPackage(); return this; } /** *
       * e.g. "foo", "foo.bar", etc.
       * 
* * optional string package = 2; */ public Builder setPackageBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setPackageBytes(value); return this; } /** *
       * Names of files imported by this file.
       * 
* * repeated string dependency = 3; */ public java.util.List getDependencyList() { return java.util.Collections.unmodifiableList( instance.getDependencyList()); } /** *
       * Names of files imported by this file.
       * 
* * repeated string dependency = 3; */ public int getDependencyCount() { return instance.getDependencyCount(); } /** *
       * Names of files imported by this file.
       * 
* * repeated string dependency = 3; */ public java.lang.String getDependency(int index) { return instance.getDependency(index); } /** *
       * Names of files imported by this file.
       * 
* * repeated string dependency = 3; */ public com.google.protobuf.ByteString getDependencyBytes(int index) { return instance.getDependencyBytes(index); } /** *
       * Names of files imported by this file.
       * 
* * repeated string dependency = 3; */ public Builder setDependency( int index, java.lang.String value) { copyOnWrite(); instance.setDependency(index, value); return this; } /** *
       * Names of files imported by this file.
       * 
* * repeated string dependency = 3; */ public Builder addDependency( java.lang.String value) { copyOnWrite(); instance.addDependency(value); return this; } /** *
       * Names of files imported by this file.
       * 
* * repeated string dependency = 3; */ public Builder addAllDependency( java.lang.Iterable values) { copyOnWrite(); instance.addAllDependency(values); return this; } /** *
       * Names of files imported by this file.
       * 
* * repeated string dependency = 3; */ public Builder clearDependency() { copyOnWrite(); instance.clearDependency(); return this; } /** *
       * Names of files imported by this file.
       * 
* * repeated string dependency = 3; */ public Builder addDependencyBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.addDependencyBytes(value); return this; } /** *
       * Indexes of the public imported files in the dependency list above.
       * 
* * repeated int32 public_dependency = 10; */ public java.util.List getPublicDependencyList() { return java.util.Collections.unmodifiableList( instance.getPublicDependencyList()); } /** *
       * Indexes of the public imported files in the dependency list above.
       * 
* * repeated int32 public_dependency = 10; */ public int getPublicDependencyCount() { return instance.getPublicDependencyCount(); } /** *
       * Indexes of the public imported files in the dependency list above.
       * 
* * repeated int32 public_dependency = 10; */ public int getPublicDependency(int index) { return instance.getPublicDependency(index); } /** *
       * Indexes of the public imported files in the dependency list above.
       * 
* * repeated int32 public_dependency = 10; */ public Builder setPublicDependency( int index, int value) { copyOnWrite(); instance.setPublicDependency(index, value); return this; } /** *
       * Indexes of the public imported files in the dependency list above.
       * 
* * repeated int32 public_dependency = 10; */ public Builder addPublicDependency(int value) { copyOnWrite(); instance.addPublicDependency(value); return this; } /** *
       * Indexes of the public imported files in the dependency list above.
       * 
* * repeated int32 public_dependency = 10; */ public Builder addAllPublicDependency( java.lang.Iterable values) { copyOnWrite(); instance.addAllPublicDependency(values); return this; } /** *
       * Indexes of the public imported files in the dependency list above.
       * 
* * repeated int32 public_dependency = 10; */ public Builder clearPublicDependency() { copyOnWrite(); instance.clearPublicDependency(); return this; } /** *
       * Indexes of the weak imported files in the dependency list.
       * For Google-internal migration only. Do not use.
       * 
* * repeated int32 weak_dependency = 11; */ public java.util.List getWeakDependencyList() { return java.util.Collections.unmodifiableList( instance.getWeakDependencyList()); } /** *
       * Indexes of the weak imported files in the dependency list.
       * For Google-internal migration only. Do not use.
       * 
* * repeated int32 weak_dependency = 11; */ public int getWeakDependencyCount() { return instance.getWeakDependencyCount(); } /** *
       * Indexes of the weak imported files in the dependency list.
       * For Google-internal migration only. Do not use.
       * 
* * repeated int32 weak_dependency = 11; */ public int getWeakDependency(int index) { return instance.getWeakDependency(index); } /** *
       * Indexes of the weak imported files in the dependency list.
       * For Google-internal migration only. Do not use.
       * 
* * repeated int32 weak_dependency = 11; */ public Builder setWeakDependency( int index, int value) { copyOnWrite(); instance.setWeakDependency(index, value); return this; } /** *
       * Indexes of the weak imported files in the dependency list.
       * For Google-internal migration only. Do not use.
       * 
* * repeated int32 weak_dependency = 11; */ public Builder addWeakDependency(int value) { copyOnWrite(); instance.addWeakDependency(value); return this; } /** *
       * Indexes of the weak imported files in the dependency list.
       * For Google-internal migration only. Do not use.
       * 
* * repeated int32 weak_dependency = 11; */ public Builder addAllWeakDependency( java.lang.Iterable values) { copyOnWrite(); instance.addAllWeakDependency(values); return this; } /** *
       * Indexes of the weak imported files in the dependency list.
       * For Google-internal migration only. Do not use.
       * 
* * repeated int32 weak_dependency = 11; */ public Builder clearWeakDependency() { copyOnWrite(); instance.clearWeakDependency(); return this; } /** *
       * All top-level definitions in this file.
       * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; */ public java.util.List getMessageTypeList() { return java.util.Collections.unmodifiableList( instance.getMessageTypeList()); } /** *
       * All top-level definitions in this file.
       * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; */ public int getMessageTypeCount() { return instance.getMessageTypeCount(); }/** *
       * All top-level definitions in this file.
       * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; */ public com.google.protobuf.DescriptorProtos.DescriptorProto getMessageType(int index) { return instance.getMessageType(index); } /** *
       * All top-level definitions in this file.
       * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; */ public Builder setMessageType( int index, com.google.protobuf.DescriptorProtos.DescriptorProto value) { copyOnWrite(); instance.setMessageType(index, value); return this; } /** *
       * All top-level definitions in this file.
       * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; */ public Builder setMessageType( int index, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder builderForValue) { copyOnWrite(); instance.setMessageType(index, builderForValue); return this; } /** *
       * All top-level definitions in this file.
       * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; */ public Builder addMessageType(com.google.protobuf.DescriptorProtos.DescriptorProto value) { copyOnWrite(); instance.addMessageType(value); return this; } /** *
       * All top-level definitions in this file.
       * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; */ public Builder addMessageType( int index, com.google.protobuf.DescriptorProtos.DescriptorProto value) { copyOnWrite(); instance.addMessageType(index, value); return this; } /** *
       * All top-level definitions in this file.
       * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; */ public Builder addMessageType( com.google.protobuf.DescriptorProtos.DescriptorProto.Builder builderForValue) { copyOnWrite(); instance.addMessageType(builderForValue); return this; } /** *
       * All top-level definitions in this file.
       * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; */ public Builder addMessageType( int index, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder builderForValue) { copyOnWrite(); instance.addMessageType(index, builderForValue); return this; } /** *
       * All top-level definitions in this file.
       * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; */ public Builder addAllMessageType( java.lang.Iterable values) { copyOnWrite(); instance.addAllMessageType(values); return this; } /** *
       * All top-level definitions in this file.
       * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; */ public Builder clearMessageType() { copyOnWrite(); instance.clearMessageType(); return this; } /** *
       * All top-level definitions in this file.
       * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; */ public Builder removeMessageType(int index) { copyOnWrite(); instance.removeMessageType(index); return this; } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; */ public java.util.List getEnumTypeList() { return java.util.Collections.unmodifiableList( instance.getEnumTypeList()); } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; */ public int getEnumTypeCount() { return instance.getEnumTypeCount(); }/** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; */ public com.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index) { return instance.getEnumType(index); } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; */ public Builder setEnumType( int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto value) { copyOnWrite(); instance.setEnumType(index, value); return this; } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; */ public Builder setEnumType( int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder builderForValue) { copyOnWrite(); instance.setEnumType(index, builderForValue); return this; } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; */ public Builder addEnumType(com.google.protobuf.DescriptorProtos.EnumDescriptorProto value) { copyOnWrite(); instance.addEnumType(value); return this; } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; */ public Builder addEnumType( int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto value) { copyOnWrite(); instance.addEnumType(index, value); return this; } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; */ public Builder addEnumType( com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder builderForValue) { copyOnWrite(); instance.addEnumType(builderForValue); return this; } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; */ public Builder addEnumType( int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder builderForValue) { copyOnWrite(); instance.addEnumType(index, builderForValue); return this; } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; */ public Builder addAllEnumType( java.lang.Iterable values) { copyOnWrite(); instance.addAllEnumType(values); return this; } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; */ public Builder clearEnumType() { copyOnWrite(); instance.clearEnumType(); return this; } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; */ public Builder removeEnumType(int index) { copyOnWrite(); instance.removeEnumType(index); return this; } /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; */ public java.util.List getServiceList() { return java.util.Collections.unmodifiableList( instance.getServiceList()); } /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; */ public int getServiceCount() { return instance.getServiceCount(); }/** * repeated .google.protobuf.ServiceDescriptorProto service = 6; */ public com.google.protobuf.DescriptorProtos.ServiceDescriptorProto getService(int index) { return instance.getService(index); } /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; */ public Builder setService( int index, com.google.protobuf.DescriptorProtos.ServiceDescriptorProto value) { copyOnWrite(); instance.setService(index, value); return this; } /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; */ public Builder setService( int index, com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder builderForValue) { copyOnWrite(); instance.setService(index, builderForValue); return this; } /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; */ public Builder addService(com.google.protobuf.DescriptorProtos.ServiceDescriptorProto value) { copyOnWrite(); instance.addService(value); return this; } /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; */ public Builder addService( int index, com.google.protobuf.DescriptorProtos.ServiceDescriptorProto value) { copyOnWrite(); instance.addService(index, value); return this; } /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; */ public Builder addService( com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder builderForValue) { copyOnWrite(); instance.addService(builderForValue); return this; } /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; */ public Builder addService( int index, com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.Builder builderForValue) { copyOnWrite(); instance.addService(index, builderForValue); return this; } /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; */ public Builder addAllService( java.lang.Iterable values) { copyOnWrite(); instance.addAllService(values); return this; } /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; */ public Builder clearService() { copyOnWrite(); instance.clearService(); return this; } /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; */ public Builder removeService(int index) { copyOnWrite(); instance.removeService(index); return this; } /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; */ public java.util.List getExtensionList() { return java.util.Collections.unmodifiableList( instance.getExtensionList()); } /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; */ public int getExtensionCount() { return instance.getExtensionCount(); }/** * repeated .google.protobuf.FieldDescriptorProto extension = 7; */ public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index) { return instance.getExtension(index); } /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; */ public Builder setExtension( int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) { copyOnWrite(); instance.setExtension(index, value); return this; } /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; */ public Builder setExtension( int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) { copyOnWrite(); instance.setExtension(index, builderForValue); return this; } /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; */ public Builder addExtension(com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) { copyOnWrite(); instance.addExtension(value); return this; } /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; */ public Builder addExtension( int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) { copyOnWrite(); instance.addExtension(index, value); return this; } /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; */ public Builder addExtension( com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) { copyOnWrite(); instance.addExtension(builderForValue); return this; } /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; */ public Builder addExtension( int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) { copyOnWrite(); instance.addExtension(index, builderForValue); return this; } /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; */ public Builder addAllExtension( java.lang.Iterable values) { copyOnWrite(); instance.addAllExtension(values); return this; } /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; */ public Builder clearExtension() { copyOnWrite(); instance.clearExtension(); return this; } /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; */ public Builder removeExtension(int index) { copyOnWrite(); instance.removeExtension(index); return this; } /** * optional .google.protobuf.FileOptions options = 8; */ public boolean hasOptions() { return instance.hasOptions(); } /** * optional .google.protobuf.FileOptions options = 8; */ public com.google.protobuf.DescriptorProtos.FileOptions getOptions() { return instance.getOptions(); } /** * optional .google.protobuf.FileOptions options = 8; */ public Builder setOptions(com.google.protobuf.DescriptorProtos.FileOptions value) { copyOnWrite(); instance.setOptions(value); return this; } /** * optional .google.protobuf.FileOptions options = 8; */ public Builder setOptions( com.google.protobuf.DescriptorProtos.FileOptions.Builder builderForValue) { copyOnWrite(); instance.setOptions(builderForValue); return this; } /** * optional .google.protobuf.FileOptions options = 8; */ public Builder mergeOptions(com.google.protobuf.DescriptorProtos.FileOptions value) { copyOnWrite(); instance.mergeOptions(value); return this; } /** * optional .google.protobuf.FileOptions options = 8; */ public Builder clearOptions() { copyOnWrite(); instance.clearOptions(); return this; } /** *
       * 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; */ public boolean hasSourceCodeInfo() { return instance.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; */ public com.google.protobuf.DescriptorProtos.SourceCodeInfo getSourceCodeInfo() { return instance.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; */ public Builder setSourceCodeInfo(com.google.protobuf.DescriptorProtos.SourceCodeInfo value) { copyOnWrite(); instance.setSourceCodeInfo(value); return this; } /** *
       * 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; */ public Builder setSourceCodeInfo( com.google.protobuf.DescriptorProtos.SourceCodeInfo.Builder builderForValue) { copyOnWrite(); instance.setSourceCodeInfo(builderForValue); return this; } /** *
       * 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; */ public Builder mergeSourceCodeInfo(com.google.protobuf.DescriptorProtos.SourceCodeInfo value) { copyOnWrite(); instance.mergeSourceCodeInfo(value); return this; } /** *
       * 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; */ public Builder clearSourceCodeInfo() { copyOnWrite(); instance.clearSourceCodeInfo(); return this; } /** *
       * The syntax of the proto file.
       * The supported values are "proto2" and "proto3".
       * 
* * optional string syntax = 12; */ public boolean hasSyntax() { return instance.hasSyntax(); } /** *
       * The syntax of the proto file.
       * The supported values are "proto2" and "proto3".
       * 
* * optional string syntax = 12; */ public java.lang.String getSyntax() { return instance.getSyntax(); } /** *
       * The syntax of the proto file.
       * The supported values are "proto2" and "proto3".
       * 
* * optional string syntax = 12; */ public com.google.protobuf.ByteString getSyntaxBytes() { return instance.getSyntaxBytes(); } /** *
       * The syntax of the proto file.
       * The supported values are "proto2" and "proto3".
       * 
* * optional string syntax = 12; */ public Builder setSyntax( java.lang.String value) { copyOnWrite(); instance.setSyntax(value); return this; } /** *
       * The syntax of the proto file.
       * The supported values are "proto2" and "proto3".
       * 
* * optional string syntax = 12; */ public Builder clearSyntax() { copyOnWrite(); instance.clearSyntax(); return this; } /** *
       * The syntax of the proto file.
       * The supported values are "proto2" and "proto3".
       * 
* * optional string syntax = 12; */ public Builder setSyntaxBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setSyntaxBytes(value); return this; } // @@protoc_insertion_point(builder_scope:google.protobuf.FileDescriptorProto) } private byte memoizedIsInitialized = -1; protected final Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.google.protobuf.DescriptorProtos.FileDescriptorProto(); } case IS_INITIALIZED: { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return DEFAULT_INSTANCE; if (isInitialized == 0) return null; boolean shouldMemoize = ((Boolean) arg0).booleanValue(); for (int i = 0; i < getMessageTypeCount(); i++) { if (!getMessageType(i).isInitialized()) { if (shouldMemoize) { memoizedIsInitialized = 0; } return null; } } for (int i = 0; i < getEnumTypeCount(); i++) { if (!getEnumType(i).isInitialized()) { if (shouldMemoize) { memoizedIsInitialized = 0; } return null; } } for (int i = 0; i < getServiceCount(); i++) { if (!getService(i).isInitialized()) { if (shouldMemoize) { memoizedIsInitialized = 0; } return null; } } for (int i = 0; i < getExtensionCount(); i++) { if (!getExtension(i).isInitialized()) { if (shouldMemoize) { memoizedIsInitialized = 0; } return null; } } if (hasOptions()) { if (!getOptions().isInitialized()) { if (shouldMemoize) { memoizedIsInitialized = 0; } return null; } } if (shouldMemoize) memoizedIsInitialized = 1; return DEFAULT_INSTANCE; } case MAKE_IMMUTABLE: { dependency_.makeImmutable(); publicDependency_.makeImmutable(); weakDependency_.makeImmutable(); messageType_.makeImmutable(); enumType_.makeImmutable(); service_.makeImmutable(); extension_.makeImmutable(); return null; } case NEW_BUILDER: { return new Builder(); } case VISIT: { Visitor visitor = (Visitor) arg0; com.google.protobuf.DescriptorProtos.FileDescriptorProto other = (com.google.protobuf.DescriptorProtos.FileDescriptorProto) arg1; name_ = visitor.visitString( hasName(), name_, other.hasName(), other.name_); package_ = visitor.visitString( hasPackage(), package_, other.hasPackage(), other.package_); dependency_= visitor.visitList(dependency_, other.dependency_); publicDependency_= visitor.visitIntList(publicDependency_, other.publicDependency_); weakDependency_= visitor.visitIntList(weakDependency_, other.weakDependency_); messageType_= visitor.visitList(messageType_, other.messageType_); enumType_= visitor.visitList(enumType_, other.enumType_); service_= visitor.visitList(service_, other.service_); extension_= visitor.visitList(extension_, other.extension_); options_ = visitor.visitMessage(options_, other.options_); sourceCodeInfo_ = visitor.visitMessage(sourceCodeInfo_, other.sourceCodeInfo_); syntax_ = visitor.visitString( hasSyntax(), syntax_, other.hasSyntax(), other.syntax_); if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor .INSTANCE) { bitField0_ |= other.bitField0_; } return this; } case MERGE_FROM_STREAM: { com.google.protobuf.CodedInputStream input = (com.google.protobuf.CodedInputStream) arg0; com.google.protobuf.ExtensionRegistryLite extensionRegistry = (com.google.protobuf.ExtensionRegistryLite) arg1; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(tag, input)) { done = true; } break; } case 10: { String s = input.readString(); bitField0_ |= 0x00000001; name_ = s; break; } case 18: { String s = input.readString(); bitField0_ |= 0x00000002; package_ = s; break; } case 26: { String s = input.readString(); if (!dependency_.isModifiable()) { dependency_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(dependency_); } dependency_.add(s); break; } case 34: { if (!messageType_.isModifiable()) { messageType_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(messageType_); } messageType_.add( input.readMessage(com.google.protobuf.DescriptorProtos.DescriptorProto.parser(), extensionRegistry)); break; } case 42: { if (!enumType_.isModifiable()) { enumType_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(enumType_); } enumType_.add( input.readMessage(com.google.protobuf.DescriptorProtos.EnumDescriptorProto.parser(), extensionRegistry)); break; } case 50: { if (!service_.isModifiable()) { service_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(service_); } service_.add( input.readMessage(com.google.protobuf.DescriptorProtos.ServiceDescriptorProto.parser(), extensionRegistry)); break; } case 58: { if (!extension_.isModifiable()) { extension_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(extension_); } extension_.add( input.readMessage(com.google.protobuf.DescriptorProtos.FieldDescriptorProto.parser(), extensionRegistry)); break; } case 66: { com.google.protobuf.DescriptorProtos.FileOptions.Builder subBuilder = null; if (((bitField0_ & 0x00000004) == 0x00000004)) { subBuilder = options_.toBuilder(); } options_ = input.readMessage(com.google.protobuf.DescriptorProtos.FileOptions.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(options_); options_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 74: { com.google.protobuf.DescriptorProtos.SourceCodeInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000008) == 0x00000008)) { subBuilder = sourceCodeInfo_.toBuilder(); } sourceCodeInfo_ = input.readMessage(com.google.protobuf.DescriptorProtos.SourceCodeInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(sourceCodeInfo_); sourceCodeInfo_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; break; } case 80: { if (!publicDependency_.isModifiable()) { publicDependency_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(publicDependency_); } publicDependency_.addInt(input.readInt32()); break; } case 82: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!publicDependency_.isModifiable() && input.getBytesUntilLimit() > 0) { publicDependency_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(publicDependency_); } while (input.getBytesUntilLimit() > 0) { publicDependency_.addInt(input.readInt32()); } input.popLimit(limit); break; } case 88: { if (!weakDependency_.isModifiable()) { weakDependency_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(weakDependency_); } weakDependency_.addInt(input.readInt32()); break; } case 90: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!weakDependency_.isModifiable() && input.getBytesUntilLimit() > 0) { weakDependency_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(weakDependency_); } while (input.getBytesUntilLimit() > 0) { weakDependency_.addInt(input.readInt32()); } input.popLimit(limit); break; } case 98: { String s = input.readString(); bitField0_ |= 0x00000010; syntax_ = s; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw new RuntimeException(e.setUnfinishedMessage(this)); } catch (java.io.IOException e) { throw new RuntimeException( new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this)); } finally { } } case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { if (PARSER == null) { synchronized (com.google.protobuf.DescriptorProtos.FileDescriptorProto.class) { if (PARSER == null) { PARSER = new DefaultInstanceBasedParser(DEFAULT_INSTANCE); } } } return PARSER; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto) private static final com.google.protobuf.DescriptorProtos.FileDescriptorProto DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new FileDescriptorProto(); DEFAULT_INSTANCE.makeImmutable(); } public static com.google.protobuf.DescriptorProtos.FileDescriptorProto getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } public interface DescriptorProtoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.protobuf.DescriptorProto) com.google.protobuf.MessageLiteOrBuilder { /** * optional string name = 1; */ boolean hasName(); /** * optional string name = 1; */ java.lang.String getName(); /** * optional string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** * repeated .google.protobuf.FieldDescriptorProto field = 2; */ java.util.List getFieldList(); /** * repeated .google.protobuf.FieldDescriptorProto field = 2; */ com.google.protobuf.DescriptorProtos.FieldDescriptorProto getField(int index); /** * repeated .google.protobuf.FieldDescriptorProto field = 2; */ int getFieldCount(); /** * repeated .google.protobuf.FieldDescriptorProto extension = 6; */ java.util.List getExtensionList(); /** * repeated .google.protobuf.FieldDescriptorProto extension = 6; */ com.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index); /** * repeated .google.protobuf.FieldDescriptorProto extension = 6; */ int getExtensionCount(); /** * repeated .google.protobuf.DescriptorProto nested_type = 3; */ java.util.List getNestedTypeList(); /** * repeated .google.protobuf.DescriptorProto nested_type = 3; */ com.google.protobuf.DescriptorProtos.DescriptorProto getNestedType(int index); /** * repeated .google.protobuf.DescriptorProto nested_type = 3; */ int getNestedTypeCount(); /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 4; */ java.util.List getEnumTypeList(); /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 4; */ com.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index); /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 4; */ int getEnumTypeCount(); /** * repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; */ java.util.List getExtensionRangeList(); /** * repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; */ com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange getExtensionRange(int index); /** * repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; */ int getExtensionRangeCount(); /** * repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; */ java.util.List getOneofDeclList(); /** * repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; */ com.google.protobuf.DescriptorProtos.OneofDescriptorProto getOneofDecl(int index); /** * repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; */ int getOneofDeclCount(); /** * optional .google.protobuf.MessageOptions options = 7; */ boolean hasOptions(); /** * optional .google.protobuf.MessageOptions options = 7; */ com.google.protobuf.DescriptorProtos.MessageOptions getOptions(); /** * repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; */ java.util.List getReservedRangeList(); /** * repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; */ com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange getReservedRange(int index); /** * repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; */ int getReservedRangeCount(); /** *
     * Reserved field names, which may not be used by fields in the same message.
     * A given name may only be reserved once.
     * 
* * repeated string reserved_name = 10; */ java.util.List getReservedNameList(); /** *
     * Reserved field names, which may not be used by fields in the same message.
     * A given name may only be reserved once.
     * 
* * repeated string reserved_name = 10; */ int getReservedNameCount(); /** *
     * Reserved field names, which may not be used by fields in the same message.
     * A given name may only be reserved once.
     * 
* * repeated string reserved_name = 10; */ java.lang.String getReservedName(int index); /** *
     * Reserved field names, which may not be used by fields in the same message.
     * A given name may only be reserved once.
     * 
* * repeated string reserved_name = 10; */ com.google.protobuf.ByteString getReservedNameBytes(int index); } /** *
   * Describes a message type.
   * 
* * Protobuf type {@code google.protobuf.DescriptorProto} */ public static final class DescriptorProto extends com.google.protobuf.GeneratedMessageLite< DescriptorProto, DescriptorProto.Builder> implements // @@protoc_insertion_point(message_implements:google.protobuf.DescriptorProto) DescriptorProtoOrBuilder { private DescriptorProto() { name_ = ""; field_ = emptyProtobufList(); extension_ = emptyProtobufList(); nestedType_ = emptyProtobufList(); enumType_ = emptyProtobufList(); extensionRange_ = emptyProtobufList(); oneofDecl_ = emptyProtobufList(); reservedRange_ = emptyProtobufList(); reservedName_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList(); } public interface ExtensionRangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.protobuf.DescriptorProto.ExtensionRange) com.google.protobuf.MessageLiteOrBuilder { /** * optional int32 start = 1; */ boolean hasStart(); /** * optional int32 start = 1; */ int getStart(); /** * optional int32 end = 2; */ boolean hasEnd(); /** * optional int32 end = 2; */ int getEnd(); } /** * Protobuf type {@code google.protobuf.DescriptorProto.ExtensionRange} */ public static final class ExtensionRange extends com.google.protobuf.GeneratedMessageLite< ExtensionRange, ExtensionRange.Builder> implements // @@protoc_insertion_point(message_implements:google.protobuf.DescriptorProto.ExtensionRange) ExtensionRangeOrBuilder { private ExtensionRange() { } private int bitField0_; public static final int START_FIELD_NUMBER = 1; private int start_; /** * optional int32 start = 1; */ public boolean hasStart() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional int32 start = 1; */ public int getStart() { return start_; } /** * optional int32 start = 1; */ private void setStart(int value) { bitField0_ |= 0x00000001; start_ = value; } /** * optional int32 start = 1; */ private void clearStart() { bitField0_ = (bitField0_ & ~0x00000001); start_ = 0; } public static final int END_FIELD_NUMBER = 2; private int end_; /** * optional int32 end = 2; */ public boolean hasEnd() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional int32 end = 2; */ public int getEnd() { return end_; } /** * optional int32 end = 2; */ private void setEnd(int value) { bitField0_ |= 0x00000002; end_ = value; } /** * optional int32 end = 2; */ private void clearEnd() { bitField0_ = (bitField0_ & ~0x00000002); end_ = 0; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, start_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, end_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, start_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, end_); } size += unknownFields.getSerializedSize(); memoizedSerializedSize = size; return size; } public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } /** * Protobuf type {@code google.protobuf.DescriptorProto.ExtensionRange} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange, Builder> implements // @@protoc_insertion_point(builder_implements:google.protobuf.DescriptorProto.ExtensionRange) com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder { // Construct using com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * optional int32 start = 1; */ public boolean hasStart() { return instance.hasStart(); } /** * optional int32 start = 1; */ public int getStart() { return instance.getStart(); } /** * optional int32 start = 1; */ public Builder setStart(int value) { copyOnWrite(); instance.setStart(value); return this; } /** * optional int32 start = 1; */ public Builder clearStart() { copyOnWrite(); instance.clearStart(); return this; } /** * optional int32 end = 2; */ public boolean hasEnd() { return instance.hasEnd(); } /** * optional int32 end = 2; */ public int getEnd() { return instance.getEnd(); } /** * optional int32 end = 2; */ public Builder setEnd(int value) { copyOnWrite(); instance.setEnd(value); return this; } /** * optional int32 end = 2; */ public Builder clearEnd() { copyOnWrite(); instance.clearEnd(); return this; } // @@protoc_insertion_point(builder_scope:google.protobuf.DescriptorProto.ExtensionRange) } protected final Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange(); } case IS_INITIALIZED: { return DEFAULT_INSTANCE; } case MAKE_IMMUTABLE: { return null; } case NEW_BUILDER: { return new Builder(); } case VISIT: { Visitor visitor = (Visitor) arg0; com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange other = (com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange) arg1; start_ = visitor.visitInt( hasStart(), start_, other.hasStart(), other.start_); end_ = visitor.visitInt( hasEnd(), end_, other.hasEnd(), other.end_); if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor .INSTANCE) { bitField0_ |= other.bitField0_; } return this; } case MERGE_FROM_STREAM: { com.google.protobuf.CodedInputStream input = (com.google.protobuf.CodedInputStream) arg0; com.google.protobuf.ExtensionRegistryLite extensionRegistry = (com.google.protobuf.ExtensionRegistryLite) arg1; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(tag, input)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; start_ = input.readInt32(); break; } case 16: { bitField0_ |= 0x00000002; end_ = input.readInt32(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw new RuntimeException(e.setUnfinishedMessage(this)); } catch (java.io.IOException e) { throw new RuntimeException( new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this)); } finally { } } case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { if (PARSER == null) { synchronized (com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.class) { if (PARSER == null) { PARSER = new DefaultInstanceBasedParser(DEFAULT_INSTANCE); } } } return PARSER; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ExtensionRange) private static final com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ExtensionRange(); DEFAULT_INSTANCE.makeImmutable(); } public static com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } public interface ReservedRangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.protobuf.DescriptorProto.ReservedRange) com.google.protobuf.MessageLiteOrBuilder { /** *
       * Inclusive.
       * 
* * optional int32 start = 1; */ boolean hasStart(); /** *
       * Inclusive.
       * 
* * optional int32 start = 1; */ int getStart(); /** *
       * Exclusive.
       * 
* * optional int32 end = 2; */ boolean hasEnd(); /** *
       * Exclusive.
       * 
* * optional int32 end = 2; */ int getEnd(); } /** *
     * Range of reserved tag numbers. Reserved tag numbers may not be used by
     * fields or extension ranges in the same message. Reserved ranges may
     * not overlap.
     * 
* * Protobuf type {@code google.protobuf.DescriptorProto.ReservedRange} */ public static final class ReservedRange extends com.google.protobuf.GeneratedMessageLite< ReservedRange, ReservedRange.Builder> implements // @@protoc_insertion_point(message_implements:google.protobuf.DescriptorProto.ReservedRange) ReservedRangeOrBuilder { private ReservedRange() { } private int bitField0_; public static final int START_FIELD_NUMBER = 1; private int start_; /** *
       * Inclusive.
       * 
* * optional int32 start = 1; */ public boolean hasStart() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       * Inclusive.
       * 
* * optional int32 start = 1; */ public int getStart() { return start_; } /** *
       * Inclusive.
       * 
* * optional int32 start = 1; */ private void setStart(int value) { bitField0_ |= 0x00000001; start_ = value; } /** *
       * Inclusive.
       * 
* * optional int32 start = 1; */ private void clearStart() { bitField0_ = (bitField0_ & ~0x00000001); start_ = 0; } public static final int END_FIELD_NUMBER = 2; private int end_; /** *
       * Exclusive.
       * 
* * optional int32 end = 2; */ public boolean hasEnd() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       * Exclusive.
       * 
* * optional int32 end = 2; */ public int getEnd() { return end_; } /** *
       * Exclusive.
       * 
* * optional int32 end = 2; */ private void setEnd(int value) { bitField0_ |= 0x00000002; end_ = value; } /** *
       * Exclusive.
       * 
* * optional int32 end = 2; */ private void clearEnd() { bitField0_ = (bitField0_ & ~0x00000002); end_ = 0; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, start_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, end_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, start_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, end_); } size += unknownFields.getSerializedSize(); memoizedSerializedSize = size; return size; } public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } /** *
       * Range of reserved tag numbers. Reserved tag numbers may not be used by
       * fields or extension ranges in the same message. Reserved ranges may
       * not overlap.
       * 
* * Protobuf type {@code google.protobuf.DescriptorProto.ReservedRange} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange, Builder> implements // @@protoc_insertion_point(builder_implements:google.protobuf.DescriptorProto.ReservedRange) com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder { // Construct using com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** *
         * Inclusive.
         * 
* * optional int32 start = 1; */ public boolean hasStart() { return instance.hasStart(); } /** *
         * Inclusive.
         * 
* * optional int32 start = 1; */ public int getStart() { return instance.getStart(); } /** *
         * Inclusive.
         * 
* * optional int32 start = 1; */ public Builder setStart(int value) { copyOnWrite(); instance.setStart(value); return this; } /** *
         * Inclusive.
         * 
* * optional int32 start = 1; */ public Builder clearStart() { copyOnWrite(); instance.clearStart(); return this; } /** *
         * Exclusive.
         * 
* * optional int32 end = 2; */ public boolean hasEnd() { return instance.hasEnd(); } /** *
         * Exclusive.
         * 
* * optional int32 end = 2; */ public int getEnd() { return instance.getEnd(); } /** *
         * Exclusive.
         * 
* * optional int32 end = 2; */ public Builder setEnd(int value) { copyOnWrite(); instance.setEnd(value); return this; } /** *
         * Exclusive.
         * 
* * optional int32 end = 2; */ public Builder clearEnd() { copyOnWrite(); instance.clearEnd(); return this; } // @@protoc_insertion_point(builder_scope:google.protobuf.DescriptorProto.ReservedRange) } protected final Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange(); } case IS_INITIALIZED: { return DEFAULT_INSTANCE; } case MAKE_IMMUTABLE: { return null; } case NEW_BUILDER: { return new Builder(); } case VISIT: { Visitor visitor = (Visitor) arg0; com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange other = (com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange) arg1; start_ = visitor.visitInt( hasStart(), start_, other.hasStart(), other.start_); end_ = visitor.visitInt( hasEnd(), end_, other.hasEnd(), other.end_); if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor .INSTANCE) { bitField0_ |= other.bitField0_; } return this; } case MERGE_FROM_STREAM: { com.google.protobuf.CodedInputStream input = (com.google.protobuf.CodedInputStream) arg0; com.google.protobuf.ExtensionRegistryLite extensionRegistry = (com.google.protobuf.ExtensionRegistryLite) arg1; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(tag, input)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; start_ = input.readInt32(); break; } case 16: { bitField0_ |= 0x00000002; end_ = input.readInt32(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw new RuntimeException(e.setUnfinishedMessage(this)); } catch (java.io.IOException e) { throw new RuntimeException( new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this)); } finally { } } case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { if (PARSER == null) { synchronized (com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.class) { if (PARSER == null) { PARSER = new DefaultInstanceBasedParser(DEFAULT_INSTANCE); } } } return PARSER; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ReservedRange) private static final com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ReservedRange(); DEFAULT_INSTANCE.makeImmutable(); } public static com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private java.lang.String name_; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string name = 1; */ public java.lang.String getName() { return name_; } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { return com.google.protobuf.ByteString.copyFromUtf8(name_); } /** * optional string name = 1; */ private void setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; } /** * optional string name = 1; */ private void clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); } /** * optional string name = 1; */ private void setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value.toStringUtf8(); } public static final int FIELD_FIELD_NUMBER = 2; private com.google.protobuf.Internal.ProtobufList field_; /** * repeated .google.protobuf.FieldDescriptorProto field = 2; */ public java.util.List getFieldList() { return field_; } /** * repeated .google.protobuf.FieldDescriptorProto field = 2; */ public java.util.List getFieldOrBuilderList() { return field_; } /** * repeated .google.protobuf.FieldDescriptorProto field = 2; */ public int getFieldCount() { return field_.size(); } /** * repeated .google.protobuf.FieldDescriptorProto field = 2; */ public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getField(int index) { return field_.get(index); } /** * repeated .google.protobuf.FieldDescriptorProto field = 2; */ public com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getFieldOrBuilder( int index) { return field_.get(index); } private void ensureFieldIsMutable() { if (!field_.isModifiable()) { field_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(field_); } } /** * repeated .google.protobuf.FieldDescriptorProto field = 2; */ private void setField( int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) { if (value == null) { throw new NullPointerException(); } ensureFieldIsMutable(); field_.set(index, value); } /** * repeated .google.protobuf.FieldDescriptorProto field = 2; */ private void setField( int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) { ensureFieldIsMutable(); field_.set(index, builderForValue.build()); } /** * repeated .google.protobuf.FieldDescriptorProto field = 2; */ private void addField(com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) { if (value == null) { throw new NullPointerException(); } ensureFieldIsMutable(); field_.add(value); } /** * repeated .google.protobuf.FieldDescriptorProto field = 2; */ private void addField( int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) { if (value == null) { throw new NullPointerException(); } ensureFieldIsMutable(); field_.add(index, value); } /** * repeated .google.protobuf.FieldDescriptorProto field = 2; */ private void addField( com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) { ensureFieldIsMutable(); field_.add(builderForValue.build()); } /** * repeated .google.protobuf.FieldDescriptorProto field = 2; */ private void addField( int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) { ensureFieldIsMutable(); field_.add(index, builderForValue.build()); } /** * repeated .google.protobuf.FieldDescriptorProto field = 2; */ private void addAllField( java.lang.Iterable values) { ensureFieldIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, field_); } /** * repeated .google.protobuf.FieldDescriptorProto field = 2; */ private void clearField() { field_ = emptyProtobufList(); } /** * repeated .google.protobuf.FieldDescriptorProto field = 2; */ private void removeField(int index) { ensureFieldIsMutable(); field_.remove(index); } public static final int EXTENSION_FIELD_NUMBER = 6; private com.google.protobuf.Internal.ProtobufList extension_; /** * repeated .google.protobuf.FieldDescriptorProto extension = 6; */ public java.util.List getExtensionList() { return extension_; } /** * repeated .google.protobuf.FieldDescriptorProto extension = 6; */ public java.util.List getExtensionOrBuilderList() { return extension_; } /** * repeated .google.protobuf.FieldDescriptorProto extension = 6; */ public int getExtensionCount() { return extension_.size(); } /** * repeated .google.protobuf.FieldDescriptorProto extension = 6; */ public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index) { return extension_.get(index); } /** * repeated .google.protobuf.FieldDescriptorProto extension = 6; */ public com.google.protobuf.DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder( int index) { return extension_.get(index); } private void ensureExtensionIsMutable() { if (!extension_.isModifiable()) { extension_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(extension_); } } /** * repeated .google.protobuf.FieldDescriptorProto extension = 6; */ private void setExtension( int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) { if (value == null) { throw new NullPointerException(); } ensureExtensionIsMutable(); extension_.set(index, value); } /** * repeated .google.protobuf.FieldDescriptorProto extension = 6; */ private void setExtension( int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) { ensureExtensionIsMutable(); extension_.set(index, builderForValue.build()); } /** * repeated .google.protobuf.FieldDescriptorProto extension = 6; */ private void addExtension(com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) { if (value == null) { throw new NullPointerException(); } ensureExtensionIsMutable(); extension_.add(value); } /** * repeated .google.protobuf.FieldDescriptorProto extension = 6; */ private void addExtension( int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) { if (value == null) { throw new NullPointerException(); } ensureExtensionIsMutable(); extension_.add(index, value); } /** * repeated .google.protobuf.FieldDescriptorProto extension = 6; */ private void addExtension( com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) { ensureExtensionIsMutable(); extension_.add(builderForValue.build()); } /** * repeated .google.protobuf.FieldDescriptorProto extension = 6; */ private void addExtension( int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) { ensureExtensionIsMutable(); extension_.add(index, builderForValue.build()); } /** * repeated .google.protobuf.FieldDescriptorProto extension = 6; */ private void addAllExtension( java.lang.Iterable values) { ensureExtensionIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, extension_); } /** * repeated .google.protobuf.FieldDescriptorProto extension = 6; */ private void clearExtension() { extension_ = emptyProtobufList(); } /** * repeated .google.protobuf.FieldDescriptorProto extension = 6; */ private void removeExtension(int index) { ensureExtensionIsMutable(); extension_.remove(index); } public static final int NESTED_TYPE_FIELD_NUMBER = 3; private com.google.protobuf.Internal.ProtobufList nestedType_; /** * repeated .google.protobuf.DescriptorProto nested_type = 3; */ public java.util.List getNestedTypeList() { return nestedType_; } /** * repeated .google.protobuf.DescriptorProto nested_type = 3; */ public java.util.List getNestedTypeOrBuilderList() { return nestedType_; } /** * repeated .google.protobuf.DescriptorProto nested_type = 3; */ public int getNestedTypeCount() { return nestedType_.size(); } /** * repeated .google.protobuf.DescriptorProto nested_type = 3; */ public com.google.protobuf.DescriptorProtos.DescriptorProto getNestedType(int index) { return nestedType_.get(index); } /** * repeated .google.protobuf.DescriptorProto nested_type = 3; */ public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getNestedTypeOrBuilder( int index) { return nestedType_.get(index); } private void ensureNestedTypeIsMutable() { if (!nestedType_.isModifiable()) { nestedType_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(nestedType_); } } /** * repeated .google.protobuf.DescriptorProto nested_type = 3; */ private void setNestedType( int index, com.google.protobuf.DescriptorProtos.DescriptorProto value) { if (value == null) { throw new NullPointerException(); } ensureNestedTypeIsMutable(); nestedType_.set(index, value); } /** * repeated .google.protobuf.DescriptorProto nested_type = 3; */ private void setNestedType( int index, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder builderForValue) { ensureNestedTypeIsMutable(); nestedType_.set(index, builderForValue.build()); } /** * repeated .google.protobuf.DescriptorProto nested_type = 3; */ private void addNestedType(com.google.protobuf.DescriptorProtos.DescriptorProto value) { if (value == null) { throw new NullPointerException(); } ensureNestedTypeIsMutable(); nestedType_.add(value); } /** * repeated .google.protobuf.DescriptorProto nested_type = 3; */ private void addNestedType( int index, com.google.protobuf.DescriptorProtos.DescriptorProto value) { if (value == null) { throw new NullPointerException(); } ensureNestedTypeIsMutable(); nestedType_.add(index, value); } /** * repeated .google.protobuf.DescriptorProto nested_type = 3; */ private void addNestedType( com.google.protobuf.DescriptorProtos.DescriptorProto.Builder builderForValue) { ensureNestedTypeIsMutable(); nestedType_.add(builderForValue.build()); } /** * repeated .google.protobuf.DescriptorProto nested_type = 3; */ private void addNestedType( int index, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder builderForValue) { ensureNestedTypeIsMutable(); nestedType_.add(index, builderForValue.build()); } /** * repeated .google.protobuf.DescriptorProto nested_type = 3; */ private void addAllNestedType( java.lang.Iterable values) { ensureNestedTypeIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, nestedType_); } /** * repeated .google.protobuf.DescriptorProto nested_type = 3; */ private void clearNestedType() { nestedType_ = emptyProtobufList(); } /** * repeated .google.protobuf.DescriptorProto nested_type = 3; */ private void removeNestedType(int index) { ensureNestedTypeIsMutable(); nestedType_.remove(index); } public static final int ENUM_TYPE_FIELD_NUMBER = 4; private com.google.protobuf.Internal.ProtobufList enumType_; /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 4; */ public java.util.List getEnumTypeList() { return enumType_; } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 4; */ public java.util.List getEnumTypeOrBuilderList() { return enumType_; } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 4; */ public int getEnumTypeCount() { return enumType_.size(); } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 4; */ public com.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index) { return enumType_.get(index); } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 4; */ public com.google.protobuf.DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder( int index) { return enumType_.get(index); } private void ensureEnumTypeIsMutable() { if (!enumType_.isModifiable()) { enumType_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(enumType_); } } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 4; */ private void setEnumType( int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto value) { if (value == null) { throw new NullPointerException(); } ensureEnumTypeIsMutable(); enumType_.set(index, value); } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 4; */ private void setEnumType( int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder builderForValue) { ensureEnumTypeIsMutable(); enumType_.set(index, builderForValue.build()); } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 4; */ private void addEnumType(com.google.protobuf.DescriptorProtos.EnumDescriptorProto value) { if (value == null) { throw new NullPointerException(); } ensureEnumTypeIsMutable(); enumType_.add(value); } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 4; */ private void addEnumType( int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto value) { if (value == null) { throw new NullPointerException(); } ensureEnumTypeIsMutable(); enumType_.add(index, value); } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 4; */ private void addEnumType( com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder builderForValue) { ensureEnumTypeIsMutable(); enumType_.add(builderForValue.build()); } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 4; */ private void addEnumType( int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder builderForValue) { ensureEnumTypeIsMutable(); enumType_.add(index, builderForValue.build()); } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 4; */ private void addAllEnumType( java.lang.Iterable values) { ensureEnumTypeIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, enumType_); } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 4; */ private void clearEnumType() { enumType_ = emptyProtobufList(); } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 4; */ private void removeEnumType(int index) { ensureEnumTypeIsMutable(); enumType_.remove(index); } public static final int EXTENSION_RANGE_FIELD_NUMBER = 5; private com.google.protobuf.Internal.ProtobufList extensionRange_; /** * repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; */ public java.util.List getExtensionRangeList() { return extensionRange_; } /** * repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; */ public java.util.List getExtensionRangeOrBuilderList() { return extensionRange_; } /** * repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; */ public int getExtensionRangeCount() { return extensionRange_.size(); } /** * repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; */ public com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange getExtensionRange(int index) { return extensionRange_.get(index); } /** * repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; */ public com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder getExtensionRangeOrBuilder( int index) { return extensionRange_.get(index); } private void ensureExtensionRangeIsMutable() { if (!extensionRange_.isModifiable()) { extensionRange_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(extensionRange_); } } /** * repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; */ private void setExtensionRange( int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange value) { if (value == null) { throw new NullPointerException(); } ensureExtensionRangeIsMutable(); extensionRange_.set(index, value); } /** * repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; */ private void setExtensionRange( int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue) { ensureExtensionRangeIsMutable(); extensionRange_.set(index, builderForValue.build()); } /** * repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; */ private void addExtensionRange(com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange value) { if (value == null) { throw new NullPointerException(); } ensureExtensionRangeIsMutable(); extensionRange_.add(value); } /** * repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; */ private void addExtensionRange( int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange value) { if (value == null) { throw new NullPointerException(); } ensureExtensionRangeIsMutable(); extensionRange_.add(index, value); } /** * repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; */ private void addExtensionRange( com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue) { ensureExtensionRangeIsMutable(); extensionRange_.add(builderForValue.build()); } /** * repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; */ private void addExtensionRange( int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue) { ensureExtensionRangeIsMutable(); extensionRange_.add(index, builderForValue.build()); } /** * repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; */ private void addAllExtensionRange( java.lang.Iterable values) { ensureExtensionRangeIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, extensionRange_); } /** * repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; */ private void clearExtensionRange() { extensionRange_ = emptyProtobufList(); } /** * repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; */ private void removeExtensionRange(int index) { ensureExtensionRangeIsMutable(); extensionRange_.remove(index); } public static final int ONEOF_DECL_FIELD_NUMBER = 8; private com.google.protobuf.Internal.ProtobufList oneofDecl_; /** * repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; */ public java.util.List getOneofDeclList() { return oneofDecl_; } /** * repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; */ public java.util.List getOneofDeclOrBuilderList() { return oneofDecl_; } /** * repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; */ public int getOneofDeclCount() { return oneofDecl_.size(); } /** * repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; */ public com.google.protobuf.DescriptorProtos.OneofDescriptorProto getOneofDecl(int index) { return oneofDecl_.get(index); } /** * repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; */ public com.google.protobuf.DescriptorProtos.OneofDescriptorProtoOrBuilder getOneofDeclOrBuilder( int index) { return oneofDecl_.get(index); } private void ensureOneofDeclIsMutable() { if (!oneofDecl_.isModifiable()) { oneofDecl_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(oneofDecl_); } } /** * repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; */ private void setOneofDecl( int index, com.google.protobuf.DescriptorProtos.OneofDescriptorProto value) { if (value == null) { throw new NullPointerException(); } ensureOneofDeclIsMutable(); oneofDecl_.set(index, value); } /** * repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; */ private void setOneofDecl( int index, com.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder builderForValue) { ensureOneofDeclIsMutable(); oneofDecl_.set(index, builderForValue.build()); } /** * repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; */ private void addOneofDecl(com.google.protobuf.DescriptorProtos.OneofDescriptorProto value) { if (value == null) { throw new NullPointerException(); } ensureOneofDeclIsMutable(); oneofDecl_.add(value); } /** * repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; */ private void addOneofDecl( int index, com.google.protobuf.DescriptorProtos.OneofDescriptorProto value) { if (value == null) { throw new NullPointerException(); } ensureOneofDeclIsMutable(); oneofDecl_.add(index, value); } /** * repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; */ private void addOneofDecl( com.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder builderForValue) { ensureOneofDeclIsMutable(); oneofDecl_.add(builderForValue.build()); } /** * repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; */ private void addOneofDecl( int index, com.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder builderForValue) { ensureOneofDeclIsMutable(); oneofDecl_.add(index, builderForValue.build()); } /** * repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; */ private void addAllOneofDecl( java.lang.Iterable values) { ensureOneofDeclIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, oneofDecl_); } /** * repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; */ private void clearOneofDecl() { oneofDecl_ = emptyProtobufList(); } /** * repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; */ private void removeOneofDecl(int index) { ensureOneofDeclIsMutable(); oneofDecl_.remove(index); } public static final int OPTIONS_FIELD_NUMBER = 7; private com.google.protobuf.DescriptorProtos.MessageOptions options_; /** * optional .google.protobuf.MessageOptions options = 7; */ public boolean hasOptions() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .google.protobuf.MessageOptions options = 7; */ public com.google.protobuf.DescriptorProtos.MessageOptions getOptions() { return options_ == null ? com.google.protobuf.DescriptorProtos.MessageOptions.getDefaultInstance() : options_; } /** * optional .google.protobuf.MessageOptions options = 7; */ private void setOptions(com.google.protobuf.DescriptorProtos.MessageOptions value) { if (value == null) { throw new NullPointerException(); } options_ = value; bitField0_ |= 0x00000002; } /** * optional .google.protobuf.MessageOptions options = 7; */ private void setOptions( com.google.protobuf.DescriptorProtos.MessageOptions.Builder builderForValue) { options_ = builderForValue.build(); bitField0_ |= 0x00000002; } /** * optional .google.protobuf.MessageOptions options = 7; */ private void mergeOptions(com.google.protobuf.DescriptorProtos.MessageOptions value) { if (options_ != null && options_ != com.google.protobuf.DescriptorProtos.MessageOptions.getDefaultInstance()) { options_ = com.google.protobuf.DescriptorProtos.MessageOptions.newBuilder(options_).mergeFrom(value).buildPartial(); } else { options_ = value; } bitField0_ |= 0x00000002; } /** * optional .google.protobuf.MessageOptions options = 7; */ private void clearOptions() { options_ = null; bitField0_ = (bitField0_ & ~0x00000002); } public static final int RESERVED_RANGE_FIELD_NUMBER = 9; private com.google.protobuf.Internal.ProtobufList reservedRange_; /** * repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; */ public java.util.List getReservedRangeList() { return reservedRange_; } /** * repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; */ public java.util.List getReservedRangeOrBuilderList() { return reservedRange_; } /** * repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; */ public int getReservedRangeCount() { return reservedRange_.size(); } /** * repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; */ public com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange getReservedRange(int index) { return reservedRange_.get(index); } /** * repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; */ public com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRangeOrBuilder getReservedRangeOrBuilder( int index) { return reservedRange_.get(index); } private void ensureReservedRangeIsMutable() { if (!reservedRange_.isModifiable()) { reservedRange_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(reservedRange_); } } /** * repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; */ private void setReservedRange( int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange value) { if (value == null) { throw new NullPointerException(); } ensureReservedRangeIsMutable(); reservedRange_.set(index, value); } /** * repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; */ private void setReservedRange( int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue) { ensureReservedRangeIsMutable(); reservedRange_.set(index, builderForValue.build()); } /** * repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; */ private void addReservedRange(com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange value) { if (value == null) { throw new NullPointerException(); } ensureReservedRangeIsMutable(); reservedRange_.add(value); } /** * repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; */ private void addReservedRange( int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange value) { if (value == null) { throw new NullPointerException(); } ensureReservedRangeIsMutable(); reservedRange_.add(index, value); } /** * repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; */ private void addReservedRange( com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue) { ensureReservedRangeIsMutable(); reservedRange_.add(builderForValue.build()); } /** * repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; */ private void addReservedRange( int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue) { ensureReservedRangeIsMutable(); reservedRange_.add(index, builderForValue.build()); } /** * repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; */ private void addAllReservedRange( java.lang.Iterable values) { ensureReservedRangeIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, reservedRange_); } /** * repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; */ private void clearReservedRange() { reservedRange_ = emptyProtobufList(); } /** * repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; */ private void removeReservedRange(int index) { ensureReservedRangeIsMutable(); reservedRange_.remove(index); } public static final int RESERVED_NAME_FIELD_NUMBER = 10; private com.google.protobuf.Internal.ProtobufList reservedName_; /** *
     * Reserved field names, which may not be used by fields in the same message.
     * A given name may only be reserved once.
     * 
* * repeated string reserved_name = 10; */ public java.util.List getReservedNameList() { return reservedName_; } /** *
     * Reserved field names, which may not be used by fields in the same message.
     * A given name may only be reserved once.
     * 
* * repeated string reserved_name = 10; */ public int getReservedNameCount() { return reservedName_.size(); } /** *
     * Reserved field names, which may not be used by fields in the same message.
     * A given name may only be reserved once.
     * 
* * repeated string reserved_name = 10; */ public java.lang.String getReservedName(int index) { return reservedName_.get(index); } /** *
     * Reserved field names, which may not be used by fields in the same message.
     * A given name may only be reserved once.
     * 
* * repeated string reserved_name = 10; */ public com.google.protobuf.ByteString getReservedNameBytes(int index) { return com.google.protobuf.ByteString.copyFromUtf8( reservedName_.get(index)); } private void ensureReservedNameIsMutable() { if (!reservedName_.isModifiable()) { reservedName_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(reservedName_); } } /** *
     * Reserved field names, which may not be used by fields in the same message.
     * A given name may only be reserved once.
     * 
* * repeated string reserved_name = 10; */ private void setReservedName( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureReservedNameIsMutable(); reservedName_.set(index, value); } /** *
     * Reserved field names, which may not be used by fields in the same message.
     * A given name may only be reserved once.
     * 
* * repeated string reserved_name = 10; */ private void addReservedName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureReservedNameIsMutable(); reservedName_.add(value); } /** *
     * Reserved field names, which may not be used by fields in the same message.
     * A given name may only be reserved once.
     * 
* * repeated string reserved_name = 10; */ private void addAllReservedName( java.lang.Iterable values) { ensureReservedNameIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, reservedName_); } /** *
     * Reserved field names, which may not be used by fields in the same message.
     * A given name may only be reserved once.
     * 
* * repeated string reserved_name = 10; */ private void clearReservedName() { reservedName_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList(); } /** *
     * Reserved field names, which may not be used by fields in the same message.
     * A given name may only be reserved once.
     * 
* * repeated string reserved_name = 10; */ private void addReservedNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureReservedNameIsMutable(); reservedName_.add(value.toStringUtf8()); } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeString(1, getName()); } for (int i = 0; i < field_.size(); i++) { output.writeMessage(2, field_.get(i)); } for (int i = 0; i < nestedType_.size(); i++) { output.writeMessage(3, nestedType_.get(i)); } for (int i = 0; i < enumType_.size(); i++) { output.writeMessage(4, enumType_.get(i)); } for (int i = 0; i < extensionRange_.size(); i++) { output.writeMessage(5, extensionRange_.get(i)); } for (int i = 0; i < extension_.size(); i++) { output.writeMessage(6, extension_.get(i)); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(7, getOptions()); } for (int i = 0; i < oneofDecl_.size(); i++) { output.writeMessage(8, oneofDecl_.get(i)); } for (int i = 0; i < reservedRange_.size(); i++) { output.writeMessage(9, reservedRange_.get(i)); } for (int i = 0; i < reservedName_.size(); i++) { output.writeString(10, reservedName_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeStringSize(1, getName()); } for (int i = 0; i < field_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, field_.get(i)); } for (int i = 0; i < nestedType_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, nestedType_.get(i)); } for (int i = 0; i < enumType_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, enumType_.get(i)); } for (int i = 0; i < extensionRange_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, extensionRange_.get(i)); } for (int i = 0; i < extension_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, extension_.get(i)); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getOptions()); } for (int i = 0; i < oneofDecl_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, oneofDecl_.get(i)); } for (int i = 0; i < reservedRange_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, reservedRange_.get(i)); } { int dataSize = 0; for (int i = 0; i < reservedName_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeStringSizeNoTag(reservedName_.get(i)); } size += dataSize; size += 1 * getReservedNameList().size(); } size += unknownFields.getSerializedSize(); memoizedSerializedSize = size; return size; } public static com.google.protobuf.DescriptorProtos.DescriptorProto parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.google.protobuf.DescriptorProtos.DescriptorProto parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.google.protobuf.DescriptorProtos.DescriptorProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.google.protobuf.DescriptorProtos.DescriptorProto parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.google.protobuf.DescriptorProtos.DescriptorProto parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.google.protobuf.DescriptorProtos.DescriptorProto parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.google.protobuf.DescriptorProtos.DescriptorProto parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.google.protobuf.DescriptorProtos.DescriptorProto parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.google.protobuf.DescriptorProtos.DescriptorProto parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.google.protobuf.DescriptorProtos.DescriptorProto parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.protobuf.DescriptorProtos.DescriptorProto prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } /** *
     * Describes a message type.
     * 
* * Protobuf type {@code google.protobuf.DescriptorProto} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.google.protobuf.DescriptorProtos.DescriptorProto, Builder> implements // @@protoc_insertion_point(builder_implements:google.protobuf.DescriptorProto) com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder { // Construct using com.google.protobuf.DescriptorProtos.DescriptorProto.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * optional string name = 1; */ public boolean hasName() { return instance.hasName(); } /** * optional string name = 1; */ public java.lang.String getName() { return instance.getName(); } /** * optional string name = 1; */ public com.google.protobuf.ByteString getNameBytes() { return instance.getNameBytes(); } /** * optional string name = 1; */ public Builder setName( java.lang.String value) { copyOnWrite(); instance.setName(value); return this; } /** * optional string name = 1; */ public Builder clearName() { copyOnWrite(); instance.clearName(); return this; } /** * optional string name = 1; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setNameBytes(value); return this; } /** * repeated .google.protobuf.FieldDescriptorProto field = 2; */ public java.util.List getFieldList() { return java.util.Collections.unmodifiableList( instance.getFieldList()); } /** * repeated .google.protobuf.FieldDescriptorProto field = 2; */ public int getFieldCount() { return instance.getFieldCount(); }/** * repeated .google.protobuf.FieldDescriptorProto field = 2; */ public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getField(int index) { return instance.getField(index); } /** * repeated .google.protobuf.FieldDescriptorProto field = 2; */ public Builder setField( int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) { copyOnWrite(); instance.setField(index, value); return this; } /** * repeated .google.protobuf.FieldDescriptorProto field = 2; */ public Builder setField( int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) { copyOnWrite(); instance.setField(index, builderForValue); return this; } /** * repeated .google.protobuf.FieldDescriptorProto field = 2; */ public Builder addField(com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) { copyOnWrite(); instance.addField(value); return this; } /** * repeated .google.protobuf.FieldDescriptorProto field = 2; */ public Builder addField( int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) { copyOnWrite(); instance.addField(index, value); return this; } /** * repeated .google.protobuf.FieldDescriptorProto field = 2; */ public Builder addField( com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) { copyOnWrite(); instance.addField(builderForValue); return this; } /** * repeated .google.protobuf.FieldDescriptorProto field = 2; */ public Builder addField( int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) { copyOnWrite(); instance.addField(index, builderForValue); return this; } /** * repeated .google.protobuf.FieldDescriptorProto field = 2; */ public Builder addAllField( java.lang.Iterable values) { copyOnWrite(); instance.addAllField(values); return this; } /** * repeated .google.protobuf.FieldDescriptorProto field = 2; */ public Builder clearField() { copyOnWrite(); instance.clearField(); return this; } /** * repeated .google.protobuf.FieldDescriptorProto field = 2; */ public Builder removeField(int index) { copyOnWrite(); instance.removeField(index); return this; } /** * repeated .google.protobuf.FieldDescriptorProto extension = 6; */ public java.util.List getExtensionList() { return java.util.Collections.unmodifiableList( instance.getExtensionList()); } /** * repeated .google.protobuf.FieldDescriptorProto extension = 6; */ public int getExtensionCount() { return instance.getExtensionCount(); }/** * repeated .google.protobuf.FieldDescriptorProto extension = 6; */ public com.google.protobuf.DescriptorProtos.FieldDescriptorProto getExtension(int index) { return instance.getExtension(index); } /** * repeated .google.protobuf.FieldDescriptorProto extension = 6; */ public Builder setExtension( int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) { copyOnWrite(); instance.setExtension(index, value); return this; } /** * repeated .google.protobuf.FieldDescriptorProto extension = 6; */ public Builder setExtension( int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) { copyOnWrite(); instance.setExtension(index, builderForValue); return this; } /** * repeated .google.protobuf.FieldDescriptorProto extension = 6; */ public Builder addExtension(com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) { copyOnWrite(); instance.addExtension(value); return this; } /** * repeated .google.protobuf.FieldDescriptorProto extension = 6; */ public Builder addExtension( int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto value) { copyOnWrite(); instance.addExtension(index, value); return this; } /** * repeated .google.protobuf.FieldDescriptorProto extension = 6; */ public Builder addExtension( com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) { copyOnWrite(); instance.addExtension(builderForValue); return this; } /** * repeated .google.protobuf.FieldDescriptorProto extension = 6; */ public Builder addExtension( int index, com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Builder builderForValue) { copyOnWrite(); instance.addExtension(index, builderForValue); return this; } /** * repeated .google.protobuf.FieldDescriptorProto extension = 6; */ public Builder addAllExtension( java.lang.Iterable values) { copyOnWrite(); instance.addAllExtension(values); return this; } /** * repeated .google.protobuf.FieldDescriptorProto extension = 6; */ public Builder clearExtension() { copyOnWrite(); instance.clearExtension(); return this; } /** * repeated .google.protobuf.FieldDescriptorProto extension = 6; */ public Builder removeExtension(int index) { copyOnWrite(); instance.removeExtension(index); return this; } /** * repeated .google.protobuf.DescriptorProto nested_type = 3; */ public java.util.List getNestedTypeList() { return java.util.Collections.unmodifiableList( instance.getNestedTypeList()); } /** * repeated .google.protobuf.DescriptorProto nested_type = 3; */ public int getNestedTypeCount() { return instance.getNestedTypeCount(); }/** * repeated .google.protobuf.DescriptorProto nested_type = 3; */ public com.google.protobuf.DescriptorProtos.DescriptorProto getNestedType(int index) { return instance.getNestedType(index); } /** * repeated .google.protobuf.DescriptorProto nested_type = 3; */ public Builder setNestedType( int index, com.google.protobuf.DescriptorProtos.DescriptorProto value) { copyOnWrite(); instance.setNestedType(index, value); return this; } /** * repeated .google.protobuf.DescriptorProto nested_type = 3; */ public Builder setNestedType( int index, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder builderForValue) { copyOnWrite(); instance.setNestedType(index, builderForValue); return this; } /** * repeated .google.protobuf.DescriptorProto nested_type = 3; */ public Builder addNestedType(com.google.protobuf.DescriptorProtos.DescriptorProto value) { copyOnWrite(); instance.addNestedType(value); return this; } /** * repeated .google.protobuf.DescriptorProto nested_type = 3; */ public Builder addNestedType( int index, com.google.protobuf.DescriptorProtos.DescriptorProto value) { copyOnWrite(); instance.addNestedType(index, value); return this; } /** * repeated .google.protobuf.DescriptorProto nested_type = 3; */ public Builder addNestedType( com.google.protobuf.DescriptorProtos.DescriptorProto.Builder builderForValue) { copyOnWrite(); instance.addNestedType(builderForValue); return this; } /** * repeated .google.protobuf.DescriptorProto nested_type = 3; */ public Builder addNestedType( int index, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder builderForValue) { copyOnWrite(); instance.addNestedType(index, builderForValue); return this; } /** * repeated .google.protobuf.DescriptorProto nested_type = 3; */ public Builder addAllNestedType( java.lang.Iterable values) { copyOnWrite(); instance.addAllNestedType(values); return this; } /** * repeated .google.protobuf.DescriptorProto nested_type = 3; */ public Builder clearNestedType() { copyOnWrite(); instance.clearNestedType(); return this; } /** * repeated .google.protobuf.DescriptorProto nested_type = 3; */ public Builder removeNestedType(int index) { copyOnWrite(); instance.removeNestedType(index); return this; } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 4; */ public java.util.List getEnumTypeList() { return java.util.Collections.unmodifiableList( instance.getEnumTypeList()); } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 4; */ public int getEnumTypeCount() { return instance.getEnumTypeCount(); }/** * repeated .google.protobuf.EnumDescriptorProto enum_type = 4; */ public com.google.protobuf.DescriptorProtos.EnumDescriptorProto getEnumType(int index) { return instance.getEnumType(index); } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 4; */ public Builder setEnumType( int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto value) { copyOnWrite(); instance.setEnumType(index, value); return this; } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 4; */ public Builder setEnumType( int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder builderForValue) { copyOnWrite(); instance.setEnumType(index, builderForValue); return this; } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 4; */ public Builder addEnumType(com.google.protobuf.DescriptorProtos.EnumDescriptorProto value) { copyOnWrite(); instance.addEnumType(value); return this; } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 4; */ public Builder addEnumType( int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto value) { copyOnWrite(); instance.addEnumType(index, value); return this; } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 4; */ public Builder addEnumType( com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder builderForValue) { copyOnWrite(); instance.addEnumType(builderForValue); return this; } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 4; */ public Builder addEnumType( int index, com.google.protobuf.DescriptorProtos.EnumDescriptorProto.Builder builderForValue) { copyOnWrite(); instance.addEnumType(index, builderForValue); return this; } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 4; */ public Builder addAllEnumType( java.lang.Iterable values) { copyOnWrite(); instance.addAllEnumType(values); return this; } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 4; */ public Builder clearEnumType() { copyOnWrite(); instance.clearEnumType(); return this; } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 4; */ public Builder removeEnumType(int index) { copyOnWrite(); instance.removeEnumType(index); return this; } /** * repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; */ public java.util.List getExtensionRangeList() { return java.util.Collections.unmodifiableList( instance.getExtensionRangeList()); } /** * repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; */ public int getExtensionRangeCount() { return instance.getExtensionRangeCount(); }/** * repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; */ public com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange getExtensionRange(int index) { return instance.getExtensionRange(index); } /** * repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; */ public Builder setExtensionRange( int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange value) { copyOnWrite(); instance.setExtensionRange(index, value); return this; } /** * repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; */ public Builder setExtensionRange( int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue) { copyOnWrite(); instance.setExtensionRange(index, builderForValue); return this; } /** * repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; */ public Builder addExtensionRange(com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange value) { copyOnWrite(); instance.addExtensionRange(value); return this; } /** * repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; */ public Builder addExtensionRange( int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange value) { copyOnWrite(); instance.addExtensionRange(index, value); return this; } /** * repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; */ public Builder addExtensionRange( com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue) { copyOnWrite(); instance.addExtensionRange(builderForValue); return this; } /** * repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; */ public Builder addExtensionRange( int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue) { copyOnWrite(); instance.addExtensionRange(index, builderForValue); return this; } /** * repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; */ public Builder addAllExtensionRange( java.lang.Iterable values) { copyOnWrite(); instance.addAllExtensionRange(values); return this; } /** * repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; */ public Builder clearExtensionRange() { copyOnWrite(); instance.clearExtensionRange(); return this; } /** * repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; */ public Builder removeExtensionRange(int index) { copyOnWrite(); instance.removeExtensionRange(index); return this; } /** * repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; */ public java.util.List getOneofDeclList() { return java.util.Collections.unmodifiableList( instance.getOneofDeclList()); } /** * repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; */ public int getOneofDeclCount() { return instance.getOneofDeclCount(); }/** * repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; */ public com.google.protobuf.DescriptorProtos.OneofDescriptorProto getOneofDecl(int index) { return instance.getOneofDecl(index); } /** * repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; */ public Builder setOneofDecl( int index, com.google.protobuf.DescriptorProtos.OneofDescriptorProto value) { copyOnWrite(); instance.setOneofDecl(index, value); return this; } /** * repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; */ public Builder setOneofDecl( int index, com.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder builderForValue) { copyOnWrite(); instance.setOneofDecl(index, builderForValue); return this; } /** * repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; */ public Builder addOneofDecl(com.google.protobuf.DescriptorProtos.OneofDescriptorProto value) { copyOnWrite(); instance.addOneofDecl(value); return this; } /** * repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; */ public Builder addOneofDecl( int index, com.google.protobuf.DescriptorProtos.OneofDescriptorProto value) { copyOnWrite(); instance.addOneofDecl(index, value); return this; } /** * repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; */ public Builder addOneofDecl( com.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder builderForValue) { copyOnWrite(); instance.addOneofDecl(builderForValue); return this; } /** * repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; */ public Builder addOneofDecl( int index, com.google.protobuf.DescriptorProtos.OneofDescriptorProto.Builder builderForValue) { copyOnWrite(); instance.addOneofDecl(index, builderForValue); return this; } /** * repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; */ public Builder addAllOneofDecl( java.lang.Iterable values) { copyOnWrite(); instance.addAllOneofDecl(values); return this; } /** * repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; */ public Builder clearOneofDecl() { copyOnWrite(); instance.clearOneofDecl(); return this; } /** * repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; */ public Builder removeOneofDecl(int index) { copyOnWrite(); instance.removeOneofDecl(index); return this; } /** * optional .google.protobuf.MessageOptions options = 7; */ public boolean hasOptions() { return instance.hasOptions(); } /** * optional .google.protobuf.MessageOptions options = 7; */ public com.google.protobuf.DescriptorProtos.MessageOptions getOptions() { return instance.getOptions(); } /** * optional .google.protobuf.MessageOptions options = 7; */ public Builder setOptions(com.google.protobuf.DescriptorProtos.MessageOptions value) { copyOnWrite(); instance.setOptions(value); return this; } /** * optional .google.protobuf.MessageOptions options = 7; */ public Builder setOptions( com.google.protobuf.DescriptorProtos.MessageOptions.Builder builderForValue) { copyOnWrite(); instance.setOptions(builderForValue); return this; } /** * optional .google.protobuf.MessageOptions options = 7; */ public Builder mergeOptions(com.google.protobuf.DescriptorProtos.MessageOptions value) { copyOnWrite(); instance.mergeOptions(value); return this; } /** * optional .google.protobuf.MessageOptions options = 7; */ public Builder clearOptions() { copyOnWrite(); instance.clearOptions(); return this; } /** * repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; */ public java.util.List getReservedRangeList() { return java.util.Collections.unmodifiableList( instance.getReservedRangeList()); } /** * repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; */ public int getReservedRangeCount() { return instance.getReservedRangeCount(); }/** * repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; */ public com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange getReservedRange(int index) { return instance.getReservedRange(index); } /** * repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; */ public Builder setReservedRange( int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange value) { copyOnWrite(); instance.setReservedRange(index, value); return this; } /** * repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; */ public Builder setReservedRange( int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue) { copyOnWrite(); instance.setReservedRange(index, builderForValue); return this; } /** * repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; */ public Builder addReservedRange(com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange value) { copyOnWrite(); instance.addReservedRange(value); return this; } /** * repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; */ public Builder addReservedRange( int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange value) { copyOnWrite(); instance.addReservedRange(index, value); return this; } /** * repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; */ public Builder addReservedRange( com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue) { copyOnWrite(); instance.addReservedRange(builderForValue); return this; } /** * repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; */ public Builder addReservedRange( int index, com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue) { copyOnWrite(); instance.addReservedRange(index, builderForValue); return this; } /** * repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; */ public Builder addAllReservedRange( java.lang.Iterable values) { copyOnWrite(); instance.addAllReservedRange(values); return this; } /** * repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; */ public Builder clearReservedRange() { copyOnWrite(); instance.clearReservedRange(); return this; } /** * repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; */ public Builder removeReservedRange(int index) { copyOnWrite(); instance.removeReservedRange(index); return this; } /** *
       * Reserved field names, which may not be used by fields in the same message.
       * A given name may only be reserved once.
       * 
* * repeated string reserved_name = 10; */ public java.util.List getReservedNameList() { return java.util.Collections.unmodifiableList( instance.getReservedNameList()); } /** *
       * Reserved field names, which may not be used by fields in the same message.
       * A given name may only be reserved once.
       * 
* * repeated string reserved_name = 10; */ public int getReservedNameCount() { return instance.getReservedNameCount(); } /** *
       * Reserved field names, which may not be used by fields in the same message.
       * A given name may only be reserved once.
       * 
* * repeated string reserved_name = 10; */ public java.lang.String getReservedName(int index) { return instance.getReservedName(index); } /** *
       * Reserved field names, which may not be used by fields in the same message.
       * A given name may only be reserved once.
       * 
* * repeated string reserved_name = 10; */ public com.google.protobuf.ByteString getReservedNameBytes(int index) { return instance.getReservedNameBytes(index); } /** *
       * Reserved field names, which may not be used by fields in the same message.
       * A given name may only be reserved once.
       * 
* * repeated string reserved_name = 10; */ public Builder setReservedName( int index, java.lang.String value) { copyOnWrite(); instance.setReservedName(index, value); return this; } /** *
       * Reserved field names, which may not be used by fields in the same message.
       * A given name may only be reserved once.
       * 
* * repeated string reserved_name = 10; */ public Builder addReservedName( java.lang.String value) { copyOnWrite(); instance.addReservedName(value); return this; } /** *
       * Reserved field names, which may not be used by fields in the same message.
       * A given name may only be reserved once.
       * 
* * repeated string reserved_name = 10; */ public Builder addAllReservedName( java.lang.Iterable values) { copyOnWrite(); instance.addAllReservedName(values); return this; } /** *
       * Reserved field names, which may not be used by fields in the same message.
       * A given name may only be reserved once.
       * 
* * repeated string reserved_name = 10; */ public Builder clearReservedName() { copyOnWrite(); instance.clearReservedName(); return this; } /** *
       * Reserved field names, which may not be used by fields in the same message.
       * A given name may only be reserved once.
       * 
* * repeated string reserved_name = 10; */ public Builder addReservedNameBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.addReservedNameBytes(value); return this; } // @@protoc_insertion_point(builder_scope:google.protobuf.DescriptorProto) } private byte memoizedIsInitialized = -1; protected final Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.google.protobuf.DescriptorProtos.DescriptorProto(); } case IS_INITIALIZED: { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return DEFAULT_INSTANCE; if (isInitialized == 0) return null; boolean shouldMemoize = ((Boolean) arg0).booleanValue(); for (int i = 0; i < getFieldCount(); i++) { if (!getField(i).isInitialized()) { if (shouldMemoize) { memoizedIsInitialized = 0; } return null; } } for (int i = 0; i < getExtensionCount(); i++) { if (!getExtension(i).isInitialized()) { if (shouldMemoize) { memoizedIsInitialized = 0; } return null; } } for (int i = 0; i < getNestedTypeCount(); i++) { if (!getNestedType(i).isInitialized()) { if (shouldMemoize) { memoizedIsInitialized = 0; } return null; } } for (int i = 0; i < getEnumTypeCount(); i++) { if (!getEnumType(i).isInitialized()) { if (shouldMemoize) { memoizedIsInitialized = 0; } return null; } } for (int i = 0; i < getOneofDeclCount(); i++) { if (!getOneofDecl(i).isInitialized()) { if (shouldMemoize) { memoizedIsInitialized = 0; } return null; } } if (hasOptions()) { if (!getOptions().isInitialized()) { if (shouldMemoize) { memoizedIsInitialized = 0; } return null; } } if (shouldMemoize) memoizedIsInitialized = 1; return DEFAULT_INSTANCE; } case MAKE_IMMUTABLE: { field_.makeImmutable(); extension_.makeImmutable(); nestedType_.makeImmutable(); enumType_.makeImmutable(); extensionRange_.makeImmutable(); oneofDecl_.makeImmutable(); reservedRange_.makeImmutable(); reservedName_.makeImmutable(); return null; } case NEW_BUILDER: { return new Builder(); } case VISIT: { Visitor visitor = (Visitor) arg0; com.google.protobuf.DescriptorProtos.DescriptorProto other = (com.google.protobuf.DescriptorProtos.DescriptorProto) arg1; name_ = visitor.visitString( hasName(), name_, other.hasName(), other.name_); field_= visitor.visitList(field_, other.field_); extension_= visitor.visitList(extension_, other.extension_); nestedType_= visitor.visitList(nestedType_, other.nestedType_); enumType_= visitor.visitList(enumType_, other.enumType_); extensionRange_= visitor.visitList(extensionRange_, other.extensionRange_); oneofDecl_= visitor.visitList(oneofDecl_, other.oneofDecl_); options_ = visitor.visitMessage(options_, other.options_); reservedRange_= visitor.visitList(reservedRange_, other.reservedRange_); reservedName_= visitor.visitList(reservedName_, other.reservedName_); if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor .INSTANCE) { bitField0_ |= other.bitField0_; } return this; } case MERGE_FROM_STREAM: { com.google.protobuf.CodedInputStream input = (com.google.protobuf.CodedInputStream) arg0; com.google.protobuf.ExtensionRegistryLite extensionRegistry = (com.google.protobuf.ExtensionRegistryLite) arg1; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(tag, input)) { done = true; } break; } case 10: { String s = input.readString(); bitField0_ |= 0x00000001; name_ = s; break; } case 18: { if (!field_.isModifiable()) { field_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(field_); } field_.add( input.readMessage(com.google.protobuf.DescriptorProtos.FieldDescriptorProto.parser(), extensionRegistry)); break; } case 26: { if (!nestedType_.isModifiable()) { nestedType_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(nestedType_); } nestedType_.add( input.readMessage(com.google.protobuf.DescriptorProtos.DescriptorProto.parser(), extensionRegistry)); break; } case 34: { if (!enumType_.isModifiable()) { enumType_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(enumType_); } enumType_.add( input.readMessage(com.google.protobuf.DescriptorProtos.EnumDescriptorProto.parser(), extensionRegistry)); break; } case 42: { if (!extensionRange_.isModifiable()) { extensionRange_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(extensionRange_); } extensionRange_.add( input.readMessage(com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.parser(), extensionRegistry)); break; } case 50: { if (!extension_.isModifiable()) { extension_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(extension_); } extension_.add( input.readMessage(com.google.protobuf.DescriptorProtos.FieldDescriptorProto.parser(), extensionRegistry)); break; } case 58: { com.google.protobuf.DescriptorProtos.MessageOptions.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = options_.toBuilder(); } options_ = input.readMessage(com.google.protobuf.DescriptorProtos.MessageOptions.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(options_); options_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 66: { if (!oneofDecl_.isModifiable()) { oneofDecl_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(oneofDecl_); } oneofDecl_.add( input.readMessage(com.google.protobuf.DescriptorProtos.OneofDescriptorProto.parser(), extensionRegistry)); break; } case 74: { if (!reservedRange_.isModifiable()) { reservedRange_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(reservedRange_); } reservedRange_.add( input.readMessage(com.google.protobuf.DescriptorProtos.DescriptorProto.ReservedRange.parser(), extensionRegistry)); break; } case 82: { String s = input.readString(); if (!reservedName_.isModifiable()) { reservedName_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(reservedName_); } reservedName_.add(s); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw new RuntimeException(e.setUnfinishedMessage(this)); } catch (java.io.IOException e) { throw new RuntimeException( new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this)); } finally { } } case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { if (PARSER == null) { synchronized (com.google.protobuf.DescriptorProtos.DescriptorProto.class) { if (PARSER == null) { PARSER = new DefaultInstanceBasedParser(DEFAULT_INSTANCE); } } } return PARSER; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto) private static final com.google.protobuf.DescriptorProtos.DescriptorProto DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new DescriptorProto(); DEFAULT_INSTANCE.makeImmutable(); } public static com.google.protobuf.DescriptorProtos.DescriptorProto getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } public interface FieldDescriptorProtoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.protobuf.FieldDescriptorProto) com.google.protobuf.MessageLiteOrBuilder { /** * optional string name = 1; */ boolean hasName(); /** * optional string name = 1; */ java.lang.String getName(); /** * optional string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** * optional int32 number = 3; */ boolean hasNumber(); /** * optional int32 number = 3; */ int getNumber(); /** * optional .google.protobuf.FieldDescriptorProto.Label label = 4; */ boolean hasLabel(); /** * optional .google.protobuf.FieldDescriptorProto.Label label = 4; */ com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Label getLabel(); /** *
     * If type_name is set, this need not be set.  If both this and type_name
     * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
     * 
* * optional .google.protobuf.FieldDescriptorProto.Type type = 5; */ boolean hasType(); /** *
     * If type_name is set, this need not be set.  If both this and type_name
     * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
     * 
* * optional .google.protobuf.FieldDescriptorProto.Type type = 5; */ com.google.protobuf.DescriptorProtos.FieldDescriptorProto.Type getType(); /** *
     * For message and enum types, this is the name of the type.  If the name
     * starts with a '.', it is fully-qualified.  Otherwise, C++-like scoping
     * rules are used to find the type (i.e. first the nested types within this
     * message are searched, then within the parent, on up to the root
     * namespace).
     * 
* * optional string type_name = 6; */ boolean hasTypeName(); /** *
     * For message and enum types, this is the name of the type.  If the name
     * starts with a '.', it is fully-qualified.  Otherwise, C++-like scoping
     * rules are used to find the type (i.e. first the nested types within this
     * message are searched, then within the parent, on up to the root
     * namespace).
     * 
* * optional string type_name = 6; */ java.lang.String getTypeName(); /** *
     * For message and enum types, this is the name of the type.  If the name
     * starts with a '.', it is fully-qualified.  Otherwise, C++-like scoping
     * rules are used to find the type (i.e. first the nested types within this
     * message are searched, then within the parent, on up to the root
     * namespace).
     * 
* * optional string type_name = 6; */ com.google.protobuf.ByteString getTypeNameBytes(); /** *
     * For extensions, this is the name of the type being extended.  It is
     * resolved in the same manner as type_name.
     * 
* * optional string extendee = 2; */ boolean hasExtendee(); /** *
     * For extensions, this is the name of the type being extended.  It is
     * resolved in the same manner as type_name.
     * 
* * optional string extendee = 2; */ java.lang.String getExtendee(); /** *
     * For extensions, this is the name of the type being extended.  It is
     * resolved in the same manner as type_name.
     * 
* * optional string extendee = 2; */ com.google.protobuf.ByteString getExtendeeBytes(); /** *
     * For numeric types, contains the original text representation of the value.
     * For booleans, "true" or "false".
     * For strings, contains the default text contents (not escaped in any way).
     * For bytes, contains the C escaped value.  All bytes >= 128 are escaped.
     * TODO(kenton):  Base-64 encode?
     * 
* * optional string default_value = 7; */ boolean hasDefaultValue(); /** *
     * For numeric types, contains the original text representation of the value.
     * For booleans, "true" or "false".
     * For strings, contains the default text contents (not escaped in any way).
     * For bytes, contains the C escaped value.  All bytes >= 128 are escaped.
     * TODO(kenton):  Base-64 encode?
     * 
* * optional string default_value = 7; */ java.lang.String getDefaultValue(); /** *
     * For numeric types, contains the original text representation of the value.
     * For booleans, "true" or "false".
     * For strings, contains the default text contents (not escaped in any way).
     * For bytes, contains the C escaped value.  All bytes >= 128 are escaped.
     * TODO(kenton):  Base-64 encode?
     * 
* * optional string default_value = 7; */ com.google.protobuf.ByteString getDefaultValueBytes(); /** *
     * If set, gives the index of a oneof in the containing type's oneof_decl
     * list.  This field is a member of that oneof.
     * 
* * optional int32 oneof_index = 9; */ boolean hasOneofIndex(); /** *
     * If set, gives the index of a oneof in the containing type's oneof_decl
     * list.  This field is a member of that oneof.
     * 
* * optional int32 oneof_index = 9; */ int getOneofIndex(); /** *
     * JSON name of this field. The value is set by protocol compiler. If the
     * user has set a "json_name" option on this field, that option's value
     * will be used. Otherwise, it's deduced from the field's name by converting
     * it to camelCase.
     * 
* * optional string json_name = 10; */ boolean hasJsonName(); /** *
     * JSON name of this field. The value is set by protocol compiler. If the
     * user has set a "json_name" option on this field, that option's value
     * will be used. Otherwise, it's deduced from the field's name by converting
     * it to camelCase.
     * 
* * optional string json_name = 10; */ java.lang.String getJsonName(); /** *
     * JSON name of this field. The value is set by protocol compiler. If the
     * user has set a "json_name" option on this field, that option's value
     * will be used. Otherwise, it's deduced from the field's name by converting
     * it to camelCase.
     * 
* * optional string json_name = 10; */ com.google.protobuf.ByteString getJsonNameBytes(); /** * optional .google.protobuf.FieldOptions options = 8; */ boolean hasOptions(); /** * optional .google.protobuf.FieldOptions options = 8; */ com.google.protobuf.DescriptorProtos.FieldOptions getOptions(); } /** *
   * Describes a field within a message.
   * 
* * Protobuf type {@code google.protobuf.FieldDescriptorProto} */ public static final class FieldDescriptorProto extends com.google.protobuf.GeneratedMessageLite< FieldDescriptorProto, FieldDescriptorProto.Builder> implements // @@protoc_insertion_point(message_implements:google.protobuf.FieldDescriptorProto) FieldDescriptorProtoOrBuilder { private FieldDescriptorProto() { name_ = ""; label_ = 1; type_ = 1; typeName_ = ""; extendee_ = ""; defaultValue_ = ""; jsonName_ = ""; } /** * Protobuf enum {@code google.protobuf.FieldDescriptorProto.Type} */ public enum Type implements com.google.protobuf.Internal.EnumLite { /** *
       * 0 is reserved for errors.
       * Order is weird for historical reasons.
       * 
* * TYPE_DOUBLE = 1; */ TYPE_DOUBLE(1), /** * TYPE_FLOAT = 2; */ TYPE_FLOAT(2), /** *
       * Not ZigZag encoded.  Negative numbers take 10 bytes.  Use TYPE_SINT64 if
       * negative values are likely.
       * 
* * TYPE_INT64 = 3; */ TYPE_INT64(3), /** * TYPE_UINT64 = 4; */ TYPE_UINT64(4), /** *
       * Not ZigZag encoded.  Negative numbers take 10 bytes.  Use TYPE_SINT32 if
       * negative values are likely.
       * 
* * TYPE_INT32 = 5; */ TYPE_INT32(5), /** * TYPE_FIXED64 = 6; */ TYPE_FIXED64(6), /** * TYPE_FIXED32 = 7; */ TYPE_FIXED32(7), /** * TYPE_BOOL = 8; */ TYPE_BOOL(8), /** * TYPE_STRING = 9; */ TYPE_STRING(9), /** *
       * Tag-delimited aggregate.
       * 
* * TYPE_GROUP = 10; */ TYPE_GROUP(10), /** *
       * Length-delimited aggregate.
       * 
* * TYPE_MESSAGE = 11; */ TYPE_MESSAGE(11), /** *
       * New in version 2.
       * 
* * TYPE_BYTES = 12; */ TYPE_BYTES(12), /** * TYPE_UINT32 = 13; */ TYPE_UINT32(13), /** * TYPE_ENUM = 14; */ TYPE_ENUM(14), /** * TYPE_SFIXED32 = 15; */ TYPE_SFIXED32(15), /** * TYPE_SFIXED64 = 16; */ TYPE_SFIXED64(16), /** *
       * Uses ZigZag encoding.
       * 
* * TYPE_SINT32 = 17; */ TYPE_SINT32(17), /** *
       * Uses ZigZag encoding.
       * 
* * TYPE_SINT64 = 18; */ TYPE_SINT64(18), ; /** *
       * 0 is reserved for errors.
       * Order is weird for historical reasons.
       * 
* * TYPE_DOUBLE = 1; */ public static final int TYPE_DOUBLE_VALUE = 1; /** * TYPE_FLOAT = 2; */ public static final int TYPE_FLOAT_VALUE = 2; /** *
       * Not ZigZag encoded.  Negative numbers take 10 bytes.  Use TYPE_SINT64 if
       * negative values are likely.
       * 
* * TYPE_INT64 = 3; */ public static final int TYPE_INT64_VALUE = 3; /** * TYPE_UINT64 = 4; */ public static final int TYPE_UINT64_VALUE = 4; /** *
       * Not ZigZag encoded.  Negative numbers take 10 bytes.  Use TYPE_SINT32 if
       * negative values are likely.
       * 
* * TYPE_INT32 = 5; */ public static final int TYPE_INT32_VALUE = 5; /** * TYPE_FIXED64 = 6; */ public static final int TYPE_FIXED64_VALUE = 6; /** * TYPE_FIXED32 = 7; */ public static final int TYPE_FIXED32_VALUE = 7; /** * TYPE_BOOL = 8; */ public static final int TYPE_BOOL_VALUE = 8; /** * TYPE_STRING = 9; */ public static final int TYPE_STRING_VALUE = 9; /** *
       * Tag-delimited aggregate.
       * 
* * TYPE_GROUP = 10; */ public static final int TYPE_GROUP_VALUE = 10; /** *
       * Length-delimited aggregate.
       * 
* * TYPE_MESSAGE = 11; */ public static final int TYPE_MESSAGE_VALUE = 11; /** *
       * New in version 2.
       * 
* * TYPE_BYTES = 12; */ public static final int TYPE_BYTES_VALUE = 12; /** * TYPE_UINT32 = 13; */ public static final int TYPE_UINT32_VALUE = 13; /** * TYPE_ENUM = 14; */ public static final int TYPE_ENUM_VALUE = 14; /** * TYPE_SFIXED32 = 15; */ public static final int TYPE_SFIXED32_VALUE = 15; /** * TYPE_SFIXED64 = 16; */ public static final int TYPE_SFIXED64_VALUE = 16; /** *
       * Uses ZigZag encoding.
       * 
* * TYPE_SINT32 = 17; */ public static final int TYPE_SINT32_VALUE = 17; /** *
       * Uses ZigZag encoding.
       * 
* * TYPE_SINT64 = 18; */ public static final int TYPE_SINT64_VALUE = 18; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Type valueOf(int value) { return forNumber(value); } public static Type forNumber(int value) { switch (value) { case 1: return TYPE_DOUBLE; case 2: return TYPE_FLOAT; case 3: return TYPE_INT64; case 4: return TYPE_UINT64; case 5: return TYPE_INT32; case 6: return TYPE_FIXED64; case 7: return TYPE_FIXED32; case 8: return TYPE_BOOL; case 9: return TYPE_STRING; case 10: return TYPE_GROUP; case 11: return TYPE_MESSAGE; case 12: return TYPE_BYTES; case 13: return TYPE_UINT32; case 14: return TYPE_ENUM; case 15: return TYPE_SFIXED32; case 16: return TYPE_SFIXED64; case 17: return TYPE_SINT32; case 18: return TYPE_SINT64; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Type> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Type findValueByNumber(int number) { return Type.forNumber(number); } }; private final int value; private Type(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:google.protobuf.FieldDescriptorProto.Type) } /** * Protobuf enum {@code google.protobuf.FieldDescriptorProto.Label} */ public enum Label implements com.google.protobuf.Internal.EnumLite { /** *
       * 0 is reserved for errors
       * 
* * LABEL_OPTIONAL = 1; */ LABEL_OPTIONAL(1), /** * LABEL_REQUIRED = 2; */ LABEL_REQUIRED(2), /** *
       * TODO(sanjay): Should we add LABEL_MAP?
       * 
* * LABEL_REPEATED = 3; */ LABEL_REPEATED(3), ; /** *
       * 0 is reserved for errors
       * 
* * LABEL_OPTIONAL = 1; */ public static final int LABEL_OPTIONAL_VALUE = 1; /** * LABEL_REQUIRED = 2; */ public static final int LABEL_REQUIRED_VALUE = 2; /** *
       * TODO(sanjay): Should we add LABEL_MAP?
       * 
* * LABEL_REPEATED = 3; */ public static final int LABEL_REPEATED_VALUE = 3; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Label valueOf(int value) { return forNumber(value); } public static Label forNumber(int value) { switch (value) { case 1: return LABEL_OPTIONAL; case 2: return LABEL_REQUIRED; case 3: return LABEL_REPEATED; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap




© 2015 - 2024 Weber Informatics LLC | Privacy Policy