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

org.mlflow.scalapb_interface.Scalapb Maven / Gradle / Ivy

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

package org.mlflow.scalapb_interface;

public final class Scalapb {
  private Scalapb() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
    registry.add(org.mlflow.scalapb_interface.Scalapb.options);
    registry.add(org.mlflow.scalapb_interface.Scalapb.message);
    registry.add(org.mlflow.scalapb_interface.Scalapb.field);
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface ScalaPbOptionsOrBuilder extends
      // @@protoc_insertion_point(interface_extends:scalapb.ScalaPbOptions)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * If set then it overrides the java_package and package.
     * 
* * optional string package_name = 1; * @return Whether the packageName field is set. */ boolean hasPackageName(); /** *
     * If set then it overrides the java_package and package.
     * 
* * optional string package_name = 1; * @return The packageName. */ java.lang.String getPackageName(); /** *
     * If set then it overrides the java_package and package.
     * 
* * optional string package_name = 1; * @return The bytes for packageName. */ com.google.protobuf.ByteString getPackageNameBytes(); /** *
     * 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.
     * 
* * optional bool flat_package = 2; * @return Whether the flatPackage field is set. */ boolean hasFlatPackage(); /** *
     * 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.
     * 
* * optional bool flat_package = 2; * @return The flatPackage. */ boolean getFlatPackage(); /** *
     * Adds the following imports at the top of the file (this is meant
     * to provide implicit TypeMappers)
     * 
* * repeated string import = 3; * @return A list containing the import. */ java.util.List getImportList(); /** *
     * Adds the following imports at the top of the file (this is meant
     * to provide implicit TypeMappers)
     * 
* * repeated string import = 3; * @return The count of import. */ int getImportCount(); /** *
     * Adds the following imports at the top of the file (this is meant
     * to provide implicit TypeMappers)
     * 
* * repeated string import = 3; * @param index The index of the element to return. * @return The import at the given index. */ java.lang.String getImport(int index); /** *
     * Adds the following imports at the top of the file (this is meant
     * to provide implicit TypeMappers)
     * 
* * repeated string import = 3; * @param index The index of the value to return. * @return The bytes of the import at the given index. */ com.google.protobuf.ByteString getImportBytes(int index); } /** * Protobuf type {@code scalapb.ScalaPbOptions} */ public static final class ScalaPbOptions extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:scalapb.ScalaPbOptions) ScalaPbOptionsOrBuilder { private static final long serialVersionUID = 0L; // Use ScalaPbOptions.newBuilder() to construct. private ScalaPbOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ScalaPbOptions() { packageName_ = ""; import_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ScalaPbOptions(); } @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) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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; 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) != 0)) { import_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000004; } import_.add(bs); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000004) != 0)) { import_ = import_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.mlflow.scalapb_interface.Scalapb.internal_static_scalapb_ScalaPbOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.mlflow.scalapb_interface.Scalapb.internal_static_scalapb_ScalaPbOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions.class, org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions.Builder.class); } private int bitField0_; public static final int PACKAGE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object packageName_; /** *
     * If set then it overrides the java_package and package.
     * 
* * optional string package_name = 1; * @return Whether the packageName field is set. */ @java.lang.Override public boolean hasPackageName() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * If set then it overrides the java_package and package.
     * 
* * optional string package_name = 1; * @return The packageName. */ @java.lang.Override 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; } } /** *
     * If set then it overrides the java_package and package.
     * 
* * optional string package_name = 1; * @return The bytes for packageName. */ @java.lang.Override 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_; /** *
     * 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.
     * 
* * optional bool flat_package = 2; * @return Whether the flatPackage field is set. */ @java.lang.Override public boolean hasFlatPackage() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * 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.
     * 
* * optional bool flat_package = 2; * @return The flatPackage. */ @java.lang.Override public boolean getFlatPackage() { return flatPackage_; } public static final int IMPORT_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList import_; /** *
     * Adds the following imports at the top of the file (this is meant
     * to provide implicit TypeMappers)
     * 
* * repeated string import = 3; * @return A list containing the import. */ public com.google.protobuf.ProtocolStringList getImportList() { return import_; } /** *
     * Adds the following imports at the top of the file (this is meant
     * to provide implicit TypeMappers)
     * 
* * repeated string import = 3; * @return The count of import. */ public int getImportCount() { return import_.size(); } /** *
     * Adds the following imports at the top of the file (this is meant
     * to provide implicit TypeMappers)
     * 
* * repeated string import = 3; * @param index The index of the element to return. * @return The import at the given index. */ public java.lang.String getImport(int index) { return import_.get(index); } /** *
     * Adds the following imports at the top of the file (this is meant
     * to provide implicit TypeMappers)
     * 
* * repeated string import = 3; * @param index The index of the value to return. * @return The bytes of the import at the given index. */ public com.google.protobuf.ByteString getImportBytes(int index) { return import_.getByteString(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, packageName_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeBool(2, flatPackage_); } for (int i = 0; i < import_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, import_.getRaw(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, packageName_); } if (((bitField0_ & 0x00000002) != 0)) { 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(); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions)) { return super.equals(obj); } org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions other = (org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions) obj; if (hasPackageName() != other.hasPackageName()) return false; if (hasPackageName()) { if (!getPackageName() .equals(other.getPackageName())) return false; } if (hasFlatPackage() != other.hasFlatPackage()) return false; if (hasFlatPackage()) { if (getFlatPackage() != other.getFlatPackage()) return false; } if (!getImportList() .equals(other.getImportList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasPackageName()) { hash = (37 * hash) + PACKAGE_NAME_FIELD_NUMBER; hash = (53 * hash) + getPackageName().hashCode(); } if (hasFlatPackage()) { hash = (37 * hash) + FLAT_PACKAGE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getFlatPackage()); } if (getImportCount() > 0) { hash = (37 * hash) + IMPORT_FIELD_NUMBER; hash = (53 * hash) + getImportList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.mlflow.scalapb_interface.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 org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code scalapb.ScalaPbOptions} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:scalapb.ScalaPbOptions) org.mlflow.scalapb_interface.Scalapb.ScalaPbOptionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.mlflow.scalapb_interface.Scalapb.internal_static_scalapb_ScalaPbOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.mlflow.scalapb_interface.Scalapb.internal_static_scalapb_ScalaPbOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions.class, org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions.Builder.class); } // Construct using org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); packageName_ = ""; bitField0_ = (bitField0_ & ~0x00000001); flatPackage_ = false; bitField0_ = (bitField0_ & ~0x00000002); import_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.mlflow.scalapb_interface.Scalapb.internal_static_scalapb_ScalaPbOptions_descriptor; } @java.lang.Override public org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions getDefaultInstanceForType() { return org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions.getDefaultInstance(); } @java.lang.Override public org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions build() { org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions buildPartial() { org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions result = new org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.packageName_ = packageName_; if (((from_bitField0_ & 0x00000002) != 0)) { result.flatPackage_ = flatPackage_; to_bitField0_ |= 0x00000002; } if (((bitField0_ & 0x00000004) != 0)) { import_ = import_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); } result.import_ = import_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions) { return mergeFrom((org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions other) { if (other == org.mlflow.scalapb_interface.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(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object packageName_ = ""; /** *
       * If set then it overrides the java_package and package.
       * 
* * optional string package_name = 1; * @return Whether the packageName field is set. */ public boolean hasPackageName() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * If set then it overrides the java_package and package.
       * 
* * optional string package_name = 1; * @return The packageName. */ 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; } } /** *
       * If set then it overrides the java_package and package.
       * 
* * optional string package_name = 1; * @return The bytes for packageName. */ 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; } } /** *
       * If set then it overrides the java_package and package.
       * 
* * optional string package_name = 1; * @param value The packageName to set. * @return This builder for chaining. */ public Builder setPackageName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; packageName_ = value; onChanged(); return this; } /** *
       * If set then it overrides the java_package and package.
       * 
* * optional string package_name = 1; * @return This builder for chaining. */ public Builder clearPackageName() { bitField0_ = (bitField0_ & ~0x00000001); packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** *
       * If set then it overrides the java_package and package.
       * 
* * optional string package_name = 1; * @param value The bytes for packageName to set. * @return This builder for chaining. */ public Builder setPackageNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; packageName_ = value; onChanged(); return this; } private boolean flatPackage_ ; /** *
       * 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.
       * 
* * optional bool flat_package = 2; * @return Whether the flatPackage field is set. */ @java.lang.Override public boolean hasFlatPackage() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * 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.
       * 
* * optional bool flat_package = 2; * @return The flatPackage. */ @java.lang.Override public boolean getFlatPackage() { return flatPackage_; } /** *
       * 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.
       * 
* * optional bool flat_package = 2; * @param value The flatPackage to set. * @return This builder for chaining. */ public Builder setFlatPackage(boolean value) { bitField0_ |= 0x00000002; flatPackage_ = value; onChanged(); return this; } /** *
       * 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.
       * 
* * optional bool flat_package = 2; * @return This builder for chaining. */ 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) != 0)) { import_ = new com.google.protobuf.LazyStringArrayList(import_); bitField0_ |= 0x00000004; } } /** *
       * Adds the following imports at the top of the file (this is meant
       * to provide implicit TypeMappers)
       * 
* * repeated string import = 3; * @return A list containing the import. */ public com.google.protobuf.ProtocolStringList getImportList() { return import_.getUnmodifiableView(); } /** *
       * Adds the following imports at the top of the file (this is meant
       * to provide implicit TypeMappers)
       * 
* * repeated string import = 3; * @return The count of import. */ public int getImportCount() { return import_.size(); } /** *
       * Adds the following imports at the top of the file (this is meant
       * to provide implicit TypeMappers)
       * 
* * repeated string import = 3; * @param index The index of the element to return. * @return The import at the given index. */ public java.lang.String getImport(int index) { return import_.get(index); } /** *
       * Adds the following imports at the top of the file (this is meant
       * to provide implicit TypeMappers)
       * 
* * repeated string import = 3; * @param index The index of the value to return. * @return The bytes of the import at the given index. */ public com.google.protobuf.ByteString getImportBytes(int index) { return import_.getByteString(index); } /** *
       * Adds the following imports at the top of the file (this is meant
       * to provide implicit TypeMappers)
       * 
* * repeated string import = 3; * @param index The index to set the value at. * @param value The import to set. * @return This builder for chaining. */ public Builder setImport( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureImportIsMutable(); import_.set(index, value); onChanged(); return this; } /** *
       * Adds the following imports at the top of the file (this is meant
       * to provide implicit TypeMappers)
       * 
* * repeated string import = 3; * @param value The import to add. * @return This builder for chaining. */ public Builder addImport( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureImportIsMutable(); import_.add(value); onChanged(); return this; } /** *
       * Adds the following imports at the top of the file (this is meant
       * to provide implicit TypeMappers)
       * 
* * repeated string import = 3; * @param values The import to add. * @return This builder for chaining. */ public Builder addAllImport( java.lang.Iterable values) { ensureImportIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, import_); onChanged(); return this; } /** *
       * Adds the following imports at the top of the file (this is meant
       * to provide implicit TypeMappers)
       * 
* * repeated string import = 3; * @return This builder for chaining. */ public Builder clearImport() { import_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** *
       * Adds the following imports at the top of the file (this is meant
       * to provide implicit TypeMappers)
       * 
* * repeated string import = 3; * @param value The bytes of the import to add. * @return This builder for chaining. */ public Builder addImportBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureImportIsMutable(); import_.add(value); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:scalapb.ScalaPbOptions) } // @@protoc_insertion_point(class_scope:scalapb.ScalaPbOptions) private static final org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions(); } public static org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ScalaPbOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ScalaPbOptions(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MessageOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:scalapb.MessageOptions) com.google.protobuf.MessageOrBuilder { /** *
     * additional classes and traits to mix in to the case class.
     * 
* * repeated string extends = 1; * @return A list containing the extends. */ java.util.List getExtendsList(); /** *
     * additional classes and traits to mix in to the case class.
     * 
* * repeated string extends = 1; * @return The count of extends. */ int getExtendsCount(); /** *
     * additional classes and traits to mix in to the case class.
     * 
* * repeated string extends = 1; * @param index The index of the element to return. * @return The extends at the given index. */ java.lang.String getExtends(int index); /** *
     * additional classes and traits to mix in to the case class.
     * 
* * repeated string extends = 1; * @param index The index of the value to return. * @return The bytes of the extends at the given index. */ com.google.protobuf.ByteString getExtendsBytes(int index); } /** * Protobuf type {@code scalapb.MessageOptions} */ public static final class MessageOptions extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:scalapb.MessageOptions) MessageOptionsOrBuilder { private static final long serialVersionUID = 0L; // Use MessageOptions.newBuilder() to construct. private MessageOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MessageOptions() { extends_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MessageOptions(); } @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) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { extends_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } extends_.add(bs); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { extends_ = extends_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.mlflow.scalapb_interface.Scalapb.internal_static_scalapb_MessageOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.mlflow.scalapb_interface.Scalapb.internal_static_scalapb_MessageOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( org.mlflow.scalapb_interface.Scalapb.MessageOptions.class, org.mlflow.scalapb_interface.Scalapb.MessageOptions.Builder.class); } public static final int EXTENDS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList extends_; /** *
     * additional classes and traits to mix in to the case class.
     * 
* * repeated string extends = 1; * @return A list containing the extends. */ public com.google.protobuf.ProtocolStringList getExtendsList() { return extends_; } /** *
     * additional classes and traits to mix in to the case class.
     * 
* * repeated string extends = 1; * @return The count of extends. */ public int getExtendsCount() { return extends_.size(); } /** *
     * additional classes and traits to mix in to the case class.
     * 
* * repeated string extends = 1; * @param index The index of the element to return. * @return The extends at the given index. */ public java.lang.String getExtends(int index) { return extends_.get(index); } /** *
     * additional classes and traits to mix in to the case class.
     * 
* * repeated string extends = 1; * @param index The index of the value to return. * @return The bytes of the extends at the given index. */ public com.google.protobuf.ByteString getExtendsBytes(int index) { return extends_.getByteString(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < extends_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, extends_.getRaw(i)); } unknownFields.writeTo(output); } @java.lang.Override 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(); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.mlflow.scalapb_interface.Scalapb.MessageOptions)) { return super.equals(obj); } org.mlflow.scalapb_interface.Scalapb.MessageOptions other = (org.mlflow.scalapb_interface.Scalapb.MessageOptions) obj; if (!getExtendsList() .equals(other.getExtendsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getExtendsCount() > 0) { hash = (37 * hash) + EXTENDS_FIELD_NUMBER; hash = (53 * hash) + getExtendsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.mlflow.scalapb_interface.Scalapb.MessageOptions parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.mlflow.scalapb_interface.Scalapb.MessageOptions parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.mlflow.scalapb_interface.Scalapb.MessageOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.mlflow.scalapb_interface.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 org.mlflow.scalapb_interface.Scalapb.MessageOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.mlflow.scalapb_interface.Scalapb.MessageOptions parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.mlflow.scalapb_interface.Scalapb.MessageOptions parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.mlflow.scalapb_interface.Scalapb.MessageOptions parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.mlflow.scalapb_interface.Scalapb.MessageOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.mlflow.scalapb_interface.Scalapb.MessageOptions parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.mlflow.scalapb_interface.Scalapb.MessageOptions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.mlflow.scalapb_interface.Scalapb.MessageOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.mlflow.scalapb_interface.Scalapb.MessageOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code scalapb.MessageOptions} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:scalapb.MessageOptions) org.mlflow.scalapb_interface.Scalapb.MessageOptionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.mlflow.scalapb_interface.Scalapb.internal_static_scalapb_MessageOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.mlflow.scalapb_interface.Scalapb.internal_static_scalapb_MessageOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( org.mlflow.scalapb_interface.Scalapb.MessageOptions.class, org.mlflow.scalapb_interface.Scalapb.MessageOptions.Builder.class); } // Construct using org.mlflow.scalapb_interface.Scalapb.MessageOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); extends_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.mlflow.scalapb_interface.Scalapb.internal_static_scalapb_MessageOptions_descriptor; } @java.lang.Override public org.mlflow.scalapb_interface.Scalapb.MessageOptions getDefaultInstanceForType() { return org.mlflow.scalapb_interface.Scalapb.MessageOptions.getDefaultInstance(); } @java.lang.Override public org.mlflow.scalapb_interface.Scalapb.MessageOptions build() { org.mlflow.scalapb_interface.Scalapb.MessageOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.mlflow.scalapb_interface.Scalapb.MessageOptions buildPartial() { org.mlflow.scalapb_interface.Scalapb.MessageOptions result = new org.mlflow.scalapb_interface.Scalapb.MessageOptions(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { extends_ = extends_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.extends_ = extends_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.mlflow.scalapb_interface.Scalapb.MessageOptions) { return mergeFrom((org.mlflow.scalapb_interface.Scalapb.MessageOptions)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.mlflow.scalapb_interface.Scalapb.MessageOptions other) { if (other == org.mlflow.scalapb_interface.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(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.mlflow.scalapb_interface.Scalapb.MessageOptions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.mlflow.scalapb_interface.Scalapb.MessageOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } 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) != 0)) { extends_ = new com.google.protobuf.LazyStringArrayList(extends_); bitField0_ |= 0x00000001; } } /** *
       * additional classes and traits to mix in to the case class.
       * 
* * repeated string extends = 1; * @return A list containing the extends. */ public com.google.protobuf.ProtocolStringList getExtendsList() { return extends_.getUnmodifiableView(); } /** *
       * additional classes and traits to mix in to the case class.
       * 
* * repeated string extends = 1; * @return The count of extends. */ public int getExtendsCount() { return extends_.size(); } /** *
       * additional classes and traits to mix in to the case class.
       * 
* * repeated string extends = 1; * @param index The index of the element to return. * @return The extends at the given index. */ public java.lang.String getExtends(int index) { return extends_.get(index); } /** *
       * additional classes and traits to mix in to the case class.
       * 
* * repeated string extends = 1; * @param index The index of the value to return. * @return The bytes of the extends at the given index. */ public com.google.protobuf.ByteString getExtendsBytes(int index) { return extends_.getByteString(index); } /** *
       * additional classes and traits to mix in to the case class.
       * 
* * repeated string extends = 1; * @param index The index to set the value at. * @param value The extends to set. * @return This builder for chaining. */ public Builder setExtends( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureExtendsIsMutable(); extends_.set(index, value); onChanged(); return this; } /** *
       * additional classes and traits to mix in to the case class.
       * 
* * repeated string extends = 1; * @param value The extends to add. * @return This builder for chaining. */ public Builder addExtends( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureExtendsIsMutable(); extends_.add(value); onChanged(); return this; } /** *
       * additional classes and traits to mix in to the case class.
       * 
* * repeated string extends = 1; * @param values The extends to add. * @return This builder for chaining. */ public Builder addAllExtends( java.lang.Iterable values) { ensureExtendsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, extends_); onChanged(); return this; } /** *
       * additional classes and traits to mix in to the case class.
       * 
* * repeated string extends = 1; * @return This builder for chaining. */ public Builder clearExtends() { extends_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * additional classes and traits to mix in to the case class.
       * 
* * repeated string extends = 1; * @param value The bytes of the extends to add. * @return This builder for chaining. */ public Builder addExtendsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureExtendsIsMutable(); extends_.add(value); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:scalapb.MessageOptions) } // @@protoc_insertion_point(class_scope:scalapb.MessageOptions) private static final org.mlflow.scalapb_interface.Scalapb.MessageOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.mlflow.scalapb_interface.Scalapb.MessageOptions(); } public static org.mlflow.scalapb_interface.Scalapb.MessageOptions getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MessageOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MessageOptions(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.mlflow.scalapb_interface.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; * @return Whether the type field is set. */ boolean hasType(); /** * optional string type = 1; * @return The type. */ java.lang.String getType(); /** * optional string type = 1; * @return The bytes for type. */ com.google.protobuf.ByteString getTypeBytes(); } /** * Protobuf type {@code scalapb.FieldOptions} */ public static final class FieldOptions extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:scalapb.FieldOptions) FieldOptionsOrBuilder { private static final long serialVersionUID = 0L; // Use FieldOptions.newBuilder() to construct. private FieldOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FieldOptions() { type_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new FieldOptions(); } @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) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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; case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; type_ = bs; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.mlflow.scalapb_interface.Scalapb.internal_static_scalapb_FieldOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.mlflow.scalapb_interface.Scalapb.internal_static_scalapb_FieldOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( org.mlflow.scalapb_interface.Scalapb.FieldOptions.class, org.mlflow.scalapb_interface.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; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string type = 1; * @return The type. */ @java.lang.Override 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; * @return The bytes for type. */ @java.lang.Override 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; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, type_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.mlflow.scalapb_interface.Scalapb.FieldOptions)) { return super.equals(obj); } org.mlflow.scalapb_interface.Scalapb.FieldOptions other = (org.mlflow.scalapb_interface.Scalapb.FieldOptions) obj; if (hasType() != other.hasType()) return false; if (hasType()) { if (!getType() .equals(other.getType())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.mlflow.scalapb_interface.Scalapb.FieldOptions parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.mlflow.scalapb_interface.Scalapb.FieldOptions parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.mlflow.scalapb_interface.Scalapb.FieldOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.mlflow.scalapb_interface.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 org.mlflow.scalapb_interface.Scalapb.FieldOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.mlflow.scalapb_interface.Scalapb.FieldOptions parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.mlflow.scalapb_interface.Scalapb.FieldOptions parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.mlflow.scalapb_interface.Scalapb.FieldOptions parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.mlflow.scalapb_interface.Scalapb.FieldOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.mlflow.scalapb_interface.Scalapb.FieldOptions parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.mlflow.scalapb_interface.Scalapb.FieldOptions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.mlflow.scalapb_interface.Scalapb.FieldOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.mlflow.scalapb_interface.Scalapb.FieldOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code scalapb.FieldOptions} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:scalapb.FieldOptions) org.mlflow.scalapb_interface.Scalapb.FieldOptionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.mlflow.scalapb_interface.Scalapb.internal_static_scalapb_FieldOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.mlflow.scalapb_interface.Scalapb.internal_static_scalapb_FieldOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( org.mlflow.scalapb_interface.Scalapb.FieldOptions.class, org.mlflow.scalapb_interface.Scalapb.FieldOptions.Builder.class); } // Construct using org.mlflow.scalapb_interface.Scalapb.FieldOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); type_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.mlflow.scalapb_interface.Scalapb.internal_static_scalapb_FieldOptions_descriptor; } @java.lang.Override public org.mlflow.scalapb_interface.Scalapb.FieldOptions getDefaultInstanceForType() { return org.mlflow.scalapb_interface.Scalapb.FieldOptions.getDefaultInstance(); } @java.lang.Override public org.mlflow.scalapb_interface.Scalapb.FieldOptions build() { org.mlflow.scalapb_interface.Scalapb.FieldOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.mlflow.scalapb_interface.Scalapb.FieldOptions buildPartial() { org.mlflow.scalapb_interface.Scalapb.FieldOptions result = new org.mlflow.scalapb_interface.Scalapb.FieldOptions(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.type_ = type_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.mlflow.scalapb_interface.Scalapb.FieldOptions) { return mergeFrom((org.mlflow.scalapb_interface.Scalapb.FieldOptions)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.mlflow.scalapb_interface.Scalapb.FieldOptions other) { if (other == org.mlflow.scalapb_interface.Scalapb.FieldOptions.getDefaultInstance()) return this; if (other.hasType()) { bitField0_ |= 0x00000001; type_ = other.type_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.mlflow.scalapb_interface.Scalapb.FieldOptions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.mlflow.scalapb_interface.Scalapb.FieldOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object type_ = ""; /** * optional string type = 1; * @return Whether the type field is set. */ public boolean hasType() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string type = 1; * @return The type. */ 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; * @return The bytes for type. */ 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; * @param value The type to set. * @return This builder for chaining. */ public Builder setType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; type_ = value; onChanged(); return this; } /** * optional string type = 1; * @return This builder for chaining. */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = getDefaultInstance().getType(); onChanged(); return this; } /** * optional string type = 1; * @param value The bytes for type to set. * @return This builder for chaining. */ public Builder setTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; type_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:scalapb.FieldOptions) } // @@protoc_insertion_point(class_scope:scalapb.FieldOptions) private static final org.mlflow.scalapb_interface.Scalapb.FieldOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.mlflow.scalapb_interface.Scalapb.FieldOptions(); } public static org.mlflow.scalapb_interface.Scalapb.FieldOptions getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public FieldOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new FieldOptions(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.mlflow.scalapb_interface.Scalapb.FieldOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int OPTIONS_FIELD_NUMBER = 1020; /** *
   * File-level optionals for ScalaPB.
   * Extension number officially assigned by protobuf-global-extension-registry@google.com
   * 
* * extend .google.protobuf.FileOptions { ... } */ public static final com.google.protobuf.GeneratedMessage.GeneratedExtension< com.google.protobuf.DescriptorProtos.FileOptions, org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions> options = com.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions.class, org.mlflow.scalapb_interface.Scalapb.ScalaPbOptions.getDefaultInstance()); public static final int MESSAGE_FIELD_NUMBER = 1020; /** *
   * Message-level optionals for ScalaPB.
   * Extension number officially assigned by protobuf-global-extension-registry@google.com
   * 
* * extend .google.protobuf.MessageOptions { ... } */ public static final com.google.protobuf.GeneratedMessage.GeneratedExtension< com.google.protobuf.DescriptorProtos.MessageOptions, org.mlflow.scalapb_interface.Scalapb.MessageOptions> message = com.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( org.mlflow.scalapb_interface.Scalapb.MessageOptions.class, org.mlflow.scalapb_interface.Scalapb.MessageOptions.getDefaultInstance()); public static final int FIELD_FIELD_NUMBER = 1020; /** *
   * File-level optionals for ScalaPB.
   * Extension number officially assigned by protobuf-global-extension-registry@google.com
   * 
* * extend .google.protobuf.FieldOptions { ... } */ public static final com.google.protobuf.GeneratedMessage.GeneratedExtension< com.google.protobuf.DescriptorProtos.FieldOptions, org.mlflow.scalapb_interface.Scalapb.FieldOptions> field = com.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( org.mlflow.scalapb_interface.Scalapb.FieldOptions.class, org.mlflow.scalapb_interface.Scalapb.FieldOptions.getDefaultInstance()); private static final com.google.protobuf.Descriptors.Descriptor internal_static_scalapb_ScalaPbOptions_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_scalapb_ScalaPbOptions_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_scalapb_MessageOptions_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_scalapb_MessageOptions_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_scalapb_FieldOptions_descriptor; private static final com.google.protobuf.GeneratedMessageV3.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\"L\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\"!\n\016MessageOptio" + "ns\022\017\n\007extends\030\001 \003(\t\"\034\n\014FieldOptions\022\014\n\004t" + "ype\030\001 \001(\t:G\n\007options\022\034.google.protobuf.F" + "ileOptions\030\374\007 \001(\0132\027.scalapb.ScalaPbOptio" + "ns:J\n\007message\022\037.google.protobuf.MessageO" + "ptions\030\374\007 \001(\0132\027.scalapb.MessageOptions:D" + "\n\005field\022\035.google.protobuf.FieldOptions\030\374" + "\007 \001(\0132\025.scalapb.FieldOptionsB\036\n\034org.mlfl" + "ow.scalapb_interface" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.DescriptorProtos.getDescriptor(), }); internal_static_scalapb_ScalaPbOptions_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_scalapb_ScalaPbOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_scalapb_ScalaPbOptions_descriptor, new java.lang.String[] { "PackageName", "FlatPackage", "Import", }); internal_static_scalapb_MessageOptions_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_scalapb_MessageOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_scalapb_MessageOptions_descriptor, new java.lang.String[] { "Extends", }); internal_static_scalapb_FieldOptions_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_scalapb_FieldOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.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