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

com.trueaccord.scalapb.Scalapb Maven / Gradle / Ivy

There is a newer version: 0.6.7
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: scalapb/scalapb.proto

package com.trueaccord.scalapb;

public final class Scalapb {
  private Scalapb() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registry.add(com.trueaccord.scalapb.Scalapb.options);
    registry.add(com.trueaccord.scalapb.Scalapb.message);
    registry.add(com.trueaccord.scalapb.Scalapb.field);
  }
  public interface ScalaPbOptionsOrBuilder extends
      // @@protoc_insertion_point(interface_extends:scalapb.ScalaPbOptions)
      com.google.protobuf.MessageOrBuilder {

    /**
     * optional string package_name = 1;
     *
     * 
     * If set then it overrides the java_package and package.
     * 
*/ boolean hasPackageName(); /** * optional string package_name = 1; * *
     * If set then it overrides the java_package and package.
     * 
*/ java.lang.String getPackageName(); /** * optional string package_name = 1; * *
     * If set then it overrides the java_package and package.
     * 
*/ com.google.protobuf.ByteString getPackageNameBytes(); /** * optional bool flat_package = 2; * *
     * If true, the compiler does not append the proto base file name
     * into the generated package name. If false (the default), the
     * generated scala package name is the package_name.basename where
     * basename is the proto file name without the .proto extension.
     * 
*/ boolean hasFlatPackage(); /** * optional bool flat_package = 2; * *
     * If true, the compiler does not append the proto base file name
     * into the generated package name. If false (the default), the
     * generated scala package name is the package_name.basename where
     * basename is the proto file name without the .proto extension.
     * 
*/ boolean getFlatPackage(); /** * repeated string import = 3; * *
     * Adds the following imports at the top of the file (this is meant
     * to provide implicit TypeMappers)
     * 
*/ com.google.protobuf.ProtocolStringList getImportList(); /** * repeated string import = 3; * *
     * Adds the following imports at the top of the file (this is meant
     * to provide implicit TypeMappers)
     * 
*/ int getImportCount(); /** * repeated string import = 3; * *
     * Adds the following imports at the top of the file (this is meant
     * to provide implicit TypeMappers)
     * 
*/ java.lang.String getImport(int index); /** * repeated string import = 3; * *
     * Adds the following imports at the top of the file (this is meant
     * to provide implicit TypeMappers)
     * 
*/ com.google.protobuf.ByteString getImportBytes(int index); /** * optional bool single_file = 5; * *
     * If true, all messages and enums (but not services) will be written
     * to a single Scala file.
     * 
*/ boolean hasSingleFile(); /** * optional bool single_file = 5; * *
     * If true, all messages and enums (but not services) will be written
     * to a single Scala file.
     * 
*/ boolean getSingleFile(); /** * repeated string preamble = 4; * *
     * Text to add to the generated scala file.  This can be used only
     * when single_file is true.
     * 
*/ com.google.protobuf.ProtocolStringList getPreambleList(); /** * repeated string preamble = 4; * *
     * Text to add to the generated scala file.  This can be used only
     * when single_file is true.
     * 
*/ int getPreambleCount(); /** * repeated string preamble = 4; * *
     * Text to add to the generated scala file.  This can be used only
     * when single_file is true.
     * 
*/ java.lang.String getPreamble(int index); /** * repeated string preamble = 4; * *
     * Text to add to the generated scala file.  This can be used only
     * when single_file is true.
     * 
*/ com.google.protobuf.ByteString getPreambleBytes(int index); } /** * Protobuf type {@code scalapb.ScalaPbOptions} */ public static final class ScalaPbOptions extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:scalapb.ScalaPbOptions) ScalaPbOptionsOrBuilder { // Use ScalaPbOptions.newBuilder() to construct. private ScalaPbOptions(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private ScalaPbOptions() { packageName_ = ""; flatPackage_ = false; import_ = com.google.protobuf.LazyStringArrayList.EMPTY; singleFile_ = false; preamble_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ScalaPbOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; packageName_ = bs; break; } case 16: { bitField0_ |= 0x00000002; flatPackage_ = input.readBool(); break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { import_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000004; } import_.add(bs); break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { preamble_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000010; } preamble_.add(bs); break; } case 40: { bitField0_ |= 0x00000004; singleFile_ = input.readBool(); 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 { if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { import_ = import_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { preamble_ = preamble_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.trueaccord.scalapb.Scalapb.internal_static_scalapb_ScalaPbOptions_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.trueaccord.scalapb.Scalapb.internal_static_scalapb_ScalaPbOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( com.trueaccord.scalapb.Scalapb.ScalaPbOptions.class, com.trueaccord.scalapb.Scalapb.ScalaPbOptions.Builder.class); } private int bitField0_; public static final int PACKAGE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object packageName_; /** * optional string package_name = 1; * *
     * If set then it overrides the java_package and package.
     * 
*/ public boolean hasPackageName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string package_name = 1; * *
     * If set then it overrides the java_package and package.
     * 
*/ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { packageName_ = s; } return s; } } /** * optional string package_name = 1; * *
     * If set then it overrides the java_package and package.
     * 
*/ public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); packageName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FLAT_PACKAGE_FIELD_NUMBER = 2; private boolean flatPackage_; /** * optional bool flat_package = 2; * *
     * If true, the compiler does not append the proto base file name
     * into the generated package name. If false (the default), the
     * generated scala package name is the package_name.basename where
     * basename is the proto file name without the .proto extension.
     * 
*/ public boolean hasFlatPackage() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bool flat_package = 2; * *
     * If true, the compiler does not append the proto base file name
     * into the generated package name. If false (the default), the
     * generated scala package name is the package_name.basename where
     * basename is the proto file name without the .proto extension.
     * 
*/ public boolean getFlatPackage() { return flatPackage_; } public static final int IMPORT_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList import_; /** * repeated string import = 3; * *
     * Adds the following imports at the top of the file (this is meant
     * to provide implicit TypeMappers)
     * 
*/ public com.google.protobuf.ProtocolStringList getImportList() { return import_; } /** * repeated string import = 3; * *
     * Adds the following imports at the top of the file (this is meant
     * to provide implicit TypeMappers)
     * 
*/ public int getImportCount() { return import_.size(); } /** * repeated string import = 3; * *
     * Adds the following imports at the top of the file (this is meant
     * to provide implicit TypeMappers)
     * 
*/ public java.lang.String getImport(int index) { return import_.get(index); } /** * repeated string import = 3; * *
     * Adds the following imports at the top of the file (this is meant
     * to provide implicit TypeMappers)
     * 
*/ public com.google.protobuf.ByteString getImportBytes(int index) { return import_.getByteString(index); } public static final int SINGLE_FILE_FIELD_NUMBER = 5; private boolean singleFile_; /** * optional bool single_file = 5; * *
     * If true, all messages and enums (but not services) will be written
     * to a single Scala file.
     * 
*/ public boolean hasSingleFile() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional bool single_file = 5; * *
     * If true, all messages and enums (but not services) will be written
     * to a single Scala file.
     * 
*/ public boolean getSingleFile() { return singleFile_; } public static final int PREAMBLE_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList preamble_; /** * repeated string preamble = 4; * *
     * Text to add to the generated scala file.  This can be used only
     * when single_file is true.
     * 
*/ public com.google.protobuf.ProtocolStringList getPreambleList() { return preamble_; } /** * repeated string preamble = 4; * *
     * Text to add to the generated scala file.  This can be used only
     * when single_file is true.
     * 
*/ public int getPreambleCount() { return preamble_.size(); } /** * repeated string preamble = 4; * *
     * Text to add to the generated scala file.  This can be used only
     * when single_file is true.
     * 
*/ public java.lang.String getPreamble(int index) { return preamble_.get(index); } /** * repeated string preamble = 4; * *
     * Text to add to the generated scala file.  This can be used only
     * when single_file is true.
     * 
*/ public com.google.protobuf.ByteString getPreambleBytes(int index) { return preamble_.getByteString(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessage.writeString(output, 1, packageName_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBool(2, flatPackage_); } for (int i = 0; i < import_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 3, import_.getRaw(i)); } for (int i = 0; i < preamble_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 4, preamble_.getRaw(i)); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(5, singleFile_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(1, packageName_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, flatPackage_); } { int dataSize = 0; for (int i = 0; i < import_.size(); i++) { dataSize += computeStringSizeNoTag(import_.getRaw(i)); } size += dataSize; size += 1 * getImportList().size(); } { int dataSize = 0; for (int i = 0; i < preamble_.size(); i++) { dataSize += computeStringSizeNoTag(preamble_.getRaw(i)); } size += dataSize; size += 1 * getPreambleList().size(); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, singleFile_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static com.trueaccord.scalapb.Scalapb.ScalaPbOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.trueaccord.scalapb.Scalapb.ScalaPbOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.trueaccord.scalapb.Scalapb.ScalaPbOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.trueaccord.scalapb.Scalapb.ScalaPbOptions parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.trueaccord.scalapb.Scalapb.ScalaPbOptions parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.trueaccord.scalapb.Scalapb.ScalaPbOptions parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.trueaccord.scalapb.Scalapb.ScalaPbOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.trueaccord.scalapb.Scalapb.ScalaPbOptions parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.trueaccord.scalapb.Scalapb.ScalaPbOptions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.trueaccord.scalapb.Scalapb.ScalaPbOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.trueaccord.scalapb.Scalapb.ScalaPbOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code scalapb.ScalaPbOptions} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:scalapb.ScalaPbOptions) com.trueaccord.scalapb.Scalapb.ScalaPbOptionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.trueaccord.scalapb.Scalapb.internal_static_scalapb_ScalaPbOptions_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.trueaccord.scalapb.Scalapb.internal_static_scalapb_ScalaPbOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( com.trueaccord.scalapb.Scalapb.ScalaPbOptions.class, com.trueaccord.scalapb.Scalapb.ScalaPbOptions.Builder.class); } // Construct using com.trueaccord.scalapb.Scalapb.ScalaPbOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); packageName_ = ""; bitField0_ = (bitField0_ & ~0x00000001); flatPackage_ = false; bitField0_ = (bitField0_ & ~0x00000002); import_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); singleFile_ = false; bitField0_ = (bitField0_ & ~0x00000008); preamble_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000010); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.trueaccord.scalapb.Scalapb.internal_static_scalapb_ScalaPbOptions_descriptor; } public com.trueaccord.scalapb.Scalapb.ScalaPbOptions getDefaultInstanceForType() { return com.trueaccord.scalapb.Scalapb.ScalaPbOptions.getDefaultInstance(); } public com.trueaccord.scalapb.Scalapb.ScalaPbOptions build() { com.trueaccord.scalapb.Scalapb.ScalaPbOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.trueaccord.scalapb.Scalapb.ScalaPbOptions buildPartial() { com.trueaccord.scalapb.Scalapb.ScalaPbOptions result = new com.trueaccord.scalapb.Scalapb.ScalaPbOptions(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.packageName_ = packageName_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.flatPackage_ = flatPackage_; if (((bitField0_ & 0x00000004) == 0x00000004)) { import_ = import_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); } result.import_ = import_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000004; } result.singleFile_ = singleFile_; if (((bitField0_ & 0x00000010) == 0x00000010)) { preamble_ = preamble_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000010); } result.preamble_ = preamble_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.trueaccord.scalapb.Scalapb.ScalaPbOptions) { return mergeFrom((com.trueaccord.scalapb.Scalapb.ScalaPbOptions)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.trueaccord.scalapb.Scalapb.ScalaPbOptions other) { if (other == com.trueaccord.scalapb.Scalapb.ScalaPbOptions.getDefaultInstance()) return this; if (other.hasPackageName()) { bitField0_ |= 0x00000001; packageName_ = other.packageName_; onChanged(); } if (other.hasFlatPackage()) { setFlatPackage(other.getFlatPackage()); } if (!other.import_.isEmpty()) { if (import_.isEmpty()) { import_ = other.import_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureImportIsMutable(); import_.addAll(other.import_); } onChanged(); } if (other.hasSingleFile()) { setSingleFile(other.getSingleFile()); } if (!other.preamble_.isEmpty()) { if (preamble_.isEmpty()) { preamble_ = other.preamble_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensurePreambleIsMutable(); preamble_.addAll(other.preamble_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.trueaccord.scalapb.Scalapb.ScalaPbOptions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.trueaccord.scalapb.Scalapb.ScalaPbOptions) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object packageName_ = ""; /** * optional string package_name = 1; * *
       * If set then it overrides the java_package and package.
       * 
*/ public boolean hasPackageName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string package_name = 1; * *
       * If set then it overrides the java_package and package.
       * 
*/ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { packageName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string package_name = 1; * *
       * If set then it overrides the java_package and package.
       * 
*/ public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); packageName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string package_name = 1; * *
       * If set then it overrides the java_package and package.
       * 
*/ public Builder setPackageName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; packageName_ = value; onChanged(); return this; } /** * optional string package_name = 1; * *
       * If set then it overrides the java_package and package.
       * 
*/ public Builder clearPackageName() { bitField0_ = (bitField0_ & ~0x00000001); packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** * optional string package_name = 1; * *
       * If set then it overrides the java_package and package.
       * 
*/ public Builder setPackageNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; packageName_ = value; onChanged(); return this; } private boolean flatPackage_ ; /** * optional bool flat_package = 2; * *
       * If true, the compiler does not append the proto base file name
       * into the generated package name. If false (the default), the
       * generated scala package name is the package_name.basename where
       * basename is the proto file name without the .proto extension.
       * 
*/ public boolean hasFlatPackage() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bool flat_package = 2; * *
       * If true, the compiler does not append the proto base file name
       * into the generated package name. If false (the default), the
       * generated scala package name is the package_name.basename where
       * basename is the proto file name without the .proto extension.
       * 
*/ public boolean getFlatPackage() { return flatPackage_; } /** * optional bool flat_package = 2; * *
       * If true, the compiler does not append the proto base file name
       * into the generated package name. If false (the default), the
       * generated scala package name is the package_name.basename where
       * basename is the proto file name without the .proto extension.
       * 
*/ public Builder setFlatPackage(boolean value) { bitField0_ |= 0x00000002; flatPackage_ = value; onChanged(); return this; } /** * optional bool flat_package = 2; * *
       * If true, the compiler does not append the proto base file name
       * into the generated package name. If false (the default), the
       * generated scala package name is the package_name.basename where
       * basename is the proto file name without the .proto extension.
       * 
*/ public Builder clearFlatPackage() { bitField0_ = (bitField0_ & ~0x00000002); flatPackage_ = false; onChanged(); return this; } private com.google.protobuf.LazyStringList import_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureImportIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { import_ = new com.google.protobuf.LazyStringArrayList(import_); bitField0_ |= 0x00000004; } } /** * repeated string import = 3; * *
       * Adds the following imports at the top of the file (this is meant
       * to provide implicit TypeMappers)
       * 
*/ public com.google.protobuf.ProtocolStringList getImportList() { return import_.getUnmodifiableView(); } /** * repeated string import = 3; * *
       * Adds the following imports at the top of the file (this is meant
       * to provide implicit TypeMappers)
       * 
*/ public int getImportCount() { return import_.size(); } /** * repeated string import = 3; * *
       * Adds the following imports at the top of the file (this is meant
       * to provide implicit TypeMappers)
       * 
*/ public java.lang.String getImport(int index) { return import_.get(index); } /** * repeated string import = 3; * *
       * Adds the following imports at the top of the file (this is meant
       * to provide implicit TypeMappers)
       * 
*/ public com.google.protobuf.ByteString getImportBytes(int index) { return import_.getByteString(index); } /** * repeated string import = 3; * *
       * Adds the following imports at the top of the file (this is meant
       * to provide implicit TypeMappers)
       * 
*/ public Builder setImport( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureImportIsMutable(); import_.set(index, value); onChanged(); return this; } /** * repeated string import = 3; * *
       * Adds the following imports at the top of the file (this is meant
       * to provide implicit TypeMappers)
       * 
*/ public Builder addImport( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureImportIsMutable(); import_.add(value); onChanged(); return this; } /** * repeated string import = 3; * *
       * Adds the following imports at the top of the file (this is meant
       * to provide implicit TypeMappers)
       * 
*/ public Builder addAllImport( java.lang.Iterable values) { ensureImportIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, import_); onChanged(); return this; } /** * repeated string import = 3; * *
       * Adds the following imports at the top of the file (this is meant
       * to provide implicit TypeMappers)
       * 
*/ public Builder clearImport() { import_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** * repeated string import = 3; * *
       * Adds the following imports at the top of the file (this is meant
       * to provide implicit TypeMappers)
       * 
*/ public Builder addImportBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureImportIsMutable(); import_.add(value); onChanged(); return this; } private boolean singleFile_ ; /** * optional bool single_file = 5; * *
       * If true, all messages and enums (but not services) will be written
       * to a single Scala file.
       * 
*/ public boolean hasSingleFile() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional bool single_file = 5; * *
       * If true, all messages and enums (but not services) will be written
       * to a single Scala file.
       * 
*/ public boolean getSingleFile() { return singleFile_; } /** * optional bool single_file = 5; * *
       * If true, all messages and enums (but not services) will be written
       * to a single Scala file.
       * 
*/ public Builder setSingleFile(boolean value) { bitField0_ |= 0x00000008; singleFile_ = value; onChanged(); return this; } /** * optional bool single_file = 5; * *
       * If true, all messages and enums (but not services) will be written
       * to a single Scala file.
       * 
*/ public Builder clearSingleFile() { bitField0_ = (bitField0_ & ~0x00000008); singleFile_ = false; onChanged(); return this; } private com.google.protobuf.LazyStringList preamble_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePreambleIsMutable() { if (!((bitField0_ & 0x00000010) == 0x00000010)) { preamble_ = new com.google.protobuf.LazyStringArrayList(preamble_); bitField0_ |= 0x00000010; } } /** * repeated string preamble = 4; * *
       * Text to add to the generated scala file.  This can be used only
       * when single_file is true.
       * 
*/ public com.google.protobuf.ProtocolStringList getPreambleList() { return preamble_.getUnmodifiableView(); } /** * repeated string preamble = 4; * *
       * Text to add to the generated scala file.  This can be used only
       * when single_file is true.
       * 
*/ public int getPreambleCount() { return preamble_.size(); } /** * repeated string preamble = 4; * *
       * Text to add to the generated scala file.  This can be used only
       * when single_file is true.
       * 
*/ public java.lang.String getPreamble(int index) { return preamble_.get(index); } /** * repeated string preamble = 4; * *
       * Text to add to the generated scala file.  This can be used only
       * when single_file is true.
       * 
*/ public com.google.protobuf.ByteString getPreambleBytes(int index) { return preamble_.getByteString(index); } /** * repeated string preamble = 4; * *
       * Text to add to the generated scala file.  This can be used only
       * when single_file is true.
       * 
*/ public Builder setPreamble( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePreambleIsMutable(); preamble_.set(index, value); onChanged(); return this; } /** * repeated string preamble = 4; * *
       * Text to add to the generated scala file.  This can be used only
       * when single_file is true.
       * 
*/ public Builder addPreamble( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePreambleIsMutable(); preamble_.add(value); onChanged(); return this; } /** * repeated string preamble = 4; * *
       * Text to add to the generated scala file.  This can be used only
       * when single_file is true.
       * 
*/ public Builder addAllPreamble( java.lang.Iterable values) { ensurePreambleIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, preamble_); onChanged(); return this; } /** * repeated string preamble = 4; * *
       * Text to add to the generated scala file.  This can be used only
       * when single_file is true.
       * 
*/ public Builder clearPreamble() { preamble_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** * repeated string preamble = 4; * *
       * Text to add to the generated scala file.  This can be used only
       * when single_file is true.
       * 
*/ public Builder addPreambleBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensurePreambleIsMutable(); preamble_.add(value); onChanged(); return this; } // @@protoc_insertion_point(builder_scope:scalapb.ScalaPbOptions) } // @@protoc_insertion_point(class_scope:scalapb.ScalaPbOptions) private static final com.trueaccord.scalapb.Scalapb.ScalaPbOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.trueaccord.scalapb.Scalapb.ScalaPbOptions(); } public static com.trueaccord.scalapb.Scalapb.ScalaPbOptions getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ScalaPbOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new ScalaPbOptions(input, extensionRegistry); } catch (RuntimeException e) { if (e.getCause() instanceof com.google.protobuf.InvalidProtocolBufferException) { throw (com.google.protobuf.InvalidProtocolBufferException) e.getCause(); } throw e; } } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.trueaccord.scalapb.Scalapb.ScalaPbOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MessageOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:scalapb.MessageOptions) com.google.protobuf.MessageOrBuilder { /** * repeated string extends = 1; * *
     * Additional classes and traits to mix in to the case class.
     * 
*/ com.google.protobuf.ProtocolStringList getExtendsList(); /** * repeated string extends = 1; * *
     * Additional classes and traits to mix in to the case class.
     * 
*/ int getExtendsCount(); /** * repeated string extends = 1; * *
     * Additional classes and traits to mix in to the case class.
     * 
*/ java.lang.String getExtends(int index); /** * repeated string extends = 1; * *
     * Additional classes and traits to mix in to the case class.
     * 
*/ com.google.protobuf.ByteString getExtendsBytes(int index); /** * repeated string companion_extends = 2; * *
     * Additional classes and traits to mix in to the companion object.
     * 
*/ com.google.protobuf.ProtocolStringList getCompanionExtendsList(); /** * repeated string companion_extends = 2; * *
     * Additional classes and traits to mix in to the companion object.
     * 
*/ int getCompanionExtendsCount(); /** * repeated string companion_extends = 2; * *
     * Additional classes and traits to mix in to the companion object.
     * 
*/ java.lang.String getCompanionExtends(int index); /** * repeated string companion_extends = 2; * *
     * Additional classes and traits to mix in to the companion object.
     * 
*/ com.google.protobuf.ByteString getCompanionExtendsBytes(int index); } /** * Protobuf type {@code scalapb.MessageOptions} */ public static final class MessageOptions extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:scalapb.MessageOptions) MessageOptionsOrBuilder { // Use MessageOptions.newBuilder() to construct. private MessageOptions(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private MessageOptions() { extends_ = com.google.protobuf.LazyStringArrayList.EMPTY; companionExtends_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MessageOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { extends_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } extends_.add(bs); break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { companionExtends_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; } companionExtends_.add(bs); 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 { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { extends_ = extends_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { companionExtends_ = companionExtends_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.trueaccord.scalapb.Scalapb.internal_static_scalapb_MessageOptions_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.trueaccord.scalapb.Scalapb.internal_static_scalapb_MessageOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( com.trueaccord.scalapb.Scalapb.MessageOptions.class, com.trueaccord.scalapb.Scalapb.MessageOptions.Builder.class); } public static final int EXTENDS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList extends_; /** * repeated string extends = 1; * *
     * Additional classes and traits to mix in to the case class.
     * 
*/ public com.google.protobuf.ProtocolStringList getExtendsList() { return extends_; } /** * repeated string extends = 1; * *
     * Additional classes and traits to mix in to the case class.
     * 
*/ public int getExtendsCount() { return extends_.size(); } /** * repeated string extends = 1; * *
     * Additional classes and traits to mix in to the case class.
     * 
*/ public java.lang.String getExtends(int index) { return extends_.get(index); } /** * repeated string extends = 1; * *
     * Additional classes and traits to mix in to the case class.
     * 
*/ public com.google.protobuf.ByteString getExtendsBytes(int index) { return extends_.getByteString(index); } public static final int COMPANION_EXTENDS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList companionExtends_; /** * repeated string companion_extends = 2; * *
     * Additional classes and traits to mix in to the companion object.
     * 
*/ public com.google.protobuf.ProtocolStringList getCompanionExtendsList() { return companionExtends_; } /** * repeated string companion_extends = 2; * *
     * Additional classes and traits to mix in to the companion object.
     * 
*/ public int getCompanionExtendsCount() { return companionExtends_.size(); } /** * repeated string companion_extends = 2; * *
     * Additional classes and traits to mix in to the companion object.
     * 
*/ public java.lang.String getCompanionExtends(int index) { return companionExtends_.get(index); } /** * repeated string companion_extends = 2; * *
     * Additional classes and traits to mix in to the companion object.
     * 
*/ public com.google.protobuf.ByteString getCompanionExtendsBytes(int index) { return companionExtends_.getByteString(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < extends_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 1, extends_.getRaw(i)); } for (int i = 0; i < companionExtends_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 2, companionExtends_.getRaw(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < extends_.size(); i++) { dataSize += computeStringSizeNoTag(extends_.getRaw(i)); } size += dataSize; size += 1 * getExtendsList().size(); } { int dataSize = 0; for (int i = 0; i < companionExtends_.size(); i++) { dataSize += computeStringSizeNoTag(companionExtends_.getRaw(i)); } size += dataSize; size += 1 * getCompanionExtendsList().size(); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static com.trueaccord.scalapb.Scalapb.MessageOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.trueaccord.scalapb.Scalapb.MessageOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.trueaccord.scalapb.Scalapb.MessageOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.trueaccord.scalapb.Scalapb.MessageOptions parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.trueaccord.scalapb.Scalapb.MessageOptions parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.trueaccord.scalapb.Scalapb.MessageOptions parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.trueaccord.scalapb.Scalapb.MessageOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.trueaccord.scalapb.Scalapb.MessageOptions parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.trueaccord.scalapb.Scalapb.MessageOptions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.trueaccord.scalapb.Scalapb.MessageOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.trueaccord.scalapb.Scalapb.MessageOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code scalapb.MessageOptions} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:scalapb.MessageOptions) com.trueaccord.scalapb.Scalapb.MessageOptionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.trueaccord.scalapb.Scalapb.internal_static_scalapb_MessageOptions_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.trueaccord.scalapb.Scalapb.internal_static_scalapb_MessageOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( com.trueaccord.scalapb.Scalapb.MessageOptions.class, com.trueaccord.scalapb.Scalapb.MessageOptions.Builder.class); } // Construct using com.trueaccord.scalapb.Scalapb.MessageOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); extends_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); companionExtends_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.trueaccord.scalapb.Scalapb.internal_static_scalapb_MessageOptions_descriptor; } public com.trueaccord.scalapb.Scalapb.MessageOptions getDefaultInstanceForType() { return com.trueaccord.scalapb.Scalapb.MessageOptions.getDefaultInstance(); } public com.trueaccord.scalapb.Scalapb.MessageOptions build() { com.trueaccord.scalapb.Scalapb.MessageOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.trueaccord.scalapb.Scalapb.MessageOptions buildPartial() { com.trueaccord.scalapb.Scalapb.MessageOptions result = new com.trueaccord.scalapb.Scalapb.MessageOptions(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { extends_ = extends_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.extends_ = extends_; if (((bitField0_ & 0x00000002) == 0x00000002)) { companionExtends_ = companionExtends_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } result.companionExtends_ = companionExtends_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.trueaccord.scalapb.Scalapb.MessageOptions) { return mergeFrom((com.trueaccord.scalapb.Scalapb.MessageOptions)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.trueaccord.scalapb.Scalapb.MessageOptions other) { if (other == com.trueaccord.scalapb.Scalapb.MessageOptions.getDefaultInstance()) return this; if (!other.extends_.isEmpty()) { if (extends_.isEmpty()) { extends_ = other.extends_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureExtendsIsMutable(); extends_.addAll(other.extends_); } onChanged(); } if (!other.companionExtends_.isEmpty()) { if (companionExtends_.isEmpty()) { companionExtends_ = other.companionExtends_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureCompanionExtendsIsMutable(); companionExtends_.addAll(other.companionExtends_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.trueaccord.scalapb.Scalapb.MessageOptions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.trueaccord.scalapb.Scalapb.MessageOptions) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.LazyStringList extends_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureExtendsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { extends_ = new com.google.protobuf.LazyStringArrayList(extends_); bitField0_ |= 0x00000001; } } /** * repeated string extends = 1; * *
       * Additional classes and traits to mix in to the case class.
       * 
*/ public com.google.protobuf.ProtocolStringList getExtendsList() { return extends_.getUnmodifiableView(); } /** * repeated string extends = 1; * *
       * Additional classes and traits to mix in to the case class.
       * 
*/ public int getExtendsCount() { return extends_.size(); } /** * repeated string extends = 1; * *
       * Additional classes and traits to mix in to the case class.
       * 
*/ public java.lang.String getExtends(int index) { return extends_.get(index); } /** * repeated string extends = 1; * *
       * Additional classes and traits to mix in to the case class.
       * 
*/ public com.google.protobuf.ByteString getExtendsBytes(int index) { return extends_.getByteString(index); } /** * repeated string extends = 1; * *
       * Additional classes and traits to mix in to the case class.
       * 
*/ public Builder setExtends( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureExtendsIsMutable(); extends_.set(index, value); onChanged(); return this; } /** * repeated string extends = 1; * *
       * Additional classes and traits to mix in to the case class.
       * 
*/ public Builder addExtends( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureExtendsIsMutable(); extends_.add(value); onChanged(); return this; } /** * repeated string extends = 1; * *
       * Additional classes and traits to mix in to the case class.
       * 
*/ public Builder addAllExtends( java.lang.Iterable values) { ensureExtendsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, extends_); onChanged(); return this; } /** * repeated string extends = 1; * *
       * Additional classes and traits to mix in to the case class.
       * 
*/ public Builder clearExtends() { extends_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string extends = 1; * *
       * Additional classes and traits to mix in to the case class.
       * 
*/ public Builder addExtendsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureExtendsIsMutable(); extends_.add(value); onChanged(); return this; } private com.google.protobuf.LazyStringList companionExtends_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureCompanionExtendsIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { companionExtends_ = new com.google.protobuf.LazyStringArrayList(companionExtends_); bitField0_ |= 0x00000002; } } /** * repeated string companion_extends = 2; * *
       * Additional classes and traits to mix in to the companion object.
       * 
*/ public com.google.protobuf.ProtocolStringList getCompanionExtendsList() { return companionExtends_.getUnmodifiableView(); } /** * repeated string companion_extends = 2; * *
       * Additional classes and traits to mix in to the companion object.
       * 
*/ public int getCompanionExtendsCount() { return companionExtends_.size(); } /** * repeated string companion_extends = 2; * *
       * Additional classes and traits to mix in to the companion object.
       * 
*/ public java.lang.String getCompanionExtends(int index) { return companionExtends_.get(index); } /** * repeated string companion_extends = 2; * *
       * Additional classes and traits to mix in to the companion object.
       * 
*/ public com.google.protobuf.ByteString getCompanionExtendsBytes(int index) { return companionExtends_.getByteString(index); } /** * repeated string companion_extends = 2; * *
       * Additional classes and traits to mix in to the companion object.
       * 
*/ public Builder setCompanionExtends( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureCompanionExtendsIsMutable(); companionExtends_.set(index, value); onChanged(); return this; } /** * repeated string companion_extends = 2; * *
       * Additional classes and traits to mix in to the companion object.
       * 
*/ public Builder addCompanionExtends( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureCompanionExtendsIsMutable(); companionExtends_.add(value); onChanged(); return this; } /** * repeated string companion_extends = 2; * *
       * Additional classes and traits to mix in to the companion object.
       * 
*/ public Builder addAllCompanionExtends( java.lang.Iterable values) { ensureCompanionExtendsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, companionExtends_); onChanged(); return this; } /** * repeated string companion_extends = 2; * *
       * Additional classes and traits to mix in to the companion object.
       * 
*/ public Builder clearCompanionExtends() { companionExtends_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * repeated string companion_extends = 2; * *
       * Additional classes and traits to mix in to the companion object.
       * 
*/ public Builder addCompanionExtendsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureCompanionExtendsIsMutable(); companionExtends_.add(value); onChanged(); return this; } // @@protoc_insertion_point(builder_scope:scalapb.MessageOptions) } // @@protoc_insertion_point(class_scope:scalapb.MessageOptions) private static final com.trueaccord.scalapb.Scalapb.MessageOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.trueaccord.scalapb.Scalapb.MessageOptions(); } public static com.trueaccord.scalapb.Scalapb.MessageOptions getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public MessageOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new MessageOptions(input, extensionRegistry); } catch (RuntimeException e) { if (e.getCause() instanceof com.google.protobuf.InvalidProtocolBufferException) { throw (com.google.protobuf.InvalidProtocolBufferException) e.getCause(); } throw e; } } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.trueaccord.scalapb.Scalapb.MessageOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FieldOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:scalapb.FieldOptions) com.google.protobuf.MessageOrBuilder { /** * optional string type = 1; */ boolean hasType(); /** * optional string type = 1; */ java.lang.String getType(); /** * optional string type = 1; */ com.google.protobuf.ByteString getTypeBytes(); } /** * Protobuf type {@code scalapb.FieldOptions} */ public static final class FieldOptions extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:scalapb.FieldOptions) FieldOptionsOrBuilder { // Use FieldOptions.newBuilder() to construct. private FieldOptions(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private FieldOptions() { type_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private FieldOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; type_ = bs; 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.trueaccord.scalapb.Scalapb.internal_static_scalapb_FieldOptions_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.trueaccord.scalapb.Scalapb.internal_static_scalapb_FieldOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( com.trueaccord.scalapb.Scalapb.FieldOptions.class, com.trueaccord.scalapb.Scalapb.FieldOptions.Builder.class); } private int bitField0_; public static final int TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object type_; /** * optional string type = 1; */ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string type = 1; */ public java.lang.String getType() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { type_ = s; } return s; } } /** * optional string type = 1; */ public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); type_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessage.writeString(output, 1, type_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(1, type_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static com.trueaccord.scalapb.Scalapb.FieldOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.trueaccord.scalapb.Scalapb.FieldOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.trueaccord.scalapb.Scalapb.FieldOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.trueaccord.scalapb.Scalapb.FieldOptions parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.trueaccord.scalapb.Scalapb.FieldOptions parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.trueaccord.scalapb.Scalapb.FieldOptions parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.trueaccord.scalapb.Scalapb.FieldOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.trueaccord.scalapb.Scalapb.FieldOptions parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.trueaccord.scalapb.Scalapb.FieldOptions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.trueaccord.scalapb.Scalapb.FieldOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.trueaccord.scalapb.Scalapb.FieldOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code scalapb.FieldOptions} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:scalapb.FieldOptions) com.trueaccord.scalapb.Scalapb.FieldOptionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.trueaccord.scalapb.Scalapb.internal_static_scalapb_FieldOptions_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.trueaccord.scalapb.Scalapb.internal_static_scalapb_FieldOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( com.trueaccord.scalapb.Scalapb.FieldOptions.class, com.trueaccord.scalapb.Scalapb.FieldOptions.Builder.class); } // Construct using com.trueaccord.scalapb.Scalapb.FieldOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); type_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.trueaccord.scalapb.Scalapb.internal_static_scalapb_FieldOptions_descriptor; } public com.trueaccord.scalapb.Scalapb.FieldOptions getDefaultInstanceForType() { return com.trueaccord.scalapb.Scalapb.FieldOptions.getDefaultInstance(); } public com.trueaccord.scalapb.Scalapb.FieldOptions build() { com.trueaccord.scalapb.Scalapb.FieldOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.trueaccord.scalapb.Scalapb.FieldOptions buildPartial() { com.trueaccord.scalapb.Scalapb.FieldOptions result = new com.trueaccord.scalapb.Scalapb.FieldOptions(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.type_ = type_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.trueaccord.scalapb.Scalapb.FieldOptions) { return mergeFrom((com.trueaccord.scalapb.Scalapb.FieldOptions)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.trueaccord.scalapb.Scalapb.FieldOptions other) { if (other == com.trueaccord.scalapb.Scalapb.FieldOptions.getDefaultInstance()) return this; if (other.hasType()) { bitField0_ |= 0x00000001; type_ = other.type_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.trueaccord.scalapb.Scalapb.FieldOptions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.trueaccord.scalapb.Scalapb.FieldOptions) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object type_ = ""; /** * optional string type = 1; */ public boolean hasType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string type = 1; */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { type_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string type = 1; */ public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); type_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string type = 1; */ public Builder setType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; type_ = value; onChanged(); return this; } /** * optional string type = 1; */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = getDefaultInstance().getType(); onChanged(); return this; } /** * optional string type = 1; */ public Builder setTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; type_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:scalapb.FieldOptions) } // @@protoc_insertion_point(class_scope:scalapb.FieldOptions) private static final com.trueaccord.scalapb.Scalapb.FieldOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.trueaccord.scalapb.Scalapb.FieldOptions(); } public static com.trueaccord.scalapb.Scalapb.FieldOptions getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public FieldOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { try { return new FieldOptions(input, extensionRegistry); } catch (RuntimeException e) { if (e.getCause() instanceof com.google.protobuf.InvalidProtocolBufferException) { throw (com.google.protobuf.InvalidProtocolBufferException) e.getCause(); } throw e; } } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.trueaccord.scalapb.Scalapb.FieldOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int OPTIONS_FIELD_NUMBER = 1020; /** * extend .google.protobuf.FileOptions { ... } * *
   * File-level optionals for ScalaPB.
   * Extension number officially assigned by protobuf-global-extension-registry@google.com
   * 
*/ public static final com.google.protobuf.GeneratedMessage.GeneratedExtension< com.google.protobuf.DescriptorProtos.FileOptions, com.trueaccord.scalapb.Scalapb.ScalaPbOptions> options = com.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( com.trueaccord.scalapb.Scalapb.ScalaPbOptions.class, com.trueaccord.scalapb.Scalapb.ScalaPbOptions.getDefaultInstance()); public static final int MESSAGE_FIELD_NUMBER = 1020; /** * extend .google.protobuf.MessageOptions { ... } * *
   * Message-level optionals for ScalaPB.
   * Extension number officially assigned by protobuf-global-extension-registry@google.com
   * 
*/ public static final com.google.protobuf.GeneratedMessage.GeneratedExtension< com.google.protobuf.DescriptorProtos.MessageOptions, com.trueaccord.scalapb.Scalapb.MessageOptions> message = com.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( com.trueaccord.scalapb.Scalapb.MessageOptions.class, com.trueaccord.scalapb.Scalapb.MessageOptions.getDefaultInstance()); public static final int FIELD_FIELD_NUMBER = 1020; /** * extend .google.protobuf.FieldOptions { ... } * *
   * File-level optionals for ScalaPB.
   * Extension number officially assigned by protobuf-global-extension-registry@google.com
   * 
*/ public static final com.google.protobuf.GeneratedMessage.GeneratedExtension< com.google.protobuf.DescriptorProtos.FieldOptions, com.trueaccord.scalapb.Scalapb.FieldOptions> field = com.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( com.trueaccord.scalapb.Scalapb.FieldOptions.class, com.trueaccord.scalapb.Scalapb.FieldOptions.getDefaultInstance()); private static com.google.protobuf.Descriptors.Descriptor internal_static_scalapb_ScalaPbOptions_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_scalapb_ScalaPbOptions_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_scalapb_MessageOptions_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_scalapb_MessageOptions_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_scalapb_FieldOptions_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_scalapb_FieldOptions_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\025scalapb/scalapb.proto\022\007scalapb\032 google" + "/protobuf/descriptor.proto\"s\n\016ScalaPbOpt" + "ions\022\024\n\014package_name\030\001 \001(\t\022\024\n\014flat_packa" + "ge\030\002 \001(\010\022\016\n\006import\030\003 \003(\t\022\023\n\013single_file\030" + "\005 \001(\010\022\020\n\010preamble\030\004 \003(\t\"<\n\016MessageOption" + "s\022\017\n\007extends\030\001 \003(\t\022\031\n\021companion_extends\030" + "\002 \003(\t\"\034\n\014FieldOptions\022\014\n\004type\030\001 \001(\t:G\n\007o" + "ptions\022\034.google.protobuf.FileOptions\030\374\007 " + "\001(\0132\027.scalapb.ScalaPbOptions:J\n\007message\022" + "\037.google.protobuf.MessageOptions\030\374\007 \001(\0132", "\027.scalapb.MessageOptions:D\n\005field\022\035.goog" + "le.protobuf.FieldOptions\030\374\007 \001(\0132\025.scalap" + "b.FieldOptionsB\030\n\026com.trueaccord.scalapb" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; return null; } }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.DescriptorProtos.getDescriptor(), }, assigner); internal_static_scalapb_ScalaPbOptions_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_scalapb_ScalaPbOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_scalapb_ScalaPbOptions_descriptor, new java.lang.String[] { "PackageName", "FlatPackage", "Import", "SingleFile", "Preamble", }); internal_static_scalapb_MessageOptions_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_scalapb_MessageOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_scalapb_MessageOptions_descriptor, new java.lang.String[] { "Extends", "CompanionExtends", }); internal_static_scalapb_FieldOptions_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_scalapb_FieldOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_scalapb_FieldOptions_descriptor, new java.lang.String[] { "Type", }); options.internalInit(descriptor.getExtensions().get(0)); message.internalInit(descriptor.getExtensions().get(1)); field.internalInit(descriptor.getExtensions().get(2)); com.google.protobuf.DescriptorProtos.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy