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

com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos Maven / Gradle / Ivy

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

package com.aliyun.openservices.eas.predict.proto;

public final class TorchRecPredictProtos {
    private TorchRecPredictProtos() {}
    public static void registerAllExtensions(
            shade.protobuf.ExtensionRegistryLite registry) {
    }

    public static void registerAllExtensions(
            shade.protobuf.ExtensionRegistry registry) {
        registerAllExtensions(
                (shade.protobuf.ExtensionRegistryLite) registry);
    }
    public interface LongStringMapOrBuilder extends
            // @@protoc_insertion_point(interface_extends:LongStringMap)
            shade.protobuf.MessageOrBuilder {

        /**
         * map<int64, string> map_field = 1;
         */
        int getMapFieldCount();
        /**
         * map<int64, string> map_field = 1;
         */
        boolean containsMapField(
                long key);
        /**
         * Use {@link #getMapFieldMap()} instead.
         */
        @java.lang.Deprecated
        java.util.Map
        getMapField();
        /**
         * map<int64, string> map_field = 1;
         */
        java.util.Map
        getMapFieldMap();
        /**
         * map<int64, string> map_field = 1;
         */

        java.lang.String getMapFieldOrDefault(
                long key,
                java.lang.String defaultValue);
        /**
         * map<int64, string> map_field = 1;
         */

        java.lang.String getMapFieldOrThrow(
                long key);
    }
    /**
     * 
     *long->others
     * 
* * Protobuf type {@code LongStringMap} */ public static final class LongStringMap extends shade.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:LongStringMap) LongStringMapOrBuilder { private static final long serialVersionUID = 0L; // Use LongStringMap.newBuilder() to construct. private LongStringMap(shade.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LongStringMap() { } @java.lang.Override public final shade.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private LongStringMap( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; shade.protobuf.UnknownFieldSet.Builder unknownFields = shade.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { mapField_ = shade.protobuf.MapField.newMapField( MapFieldDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } shade.protobuf.MapEntry mapField__ = input.readMessage( MapFieldDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); mapField_.getMutableMap().put( mapField__.getKey(), mapField__.getValue()); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (shade.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new shade.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongStringMap_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongStringMap_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap.Builder.class); } public static final int MAP_FIELD_FIELD_NUMBER = 1; private static final class MapFieldDefaultEntryHolder { static final shade.protobuf.MapEntry< java.lang.Long, java.lang.String> defaultEntry = shade.protobuf.MapEntry .newDefaultInstance( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongStringMap_MapFieldEntry_descriptor, shade.protobuf.WireFormat.FieldType.INT64, 0L, shade.protobuf.WireFormat.FieldType.STRING, ""); } private shade.protobuf.MapField< java.lang.Long, java.lang.String> mapField_; private shade.protobuf.MapField internalGetMapField() { if (mapField_ == null) { return shade.protobuf.MapField.emptyMapField( MapFieldDefaultEntryHolder.defaultEntry); } return mapField_; } public int getMapFieldCount() { return internalGetMapField().getMap().size(); } /** * map<int64, string> map_field = 1; */ public boolean containsMapField( long key) { return internalGetMapField().getMap().containsKey(key); } /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated public java.util.Map getMapField() { return getMapFieldMap(); } /** * map<int64, string> map_field = 1; */ public java.util.Map getMapFieldMap() { return internalGetMapField().getMap(); } /** * map<int64, string> map_field = 1; */ public java.lang.String getMapFieldOrDefault( long key, java.lang.String defaultValue) { java.util.Map map = internalGetMapField().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<int64, string> map_field = 1; */ public java.lang.String getMapFieldOrThrow( long key) { java.util.Map map = internalGetMapField().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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(shade.protobuf.CodedOutputStream output) throws java.io.IOException { shade.protobuf.GeneratedMessageV3 .serializeLongMapTo( output, internalGetMapField(), MapFieldDefaultEntryHolder.defaultEntry, 1); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (java.util.Map.Entry entry : internalGetMapField().getMap().entrySet()) { shade.protobuf.MapEntry mapField__ = MapFieldDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += shade.protobuf.CodedOutputStream .computeMessageSize(1, mapField__); } 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 com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap)) { return super.equals(obj); } com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap other = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap) obj; boolean result = true; result = result && internalGetMapField().equals( other.internalGetMapField()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (!internalGetMapField().getMap().isEmpty()) { hash = (37 * hash) + MAP_FIELD_FIELD_NUMBER; hash = (53 * hash) + internalGetMapField().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap parseFrom( java.nio.ByteBuffer data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap parseFrom( java.nio.ByteBuffer data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap parseFrom( shade.protobuf.ByteString data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap parseFrom( shade.protobuf.ByteString data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap parseFrom(byte[] data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap parseFrom( byte[] data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap parseFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap parseFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap parseDelimitedFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap parseFrom( shade.protobuf.CodedInputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap parseFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.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(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap 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( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
         *long->others
         * 
* * Protobuf type {@code LongStringMap} */ public static final class Builder extends shade.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:LongStringMap) com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMapOrBuilder { public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongStringMap_descriptor; } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 1: return internalGetMutableMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongStringMap_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap.Builder.class); } // Construct using com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (shade.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); internalGetMutableMapField().clear(); return this; } @java.lang.Override public shade.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongStringMap_descriptor; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap getDefaultInstanceForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap.getDefaultInstance(); } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap build() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap buildPartial() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap result = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap(this); int from_bitField0_ = bitField0_; result.mapField_ = internalGetMapField(); result.mapField_.makeImmutable(); onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( shade.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( shade.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(shade.protobuf.Message other) { if (other instanceof com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap) { return mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap other) { if (other == com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap.getDefaultInstance()) return this; internalGetMutableMapField().mergeFrom( other.internalGetMapField()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (shade.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private shade.protobuf.MapField< java.lang.Long, java.lang.String> mapField_; private shade.protobuf.MapField internalGetMapField() { if (mapField_ == null) { return shade.protobuf.MapField.emptyMapField( MapFieldDefaultEntryHolder.defaultEntry); } return mapField_; } private shade.protobuf.MapField internalGetMutableMapField() { onChanged();; if (mapField_ == null) { mapField_ = shade.protobuf.MapField.newMapField( MapFieldDefaultEntryHolder.defaultEntry); } if (!mapField_.isMutable()) { mapField_ = mapField_.copy(); } return mapField_; } public int getMapFieldCount() { return internalGetMapField().getMap().size(); } /** * map<int64, string> map_field = 1; */ public boolean containsMapField( long key) { return internalGetMapField().getMap().containsKey(key); } /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated public java.util.Map getMapField() { return getMapFieldMap(); } /** * map<int64, string> map_field = 1; */ public java.util.Map getMapFieldMap() { return internalGetMapField().getMap(); } /** * map<int64, string> map_field = 1; */ public java.lang.String getMapFieldOrDefault( long key, java.lang.String defaultValue) { java.util.Map map = internalGetMapField().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<int64, string> map_field = 1; */ public java.lang.String getMapFieldOrThrow( long key) { java.util.Map map = internalGetMapField().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMapField() { internalGetMutableMapField().getMutableMap() .clear(); return this; } /** * map<int64, string> map_field = 1; */ public Builder removeMapField( long key) { internalGetMutableMapField().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMapField() { return internalGetMutableMapField().getMutableMap(); } /** * map<int64, string> map_field = 1; */ public Builder putMapField( long key, java.lang.String value) { if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableMapField().getMutableMap() .put(key, value); return this; } /** * map<int64, string> map_field = 1; */ public Builder putAllMapField( java.util.Map values) { internalGetMutableMapField().getMutableMap() .putAll(values); return this; } @java.lang.Override public final Builder setUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:LongStringMap) } // @@protoc_insertion_point(class_scope:LongStringMap) private static final com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap(); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap getDefaultInstance() { return DEFAULT_INSTANCE; } private static final shade.protobuf.Parser PARSER = new shade.protobuf.AbstractParser() { @java.lang.Override public LongStringMap parsePartialFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return new LongStringMap(input, extensionRegistry); } }; public static shade.protobuf.Parser parser() { return PARSER; } @java.lang.Override public shade.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface LongIntMapOrBuilder extends // @@protoc_insertion_point(interface_extends:LongIntMap) shade.protobuf.MessageOrBuilder { /** * map<int64, int32> map_field = 1; */ int getMapFieldCount(); /** * map<int64, int32> map_field = 1; */ boolean containsMapField( long key); /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated java.util.Map getMapField(); /** * map<int64, int32> map_field = 1; */ java.util.Map getMapFieldMap(); /** * map<int64, int32> map_field = 1; */ int getMapFieldOrDefault( long key, int defaultValue); /** * map<int64, int32> map_field = 1; */ int getMapFieldOrThrow( long key); } /** * Protobuf type {@code LongIntMap} */ public static final class LongIntMap extends shade.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:LongIntMap) LongIntMapOrBuilder { private static final long serialVersionUID = 0L; // Use LongIntMap.newBuilder() to construct. private LongIntMap(shade.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LongIntMap() { } @java.lang.Override public final shade.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private LongIntMap( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; shade.protobuf.UnknownFieldSet.Builder unknownFields = shade.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { mapField_ = shade.protobuf.MapField.newMapField( MapFieldDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } shade.protobuf.MapEntry mapField__ = input.readMessage( MapFieldDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); mapField_.getMutableMap().put( mapField__.getKey(), mapField__.getValue()); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (shade.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new shade.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongIntMap_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongIntMap_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap.Builder.class); } public static final int MAP_FIELD_FIELD_NUMBER = 1; private static final class MapFieldDefaultEntryHolder { static final shade.protobuf.MapEntry< java.lang.Long, java.lang.Integer> defaultEntry = shade.protobuf.MapEntry .newDefaultInstance( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongIntMap_MapFieldEntry_descriptor, shade.protobuf.WireFormat.FieldType.INT64, 0L, shade.protobuf.WireFormat.FieldType.INT32, 0); } private shade.protobuf.MapField< java.lang.Long, java.lang.Integer> mapField_; private shade.protobuf.MapField internalGetMapField() { if (mapField_ == null) { return shade.protobuf.MapField.emptyMapField( MapFieldDefaultEntryHolder.defaultEntry); } return mapField_; } public int getMapFieldCount() { return internalGetMapField().getMap().size(); } /** * map<int64, int32> map_field = 1; */ public boolean containsMapField( long key) { return internalGetMapField().getMap().containsKey(key); } /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated public java.util.Map getMapField() { return getMapFieldMap(); } /** * map<int64, int32> map_field = 1; */ public java.util.Map getMapFieldMap() { return internalGetMapField().getMap(); } /** * map<int64, int32> map_field = 1; */ public int getMapFieldOrDefault( long key, int defaultValue) { java.util.Map map = internalGetMapField().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<int64, int32> map_field = 1; */ public int getMapFieldOrThrow( long key) { java.util.Map map = internalGetMapField().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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(shade.protobuf.CodedOutputStream output) throws java.io.IOException { shade.protobuf.GeneratedMessageV3 .serializeLongMapTo( output, internalGetMapField(), MapFieldDefaultEntryHolder.defaultEntry, 1); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (java.util.Map.Entry entry : internalGetMapField().getMap().entrySet()) { shade.protobuf.MapEntry mapField__ = MapFieldDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += shade.protobuf.CodedOutputStream .computeMessageSize(1, mapField__); } 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 com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap)) { return super.equals(obj); } com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap other = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap) obj; boolean result = true; result = result && internalGetMapField().equals( other.internalGetMapField()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (!internalGetMapField().getMap().isEmpty()) { hash = (37 * hash) + MAP_FIELD_FIELD_NUMBER; hash = (53 * hash) + internalGetMapField().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap parseFrom( java.nio.ByteBuffer data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap parseFrom( java.nio.ByteBuffer data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap parseFrom( shade.protobuf.ByteString data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap parseFrom( shade.protobuf.ByteString data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap parseFrom(byte[] data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap parseFrom( byte[] data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap parseFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap parseFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap parseDelimitedFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap parseFrom( shade.protobuf.CodedInputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap parseFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.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(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap 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( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code LongIntMap} */ public static final class Builder extends shade.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:LongIntMap) com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMapOrBuilder { public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongIntMap_descriptor; } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 1: return internalGetMutableMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongIntMap_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap.Builder.class); } // Construct using com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (shade.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); internalGetMutableMapField().clear(); return this; } @java.lang.Override public shade.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongIntMap_descriptor; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap getDefaultInstanceForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap.getDefaultInstance(); } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap build() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap buildPartial() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap result = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap(this); int from_bitField0_ = bitField0_; result.mapField_ = internalGetMapField(); result.mapField_.makeImmutable(); onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( shade.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( shade.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(shade.protobuf.Message other) { if (other instanceof com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap) { return mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap other) { if (other == com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap.getDefaultInstance()) return this; internalGetMutableMapField().mergeFrom( other.internalGetMapField()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (shade.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private shade.protobuf.MapField< java.lang.Long, java.lang.Integer> mapField_; private shade.protobuf.MapField internalGetMapField() { if (mapField_ == null) { return shade.protobuf.MapField.emptyMapField( MapFieldDefaultEntryHolder.defaultEntry); } return mapField_; } private shade.protobuf.MapField internalGetMutableMapField() { onChanged();; if (mapField_ == null) { mapField_ = shade.protobuf.MapField.newMapField( MapFieldDefaultEntryHolder.defaultEntry); } if (!mapField_.isMutable()) { mapField_ = mapField_.copy(); } return mapField_; } public int getMapFieldCount() { return internalGetMapField().getMap().size(); } /** * map<int64, int32> map_field = 1; */ public boolean containsMapField( long key) { return internalGetMapField().getMap().containsKey(key); } /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated public java.util.Map getMapField() { return getMapFieldMap(); } /** * map<int64, int32> map_field = 1; */ public java.util.Map getMapFieldMap() { return internalGetMapField().getMap(); } /** * map<int64, int32> map_field = 1; */ public int getMapFieldOrDefault( long key, int defaultValue) { java.util.Map map = internalGetMapField().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<int64, int32> map_field = 1; */ public int getMapFieldOrThrow( long key) { java.util.Map map = internalGetMapField().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMapField() { internalGetMutableMapField().getMutableMap() .clear(); return this; } /** * map<int64, int32> map_field = 1; */ public Builder removeMapField( long key) { internalGetMutableMapField().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMapField() { return internalGetMutableMapField().getMutableMap(); } /** * map<int64, int32> map_field = 1; */ public Builder putMapField( long key, int value) { internalGetMutableMapField().getMutableMap() .put(key, value); return this; } /** * map<int64, int32> map_field = 1; */ public Builder putAllMapField( java.util.Map values) { internalGetMutableMapField().getMutableMap() .putAll(values); return this; } @java.lang.Override public final Builder setUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:LongIntMap) } // @@protoc_insertion_point(class_scope:LongIntMap) private static final com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap(); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap getDefaultInstance() { return DEFAULT_INSTANCE; } private static final shade.protobuf.Parser PARSER = new shade.protobuf.AbstractParser() { @java.lang.Override public LongIntMap parsePartialFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return new LongIntMap(input, extensionRegistry); } }; public static shade.protobuf.Parser parser() { return PARSER; } @java.lang.Override public shade.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface LongLongMapOrBuilder extends // @@protoc_insertion_point(interface_extends:LongLongMap) shade.protobuf.MessageOrBuilder { /** * map<int64, int64> map_field = 1; */ int getMapFieldCount(); /** * map<int64, int64> map_field = 1; */ boolean containsMapField( long key); /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated java.util.Map getMapField(); /** * map<int64, int64> map_field = 1; */ java.util.Map getMapFieldMap(); /** * map<int64, int64> map_field = 1; */ long getMapFieldOrDefault( long key, long defaultValue); /** * map<int64, int64> map_field = 1; */ long getMapFieldOrThrow( long key); } /** * Protobuf type {@code LongLongMap} */ public static final class LongLongMap extends shade.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:LongLongMap) LongLongMapOrBuilder { private static final long serialVersionUID = 0L; // Use LongLongMap.newBuilder() to construct. private LongLongMap(shade.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LongLongMap() { } @java.lang.Override public final shade.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private LongLongMap( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; shade.protobuf.UnknownFieldSet.Builder unknownFields = shade.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { mapField_ = shade.protobuf.MapField.newMapField( MapFieldDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } shade.protobuf.MapEntry mapField__ = input.readMessage( MapFieldDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); mapField_.getMutableMap().put( mapField__.getKey(), mapField__.getValue()); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (shade.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new shade.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongLongMap_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongLongMap_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap.Builder.class); } public static final int MAP_FIELD_FIELD_NUMBER = 1; private static final class MapFieldDefaultEntryHolder { static final shade.protobuf.MapEntry< java.lang.Long, java.lang.Long> defaultEntry = shade.protobuf.MapEntry .newDefaultInstance( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongLongMap_MapFieldEntry_descriptor, shade.protobuf.WireFormat.FieldType.INT64, 0L, shade.protobuf.WireFormat.FieldType.INT64, 0L); } private shade.protobuf.MapField< java.lang.Long, java.lang.Long> mapField_; private shade.protobuf.MapField internalGetMapField() { if (mapField_ == null) { return shade.protobuf.MapField.emptyMapField( MapFieldDefaultEntryHolder.defaultEntry); } return mapField_; } public int getMapFieldCount() { return internalGetMapField().getMap().size(); } /** * map<int64, int64> map_field = 1; */ public boolean containsMapField( long key) { return internalGetMapField().getMap().containsKey(key); } /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated public java.util.Map getMapField() { return getMapFieldMap(); } /** * map<int64, int64> map_field = 1; */ public java.util.Map getMapFieldMap() { return internalGetMapField().getMap(); } /** * map<int64, int64> map_field = 1; */ public long getMapFieldOrDefault( long key, long defaultValue) { java.util.Map map = internalGetMapField().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<int64, int64> map_field = 1; */ public long getMapFieldOrThrow( long key) { java.util.Map map = internalGetMapField().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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(shade.protobuf.CodedOutputStream output) throws java.io.IOException { shade.protobuf.GeneratedMessageV3 .serializeLongMapTo( output, internalGetMapField(), MapFieldDefaultEntryHolder.defaultEntry, 1); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (java.util.Map.Entry entry : internalGetMapField().getMap().entrySet()) { shade.protobuf.MapEntry mapField__ = MapFieldDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += shade.protobuf.CodedOutputStream .computeMessageSize(1, mapField__); } 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 com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap)) { return super.equals(obj); } com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap other = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap) obj; boolean result = true; result = result && internalGetMapField().equals( other.internalGetMapField()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (!internalGetMapField().getMap().isEmpty()) { hash = (37 * hash) + MAP_FIELD_FIELD_NUMBER; hash = (53 * hash) + internalGetMapField().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap parseFrom( java.nio.ByteBuffer data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap parseFrom( java.nio.ByteBuffer data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap parseFrom( shade.protobuf.ByteString data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap parseFrom( shade.protobuf.ByteString data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap parseFrom(byte[] data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap parseFrom( byte[] data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap parseFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap parseFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap parseDelimitedFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap parseFrom( shade.protobuf.CodedInputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap parseFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.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(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap 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( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code LongLongMap} */ public static final class Builder extends shade.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:LongLongMap) com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMapOrBuilder { public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongLongMap_descriptor; } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 1: return internalGetMutableMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongLongMap_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap.Builder.class); } // Construct using com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (shade.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); internalGetMutableMapField().clear(); return this; } @java.lang.Override public shade.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongLongMap_descriptor; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap getDefaultInstanceForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap.getDefaultInstance(); } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap build() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap buildPartial() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap result = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap(this); int from_bitField0_ = bitField0_; result.mapField_ = internalGetMapField(); result.mapField_.makeImmutable(); onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( shade.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( shade.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(shade.protobuf.Message other) { if (other instanceof com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap) { return mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap other) { if (other == com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap.getDefaultInstance()) return this; internalGetMutableMapField().mergeFrom( other.internalGetMapField()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (shade.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private shade.protobuf.MapField< java.lang.Long, java.lang.Long> mapField_; private shade.protobuf.MapField internalGetMapField() { if (mapField_ == null) { return shade.protobuf.MapField.emptyMapField( MapFieldDefaultEntryHolder.defaultEntry); } return mapField_; } private shade.protobuf.MapField internalGetMutableMapField() { onChanged();; if (mapField_ == null) { mapField_ = shade.protobuf.MapField.newMapField( MapFieldDefaultEntryHolder.defaultEntry); } if (!mapField_.isMutable()) { mapField_ = mapField_.copy(); } return mapField_; } public int getMapFieldCount() { return internalGetMapField().getMap().size(); } /** * map<int64, int64> map_field = 1; */ public boolean containsMapField( long key) { return internalGetMapField().getMap().containsKey(key); } /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated public java.util.Map getMapField() { return getMapFieldMap(); } /** * map<int64, int64> map_field = 1; */ public java.util.Map getMapFieldMap() { return internalGetMapField().getMap(); } /** * map<int64, int64> map_field = 1; */ public long getMapFieldOrDefault( long key, long defaultValue) { java.util.Map map = internalGetMapField().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<int64, int64> map_field = 1; */ public long getMapFieldOrThrow( long key) { java.util.Map map = internalGetMapField().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMapField() { internalGetMutableMapField().getMutableMap() .clear(); return this; } /** * map<int64, int64> map_field = 1; */ public Builder removeMapField( long key) { internalGetMutableMapField().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMapField() { return internalGetMutableMapField().getMutableMap(); } /** * map<int64, int64> map_field = 1; */ public Builder putMapField( long key, long value) { internalGetMutableMapField().getMutableMap() .put(key, value); return this; } /** * map<int64, int64> map_field = 1; */ public Builder putAllMapField( java.util.Map values) { internalGetMutableMapField().getMutableMap() .putAll(values); return this; } @java.lang.Override public final Builder setUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:LongLongMap) } // @@protoc_insertion_point(class_scope:LongLongMap) private static final com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap(); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap getDefaultInstance() { return DEFAULT_INSTANCE; } private static final shade.protobuf.Parser PARSER = new shade.protobuf.AbstractParser() { @java.lang.Override public LongLongMap parsePartialFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return new LongLongMap(input, extensionRegistry); } }; public static shade.protobuf.Parser parser() { return PARSER; } @java.lang.Override public shade.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface LongFloatMapOrBuilder extends // @@protoc_insertion_point(interface_extends:LongFloatMap) shade.protobuf.MessageOrBuilder { /** * map<int64, float> map_field = 1; */ int getMapFieldCount(); /** * map<int64, float> map_field = 1; */ boolean containsMapField( long key); /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated java.util.Map getMapField(); /** * map<int64, float> map_field = 1; */ java.util.Map getMapFieldMap(); /** * map<int64, float> map_field = 1; */ float getMapFieldOrDefault( long key, float defaultValue); /** * map<int64, float> map_field = 1; */ float getMapFieldOrThrow( long key); } /** * Protobuf type {@code LongFloatMap} */ public static final class LongFloatMap extends shade.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:LongFloatMap) LongFloatMapOrBuilder { private static final long serialVersionUID = 0L; // Use LongFloatMap.newBuilder() to construct. private LongFloatMap(shade.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LongFloatMap() { } @java.lang.Override public final shade.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private LongFloatMap( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; shade.protobuf.UnknownFieldSet.Builder unknownFields = shade.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { mapField_ = shade.protobuf.MapField.newMapField( MapFieldDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } shade.protobuf.MapEntry mapField__ = input.readMessage( MapFieldDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); mapField_.getMutableMap().put( mapField__.getKey(), mapField__.getValue()); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (shade.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new shade.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongFloatMap_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongFloatMap_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap.Builder.class); } public static final int MAP_FIELD_FIELD_NUMBER = 1; private static final class MapFieldDefaultEntryHolder { static final shade.protobuf.MapEntry< java.lang.Long, java.lang.Float> defaultEntry = shade.protobuf.MapEntry .newDefaultInstance( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongFloatMap_MapFieldEntry_descriptor, shade.protobuf.WireFormat.FieldType.INT64, 0L, shade.protobuf.WireFormat.FieldType.FLOAT, 0F); } private shade.protobuf.MapField< java.lang.Long, java.lang.Float> mapField_; private shade.protobuf.MapField internalGetMapField() { if (mapField_ == null) { return shade.protobuf.MapField.emptyMapField( MapFieldDefaultEntryHolder.defaultEntry); } return mapField_; } public int getMapFieldCount() { return internalGetMapField().getMap().size(); } /** * map<int64, float> map_field = 1; */ public boolean containsMapField( long key) { return internalGetMapField().getMap().containsKey(key); } /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated public java.util.Map getMapField() { return getMapFieldMap(); } /** * map<int64, float> map_field = 1; */ public java.util.Map getMapFieldMap() { return internalGetMapField().getMap(); } /** * map<int64, float> map_field = 1; */ public float getMapFieldOrDefault( long key, float defaultValue) { java.util.Map map = internalGetMapField().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<int64, float> map_field = 1; */ public float getMapFieldOrThrow( long key) { java.util.Map map = internalGetMapField().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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(shade.protobuf.CodedOutputStream output) throws java.io.IOException { shade.protobuf.GeneratedMessageV3 .serializeLongMapTo( output, internalGetMapField(), MapFieldDefaultEntryHolder.defaultEntry, 1); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (java.util.Map.Entry entry : internalGetMapField().getMap().entrySet()) { shade.protobuf.MapEntry mapField__ = MapFieldDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += shade.protobuf.CodedOutputStream .computeMessageSize(1, mapField__); } 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 com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap)) { return super.equals(obj); } com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap other = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap) obj; boolean result = true; result = result && internalGetMapField().equals( other.internalGetMapField()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (!internalGetMapField().getMap().isEmpty()) { hash = (37 * hash) + MAP_FIELD_FIELD_NUMBER; hash = (53 * hash) + internalGetMapField().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap parseFrom( java.nio.ByteBuffer data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap parseFrom( java.nio.ByteBuffer data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap parseFrom( shade.protobuf.ByteString data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap parseFrom( shade.protobuf.ByteString data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap parseFrom(byte[] data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap parseFrom( byte[] data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap parseFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap parseFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap parseDelimitedFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap parseFrom( shade.protobuf.CodedInputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap parseFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.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(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap 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( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code LongFloatMap} */ public static final class Builder extends shade.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:LongFloatMap) com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMapOrBuilder { public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongFloatMap_descriptor; } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 1: return internalGetMutableMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongFloatMap_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap.Builder.class); } // Construct using com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (shade.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); internalGetMutableMapField().clear(); return this; } @java.lang.Override public shade.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongFloatMap_descriptor; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap getDefaultInstanceForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap.getDefaultInstance(); } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap build() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap buildPartial() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap result = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap(this); int from_bitField0_ = bitField0_; result.mapField_ = internalGetMapField(); result.mapField_.makeImmutable(); onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( shade.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( shade.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(shade.protobuf.Message other) { if (other instanceof com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap) { return mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap other) { if (other == com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap.getDefaultInstance()) return this; internalGetMutableMapField().mergeFrom( other.internalGetMapField()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (shade.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private shade.protobuf.MapField< java.lang.Long, java.lang.Float> mapField_; private shade.protobuf.MapField internalGetMapField() { if (mapField_ == null) { return shade.protobuf.MapField.emptyMapField( MapFieldDefaultEntryHolder.defaultEntry); } return mapField_; } private shade.protobuf.MapField internalGetMutableMapField() { onChanged();; if (mapField_ == null) { mapField_ = shade.protobuf.MapField.newMapField( MapFieldDefaultEntryHolder.defaultEntry); } if (!mapField_.isMutable()) { mapField_ = mapField_.copy(); } return mapField_; } public int getMapFieldCount() { return internalGetMapField().getMap().size(); } /** * map<int64, float> map_field = 1; */ public boolean containsMapField( long key) { return internalGetMapField().getMap().containsKey(key); } /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated public java.util.Map getMapField() { return getMapFieldMap(); } /** * map<int64, float> map_field = 1; */ public java.util.Map getMapFieldMap() { return internalGetMapField().getMap(); } /** * map<int64, float> map_field = 1; */ public float getMapFieldOrDefault( long key, float defaultValue) { java.util.Map map = internalGetMapField().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<int64, float> map_field = 1; */ public float getMapFieldOrThrow( long key) { java.util.Map map = internalGetMapField().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMapField() { internalGetMutableMapField().getMutableMap() .clear(); return this; } /** * map<int64, float> map_field = 1; */ public Builder removeMapField( long key) { internalGetMutableMapField().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMapField() { return internalGetMutableMapField().getMutableMap(); } /** * map<int64, float> map_field = 1; */ public Builder putMapField( long key, float value) { internalGetMutableMapField().getMutableMap() .put(key, value); return this; } /** * map<int64, float> map_field = 1; */ public Builder putAllMapField( java.util.Map values) { internalGetMutableMapField().getMutableMap() .putAll(values); return this; } @java.lang.Override public final Builder setUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:LongFloatMap) } // @@protoc_insertion_point(class_scope:LongFloatMap) private static final com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap(); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap getDefaultInstance() { return DEFAULT_INSTANCE; } private static final shade.protobuf.Parser PARSER = new shade.protobuf.AbstractParser() { @java.lang.Override public LongFloatMap parsePartialFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return new LongFloatMap(input, extensionRegistry); } }; public static shade.protobuf.Parser parser() { return PARSER; } @java.lang.Override public shade.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface LongDoubleMapOrBuilder extends // @@protoc_insertion_point(interface_extends:LongDoubleMap) shade.protobuf.MessageOrBuilder { /** * map<int64, double> map_field = 1; */ int getMapFieldCount(); /** * map<int64, double> map_field = 1; */ boolean containsMapField( long key); /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated java.util.Map getMapField(); /** * map<int64, double> map_field = 1; */ java.util.Map getMapFieldMap(); /** * map<int64, double> map_field = 1; */ double getMapFieldOrDefault( long key, double defaultValue); /** * map<int64, double> map_field = 1; */ double getMapFieldOrThrow( long key); } /** * Protobuf type {@code LongDoubleMap} */ public static final class LongDoubleMap extends shade.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:LongDoubleMap) LongDoubleMapOrBuilder { private static final long serialVersionUID = 0L; // Use LongDoubleMap.newBuilder() to construct. private LongDoubleMap(shade.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LongDoubleMap() { } @java.lang.Override public final shade.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private LongDoubleMap( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; shade.protobuf.UnknownFieldSet.Builder unknownFields = shade.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { mapField_ = shade.protobuf.MapField.newMapField( MapFieldDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } shade.protobuf.MapEntry mapField__ = input.readMessage( MapFieldDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); mapField_.getMutableMap().put( mapField__.getKey(), mapField__.getValue()); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (shade.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new shade.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongDoubleMap_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongDoubleMap_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap.Builder.class); } public static final int MAP_FIELD_FIELD_NUMBER = 1; private static final class MapFieldDefaultEntryHolder { static final shade.protobuf.MapEntry< java.lang.Long, java.lang.Double> defaultEntry = shade.protobuf.MapEntry .newDefaultInstance( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongDoubleMap_MapFieldEntry_descriptor, shade.protobuf.WireFormat.FieldType.INT64, 0L, shade.protobuf.WireFormat.FieldType.DOUBLE, 0D); } private shade.protobuf.MapField< java.lang.Long, java.lang.Double> mapField_; private shade.protobuf.MapField internalGetMapField() { if (mapField_ == null) { return shade.protobuf.MapField.emptyMapField( MapFieldDefaultEntryHolder.defaultEntry); } return mapField_; } public int getMapFieldCount() { return internalGetMapField().getMap().size(); } /** * map<int64, double> map_field = 1; */ public boolean containsMapField( long key) { return internalGetMapField().getMap().containsKey(key); } /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated public java.util.Map getMapField() { return getMapFieldMap(); } /** * map<int64, double> map_field = 1; */ public java.util.Map getMapFieldMap() { return internalGetMapField().getMap(); } /** * map<int64, double> map_field = 1; */ public double getMapFieldOrDefault( long key, double defaultValue) { java.util.Map map = internalGetMapField().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<int64, double> map_field = 1; */ public double getMapFieldOrThrow( long key) { java.util.Map map = internalGetMapField().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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(shade.protobuf.CodedOutputStream output) throws java.io.IOException { shade.protobuf.GeneratedMessageV3 .serializeLongMapTo( output, internalGetMapField(), MapFieldDefaultEntryHolder.defaultEntry, 1); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (java.util.Map.Entry entry : internalGetMapField().getMap().entrySet()) { shade.protobuf.MapEntry mapField__ = MapFieldDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += shade.protobuf.CodedOutputStream .computeMessageSize(1, mapField__); } 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 com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap)) { return super.equals(obj); } com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap other = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap) obj; boolean result = true; result = result && internalGetMapField().equals( other.internalGetMapField()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (!internalGetMapField().getMap().isEmpty()) { hash = (37 * hash) + MAP_FIELD_FIELD_NUMBER; hash = (53 * hash) + internalGetMapField().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap parseFrom( java.nio.ByteBuffer data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap parseFrom( java.nio.ByteBuffer data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap parseFrom( shade.protobuf.ByteString data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap parseFrom( shade.protobuf.ByteString data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap parseFrom(byte[] data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap parseFrom( byte[] data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap parseFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap parseFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap parseDelimitedFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap parseFrom( shade.protobuf.CodedInputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap parseFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.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(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap 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( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code LongDoubleMap} */ public static final class Builder extends shade.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:LongDoubleMap) com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMapOrBuilder { public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongDoubleMap_descriptor; } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 1: return internalGetMutableMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongDoubleMap_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap.Builder.class); } // Construct using com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (shade.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); internalGetMutableMapField().clear(); return this; } @java.lang.Override public shade.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongDoubleMap_descriptor; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap getDefaultInstanceForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap.getDefaultInstance(); } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap build() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap buildPartial() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap result = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap(this); int from_bitField0_ = bitField0_; result.mapField_ = internalGetMapField(); result.mapField_.makeImmutable(); onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( shade.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( shade.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(shade.protobuf.Message other) { if (other instanceof com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap) { return mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap other) { if (other == com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap.getDefaultInstance()) return this; internalGetMutableMapField().mergeFrom( other.internalGetMapField()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (shade.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private shade.protobuf.MapField< java.lang.Long, java.lang.Double> mapField_; private shade.protobuf.MapField internalGetMapField() { if (mapField_ == null) { return shade.protobuf.MapField.emptyMapField( MapFieldDefaultEntryHolder.defaultEntry); } return mapField_; } private shade.protobuf.MapField internalGetMutableMapField() { onChanged();; if (mapField_ == null) { mapField_ = shade.protobuf.MapField.newMapField( MapFieldDefaultEntryHolder.defaultEntry); } if (!mapField_.isMutable()) { mapField_ = mapField_.copy(); } return mapField_; } public int getMapFieldCount() { return internalGetMapField().getMap().size(); } /** * map<int64, double> map_field = 1; */ public boolean containsMapField( long key) { return internalGetMapField().getMap().containsKey(key); } /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated public java.util.Map getMapField() { return getMapFieldMap(); } /** * map<int64, double> map_field = 1; */ public java.util.Map getMapFieldMap() { return internalGetMapField().getMap(); } /** * map<int64, double> map_field = 1; */ public double getMapFieldOrDefault( long key, double defaultValue) { java.util.Map map = internalGetMapField().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<int64, double> map_field = 1; */ public double getMapFieldOrThrow( long key) { java.util.Map map = internalGetMapField().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMapField() { internalGetMutableMapField().getMutableMap() .clear(); return this; } /** * map<int64, double> map_field = 1; */ public Builder removeMapField( long key) { internalGetMutableMapField().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMapField() { return internalGetMutableMapField().getMutableMap(); } /** * map<int64, double> map_field = 1; */ public Builder putMapField( long key, double value) { internalGetMutableMapField().getMutableMap() .put(key, value); return this; } /** * map<int64, double> map_field = 1; */ public Builder putAllMapField( java.util.Map values) { internalGetMutableMapField().getMutableMap() .putAll(values); return this; } @java.lang.Override public final Builder setUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:LongDoubleMap) } // @@protoc_insertion_point(class_scope:LongDoubleMap) private static final com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap(); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap getDefaultInstance() { return DEFAULT_INSTANCE; } private static final shade.protobuf.Parser PARSER = new shade.protobuf.AbstractParser() { @java.lang.Override public LongDoubleMap parsePartialFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return new LongDoubleMap(input, extensionRegistry); } }; public static shade.protobuf.Parser parser() { return PARSER; } @java.lang.Override public shade.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StringStringMapOrBuilder extends // @@protoc_insertion_point(interface_extends:StringStringMap) shade.protobuf.MessageOrBuilder { /** * map<string, string> map_field = 1; */ int getMapFieldCount(); /** * map<string, string> map_field = 1; */ boolean containsMapField( java.lang.String key); /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated java.util.Map getMapField(); /** * map<string, string> map_field = 1; */ java.util.Map getMapFieldMap(); /** * map<string, string> map_field = 1; */ java.lang.String getMapFieldOrDefault( java.lang.String key, java.lang.String defaultValue); /** * map<string, string> map_field = 1; */ java.lang.String getMapFieldOrThrow( java.lang.String key); } /** *
     *string->others
     * 
* * Protobuf type {@code StringStringMap} */ public static final class StringStringMap extends shade.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:StringStringMap) StringStringMapOrBuilder { private static final long serialVersionUID = 0L; // Use StringStringMap.newBuilder() to construct. private StringStringMap(shade.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StringStringMap() { } @java.lang.Override public final shade.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StringStringMap( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; shade.protobuf.UnknownFieldSet.Builder unknownFields = shade.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { mapField_ = shade.protobuf.MapField.newMapField( MapFieldDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } shade.protobuf.MapEntry mapField__ = input.readMessage( MapFieldDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); mapField_.getMutableMap().put( mapField__.getKey(), mapField__.getValue()); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (shade.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new shade.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringStringMap_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringStringMap_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap.Builder.class); } public static final int MAP_FIELD_FIELD_NUMBER = 1; private static final class MapFieldDefaultEntryHolder { static final shade.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = shade.protobuf.MapEntry .newDefaultInstance( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringStringMap_MapFieldEntry_descriptor, shade.protobuf.WireFormat.FieldType.STRING, "", shade.protobuf.WireFormat.FieldType.STRING, ""); } private shade.protobuf.MapField< java.lang.String, java.lang.String> mapField_; private shade.protobuf.MapField internalGetMapField() { if (mapField_ == null) { return shade.protobuf.MapField.emptyMapField( MapFieldDefaultEntryHolder.defaultEntry); } return mapField_; } public int getMapFieldCount() { return internalGetMapField().getMap().size(); } /** * map<string, string> map_field = 1; */ public boolean containsMapField( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetMapField().getMap().containsKey(key); } /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated public java.util.Map getMapField() { return getMapFieldMap(); } /** * map<string, string> map_field = 1; */ public java.util.Map getMapFieldMap() { return internalGetMapField().getMap(); } /** * map<string, string> map_field = 1; */ public java.lang.String getMapFieldOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMapField().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> map_field = 1; */ public java.lang.String getMapFieldOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMapField().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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(shade.protobuf.CodedOutputStream output) throws java.io.IOException { shade.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMapField(), MapFieldDefaultEntryHolder.defaultEntry, 1); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (java.util.Map.Entry entry : internalGetMapField().getMap().entrySet()) { shade.protobuf.MapEntry mapField__ = MapFieldDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += shade.protobuf.CodedOutputStream .computeMessageSize(1, mapField__); } 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 com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap)) { return super.equals(obj); } com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap other = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap) obj; boolean result = true; result = result && internalGetMapField().equals( other.internalGetMapField()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (!internalGetMapField().getMap().isEmpty()) { hash = (37 * hash) + MAP_FIELD_FIELD_NUMBER; hash = (53 * hash) + internalGetMapField().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap parseFrom( java.nio.ByteBuffer data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap parseFrom( java.nio.ByteBuffer data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap parseFrom( shade.protobuf.ByteString data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap parseFrom( shade.protobuf.ByteString data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap parseFrom(byte[] data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap parseFrom( byte[] data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap parseFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap parseFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap parseDelimitedFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap parseFrom( shade.protobuf.CodedInputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap parseFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.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(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap 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( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
         *string->others
         * 
* * Protobuf type {@code StringStringMap} */ public static final class Builder extends shade.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:StringStringMap) com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMapOrBuilder { public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringStringMap_descriptor; } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 1: return internalGetMutableMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringStringMap_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap.Builder.class); } // Construct using com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (shade.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); internalGetMutableMapField().clear(); return this; } @java.lang.Override public shade.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringStringMap_descriptor; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap getDefaultInstanceForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap.getDefaultInstance(); } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap build() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap buildPartial() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap result = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap(this); int from_bitField0_ = bitField0_; result.mapField_ = internalGetMapField(); result.mapField_.makeImmutable(); onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( shade.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( shade.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(shade.protobuf.Message other) { if (other instanceof com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap) { return mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap other) { if (other == com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap.getDefaultInstance()) return this; internalGetMutableMapField().mergeFrom( other.internalGetMapField()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (shade.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private shade.protobuf.MapField< java.lang.String, java.lang.String> mapField_; private shade.protobuf.MapField internalGetMapField() { if (mapField_ == null) { return shade.protobuf.MapField.emptyMapField( MapFieldDefaultEntryHolder.defaultEntry); } return mapField_; } private shade.protobuf.MapField internalGetMutableMapField() { onChanged();; if (mapField_ == null) { mapField_ = shade.protobuf.MapField.newMapField( MapFieldDefaultEntryHolder.defaultEntry); } if (!mapField_.isMutable()) { mapField_ = mapField_.copy(); } return mapField_; } public int getMapFieldCount() { return internalGetMapField().getMap().size(); } /** * map<string, string> map_field = 1; */ public boolean containsMapField( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetMapField().getMap().containsKey(key); } /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated public java.util.Map getMapField() { return getMapFieldMap(); } /** * map<string, string> map_field = 1; */ public java.util.Map getMapFieldMap() { return internalGetMapField().getMap(); } /** * map<string, string> map_field = 1; */ public java.lang.String getMapFieldOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMapField().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> map_field = 1; */ public java.lang.String getMapFieldOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMapField().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMapField() { internalGetMutableMapField().getMutableMap() .clear(); return this; } /** * map<string, string> map_field = 1; */ public Builder removeMapField( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableMapField().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMapField() { return internalGetMutableMapField().getMutableMap(); } /** * map<string, string> map_field = 1; */ public Builder putMapField( java.lang.String key, java.lang.String value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableMapField().getMutableMap() .put(key, value); return this; } /** * map<string, string> map_field = 1; */ public Builder putAllMapField( java.util.Map values) { internalGetMutableMapField().getMutableMap() .putAll(values); return this; } @java.lang.Override public final Builder setUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:StringStringMap) } // @@protoc_insertion_point(class_scope:StringStringMap) private static final com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap(); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap getDefaultInstance() { return DEFAULT_INSTANCE; } private static final shade.protobuf.Parser PARSER = new shade.protobuf.AbstractParser() { @java.lang.Override public StringStringMap parsePartialFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return new StringStringMap(input, extensionRegistry); } }; public static shade.protobuf.Parser parser() { return PARSER; } @java.lang.Override public shade.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StringIntMapOrBuilder extends // @@protoc_insertion_point(interface_extends:StringIntMap) shade.protobuf.MessageOrBuilder { /** * map<string, int32> map_field = 1; */ int getMapFieldCount(); /** * map<string, int32> map_field = 1; */ boolean containsMapField( java.lang.String key); /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated java.util.Map getMapField(); /** * map<string, int32> map_field = 1; */ java.util.Map getMapFieldMap(); /** * map<string, int32> map_field = 1; */ int getMapFieldOrDefault( java.lang.String key, int defaultValue); /** * map<string, int32> map_field = 1; */ int getMapFieldOrThrow( java.lang.String key); } /** * Protobuf type {@code StringIntMap} */ public static final class StringIntMap extends shade.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:StringIntMap) StringIntMapOrBuilder { private static final long serialVersionUID = 0L; // Use StringIntMap.newBuilder() to construct. private StringIntMap(shade.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StringIntMap() { } @java.lang.Override public final shade.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StringIntMap( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; shade.protobuf.UnknownFieldSet.Builder unknownFields = shade.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { mapField_ = shade.protobuf.MapField.newMapField( MapFieldDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } shade.protobuf.MapEntry mapField__ = input.readMessage( MapFieldDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); mapField_.getMutableMap().put( mapField__.getKey(), mapField__.getValue()); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (shade.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new shade.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringIntMap_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringIntMap_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap.Builder.class); } public static final int MAP_FIELD_FIELD_NUMBER = 1; private static final class MapFieldDefaultEntryHolder { static final shade.protobuf.MapEntry< java.lang.String, java.lang.Integer> defaultEntry = shade.protobuf.MapEntry .newDefaultInstance( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringIntMap_MapFieldEntry_descriptor, shade.protobuf.WireFormat.FieldType.STRING, "", shade.protobuf.WireFormat.FieldType.INT32, 0); } private shade.protobuf.MapField< java.lang.String, java.lang.Integer> mapField_; private shade.protobuf.MapField internalGetMapField() { if (mapField_ == null) { return shade.protobuf.MapField.emptyMapField( MapFieldDefaultEntryHolder.defaultEntry); } return mapField_; } public int getMapFieldCount() { return internalGetMapField().getMap().size(); } /** * map<string, int32> map_field = 1; */ public boolean containsMapField( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetMapField().getMap().containsKey(key); } /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated public java.util.Map getMapField() { return getMapFieldMap(); } /** * map<string, int32> map_field = 1; */ public java.util.Map getMapFieldMap() { return internalGetMapField().getMap(); } /** * map<string, int32> map_field = 1; */ public int getMapFieldOrDefault( java.lang.String key, int defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMapField().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, int32> map_field = 1; */ public int getMapFieldOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMapField().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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(shade.protobuf.CodedOutputStream output) throws java.io.IOException { shade.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMapField(), MapFieldDefaultEntryHolder.defaultEntry, 1); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (java.util.Map.Entry entry : internalGetMapField().getMap().entrySet()) { shade.protobuf.MapEntry mapField__ = MapFieldDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += shade.protobuf.CodedOutputStream .computeMessageSize(1, mapField__); } 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 com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap)) { return super.equals(obj); } com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap other = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap) obj; boolean result = true; result = result && internalGetMapField().equals( other.internalGetMapField()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (!internalGetMapField().getMap().isEmpty()) { hash = (37 * hash) + MAP_FIELD_FIELD_NUMBER; hash = (53 * hash) + internalGetMapField().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap parseFrom( java.nio.ByteBuffer data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap parseFrom( java.nio.ByteBuffer data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap parseFrom( shade.protobuf.ByteString data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap parseFrom( shade.protobuf.ByteString data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap parseFrom(byte[] data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap parseFrom( byte[] data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap parseFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap parseFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap parseDelimitedFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap parseFrom( shade.protobuf.CodedInputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap parseFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.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(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap 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( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code StringIntMap} */ public static final class Builder extends shade.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:StringIntMap) com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMapOrBuilder { public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringIntMap_descriptor; } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 1: return internalGetMutableMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringIntMap_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap.Builder.class); } // Construct using com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (shade.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); internalGetMutableMapField().clear(); return this; } @java.lang.Override public shade.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringIntMap_descriptor; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap getDefaultInstanceForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap.getDefaultInstance(); } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap build() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap buildPartial() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap result = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap(this); int from_bitField0_ = bitField0_; result.mapField_ = internalGetMapField(); result.mapField_.makeImmutable(); onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( shade.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( shade.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(shade.protobuf.Message other) { if (other instanceof com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap) { return mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap other) { if (other == com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap.getDefaultInstance()) return this; internalGetMutableMapField().mergeFrom( other.internalGetMapField()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (shade.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private shade.protobuf.MapField< java.lang.String, java.lang.Integer> mapField_; private shade.protobuf.MapField internalGetMapField() { if (mapField_ == null) { return shade.protobuf.MapField.emptyMapField( MapFieldDefaultEntryHolder.defaultEntry); } return mapField_; } private shade.protobuf.MapField internalGetMutableMapField() { onChanged();; if (mapField_ == null) { mapField_ = shade.protobuf.MapField.newMapField( MapFieldDefaultEntryHolder.defaultEntry); } if (!mapField_.isMutable()) { mapField_ = mapField_.copy(); } return mapField_; } public int getMapFieldCount() { return internalGetMapField().getMap().size(); } /** * map<string, int32> map_field = 1; */ public boolean containsMapField( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetMapField().getMap().containsKey(key); } /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated public java.util.Map getMapField() { return getMapFieldMap(); } /** * map<string, int32> map_field = 1; */ public java.util.Map getMapFieldMap() { return internalGetMapField().getMap(); } /** * map<string, int32> map_field = 1; */ public int getMapFieldOrDefault( java.lang.String key, int defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMapField().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, int32> map_field = 1; */ public int getMapFieldOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMapField().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMapField() { internalGetMutableMapField().getMutableMap() .clear(); return this; } /** * map<string, int32> map_field = 1; */ public Builder removeMapField( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableMapField().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMapField() { return internalGetMutableMapField().getMutableMap(); } /** * map<string, int32> map_field = 1; */ public Builder putMapField( java.lang.String key, int value) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableMapField().getMutableMap() .put(key, value); return this; } /** * map<string, int32> map_field = 1; */ public Builder putAllMapField( java.util.Map values) { internalGetMutableMapField().getMutableMap() .putAll(values); return this; } @java.lang.Override public final Builder setUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:StringIntMap) } // @@protoc_insertion_point(class_scope:StringIntMap) private static final com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap(); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap getDefaultInstance() { return DEFAULT_INSTANCE; } private static final shade.protobuf.Parser PARSER = new shade.protobuf.AbstractParser() { @java.lang.Override public StringIntMap parsePartialFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return new StringIntMap(input, extensionRegistry); } }; public static shade.protobuf.Parser parser() { return PARSER; } @java.lang.Override public shade.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StringLongMapOrBuilder extends // @@protoc_insertion_point(interface_extends:StringLongMap) shade.protobuf.MessageOrBuilder { /** * map<string, int64> map_field = 1; */ int getMapFieldCount(); /** * map<string, int64> map_field = 1; */ boolean containsMapField( java.lang.String key); /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated java.util.Map getMapField(); /** * map<string, int64> map_field = 1; */ java.util.Map getMapFieldMap(); /** * map<string, int64> map_field = 1; */ long getMapFieldOrDefault( java.lang.String key, long defaultValue); /** * map<string, int64> map_field = 1; */ long getMapFieldOrThrow( java.lang.String key); } /** * Protobuf type {@code StringLongMap} */ public static final class StringLongMap extends shade.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:StringLongMap) StringLongMapOrBuilder { private static final long serialVersionUID = 0L; // Use StringLongMap.newBuilder() to construct. private StringLongMap(shade.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StringLongMap() { } @java.lang.Override public final shade.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StringLongMap( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; shade.protobuf.UnknownFieldSet.Builder unknownFields = shade.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { mapField_ = shade.protobuf.MapField.newMapField( MapFieldDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } shade.protobuf.MapEntry mapField__ = input.readMessage( MapFieldDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); mapField_.getMutableMap().put( mapField__.getKey(), mapField__.getValue()); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (shade.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new shade.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringLongMap_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringLongMap_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap.Builder.class); } public static final int MAP_FIELD_FIELD_NUMBER = 1; private static final class MapFieldDefaultEntryHolder { static final shade.protobuf.MapEntry< java.lang.String, java.lang.Long> defaultEntry = shade.protobuf.MapEntry .newDefaultInstance( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringLongMap_MapFieldEntry_descriptor, shade.protobuf.WireFormat.FieldType.STRING, "", shade.protobuf.WireFormat.FieldType.INT64, 0L); } private shade.protobuf.MapField< java.lang.String, java.lang.Long> mapField_; private shade.protobuf.MapField internalGetMapField() { if (mapField_ == null) { return shade.protobuf.MapField.emptyMapField( MapFieldDefaultEntryHolder.defaultEntry); } return mapField_; } public int getMapFieldCount() { return internalGetMapField().getMap().size(); } /** * map<string, int64> map_field = 1; */ public boolean containsMapField( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetMapField().getMap().containsKey(key); } /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated public java.util.Map getMapField() { return getMapFieldMap(); } /** * map<string, int64> map_field = 1; */ public java.util.Map getMapFieldMap() { return internalGetMapField().getMap(); } /** * map<string, int64> map_field = 1; */ public long getMapFieldOrDefault( java.lang.String key, long defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMapField().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, int64> map_field = 1; */ public long getMapFieldOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMapField().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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(shade.protobuf.CodedOutputStream output) throws java.io.IOException { shade.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMapField(), MapFieldDefaultEntryHolder.defaultEntry, 1); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (java.util.Map.Entry entry : internalGetMapField().getMap().entrySet()) { shade.protobuf.MapEntry mapField__ = MapFieldDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += shade.protobuf.CodedOutputStream .computeMessageSize(1, mapField__); } 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 com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap)) { return super.equals(obj); } com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap other = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap) obj; boolean result = true; result = result && internalGetMapField().equals( other.internalGetMapField()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (!internalGetMapField().getMap().isEmpty()) { hash = (37 * hash) + MAP_FIELD_FIELD_NUMBER; hash = (53 * hash) + internalGetMapField().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap parseFrom( java.nio.ByteBuffer data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap parseFrom( java.nio.ByteBuffer data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap parseFrom( shade.protobuf.ByteString data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap parseFrom( shade.protobuf.ByteString data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap parseFrom(byte[] data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap parseFrom( byte[] data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap parseFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap parseFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap parseDelimitedFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap parseFrom( shade.protobuf.CodedInputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap parseFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.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(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap 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( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code StringLongMap} */ public static final class Builder extends shade.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:StringLongMap) com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMapOrBuilder { public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringLongMap_descriptor; } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 1: return internalGetMutableMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringLongMap_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap.Builder.class); } // Construct using com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (shade.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); internalGetMutableMapField().clear(); return this; } @java.lang.Override public shade.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringLongMap_descriptor; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap getDefaultInstanceForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap.getDefaultInstance(); } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap build() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap buildPartial() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap result = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap(this); int from_bitField0_ = bitField0_; result.mapField_ = internalGetMapField(); result.mapField_.makeImmutable(); onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( shade.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( shade.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(shade.protobuf.Message other) { if (other instanceof com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap) { return mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap other) { if (other == com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap.getDefaultInstance()) return this; internalGetMutableMapField().mergeFrom( other.internalGetMapField()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (shade.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private shade.protobuf.MapField< java.lang.String, java.lang.Long> mapField_; private shade.protobuf.MapField internalGetMapField() { if (mapField_ == null) { return shade.protobuf.MapField.emptyMapField( MapFieldDefaultEntryHolder.defaultEntry); } return mapField_; } private shade.protobuf.MapField internalGetMutableMapField() { onChanged();; if (mapField_ == null) { mapField_ = shade.protobuf.MapField.newMapField( MapFieldDefaultEntryHolder.defaultEntry); } if (!mapField_.isMutable()) { mapField_ = mapField_.copy(); } return mapField_; } public int getMapFieldCount() { return internalGetMapField().getMap().size(); } /** * map<string, int64> map_field = 1; */ public boolean containsMapField( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetMapField().getMap().containsKey(key); } /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated public java.util.Map getMapField() { return getMapFieldMap(); } /** * map<string, int64> map_field = 1; */ public java.util.Map getMapFieldMap() { return internalGetMapField().getMap(); } /** * map<string, int64> map_field = 1; */ public long getMapFieldOrDefault( java.lang.String key, long defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMapField().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, int64> map_field = 1; */ public long getMapFieldOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMapField().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMapField() { internalGetMutableMapField().getMutableMap() .clear(); return this; } /** * map<string, int64> map_field = 1; */ public Builder removeMapField( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableMapField().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMapField() { return internalGetMutableMapField().getMutableMap(); } /** * map<string, int64> map_field = 1; */ public Builder putMapField( java.lang.String key, long value) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableMapField().getMutableMap() .put(key, value); return this; } /** * map<string, int64> map_field = 1; */ public Builder putAllMapField( java.util.Map values) { internalGetMutableMapField().getMutableMap() .putAll(values); return this; } @java.lang.Override public final Builder setUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:StringLongMap) } // @@protoc_insertion_point(class_scope:StringLongMap) private static final com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap(); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap getDefaultInstance() { return DEFAULT_INSTANCE; } private static final shade.protobuf.Parser PARSER = new shade.protobuf.AbstractParser() { @java.lang.Override public StringLongMap parsePartialFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return new StringLongMap(input, extensionRegistry); } }; public static shade.protobuf.Parser parser() { return PARSER; } @java.lang.Override public shade.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StringFloatMapOrBuilder extends // @@protoc_insertion_point(interface_extends:StringFloatMap) shade.protobuf.MessageOrBuilder { /** * map<string, float> map_field = 1; */ int getMapFieldCount(); /** * map<string, float> map_field = 1; */ boolean containsMapField( java.lang.String key); /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated java.util.Map getMapField(); /** * map<string, float> map_field = 1; */ java.util.Map getMapFieldMap(); /** * map<string, float> map_field = 1; */ float getMapFieldOrDefault( java.lang.String key, float defaultValue); /** * map<string, float> map_field = 1; */ float getMapFieldOrThrow( java.lang.String key); } /** * Protobuf type {@code StringFloatMap} */ public static final class StringFloatMap extends shade.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:StringFloatMap) StringFloatMapOrBuilder { private static final long serialVersionUID = 0L; // Use StringFloatMap.newBuilder() to construct. private StringFloatMap(shade.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StringFloatMap() { } @java.lang.Override public final shade.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StringFloatMap( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; shade.protobuf.UnknownFieldSet.Builder unknownFields = shade.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { mapField_ = shade.protobuf.MapField.newMapField( MapFieldDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } shade.protobuf.MapEntry mapField__ = input.readMessage( MapFieldDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); mapField_.getMutableMap().put( mapField__.getKey(), mapField__.getValue()); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (shade.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new shade.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringFloatMap_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringFloatMap_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap.Builder.class); } public static final int MAP_FIELD_FIELD_NUMBER = 1; private static final class MapFieldDefaultEntryHolder { static final shade.protobuf.MapEntry< java.lang.String, java.lang.Float> defaultEntry = shade.protobuf.MapEntry .newDefaultInstance( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringFloatMap_MapFieldEntry_descriptor, shade.protobuf.WireFormat.FieldType.STRING, "", shade.protobuf.WireFormat.FieldType.FLOAT, 0F); } private shade.protobuf.MapField< java.lang.String, java.lang.Float> mapField_; private shade.protobuf.MapField internalGetMapField() { if (mapField_ == null) { return shade.protobuf.MapField.emptyMapField( MapFieldDefaultEntryHolder.defaultEntry); } return mapField_; } public int getMapFieldCount() { return internalGetMapField().getMap().size(); } /** * map<string, float> map_field = 1; */ public boolean containsMapField( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetMapField().getMap().containsKey(key); } /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated public java.util.Map getMapField() { return getMapFieldMap(); } /** * map<string, float> map_field = 1; */ public java.util.Map getMapFieldMap() { return internalGetMapField().getMap(); } /** * map<string, float> map_field = 1; */ public float getMapFieldOrDefault( java.lang.String key, float defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMapField().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, float> map_field = 1; */ public float getMapFieldOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMapField().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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(shade.protobuf.CodedOutputStream output) throws java.io.IOException { shade.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMapField(), MapFieldDefaultEntryHolder.defaultEntry, 1); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (java.util.Map.Entry entry : internalGetMapField().getMap().entrySet()) { shade.protobuf.MapEntry mapField__ = MapFieldDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += shade.protobuf.CodedOutputStream .computeMessageSize(1, mapField__); } 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 com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap)) { return super.equals(obj); } com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap other = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap) obj; boolean result = true; result = result && internalGetMapField().equals( other.internalGetMapField()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (!internalGetMapField().getMap().isEmpty()) { hash = (37 * hash) + MAP_FIELD_FIELD_NUMBER; hash = (53 * hash) + internalGetMapField().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap parseFrom( java.nio.ByteBuffer data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap parseFrom( java.nio.ByteBuffer data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap parseFrom( shade.protobuf.ByteString data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap parseFrom( shade.protobuf.ByteString data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap parseFrom(byte[] data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap parseFrom( byte[] data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap parseFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap parseFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap parseDelimitedFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap parseFrom( shade.protobuf.CodedInputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap parseFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.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(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap 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( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code StringFloatMap} */ public static final class Builder extends shade.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:StringFloatMap) com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMapOrBuilder { public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringFloatMap_descriptor; } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 1: return internalGetMutableMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringFloatMap_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap.Builder.class); } // Construct using com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (shade.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); internalGetMutableMapField().clear(); return this; } @java.lang.Override public shade.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringFloatMap_descriptor; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap getDefaultInstanceForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap.getDefaultInstance(); } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap build() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap buildPartial() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap result = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap(this); int from_bitField0_ = bitField0_; result.mapField_ = internalGetMapField(); result.mapField_.makeImmutable(); onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( shade.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( shade.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(shade.protobuf.Message other) { if (other instanceof com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap) { return mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap other) { if (other == com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap.getDefaultInstance()) return this; internalGetMutableMapField().mergeFrom( other.internalGetMapField()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (shade.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private shade.protobuf.MapField< java.lang.String, java.lang.Float> mapField_; private shade.protobuf.MapField internalGetMapField() { if (mapField_ == null) { return shade.protobuf.MapField.emptyMapField( MapFieldDefaultEntryHolder.defaultEntry); } return mapField_; } private shade.protobuf.MapField internalGetMutableMapField() { onChanged();; if (mapField_ == null) { mapField_ = shade.protobuf.MapField.newMapField( MapFieldDefaultEntryHolder.defaultEntry); } if (!mapField_.isMutable()) { mapField_ = mapField_.copy(); } return mapField_; } public int getMapFieldCount() { return internalGetMapField().getMap().size(); } /** * map<string, float> map_field = 1; */ public boolean containsMapField( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetMapField().getMap().containsKey(key); } /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated public java.util.Map getMapField() { return getMapFieldMap(); } /** * map<string, float> map_field = 1; */ public java.util.Map getMapFieldMap() { return internalGetMapField().getMap(); } /** * map<string, float> map_field = 1; */ public float getMapFieldOrDefault( java.lang.String key, float defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMapField().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, float> map_field = 1; */ public float getMapFieldOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMapField().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMapField() { internalGetMutableMapField().getMutableMap() .clear(); return this; } /** * map<string, float> map_field = 1; */ public Builder removeMapField( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableMapField().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMapField() { return internalGetMutableMapField().getMutableMap(); } /** * map<string, float> map_field = 1; */ public Builder putMapField( java.lang.String key, float value) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableMapField().getMutableMap() .put(key, value); return this; } /** * map<string, float> map_field = 1; */ public Builder putAllMapField( java.util.Map values) { internalGetMutableMapField().getMutableMap() .putAll(values); return this; } @java.lang.Override public final Builder setUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:StringFloatMap) } // @@protoc_insertion_point(class_scope:StringFloatMap) private static final com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap(); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap getDefaultInstance() { return DEFAULT_INSTANCE; } private static final shade.protobuf.Parser PARSER = new shade.protobuf.AbstractParser() { @java.lang.Override public StringFloatMap parsePartialFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return new StringFloatMap(input, extensionRegistry); } }; public static shade.protobuf.Parser parser() { return PARSER; } @java.lang.Override public shade.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StringDoubleMapOrBuilder extends // @@protoc_insertion_point(interface_extends:StringDoubleMap) shade.protobuf.MessageOrBuilder { /** * map<string, double> map_field = 1; */ int getMapFieldCount(); /** * map<string, double> map_field = 1; */ boolean containsMapField( java.lang.String key); /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated java.util.Map getMapField(); /** * map<string, double> map_field = 1; */ java.util.Map getMapFieldMap(); /** * map<string, double> map_field = 1; */ double getMapFieldOrDefault( java.lang.String key, double defaultValue); /** * map<string, double> map_field = 1; */ double getMapFieldOrThrow( java.lang.String key); } /** * Protobuf type {@code StringDoubleMap} */ public static final class StringDoubleMap extends shade.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:StringDoubleMap) StringDoubleMapOrBuilder { private static final long serialVersionUID = 0L; // Use StringDoubleMap.newBuilder() to construct. private StringDoubleMap(shade.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StringDoubleMap() { } @java.lang.Override public final shade.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StringDoubleMap( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; shade.protobuf.UnknownFieldSet.Builder unknownFields = shade.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { mapField_ = shade.protobuf.MapField.newMapField( MapFieldDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } shade.protobuf.MapEntry mapField__ = input.readMessage( MapFieldDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); mapField_.getMutableMap().put( mapField__.getKey(), mapField__.getValue()); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (shade.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new shade.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringDoubleMap_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringDoubleMap_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap.Builder.class); } public static final int MAP_FIELD_FIELD_NUMBER = 1; private static final class MapFieldDefaultEntryHolder { static final shade.protobuf.MapEntry< java.lang.String, java.lang.Double> defaultEntry = shade.protobuf.MapEntry .newDefaultInstance( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringDoubleMap_MapFieldEntry_descriptor, shade.protobuf.WireFormat.FieldType.STRING, "", shade.protobuf.WireFormat.FieldType.DOUBLE, 0D); } private shade.protobuf.MapField< java.lang.String, java.lang.Double> mapField_; private shade.protobuf.MapField internalGetMapField() { if (mapField_ == null) { return shade.protobuf.MapField.emptyMapField( MapFieldDefaultEntryHolder.defaultEntry); } return mapField_; } public int getMapFieldCount() { return internalGetMapField().getMap().size(); } /** * map<string, double> map_field = 1; */ public boolean containsMapField( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetMapField().getMap().containsKey(key); } /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated public java.util.Map getMapField() { return getMapFieldMap(); } /** * map<string, double> map_field = 1; */ public java.util.Map getMapFieldMap() { return internalGetMapField().getMap(); } /** * map<string, double> map_field = 1; */ public double getMapFieldOrDefault( java.lang.String key, double defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMapField().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, double> map_field = 1; */ public double getMapFieldOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMapField().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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(shade.protobuf.CodedOutputStream output) throws java.io.IOException { shade.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMapField(), MapFieldDefaultEntryHolder.defaultEntry, 1); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (java.util.Map.Entry entry : internalGetMapField().getMap().entrySet()) { shade.protobuf.MapEntry mapField__ = MapFieldDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += shade.protobuf.CodedOutputStream .computeMessageSize(1, mapField__); } 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 com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap)) { return super.equals(obj); } com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap other = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap) obj; boolean result = true; result = result && internalGetMapField().equals( other.internalGetMapField()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (!internalGetMapField().getMap().isEmpty()) { hash = (37 * hash) + MAP_FIELD_FIELD_NUMBER; hash = (53 * hash) + internalGetMapField().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap parseFrom( java.nio.ByteBuffer data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap parseFrom( java.nio.ByteBuffer data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap parseFrom( shade.protobuf.ByteString data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap parseFrom( shade.protobuf.ByteString data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap parseFrom(byte[] data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap parseFrom( byte[] data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap parseFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap parseFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap parseDelimitedFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap parseFrom( shade.protobuf.CodedInputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap parseFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.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(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap 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( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code StringDoubleMap} */ public static final class Builder extends shade.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:StringDoubleMap) com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMapOrBuilder { public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringDoubleMap_descriptor; } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 1: return internalGetMutableMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringDoubleMap_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap.Builder.class); } // Construct using com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (shade.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); internalGetMutableMapField().clear(); return this; } @java.lang.Override public shade.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringDoubleMap_descriptor; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap getDefaultInstanceForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap.getDefaultInstance(); } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap build() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap buildPartial() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap result = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap(this); int from_bitField0_ = bitField0_; result.mapField_ = internalGetMapField(); result.mapField_.makeImmutable(); onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( shade.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( shade.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(shade.protobuf.Message other) { if (other instanceof com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap) { return mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap other) { if (other == com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap.getDefaultInstance()) return this; internalGetMutableMapField().mergeFrom( other.internalGetMapField()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (shade.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private shade.protobuf.MapField< java.lang.String, java.lang.Double> mapField_; private shade.protobuf.MapField internalGetMapField() { if (mapField_ == null) { return shade.protobuf.MapField.emptyMapField( MapFieldDefaultEntryHolder.defaultEntry); } return mapField_; } private shade.protobuf.MapField internalGetMutableMapField() { onChanged();; if (mapField_ == null) { mapField_ = shade.protobuf.MapField.newMapField( MapFieldDefaultEntryHolder.defaultEntry); } if (!mapField_.isMutable()) { mapField_ = mapField_.copy(); } return mapField_; } public int getMapFieldCount() { return internalGetMapField().getMap().size(); } /** * map<string, double> map_field = 1; */ public boolean containsMapField( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetMapField().getMap().containsKey(key); } /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated public java.util.Map getMapField() { return getMapFieldMap(); } /** * map<string, double> map_field = 1; */ public java.util.Map getMapFieldMap() { return internalGetMapField().getMap(); } /** * map<string, double> map_field = 1; */ public double getMapFieldOrDefault( java.lang.String key, double defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMapField().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, double> map_field = 1; */ public double getMapFieldOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMapField().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMapField() { internalGetMutableMapField().getMutableMap() .clear(); return this; } /** * map<string, double> map_field = 1; */ public Builder removeMapField( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableMapField().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMapField() { return internalGetMutableMapField().getMutableMap(); } /** * map<string, double> map_field = 1; */ public Builder putMapField( java.lang.String key, double value) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableMapField().getMutableMap() .put(key, value); return this; } /** * map<string, double> map_field = 1; */ public Builder putAllMapField( java.util.Map values) { internalGetMutableMapField().getMutableMap() .putAll(values); return this; } @java.lang.Override public final Builder setUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:StringDoubleMap) } // @@protoc_insertion_point(class_scope:StringDoubleMap) private static final com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap(); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap getDefaultInstance() { return DEFAULT_INSTANCE; } private static final shade.protobuf.Parser PARSER = new shade.protobuf.AbstractParser() { @java.lang.Override public StringDoubleMap parsePartialFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return new StringDoubleMap(input, extensionRegistry); } }; public static shade.protobuf.Parser parser() { return PARSER; } @java.lang.Override public shade.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface IntStringMapOrBuilder extends // @@protoc_insertion_point(interface_extends:IntStringMap) shade.protobuf.MessageOrBuilder { /** * map<int32, string> map_field = 1; */ int getMapFieldCount(); /** * map<int32, string> map_field = 1; */ boolean containsMapField( int key); /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated java.util.Map getMapField(); /** * map<int32, string> map_field = 1; */ java.util.Map getMapFieldMap(); /** * map<int32, string> map_field = 1; */ java.lang.String getMapFieldOrDefault( int key, java.lang.String defaultValue); /** * map<int32, string> map_field = 1; */ java.lang.String getMapFieldOrThrow( int key); } /** *
     *int32->others
     * 
* * Protobuf type {@code IntStringMap} */ public static final class IntStringMap extends shade.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:IntStringMap) IntStringMapOrBuilder { private static final long serialVersionUID = 0L; // Use IntStringMap.newBuilder() to construct. private IntStringMap(shade.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private IntStringMap() { } @java.lang.Override public final shade.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private IntStringMap( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; shade.protobuf.UnknownFieldSet.Builder unknownFields = shade.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { mapField_ = shade.protobuf.MapField.newMapField( MapFieldDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } shade.protobuf.MapEntry mapField__ = input.readMessage( MapFieldDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); mapField_.getMutableMap().put( mapField__.getKey(), mapField__.getValue()); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (shade.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new shade.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntStringMap_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntStringMap_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap.Builder.class); } public static final int MAP_FIELD_FIELD_NUMBER = 1; private static final class MapFieldDefaultEntryHolder { static final shade.protobuf.MapEntry< java.lang.Integer, java.lang.String> defaultEntry = shade.protobuf.MapEntry .newDefaultInstance( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntStringMap_MapFieldEntry_descriptor, shade.protobuf.WireFormat.FieldType.INT32, 0, shade.protobuf.WireFormat.FieldType.STRING, ""); } private shade.protobuf.MapField< java.lang.Integer, java.lang.String> mapField_; private shade.protobuf.MapField internalGetMapField() { if (mapField_ == null) { return shade.protobuf.MapField.emptyMapField( MapFieldDefaultEntryHolder.defaultEntry); } return mapField_; } public int getMapFieldCount() { return internalGetMapField().getMap().size(); } /** * map<int32, string> map_field = 1; */ public boolean containsMapField( int key) { return internalGetMapField().getMap().containsKey(key); } /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated public java.util.Map getMapField() { return getMapFieldMap(); } /** * map<int32, string> map_field = 1; */ public java.util.Map getMapFieldMap() { return internalGetMapField().getMap(); } /** * map<int32, string> map_field = 1; */ public java.lang.String getMapFieldOrDefault( int key, java.lang.String defaultValue) { java.util.Map map = internalGetMapField().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<int32, string> map_field = 1; */ public java.lang.String getMapFieldOrThrow( int key) { java.util.Map map = internalGetMapField().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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(shade.protobuf.CodedOutputStream output) throws java.io.IOException { shade.protobuf.GeneratedMessageV3 .serializeIntegerMapTo( output, internalGetMapField(), MapFieldDefaultEntryHolder.defaultEntry, 1); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (java.util.Map.Entry entry : internalGetMapField().getMap().entrySet()) { shade.protobuf.MapEntry mapField__ = MapFieldDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += shade.protobuf.CodedOutputStream .computeMessageSize(1, mapField__); } 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 com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap)) { return super.equals(obj); } com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap other = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap) obj; boolean result = true; result = result && internalGetMapField().equals( other.internalGetMapField()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (!internalGetMapField().getMap().isEmpty()) { hash = (37 * hash) + MAP_FIELD_FIELD_NUMBER; hash = (53 * hash) + internalGetMapField().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap parseFrom( java.nio.ByteBuffer data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap parseFrom( java.nio.ByteBuffer data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap parseFrom( shade.protobuf.ByteString data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap parseFrom( shade.protobuf.ByteString data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap parseFrom(byte[] data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap parseFrom( byte[] data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap parseFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap parseFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap parseDelimitedFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap parseFrom( shade.protobuf.CodedInputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap parseFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.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(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap 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( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
         *int32->others
         * 
* * Protobuf type {@code IntStringMap} */ public static final class Builder extends shade.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:IntStringMap) com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMapOrBuilder { public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntStringMap_descriptor; } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 1: return internalGetMutableMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntStringMap_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap.Builder.class); } // Construct using com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (shade.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); internalGetMutableMapField().clear(); return this; } @java.lang.Override public shade.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntStringMap_descriptor; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap getDefaultInstanceForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap.getDefaultInstance(); } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap build() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap buildPartial() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap result = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap(this); int from_bitField0_ = bitField0_; result.mapField_ = internalGetMapField(); result.mapField_.makeImmutable(); onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( shade.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( shade.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(shade.protobuf.Message other) { if (other instanceof com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap) { return mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap other) { if (other == com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap.getDefaultInstance()) return this; internalGetMutableMapField().mergeFrom( other.internalGetMapField()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (shade.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private shade.protobuf.MapField< java.lang.Integer, java.lang.String> mapField_; private shade.protobuf.MapField internalGetMapField() { if (mapField_ == null) { return shade.protobuf.MapField.emptyMapField( MapFieldDefaultEntryHolder.defaultEntry); } return mapField_; } private shade.protobuf.MapField internalGetMutableMapField() { onChanged();; if (mapField_ == null) { mapField_ = shade.protobuf.MapField.newMapField( MapFieldDefaultEntryHolder.defaultEntry); } if (!mapField_.isMutable()) { mapField_ = mapField_.copy(); } return mapField_; } public int getMapFieldCount() { return internalGetMapField().getMap().size(); } /** * map<int32, string> map_field = 1; */ public boolean containsMapField( int key) { return internalGetMapField().getMap().containsKey(key); } /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated public java.util.Map getMapField() { return getMapFieldMap(); } /** * map<int32, string> map_field = 1; */ public java.util.Map getMapFieldMap() { return internalGetMapField().getMap(); } /** * map<int32, string> map_field = 1; */ public java.lang.String getMapFieldOrDefault( int key, java.lang.String defaultValue) { java.util.Map map = internalGetMapField().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<int32, string> map_field = 1; */ public java.lang.String getMapFieldOrThrow( int key) { java.util.Map map = internalGetMapField().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMapField() { internalGetMutableMapField().getMutableMap() .clear(); return this; } /** * map<int32, string> map_field = 1; */ public Builder removeMapField( int key) { internalGetMutableMapField().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMapField() { return internalGetMutableMapField().getMutableMap(); } /** * map<int32, string> map_field = 1; */ public Builder putMapField( int key, java.lang.String value) { if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableMapField().getMutableMap() .put(key, value); return this; } /** * map<int32, string> map_field = 1; */ public Builder putAllMapField( java.util.Map values) { internalGetMutableMapField().getMutableMap() .putAll(values); return this; } @java.lang.Override public final Builder setUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:IntStringMap) } // @@protoc_insertion_point(class_scope:IntStringMap) private static final com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap(); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap getDefaultInstance() { return DEFAULT_INSTANCE; } private static final shade.protobuf.Parser PARSER = new shade.protobuf.AbstractParser() { @java.lang.Override public IntStringMap parsePartialFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return new IntStringMap(input, extensionRegistry); } }; public static shade.protobuf.Parser parser() { return PARSER; } @java.lang.Override public shade.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface IntIntMapOrBuilder extends // @@protoc_insertion_point(interface_extends:IntIntMap) shade.protobuf.MessageOrBuilder { /** * map<int32, int32> map_field = 1; */ int getMapFieldCount(); /** * map<int32, int32> map_field = 1; */ boolean containsMapField( int key); /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated java.util.Map getMapField(); /** * map<int32, int32> map_field = 1; */ java.util.Map getMapFieldMap(); /** * map<int32, int32> map_field = 1; */ int getMapFieldOrDefault( int key, int defaultValue); /** * map<int32, int32> map_field = 1; */ int getMapFieldOrThrow( int key); } /** * Protobuf type {@code IntIntMap} */ public static final class IntIntMap extends shade.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:IntIntMap) IntIntMapOrBuilder { private static final long serialVersionUID = 0L; // Use IntIntMap.newBuilder() to construct. private IntIntMap(shade.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private IntIntMap() { } @java.lang.Override public final shade.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private IntIntMap( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; shade.protobuf.UnknownFieldSet.Builder unknownFields = shade.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { mapField_ = shade.protobuf.MapField.newMapField( MapFieldDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } shade.protobuf.MapEntry mapField__ = input.readMessage( MapFieldDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); mapField_.getMutableMap().put( mapField__.getKey(), mapField__.getValue()); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (shade.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new shade.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntIntMap_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntIntMap_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap.Builder.class); } public static final int MAP_FIELD_FIELD_NUMBER = 1; private static final class MapFieldDefaultEntryHolder { static final shade.protobuf.MapEntry< java.lang.Integer, java.lang.Integer> defaultEntry = shade.protobuf.MapEntry .newDefaultInstance( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntIntMap_MapFieldEntry_descriptor, shade.protobuf.WireFormat.FieldType.INT32, 0, shade.protobuf.WireFormat.FieldType.INT32, 0); } private shade.protobuf.MapField< java.lang.Integer, java.lang.Integer> mapField_; private shade.protobuf.MapField internalGetMapField() { if (mapField_ == null) { return shade.protobuf.MapField.emptyMapField( MapFieldDefaultEntryHolder.defaultEntry); } return mapField_; } public int getMapFieldCount() { return internalGetMapField().getMap().size(); } /** * map<int32, int32> map_field = 1; */ public boolean containsMapField( int key) { return internalGetMapField().getMap().containsKey(key); } /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated public java.util.Map getMapField() { return getMapFieldMap(); } /** * map<int32, int32> map_field = 1; */ public java.util.Map getMapFieldMap() { return internalGetMapField().getMap(); } /** * map<int32, int32> map_field = 1; */ public int getMapFieldOrDefault( int key, int defaultValue) { java.util.Map map = internalGetMapField().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<int32, int32> map_field = 1; */ public int getMapFieldOrThrow( int key) { java.util.Map map = internalGetMapField().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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(shade.protobuf.CodedOutputStream output) throws java.io.IOException { shade.protobuf.GeneratedMessageV3 .serializeIntegerMapTo( output, internalGetMapField(), MapFieldDefaultEntryHolder.defaultEntry, 1); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (java.util.Map.Entry entry : internalGetMapField().getMap().entrySet()) { shade.protobuf.MapEntry mapField__ = MapFieldDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += shade.protobuf.CodedOutputStream .computeMessageSize(1, mapField__); } 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 com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap)) { return super.equals(obj); } com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap other = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap) obj; boolean result = true; result = result && internalGetMapField().equals( other.internalGetMapField()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (!internalGetMapField().getMap().isEmpty()) { hash = (37 * hash) + MAP_FIELD_FIELD_NUMBER; hash = (53 * hash) + internalGetMapField().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap parseFrom( java.nio.ByteBuffer data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap parseFrom( java.nio.ByteBuffer data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap parseFrom( shade.protobuf.ByteString data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap parseFrom( shade.protobuf.ByteString data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap parseFrom(byte[] data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap parseFrom( byte[] data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap parseFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap parseFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap parseDelimitedFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap parseFrom( shade.protobuf.CodedInputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap parseFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.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(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap 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( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code IntIntMap} */ public static final class Builder extends shade.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:IntIntMap) com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMapOrBuilder { public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntIntMap_descriptor; } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 1: return internalGetMutableMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntIntMap_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap.Builder.class); } // Construct using com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (shade.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); internalGetMutableMapField().clear(); return this; } @java.lang.Override public shade.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntIntMap_descriptor; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap getDefaultInstanceForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap.getDefaultInstance(); } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap build() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap buildPartial() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap result = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap(this); int from_bitField0_ = bitField0_; result.mapField_ = internalGetMapField(); result.mapField_.makeImmutable(); onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( shade.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( shade.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(shade.protobuf.Message other) { if (other instanceof com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap) { return mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap other) { if (other == com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap.getDefaultInstance()) return this; internalGetMutableMapField().mergeFrom( other.internalGetMapField()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (shade.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private shade.protobuf.MapField< java.lang.Integer, java.lang.Integer> mapField_; private shade.protobuf.MapField internalGetMapField() { if (mapField_ == null) { return shade.protobuf.MapField.emptyMapField( MapFieldDefaultEntryHolder.defaultEntry); } return mapField_; } private shade.protobuf.MapField internalGetMutableMapField() { onChanged();; if (mapField_ == null) { mapField_ = shade.protobuf.MapField.newMapField( MapFieldDefaultEntryHolder.defaultEntry); } if (!mapField_.isMutable()) { mapField_ = mapField_.copy(); } return mapField_; } public int getMapFieldCount() { return internalGetMapField().getMap().size(); } /** * map<int32, int32> map_field = 1; */ public boolean containsMapField( int key) { return internalGetMapField().getMap().containsKey(key); } /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated public java.util.Map getMapField() { return getMapFieldMap(); } /** * map<int32, int32> map_field = 1; */ public java.util.Map getMapFieldMap() { return internalGetMapField().getMap(); } /** * map<int32, int32> map_field = 1; */ public int getMapFieldOrDefault( int key, int defaultValue) { java.util.Map map = internalGetMapField().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<int32, int32> map_field = 1; */ public int getMapFieldOrThrow( int key) { java.util.Map map = internalGetMapField().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMapField() { internalGetMutableMapField().getMutableMap() .clear(); return this; } /** * map<int32, int32> map_field = 1; */ public Builder removeMapField( int key) { internalGetMutableMapField().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMapField() { return internalGetMutableMapField().getMutableMap(); } /** * map<int32, int32> map_field = 1; */ public Builder putMapField( int key, int value) { internalGetMutableMapField().getMutableMap() .put(key, value); return this; } /** * map<int32, int32> map_field = 1; */ public Builder putAllMapField( java.util.Map values) { internalGetMutableMapField().getMutableMap() .putAll(values); return this; } @java.lang.Override public final Builder setUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:IntIntMap) } // @@protoc_insertion_point(class_scope:IntIntMap) private static final com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap(); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap getDefaultInstance() { return DEFAULT_INSTANCE; } private static final shade.protobuf.Parser PARSER = new shade.protobuf.AbstractParser() { @java.lang.Override public IntIntMap parsePartialFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return new IntIntMap(input, extensionRegistry); } }; public static shade.protobuf.Parser parser() { return PARSER; } @java.lang.Override public shade.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface IntLongMapOrBuilder extends // @@protoc_insertion_point(interface_extends:IntLongMap) shade.protobuf.MessageOrBuilder { /** * map<int32, int64> map_field = 1; */ int getMapFieldCount(); /** * map<int32, int64> map_field = 1; */ boolean containsMapField( int key); /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated java.util.Map getMapField(); /** * map<int32, int64> map_field = 1; */ java.util.Map getMapFieldMap(); /** * map<int32, int64> map_field = 1; */ long getMapFieldOrDefault( int key, long defaultValue); /** * map<int32, int64> map_field = 1; */ long getMapFieldOrThrow( int key); } /** * Protobuf type {@code IntLongMap} */ public static final class IntLongMap extends shade.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:IntLongMap) IntLongMapOrBuilder { private static final long serialVersionUID = 0L; // Use IntLongMap.newBuilder() to construct. private IntLongMap(shade.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private IntLongMap() { } @java.lang.Override public final shade.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private IntLongMap( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; shade.protobuf.UnknownFieldSet.Builder unknownFields = shade.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { mapField_ = shade.protobuf.MapField.newMapField( MapFieldDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } shade.protobuf.MapEntry mapField__ = input.readMessage( MapFieldDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); mapField_.getMutableMap().put( mapField__.getKey(), mapField__.getValue()); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (shade.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new shade.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntLongMap_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntLongMap_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap.Builder.class); } public static final int MAP_FIELD_FIELD_NUMBER = 1; private static final class MapFieldDefaultEntryHolder { static final shade.protobuf.MapEntry< java.lang.Integer, java.lang.Long> defaultEntry = shade.protobuf.MapEntry .newDefaultInstance( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntLongMap_MapFieldEntry_descriptor, shade.protobuf.WireFormat.FieldType.INT32, 0, shade.protobuf.WireFormat.FieldType.INT64, 0L); } private shade.protobuf.MapField< java.lang.Integer, java.lang.Long> mapField_; private shade.protobuf.MapField internalGetMapField() { if (mapField_ == null) { return shade.protobuf.MapField.emptyMapField( MapFieldDefaultEntryHolder.defaultEntry); } return mapField_; } public int getMapFieldCount() { return internalGetMapField().getMap().size(); } /** * map<int32, int64> map_field = 1; */ public boolean containsMapField( int key) { return internalGetMapField().getMap().containsKey(key); } /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated public java.util.Map getMapField() { return getMapFieldMap(); } /** * map<int32, int64> map_field = 1; */ public java.util.Map getMapFieldMap() { return internalGetMapField().getMap(); } /** * map<int32, int64> map_field = 1; */ public long getMapFieldOrDefault( int key, long defaultValue) { java.util.Map map = internalGetMapField().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<int32, int64> map_field = 1; */ public long getMapFieldOrThrow( int key) { java.util.Map map = internalGetMapField().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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(shade.protobuf.CodedOutputStream output) throws java.io.IOException { shade.protobuf.GeneratedMessageV3 .serializeIntegerMapTo( output, internalGetMapField(), MapFieldDefaultEntryHolder.defaultEntry, 1); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (java.util.Map.Entry entry : internalGetMapField().getMap().entrySet()) { shade.protobuf.MapEntry mapField__ = MapFieldDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += shade.protobuf.CodedOutputStream .computeMessageSize(1, mapField__); } 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 com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap)) { return super.equals(obj); } com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap other = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap) obj; boolean result = true; result = result && internalGetMapField().equals( other.internalGetMapField()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (!internalGetMapField().getMap().isEmpty()) { hash = (37 * hash) + MAP_FIELD_FIELD_NUMBER; hash = (53 * hash) + internalGetMapField().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap parseFrom( java.nio.ByteBuffer data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap parseFrom( java.nio.ByteBuffer data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap parseFrom( shade.protobuf.ByteString data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap parseFrom( shade.protobuf.ByteString data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap parseFrom(byte[] data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap parseFrom( byte[] data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap parseFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap parseFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap parseDelimitedFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap parseFrom( shade.protobuf.CodedInputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap parseFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.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(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap 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( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code IntLongMap} */ public static final class Builder extends shade.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:IntLongMap) com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMapOrBuilder { public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntLongMap_descriptor; } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 1: return internalGetMutableMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntLongMap_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap.Builder.class); } // Construct using com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (shade.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); internalGetMutableMapField().clear(); return this; } @java.lang.Override public shade.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntLongMap_descriptor; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap getDefaultInstanceForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap.getDefaultInstance(); } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap build() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap buildPartial() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap result = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap(this); int from_bitField0_ = bitField0_; result.mapField_ = internalGetMapField(); result.mapField_.makeImmutable(); onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( shade.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( shade.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(shade.protobuf.Message other) { if (other instanceof com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap) { return mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap other) { if (other == com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap.getDefaultInstance()) return this; internalGetMutableMapField().mergeFrom( other.internalGetMapField()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (shade.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private shade.protobuf.MapField< java.lang.Integer, java.lang.Long> mapField_; private shade.protobuf.MapField internalGetMapField() { if (mapField_ == null) { return shade.protobuf.MapField.emptyMapField( MapFieldDefaultEntryHolder.defaultEntry); } return mapField_; } private shade.protobuf.MapField internalGetMutableMapField() { onChanged();; if (mapField_ == null) { mapField_ = shade.protobuf.MapField.newMapField( MapFieldDefaultEntryHolder.defaultEntry); } if (!mapField_.isMutable()) { mapField_ = mapField_.copy(); } return mapField_; } public int getMapFieldCount() { return internalGetMapField().getMap().size(); } /** * map<int32, int64> map_field = 1; */ public boolean containsMapField( int key) { return internalGetMapField().getMap().containsKey(key); } /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated public java.util.Map getMapField() { return getMapFieldMap(); } /** * map<int32, int64> map_field = 1; */ public java.util.Map getMapFieldMap() { return internalGetMapField().getMap(); } /** * map<int32, int64> map_field = 1; */ public long getMapFieldOrDefault( int key, long defaultValue) { java.util.Map map = internalGetMapField().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<int32, int64> map_field = 1; */ public long getMapFieldOrThrow( int key) { java.util.Map map = internalGetMapField().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMapField() { internalGetMutableMapField().getMutableMap() .clear(); return this; } /** * map<int32, int64> map_field = 1; */ public Builder removeMapField( int key) { internalGetMutableMapField().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMapField() { return internalGetMutableMapField().getMutableMap(); } /** * map<int32, int64> map_field = 1; */ public Builder putMapField( int key, long value) { internalGetMutableMapField().getMutableMap() .put(key, value); return this; } /** * map<int32, int64> map_field = 1; */ public Builder putAllMapField( java.util.Map values) { internalGetMutableMapField().getMutableMap() .putAll(values); return this; } @java.lang.Override public final Builder setUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:IntLongMap) } // @@protoc_insertion_point(class_scope:IntLongMap) private static final com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap(); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap getDefaultInstance() { return DEFAULT_INSTANCE; } private static final shade.protobuf.Parser PARSER = new shade.protobuf.AbstractParser() { @java.lang.Override public IntLongMap parsePartialFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return new IntLongMap(input, extensionRegistry); } }; public static shade.protobuf.Parser parser() { return PARSER; } @java.lang.Override public shade.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface IntFloatMapOrBuilder extends // @@protoc_insertion_point(interface_extends:IntFloatMap) shade.protobuf.MessageOrBuilder { /** * map<int32, float> map_field = 1; */ int getMapFieldCount(); /** * map<int32, float> map_field = 1; */ boolean containsMapField( int key); /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated java.util.Map getMapField(); /** * map<int32, float> map_field = 1; */ java.util.Map getMapFieldMap(); /** * map<int32, float> map_field = 1; */ float getMapFieldOrDefault( int key, float defaultValue); /** * map<int32, float> map_field = 1; */ float getMapFieldOrThrow( int key); } /** * Protobuf type {@code IntFloatMap} */ public static final class IntFloatMap extends shade.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:IntFloatMap) IntFloatMapOrBuilder { private static final long serialVersionUID = 0L; // Use IntFloatMap.newBuilder() to construct. private IntFloatMap(shade.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private IntFloatMap() { } @java.lang.Override public final shade.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private IntFloatMap( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; shade.protobuf.UnknownFieldSet.Builder unknownFields = shade.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { mapField_ = shade.protobuf.MapField.newMapField( MapFieldDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } shade.protobuf.MapEntry mapField__ = input.readMessage( MapFieldDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); mapField_.getMutableMap().put( mapField__.getKey(), mapField__.getValue()); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (shade.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new shade.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntFloatMap_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntFloatMap_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap.Builder.class); } public static final int MAP_FIELD_FIELD_NUMBER = 1; private static final class MapFieldDefaultEntryHolder { static final shade.protobuf.MapEntry< java.lang.Integer, java.lang.Float> defaultEntry = shade.protobuf.MapEntry .newDefaultInstance( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntFloatMap_MapFieldEntry_descriptor, shade.protobuf.WireFormat.FieldType.INT32, 0, shade.protobuf.WireFormat.FieldType.FLOAT, 0F); } private shade.protobuf.MapField< java.lang.Integer, java.lang.Float> mapField_; private shade.protobuf.MapField internalGetMapField() { if (mapField_ == null) { return shade.protobuf.MapField.emptyMapField( MapFieldDefaultEntryHolder.defaultEntry); } return mapField_; } public int getMapFieldCount() { return internalGetMapField().getMap().size(); } /** * map<int32, float> map_field = 1; */ public boolean containsMapField( int key) { return internalGetMapField().getMap().containsKey(key); } /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated public java.util.Map getMapField() { return getMapFieldMap(); } /** * map<int32, float> map_field = 1; */ public java.util.Map getMapFieldMap() { return internalGetMapField().getMap(); } /** * map<int32, float> map_field = 1; */ public float getMapFieldOrDefault( int key, float defaultValue) { java.util.Map map = internalGetMapField().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<int32, float> map_field = 1; */ public float getMapFieldOrThrow( int key) { java.util.Map map = internalGetMapField().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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(shade.protobuf.CodedOutputStream output) throws java.io.IOException { shade.protobuf.GeneratedMessageV3 .serializeIntegerMapTo( output, internalGetMapField(), MapFieldDefaultEntryHolder.defaultEntry, 1); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (java.util.Map.Entry entry : internalGetMapField().getMap().entrySet()) { shade.protobuf.MapEntry mapField__ = MapFieldDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += shade.protobuf.CodedOutputStream .computeMessageSize(1, mapField__); } 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 com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap)) { return super.equals(obj); } com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap other = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap) obj; boolean result = true; result = result && internalGetMapField().equals( other.internalGetMapField()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (!internalGetMapField().getMap().isEmpty()) { hash = (37 * hash) + MAP_FIELD_FIELD_NUMBER; hash = (53 * hash) + internalGetMapField().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap parseFrom( java.nio.ByteBuffer data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap parseFrom( java.nio.ByteBuffer data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap parseFrom( shade.protobuf.ByteString data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap parseFrom( shade.protobuf.ByteString data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap parseFrom(byte[] data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap parseFrom( byte[] data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap parseFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap parseFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap parseDelimitedFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap parseFrom( shade.protobuf.CodedInputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap parseFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.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(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap 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( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code IntFloatMap} */ public static final class Builder extends shade.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:IntFloatMap) com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMapOrBuilder { public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntFloatMap_descriptor; } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 1: return internalGetMutableMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntFloatMap_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap.Builder.class); } // Construct using com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (shade.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); internalGetMutableMapField().clear(); return this; } @java.lang.Override public shade.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntFloatMap_descriptor; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap getDefaultInstanceForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap.getDefaultInstance(); } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap build() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap buildPartial() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap result = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap(this); int from_bitField0_ = bitField0_; result.mapField_ = internalGetMapField(); result.mapField_.makeImmutable(); onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( shade.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( shade.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(shade.protobuf.Message other) { if (other instanceof com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap) { return mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap other) { if (other == com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap.getDefaultInstance()) return this; internalGetMutableMapField().mergeFrom( other.internalGetMapField()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (shade.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private shade.protobuf.MapField< java.lang.Integer, java.lang.Float> mapField_; private shade.protobuf.MapField internalGetMapField() { if (mapField_ == null) { return shade.protobuf.MapField.emptyMapField( MapFieldDefaultEntryHolder.defaultEntry); } return mapField_; } private shade.protobuf.MapField internalGetMutableMapField() { onChanged();; if (mapField_ == null) { mapField_ = shade.protobuf.MapField.newMapField( MapFieldDefaultEntryHolder.defaultEntry); } if (!mapField_.isMutable()) { mapField_ = mapField_.copy(); } return mapField_; } public int getMapFieldCount() { return internalGetMapField().getMap().size(); } /** * map<int32, float> map_field = 1; */ public boolean containsMapField( int key) { return internalGetMapField().getMap().containsKey(key); } /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated public java.util.Map getMapField() { return getMapFieldMap(); } /** * map<int32, float> map_field = 1; */ public java.util.Map getMapFieldMap() { return internalGetMapField().getMap(); } /** * map<int32, float> map_field = 1; */ public float getMapFieldOrDefault( int key, float defaultValue) { java.util.Map map = internalGetMapField().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<int32, float> map_field = 1; */ public float getMapFieldOrThrow( int key) { java.util.Map map = internalGetMapField().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMapField() { internalGetMutableMapField().getMutableMap() .clear(); return this; } /** * map<int32, float> map_field = 1; */ public Builder removeMapField( int key) { internalGetMutableMapField().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMapField() { return internalGetMutableMapField().getMutableMap(); } /** * map<int32, float> map_field = 1; */ public Builder putMapField( int key, float value) { internalGetMutableMapField().getMutableMap() .put(key, value); return this; } /** * map<int32, float> map_field = 1; */ public Builder putAllMapField( java.util.Map values) { internalGetMutableMapField().getMutableMap() .putAll(values); return this; } @java.lang.Override public final Builder setUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:IntFloatMap) } // @@protoc_insertion_point(class_scope:IntFloatMap) private static final com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap(); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap getDefaultInstance() { return DEFAULT_INSTANCE; } private static final shade.protobuf.Parser PARSER = new shade.protobuf.AbstractParser() { @java.lang.Override public IntFloatMap parsePartialFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return new IntFloatMap(input, extensionRegistry); } }; public static shade.protobuf.Parser parser() { return PARSER; } @java.lang.Override public shade.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface IntDoubleMapOrBuilder extends // @@protoc_insertion_point(interface_extends:IntDoubleMap) shade.protobuf.MessageOrBuilder { /** * map<int32, double> map_field = 1; */ int getMapFieldCount(); /** * map<int32, double> map_field = 1; */ boolean containsMapField( int key); /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated java.util.Map getMapField(); /** * map<int32, double> map_field = 1; */ java.util.Map getMapFieldMap(); /** * map<int32, double> map_field = 1; */ double getMapFieldOrDefault( int key, double defaultValue); /** * map<int32, double> map_field = 1; */ double getMapFieldOrThrow( int key); } /** * Protobuf type {@code IntDoubleMap} */ public static final class IntDoubleMap extends shade.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:IntDoubleMap) IntDoubleMapOrBuilder { private static final long serialVersionUID = 0L; // Use IntDoubleMap.newBuilder() to construct. private IntDoubleMap(shade.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private IntDoubleMap() { } @java.lang.Override public final shade.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private IntDoubleMap( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; shade.protobuf.UnknownFieldSet.Builder unknownFields = shade.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { mapField_ = shade.protobuf.MapField.newMapField( MapFieldDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } shade.protobuf.MapEntry mapField__ = input.readMessage( MapFieldDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); mapField_.getMutableMap().put( mapField__.getKey(), mapField__.getValue()); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (shade.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new shade.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntDoubleMap_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntDoubleMap_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap.Builder.class); } public static final int MAP_FIELD_FIELD_NUMBER = 1; private static final class MapFieldDefaultEntryHolder { static final shade.protobuf.MapEntry< java.lang.Integer, java.lang.Double> defaultEntry = shade.protobuf.MapEntry .newDefaultInstance( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntDoubleMap_MapFieldEntry_descriptor, shade.protobuf.WireFormat.FieldType.INT32, 0, shade.protobuf.WireFormat.FieldType.DOUBLE, 0D); } private shade.protobuf.MapField< java.lang.Integer, java.lang.Double> mapField_; private shade.protobuf.MapField internalGetMapField() { if (mapField_ == null) { return shade.protobuf.MapField.emptyMapField( MapFieldDefaultEntryHolder.defaultEntry); } return mapField_; } public int getMapFieldCount() { return internalGetMapField().getMap().size(); } /** * map<int32, double> map_field = 1; */ public boolean containsMapField( int key) { return internalGetMapField().getMap().containsKey(key); } /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated public java.util.Map getMapField() { return getMapFieldMap(); } /** * map<int32, double> map_field = 1; */ public java.util.Map getMapFieldMap() { return internalGetMapField().getMap(); } /** * map<int32, double> map_field = 1; */ public double getMapFieldOrDefault( int key, double defaultValue) { java.util.Map map = internalGetMapField().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<int32, double> map_field = 1; */ public double getMapFieldOrThrow( int key) { java.util.Map map = internalGetMapField().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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(shade.protobuf.CodedOutputStream output) throws java.io.IOException { shade.protobuf.GeneratedMessageV3 .serializeIntegerMapTo( output, internalGetMapField(), MapFieldDefaultEntryHolder.defaultEntry, 1); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (java.util.Map.Entry entry : internalGetMapField().getMap().entrySet()) { shade.protobuf.MapEntry mapField__ = MapFieldDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += shade.protobuf.CodedOutputStream .computeMessageSize(1, mapField__); } 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 com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap)) { return super.equals(obj); } com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap other = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap) obj; boolean result = true; result = result && internalGetMapField().equals( other.internalGetMapField()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (!internalGetMapField().getMap().isEmpty()) { hash = (37 * hash) + MAP_FIELD_FIELD_NUMBER; hash = (53 * hash) + internalGetMapField().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap parseFrom( java.nio.ByteBuffer data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap parseFrom( java.nio.ByteBuffer data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap parseFrom( shade.protobuf.ByteString data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap parseFrom( shade.protobuf.ByteString data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap parseFrom(byte[] data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap parseFrom( byte[] data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap parseFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap parseFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap parseDelimitedFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap parseFrom( shade.protobuf.CodedInputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap parseFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.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(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap 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( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code IntDoubleMap} */ public static final class Builder extends shade.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:IntDoubleMap) com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMapOrBuilder { public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntDoubleMap_descriptor; } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 1: return internalGetMutableMapField(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntDoubleMap_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap.Builder.class); } // Construct using com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (shade.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); internalGetMutableMapField().clear(); return this; } @java.lang.Override public shade.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntDoubleMap_descriptor; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap getDefaultInstanceForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap.getDefaultInstance(); } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap build() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap buildPartial() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap result = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap(this); int from_bitField0_ = bitField0_; result.mapField_ = internalGetMapField(); result.mapField_.makeImmutable(); onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( shade.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( shade.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(shade.protobuf.Message other) { if (other instanceof com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap) { return mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap other) { if (other == com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap.getDefaultInstance()) return this; internalGetMutableMapField().mergeFrom( other.internalGetMapField()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (shade.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private shade.protobuf.MapField< java.lang.Integer, java.lang.Double> mapField_; private shade.protobuf.MapField internalGetMapField() { if (mapField_ == null) { return shade.protobuf.MapField.emptyMapField( MapFieldDefaultEntryHolder.defaultEntry); } return mapField_; } private shade.protobuf.MapField internalGetMutableMapField() { onChanged();; if (mapField_ == null) { mapField_ = shade.protobuf.MapField.newMapField( MapFieldDefaultEntryHolder.defaultEntry); } if (!mapField_.isMutable()) { mapField_ = mapField_.copy(); } return mapField_; } public int getMapFieldCount() { return internalGetMapField().getMap().size(); } /** * map<int32, double> map_field = 1; */ public boolean containsMapField( int key) { return internalGetMapField().getMap().containsKey(key); } /** * Use {@link #getMapFieldMap()} instead. */ @java.lang.Deprecated public java.util.Map getMapField() { return getMapFieldMap(); } /** * map<int32, double> map_field = 1; */ public java.util.Map getMapFieldMap() { return internalGetMapField().getMap(); } /** * map<int32, double> map_field = 1; */ public double getMapFieldOrDefault( int key, double defaultValue) { java.util.Map map = internalGetMapField().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<int32, double> map_field = 1; */ public double getMapFieldOrThrow( int key) { java.util.Map map = internalGetMapField().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMapField() { internalGetMutableMapField().getMutableMap() .clear(); return this; } /** * map<int32, double> map_field = 1; */ public Builder removeMapField( int key) { internalGetMutableMapField().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMapField() { return internalGetMutableMapField().getMutableMap(); } /** * map<int32, double> map_field = 1; */ public Builder putMapField( int key, double value) { internalGetMutableMapField().getMutableMap() .put(key, value); return this; } /** * map<int32, double> map_field = 1; */ public Builder putAllMapField( java.util.Map values) { internalGetMutableMapField().getMutableMap() .putAll(values); return this; } @java.lang.Override public final Builder setUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:IntDoubleMap) } // @@protoc_insertion_point(class_scope:IntDoubleMap) private static final com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap(); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap getDefaultInstance() { return DEFAULT_INSTANCE; } private static final shade.protobuf.Parser PARSER = new shade.protobuf.AbstractParser() { @java.lang.Override public IntDoubleMap parsePartialFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return new IntDoubleMap(input, extensionRegistry); } }; public static shade.protobuf.Parser parser() { return PARSER; } @java.lang.Override public shade.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface IntListOrBuilder extends // @@protoc_insertion_point(interface_extends:IntList) shade.protobuf.MessageOrBuilder { /** * repeated int32 features = 1; */ java.util.List getFeaturesList(); /** * repeated int32 features = 1; */ int getFeaturesCount(); /** * repeated int32 features = 1; */ int getFeatures(int index); } /** *
     * list
     * 
* * Protobuf type {@code IntList} */ public static final class IntList extends shade.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:IntList) IntListOrBuilder { private static final long serialVersionUID = 0L; // Use IntList.newBuilder() to construct. private IntList(shade.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private IntList() { features_ = java.util.Collections.emptyList(); } @java.lang.Override public final shade.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private IntList( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; shade.protobuf.UnknownFieldSet.Builder unknownFields = shade.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { features_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } features_.add(input.readInt32()); break; } case 10: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) { features_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { features_.add(input.readInt32()); } input.popLimit(limit); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (shade.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new shade.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { features_ = java.util.Collections.unmodifiableList(features_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntList_descriptor; } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntList_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.Builder.class); } public static final int FEATURES_FIELD_NUMBER = 1; private java.util.List features_; /** * repeated int32 features = 1; */ public java.util.List getFeaturesList() { return features_; } /** * repeated int32 features = 1; */ public int getFeaturesCount() { return features_.size(); } /** * repeated int32 features = 1; */ public int getFeatures(int index) { return features_.get(index); } private int featuresMemoizedSerializedSize = -1; 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(shade.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (getFeaturesList().size() > 0) { output.writeUInt32NoTag(10); output.writeUInt32NoTag(featuresMemoizedSerializedSize); } for (int i = 0; i < features_.size(); i++) { output.writeInt32NoTag(features_.get(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 < features_.size(); i++) { dataSize += shade.protobuf.CodedOutputStream .computeInt32SizeNoTag(features_.get(i)); } size += dataSize; if (!getFeaturesList().isEmpty()) { size += 1; size += shade.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } featuresMemoizedSerializedSize = dataSize; } 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 com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList)) { return super.equals(obj); } com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList other = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList) obj; boolean result = true; result = result && getFeaturesList() .equals(other.getFeaturesList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getFeaturesCount() > 0) { hash = (37 * hash) + FEATURES_FIELD_NUMBER; hash = (53 * hash) + getFeaturesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList parseFrom( java.nio.ByteBuffer data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList parseFrom( java.nio.ByteBuffer data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList parseFrom( shade.protobuf.ByteString data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList parseFrom( shade.protobuf.ByteString data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList parseFrom(byte[] data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList parseFrom( byte[] data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList parseFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList parseFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList parseDelimitedFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList parseFrom( shade.protobuf.CodedInputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList parseFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.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(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList 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( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
         * list
         * 
* * Protobuf type {@code IntList} */ public static final class Builder extends shade.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:IntList) com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntListOrBuilder { public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntList_descriptor; } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntList_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.Builder.class); } // Construct using com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (shade.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); features_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public shade.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntList_descriptor; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList getDefaultInstanceForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.getDefaultInstance(); } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList build() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList buildPartial() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList result = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { features_ = java.util.Collections.unmodifiableList(features_); bitField0_ = (bitField0_ & ~0x00000001); } result.features_ = features_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( shade.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( shade.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(shade.protobuf.Message other) { if (other instanceof com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList) { return mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList other) { if (other == com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.getDefaultInstance()) return this; if (!other.features_.isEmpty()) { if (features_.isEmpty()) { features_ = other.features_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureFeaturesIsMutable(); features_.addAll(other.features_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (shade.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List features_ = java.util.Collections.emptyList(); private void ensureFeaturesIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { features_ = new java.util.ArrayList(features_); bitField0_ |= 0x00000001; } } /** * repeated int32 features = 1; */ public java.util.List getFeaturesList() { return java.util.Collections.unmodifiableList(features_); } /** * repeated int32 features = 1; */ public int getFeaturesCount() { return features_.size(); } /** * repeated int32 features = 1; */ public int getFeatures(int index) { return features_.get(index); } /** * repeated int32 features = 1; */ public Builder setFeatures( int index, int value) { ensureFeaturesIsMutable(); features_.set(index, value); onChanged(); return this; } /** * repeated int32 features = 1; */ public Builder addFeatures(int value) { ensureFeaturesIsMutable(); features_.add(value); onChanged(); return this; } /** * repeated int32 features = 1; */ public Builder addAllFeatures( java.lang.Iterable values) { ensureFeaturesIsMutable(); shade.protobuf.AbstractMessageLite.Builder.addAll( values, features_); onChanged(); return this; } /** * repeated int32 features = 1; */ public Builder clearFeatures() { features_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:IntList) } // @@protoc_insertion_point(class_scope:IntList) private static final com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList(); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList getDefaultInstance() { return DEFAULT_INSTANCE; } private static final shade.protobuf.Parser PARSER = new shade.protobuf.AbstractParser() { @java.lang.Override public IntList parsePartialFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return new IntList(input, extensionRegistry); } }; public static shade.protobuf.Parser parser() { return PARSER; } @java.lang.Override public shade.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface LongListOrBuilder extends // @@protoc_insertion_point(interface_extends:LongList) shade.protobuf.MessageOrBuilder { /** * repeated int64 features = 1; */ java.util.List getFeaturesList(); /** * repeated int64 features = 1; */ int getFeaturesCount(); /** * repeated int64 features = 1; */ long getFeatures(int index); } /** * Protobuf type {@code LongList} */ public static final class LongList extends shade.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:LongList) LongListOrBuilder { private static final long serialVersionUID = 0L; // Use LongList.newBuilder() to construct. private LongList(shade.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LongList() { features_ = java.util.Collections.emptyList(); } @java.lang.Override public final shade.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private LongList( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; shade.protobuf.UnknownFieldSet.Builder unknownFields = shade.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { features_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } features_.add(input.readInt64()); break; } case 10: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) { features_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { features_.add(input.readInt64()); } input.popLimit(limit); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (shade.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new shade.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { features_ = java.util.Collections.unmodifiableList(features_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongList_descriptor; } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongList_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.Builder.class); } public static final int FEATURES_FIELD_NUMBER = 1; private java.util.List features_; /** * repeated int64 features = 1; */ public java.util.List getFeaturesList() { return features_; } /** * repeated int64 features = 1; */ public int getFeaturesCount() { return features_.size(); } /** * repeated int64 features = 1; */ public long getFeatures(int index) { return features_.get(index); } private int featuresMemoizedSerializedSize = -1; 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(shade.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (getFeaturesList().size() > 0) { output.writeUInt32NoTag(10); output.writeUInt32NoTag(featuresMemoizedSerializedSize); } for (int i = 0; i < features_.size(); i++) { output.writeInt64NoTag(features_.get(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 < features_.size(); i++) { dataSize += shade.protobuf.CodedOutputStream .computeInt64SizeNoTag(features_.get(i)); } size += dataSize; if (!getFeaturesList().isEmpty()) { size += 1; size += shade.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } featuresMemoizedSerializedSize = dataSize; } 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 com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList)) { return super.equals(obj); } com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList other = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList) obj; boolean result = true; result = result && getFeaturesList() .equals(other.getFeaturesList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getFeaturesCount() > 0) { hash = (37 * hash) + FEATURES_FIELD_NUMBER; hash = (53 * hash) + getFeaturesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList parseFrom( java.nio.ByteBuffer data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList parseFrom( java.nio.ByteBuffer data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList parseFrom( shade.protobuf.ByteString data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList parseFrom( shade.protobuf.ByteString data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList parseFrom(byte[] data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList parseFrom( byte[] data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList parseFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList parseFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList parseDelimitedFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList parseFrom( shade.protobuf.CodedInputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList parseFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.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(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList 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( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code LongList} */ public static final class Builder extends shade.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:LongList) com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongListOrBuilder { public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongList_descriptor; } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongList_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.Builder.class); } // Construct using com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (shade.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); features_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public shade.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongList_descriptor; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList getDefaultInstanceForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.getDefaultInstance(); } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList build() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList buildPartial() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList result = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { features_ = java.util.Collections.unmodifiableList(features_); bitField0_ = (bitField0_ & ~0x00000001); } result.features_ = features_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( shade.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( shade.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(shade.protobuf.Message other) { if (other instanceof com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList) { return mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList other) { if (other == com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.getDefaultInstance()) return this; if (!other.features_.isEmpty()) { if (features_.isEmpty()) { features_ = other.features_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureFeaturesIsMutable(); features_.addAll(other.features_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (shade.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List features_ = java.util.Collections.emptyList(); private void ensureFeaturesIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { features_ = new java.util.ArrayList(features_); bitField0_ |= 0x00000001; } } /** * repeated int64 features = 1; */ public java.util.List getFeaturesList() { return java.util.Collections.unmodifiableList(features_); } /** * repeated int64 features = 1; */ public int getFeaturesCount() { return features_.size(); } /** * repeated int64 features = 1; */ public long getFeatures(int index) { return features_.get(index); } /** * repeated int64 features = 1; */ public Builder setFeatures( int index, long value) { ensureFeaturesIsMutable(); features_.set(index, value); onChanged(); return this; } /** * repeated int64 features = 1; */ public Builder addFeatures(long value) { ensureFeaturesIsMutable(); features_.add(value); onChanged(); return this; } /** * repeated int64 features = 1; */ public Builder addAllFeatures( java.lang.Iterable values) { ensureFeaturesIsMutable(); shade.protobuf.AbstractMessageLite.Builder.addAll( values, features_); onChanged(); return this; } /** * repeated int64 features = 1; */ public Builder clearFeatures() { features_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:LongList) } // @@protoc_insertion_point(class_scope:LongList) private static final com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList(); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList getDefaultInstance() { return DEFAULT_INSTANCE; } private static final shade.protobuf.Parser PARSER = new shade.protobuf.AbstractParser() { @java.lang.Override public LongList parsePartialFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return new LongList(input, extensionRegistry); } }; public static shade.protobuf.Parser parser() { return PARSER; } @java.lang.Override public shade.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FloatListOrBuilder extends // @@protoc_insertion_point(interface_extends:FloatList) shade.protobuf.MessageOrBuilder { /** * repeated float features = 1; */ java.util.List getFeaturesList(); /** * repeated float features = 1; */ int getFeaturesCount(); /** * repeated float features = 1; */ float getFeatures(int index); } /** * Protobuf type {@code FloatList} */ public static final class FloatList extends shade.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:FloatList) FloatListOrBuilder { private static final long serialVersionUID = 0L; // Use FloatList.newBuilder() to construct. private FloatList(shade.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FloatList() { features_ = java.util.Collections.emptyList(); } @java.lang.Override public final shade.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private FloatList( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; shade.protobuf.UnknownFieldSet.Builder unknownFields = shade.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 13: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { features_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } features_.add(input.readFloat()); break; } case 10: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) { features_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { features_.add(input.readFloat()); } input.popLimit(limit); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (shade.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new shade.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { features_ = java.util.Collections.unmodifiableList(features_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_FloatList_descriptor; } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_FloatList_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.Builder.class); } public static final int FEATURES_FIELD_NUMBER = 1; private java.util.List features_; /** * repeated float features = 1; */ public java.util.List getFeaturesList() { return features_; } /** * repeated float features = 1; */ public int getFeaturesCount() { return features_.size(); } /** * repeated float features = 1; */ public float getFeatures(int index) { return features_.get(index); } private int featuresMemoizedSerializedSize = -1; 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(shade.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (getFeaturesList().size() > 0) { output.writeUInt32NoTag(10); output.writeUInt32NoTag(featuresMemoizedSerializedSize); } for (int i = 0; i < features_.size(); i++) { output.writeFloatNoTag(features_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; dataSize = 4 * getFeaturesList().size(); size += dataSize; if (!getFeaturesList().isEmpty()) { size += 1; size += shade.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } featuresMemoizedSerializedSize = dataSize; } 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 com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList)) { return super.equals(obj); } com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList other = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList) obj; boolean result = true; result = result && getFeaturesList() .equals(other.getFeaturesList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getFeaturesCount() > 0) { hash = (37 * hash) + FEATURES_FIELD_NUMBER; hash = (53 * hash) + getFeaturesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList parseFrom( java.nio.ByteBuffer data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList parseFrom( java.nio.ByteBuffer data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList parseFrom( shade.protobuf.ByteString data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList parseFrom( shade.protobuf.ByteString data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList parseFrom(byte[] data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList parseFrom( byte[] data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList parseFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList parseFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList parseDelimitedFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList parseFrom( shade.protobuf.CodedInputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList parseFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.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(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList 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( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code FloatList} */ public static final class Builder extends shade.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:FloatList) com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatListOrBuilder { public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_FloatList_descriptor; } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_FloatList_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.Builder.class); } // Construct using com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (shade.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); features_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public shade.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_FloatList_descriptor; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList getDefaultInstanceForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.getDefaultInstance(); } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList build() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList buildPartial() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList result = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { features_ = java.util.Collections.unmodifiableList(features_); bitField0_ = (bitField0_ & ~0x00000001); } result.features_ = features_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( shade.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( shade.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(shade.protobuf.Message other) { if (other instanceof com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList) { return mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList other) { if (other == com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.getDefaultInstance()) return this; if (!other.features_.isEmpty()) { if (features_.isEmpty()) { features_ = other.features_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureFeaturesIsMutable(); features_.addAll(other.features_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (shade.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List features_ = java.util.Collections.emptyList(); private void ensureFeaturesIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { features_ = new java.util.ArrayList(features_); bitField0_ |= 0x00000001; } } /** * repeated float features = 1; */ public java.util.List getFeaturesList() { return java.util.Collections.unmodifiableList(features_); } /** * repeated float features = 1; */ public int getFeaturesCount() { return features_.size(); } /** * repeated float features = 1; */ public float getFeatures(int index) { return features_.get(index); } /** * repeated float features = 1; */ public Builder setFeatures( int index, float value) { ensureFeaturesIsMutable(); features_.set(index, value); onChanged(); return this; } /** * repeated float features = 1; */ public Builder addFeatures(float value) { ensureFeaturesIsMutable(); features_.add(value); onChanged(); return this; } /** * repeated float features = 1; */ public Builder addAllFeatures( java.lang.Iterable values) { ensureFeaturesIsMutable(); shade.protobuf.AbstractMessageLite.Builder.addAll( values, features_); onChanged(); return this; } /** * repeated float features = 1; */ public Builder clearFeatures() { features_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:FloatList) } // @@protoc_insertion_point(class_scope:FloatList) private static final com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList(); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList getDefaultInstance() { return DEFAULT_INSTANCE; } private static final shade.protobuf.Parser PARSER = new shade.protobuf.AbstractParser() { @java.lang.Override public FloatList parsePartialFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return new FloatList(input, extensionRegistry); } }; public static shade.protobuf.Parser parser() { return PARSER; } @java.lang.Override public shade.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DoubleListOrBuilder extends // @@protoc_insertion_point(interface_extends:DoubleList) shade.protobuf.MessageOrBuilder { /** * repeated double features = 1; */ java.util.List getFeaturesList(); /** * repeated double features = 1; */ int getFeaturesCount(); /** * repeated double features = 1; */ double getFeatures(int index); } /** * Protobuf type {@code DoubleList} */ public static final class DoubleList extends shade.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:DoubleList) DoubleListOrBuilder { private static final long serialVersionUID = 0L; // Use DoubleList.newBuilder() to construct. private DoubleList(shade.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DoubleList() { features_ = java.util.Collections.emptyList(); } @java.lang.Override public final shade.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DoubleList( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; shade.protobuf.UnknownFieldSet.Builder unknownFields = shade.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 9: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { features_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } features_.add(input.readDouble()); break; } case 10: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) { features_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { features_.add(input.readDouble()); } input.popLimit(limit); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (shade.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new shade.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { features_ = java.util.Collections.unmodifiableList(features_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_DoubleList_descriptor; } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_DoubleList_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.Builder.class); } public static final int FEATURES_FIELD_NUMBER = 1; private java.util.List features_; /** * repeated double features = 1; */ public java.util.List getFeaturesList() { return features_; } /** * repeated double features = 1; */ public int getFeaturesCount() { return features_.size(); } /** * repeated double features = 1; */ public double getFeatures(int index) { return features_.get(index); } private int featuresMemoizedSerializedSize = -1; 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(shade.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (getFeaturesList().size() > 0) { output.writeUInt32NoTag(10); output.writeUInt32NoTag(featuresMemoizedSerializedSize); } for (int i = 0; i < features_.size(); i++) { output.writeDoubleNoTag(features_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; dataSize = 8 * getFeaturesList().size(); size += dataSize; if (!getFeaturesList().isEmpty()) { size += 1; size += shade.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } featuresMemoizedSerializedSize = dataSize; } 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 com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList)) { return super.equals(obj); } com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList other = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList) obj; boolean result = true; result = result && getFeaturesList() .equals(other.getFeaturesList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getFeaturesCount() > 0) { hash = (37 * hash) + FEATURES_FIELD_NUMBER; hash = (53 * hash) + getFeaturesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList parseFrom( java.nio.ByteBuffer data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList parseFrom( java.nio.ByteBuffer data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList parseFrom( shade.protobuf.ByteString data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList parseFrom( shade.protobuf.ByteString data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList parseFrom(byte[] data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList parseFrom( byte[] data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList parseFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList parseFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList parseDelimitedFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList parseFrom( shade.protobuf.CodedInputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList parseFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.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(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList 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( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code DoubleList} */ public static final class Builder extends shade.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:DoubleList) com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleListOrBuilder { public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_DoubleList_descriptor; } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_DoubleList_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.Builder.class); } // Construct using com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (shade.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); features_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public shade.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_DoubleList_descriptor; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList getDefaultInstanceForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.getDefaultInstance(); } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList build() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList buildPartial() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList result = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { features_ = java.util.Collections.unmodifiableList(features_); bitField0_ = (bitField0_ & ~0x00000001); } result.features_ = features_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( shade.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( shade.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(shade.protobuf.Message other) { if (other instanceof com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList) { return mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList other) { if (other == com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.getDefaultInstance()) return this; if (!other.features_.isEmpty()) { if (features_.isEmpty()) { features_ = other.features_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureFeaturesIsMutable(); features_.addAll(other.features_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (shade.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List features_ = java.util.Collections.emptyList(); private void ensureFeaturesIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { features_ = new java.util.ArrayList(features_); bitField0_ |= 0x00000001; } } /** * repeated double features = 1; */ public java.util.List getFeaturesList() { return java.util.Collections.unmodifiableList(features_); } /** * repeated double features = 1; */ public int getFeaturesCount() { return features_.size(); } /** * repeated double features = 1; */ public double getFeatures(int index) { return features_.get(index); } /** * repeated double features = 1; */ public Builder setFeatures( int index, double value) { ensureFeaturesIsMutable(); features_.set(index, value); onChanged(); return this; } /** * repeated double features = 1; */ public Builder addFeatures(double value) { ensureFeaturesIsMutable(); features_.add(value); onChanged(); return this; } /** * repeated double features = 1; */ public Builder addAllFeatures( java.lang.Iterable values) { ensureFeaturesIsMutable(); shade.protobuf.AbstractMessageLite.Builder.addAll( values, features_); onChanged(); return this; } /** * repeated double features = 1; */ public Builder clearFeatures() { features_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:DoubleList) } // @@protoc_insertion_point(class_scope:DoubleList) private static final com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList(); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList getDefaultInstance() { return DEFAULT_INSTANCE; } private static final shade.protobuf.Parser PARSER = new shade.protobuf.AbstractParser() { @java.lang.Override public DoubleList parsePartialFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return new DoubleList(input, extensionRegistry); } }; public static shade.protobuf.Parser parser() { return PARSER; } @java.lang.Override public shade.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StringListOrBuilder extends // @@protoc_insertion_point(interface_extends:StringList) shade.protobuf.MessageOrBuilder { /** * repeated string features = 1; */ java.util.List getFeaturesList(); /** * repeated string features = 1; */ int getFeaturesCount(); /** * repeated string features = 1; */ java.lang.String getFeatures(int index); /** * repeated string features = 1; */ shade.protobuf.ByteString getFeaturesBytes(int index); } /** * Protobuf type {@code StringList} */ public static final class StringList extends shade.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:StringList) StringListOrBuilder { private static final long serialVersionUID = 0L; // Use StringList.newBuilder() to construct. private StringList(shade.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StringList() { features_ = shade.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override public final shade.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StringList( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; shade.protobuf.UnknownFieldSet.Builder unknownFields = shade.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { features_ = new shade.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } features_.add(s); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (shade.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new shade.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { features_ = features_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringList_descriptor; } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringList_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.Builder.class); } public static final int FEATURES_FIELD_NUMBER = 1; private shade.protobuf.LazyStringList features_; /** * repeated string features = 1; */ public shade.protobuf.ProtocolStringList getFeaturesList() { return features_; } /** * repeated string features = 1; */ public int getFeaturesCount() { return features_.size(); } /** * repeated string features = 1; */ public java.lang.String getFeatures(int index) { return features_.get(index); } /** * repeated string features = 1; */ public shade.protobuf.ByteString getFeaturesBytes(int index) { return features_.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(shade.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < features_.size(); i++) { shade.protobuf.GeneratedMessageV3.writeString(output, 1, features_.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 < features_.size(); i++) { dataSize += computeStringSizeNoTag(features_.getRaw(i)); } size += dataSize; size += 1 * getFeaturesList().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 com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList)) { return super.equals(obj); } com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList other = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList) obj; boolean result = true; result = result && getFeaturesList() .equals(other.getFeaturesList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getFeaturesCount() > 0) { hash = (37 * hash) + FEATURES_FIELD_NUMBER; hash = (53 * hash) + getFeaturesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList parseFrom( java.nio.ByteBuffer data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList parseFrom( java.nio.ByteBuffer data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList parseFrom( shade.protobuf.ByteString data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList parseFrom( shade.protobuf.ByteString data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList parseFrom(byte[] data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList parseFrom( byte[] data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList parseFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList parseFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList parseDelimitedFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList parseFrom( shade.protobuf.CodedInputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList parseFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.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(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList 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( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code StringList} */ public static final class Builder extends shade.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:StringList) com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringListOrBuilder { public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringList_descriptor; } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringList_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.Builder.class); } // Construct using com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (shade.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); features_ = shade.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public shade.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringList_descriptor; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList getDefaultInstanceForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.getDefaultInstance(); } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList build() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList buildPartial() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList result = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { features_ = features_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.features_ = features_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( shade.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( shade.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(shade.protobuf.Message other) { if (other instanceof com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList) { return mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList other) { if (other == com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.getDefaultInstance()) return this; if (!other.features_.isEmpty()) { if (features_.isEmpty()) { features_ = other.features_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureFeaturesIsMutable(); features_.addAll(other.features_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (shade.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private shade.protobuf.LazyStringList features_ = shade.protobuf.LazyStringArrayList.EMPTY; private void ensureFeaturesIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { features_ = new shade.protobuf.LazyStringArrayList(features_); bitField0_ |= 0x00000001; } } /** * repeated string features = 1; */ public shade.protobuf.ProtocolStringList getFeaturesList() { return features_.getUnmodifiableView(); } /** * repeated string features = 1; */ public int getFeaturesCount() { return features_.size(); } /** * repeated string features = 1; */ public java.lang.String getFeatures(int index) { return features_.get(index); } /** * repeated string features = 1; */ public shade.protobuf.ByteString getFeaturesBytes(int index) { return features_.getByteString(index); } /** * repeated string features = 1; */ public Builder setFeatures( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureFeaturesIsMutable(); features_.set(index, value); onChanged(); return this; } /** * repeated string features = 1; */ public Builder addFeatures( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureFeaturesIsMutable(); features_.add(value); onChanged(); return this; } /** * repeated string features = 1; */ public Builder addAllFeatures( java.lang.Iterable values) { ensureFeaturesIsMutable(); shade.protobuf.AbstractMessageLite.Builder.addAll( values, features_); onChanged(); return this; } /** * repeated string features = 1; */ public Builder clearFeatures() { features_ = shade.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string features = 1; */ public Builder addFeaturesBytes( shade.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureFeaturesIsMutable(); features_.add(value); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:StringList) } // @@protoc_insertion_point(class_scope:StringList) private static final com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList(); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList getDefaultInstance() { return DEFAULT_INSTANCE; } private static final shade.protobuf.Parser PARSER = new shade.protobuf.AbstractParser() { @java.lang.Override public StringList parsePartialFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return new StringList(input, extensionRegistry); } }; public static shade.protobuf.Parser parser() { return PARSER; } @java.lang.Override public shade.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface IntListsOrBuilder extends // @@protoc_insertion_point(interface_extends:IntLists) shade.protobuf.MessageOrBuilder { /** * repeated .IntList lists = 1; */ java.util.List getListsList(); /** * repeated .IntList lists = 1; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList getLists(int index); /** * repeated .IntList lists = 1; */ int getListsCount(); /** * repeated .IntList lists = 1; */ java.util.List getListsOrBuilderList(); /** * repeated .IntList lists = 1; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntListOrBuilder getListsOrBuilder( int index); } /** *
     * lists
     * 
* * Protobuf type {@code IntLists} */ public static final class IntLists extends shade.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:IntLists) IntListsOrBuilder { private static final long serialVersionUID = 0L; // Use IntLists.newBuilder() to construct. private IntLists(shade.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private IntLists() { lists_ = java.util.Collections.emptyList(); } @java.lang.Override public final shade.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private IntLists( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; shade.protobuf.UnknownFieldSet.Builder unknownFields = shade.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { lists_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } lists_.add( input.readMessage(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.parser(), extensionRegistry)); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (shade.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new shade.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { lists_ = java.util.Collections.unmodifiableList(lists_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntLists_descriptor; } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntLists_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists.Builder.class); } public static final int LISTS_FIELD_NUMBER = 1; private java.util.List lists_; /** * repeated .IntList lists = 1; */ public java.util.List getListsList() { return lists_; } /** * repeated .IntList lists = 1; */ public java.util.List getListsOrBuilderList() { return lists_; } /** * repeated .IntList lists = 1; */ public int getListsCount() { return lists_.size(); } /** * repeated .IntList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList getLists(int index) { return lists_.get(index); } /** * repeated .IntList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntListOrBuilder getListsOrBuilder( int index) { return lists_.get(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(shade.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < lists_.size(); i++) { output.writeMessage(1, lists_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < lists_.size(); i++) { size += shade.protobuf.CodedOutputStream .computeMessageSize(1, lists_.get(i)); } 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 com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists)) { return super.equals(obj); } com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists other = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists) obj; boolean result = true; result = result && getListsList() .equals(other.getListsList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getListsCount() > 0) { hash = (37 * hash) + LISTS_FIELD_NUMBER; hash = (53 * hash) + getListsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists parseFrom( java.nio.ByteBuffer data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists parseFrom( java.nio.ByteBuffer data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists parseFrom( shade.protobuf.ByteString data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists parseFrom( shade.protobuf.ByteString data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists parseFrom(byte[] data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists parseFrom( byte[] data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists parseFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists parseFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists parseDelimitedFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists parseFrom( shade.protobuf.CodedInputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists parseFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.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(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists 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( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
         * lists
         * 
* * Protobuf type {@code IntLists} */ public static final class Builder extends shade.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:IntLists) com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntListsOrBuilder { public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntLists_descriptor; } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntLists_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists.Builder.class); } // Construct using com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (shade.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getListsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (listsBuilder_ == null) { lists_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { listsBuilder_.clear(); } return this; } @java.lang.Override public shade.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_IntLists_descriptor; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists getDefaultInstanceForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists.getDefaultInstance(); } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists build() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists buildPartial() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists result = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists(this); int from_bitField0_ = bitField0_; if (listsBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { lists_ = java.util.Collections.unmodifiableList(lists_); bitField0_ = (bitField0_ & ~0x00000001); } result.lists_ = lists_; } else { result.lists_ = listsBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( shade.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( shade.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(shade.protobuf.Message other) { if (other instanceof com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists) { return mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists other) { if (other == com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists.getDefaultInstance()) return this; if (listsBuilder_ == null) { if (!other.lists_.isEmpty()) { if (lists_.isEmpty()) { lists_ = other.lists_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureListsIsMutable(); lists_.addAll(other.lists_); } onChanged(); } } else { if (!other.lists_.isEmpty()) { if (listsBuilder_.isEmpty()) { listsBuilder_.dispose(); listsBuilder_ = null; lists_ = other.lists_; bitField0_ = (bitField0_ & ~0x00000001); listsBuilder_ = shade.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getListsFieldBuilder() : null; } else { listsBuilder_.addAllMessages(other.lists_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (shade.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List lists_ = java.util.Collections.emptyList(); private void ensureListsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { lists_ = new java.util.ArrayList(lists_); bitField0_ |= 0x00000001; } } private shade.protobuf.RepeatedFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntListOrBuilder> listsBuilder_; /** * repeated .IntList lists = 1; */ public java.util.List getListsList() { if (listsBuilder_ == null) { return java.util.Collections.unmodifiableList(lists_); } else { return listsBuilder_.getMessageList(); } } /** * repeated .IntList lists = 1; */ public int getListsCount() { if (listsBuilder_ == null) { return lists_.size(); } else { return listsBuilder_.getCount(); } } /** * repeated .IntList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList getLists(int index) { if (listsBuilder_ == null) { return lists_.get(index); } else { return listsBuilder_.getMessage(index); } } /** * repeated .IntList lists = 1; */ public Builder setLists( int index, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList value) { if (listsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureListsIsMutable(); lists_.set(index, value); onChanged(); } else { listsBuilder_.setMessage(index, value); } return this; } /** * repeated .IntList lists = 1; */ public Builder setLists( int index, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.Builder builderForValue) { if (listsBuilder_ == null) { ensureListsIsMutable(); lists_.set(index, builderForValue.build()); onChanged(); } else { listsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .IntList lists = 1; */ public Builder addLists(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList value) { if (listsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureListsIsMutable(); lists_.add(value); onChanged(); } else { listsBuilder_.addMessage(value); } return this; } /** * repeated .IntList lists = 1; */ public Builder addLists( int index, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList value) { if (listsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureListsIsMutable(); lists_.add(index, value); onChanged(); } else { listsBuilder_.addMessage(index, value); } return this; } /** * repeated .IntList lists = 1; */ public Builder addLists( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.Builder builderForValue) { if (listsBuilder_ == null) { ensureListsIsMutable(); lists_.add(builderForValue.build()); onChanged(); } else { listsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .IntList lists = 1; */ public Builder addLists( int index, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.Builder builderForValue) { if (listsBuilder_ == null) { ensureListsIsMutable(); lists_.add(index, builderForValue.build()); onChanged(); } else { listsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .IntList lists = 1; */ public Builder addAllLists( java.lang.Iterable values) { if (listsBuilder_ == null) { ensureListsIsMutable(); shade.protobuf.AbstractMessageLite.Builder.addAll( values, lists_); onChanged(); } else { listsBuilder_.addAllMessages(values); } return this; } /** * repeated .IntList lists = 1; */ public Builder clearLists() { if (listsBuilder_ == null) { lists_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { listsBuilder_.clear(); } return this; } /** * repeated .IntList lists = 1; */ public Builder removeLists(int index) { if (listsBuilder_ == null) { ensureListsIsMutable(); lists_.remove(index); onChanged(); } else { listsBuilder_.remove(index); } return this; } /** * repeated .IntList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.Builder getListsBuilder( int index) { return getListsFieldBuilder().getBuilder(index); } /** * repeated .IntList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntListOrBuilder getListsOrBuilder( int index) { if (listsBuilder_ == null) { return lists_.get(index); } else { return listsBuilder_.getMessageOrBuilder(index); } } /** * repeated .IntList lists = 1; */ public java.util.List getListsOrBuilderList() { if (listsBuilder_ != null) { return listsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(lists_); } } /** * repeated .IntList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.Builder addListsBuilder() { return getListsFieldBuilder().addBuilder( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.getDefaultInstance()); } /** * repeated .IntList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.Builder addListsBuilder( int index) { return getListsFieldBuilder().addBuilder( index, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.getDefaultInstance()); } /** * repeated .IntList lists = 1; */ public java.util.List getListsBuilderList() { return getListsFieldBuilder().getBuilderList(); } private shade.protobuf.RepeatedFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntListOrBuilder> getListsFieldBuilder() { if (listsBuilder_ == null) { listsBuilder_ = new shade.protobuf.RepeatedFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntListOrBuilder>( lists_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); lists_ = null; } return listsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:IntLists) } // @@protoc_insertion_point(class_scope:IntLists) private static final com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists(); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists getDefaultInstance() { return DEFAULT_INSTANCE; } private static final shade.protobuf.Parser PARSER = new shade.protobuf.AbstractParser() { @java.lang.Override public IntLists parsePartialFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return new IntLists(input, extensionRegistry); } }; public static shade.protobuf.Parser parser() { return PARSER; } @java.lang.Override public shade.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface LongListsOrBuilder extends // @@protoc_insertion_point(interface_extends:LongLists) shade.protobuf.MessageOrBuilder { /** * repeated .LongList lists = 1; */ java.util.List getListsList(); /** * repeated .LongList lists = 1; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList getLists(int index); /** * repeated .LongList lists = 1; */ int getListsCount(); /** * repeated .LongList lists = 1; */ java.util.List getListsOrBuilderList(); /** * repeated .LongList lists = 1; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongListOrBuilder getListsOrBuilder( int index); } /** * Protobuf type {@code LongLists} */ public static final class LongLists extends shade.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:LongLists) LongListsOrBuilder { private static final long serialVersionUID = 0L; // Use LongLists.newBuilder() to construct. private LongLists(shade.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LongLists() { lists_ = java.util.Collections.emptyList(); } @java.lang.Override public final shade.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private LongLists( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; shade.protobuf.UnknownFieldSet.Builder unknownFields = shade.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { lists_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } lists_.add( input.readMessage(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.parser(), extensionRegistry)); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (shade.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new shade.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { lists_ = java.util.Collections.unmodifiableList(lists_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongLists_descriptor; } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongLists_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists.Builder.class); } public static final int LISTS_FIELD_NUMBER = 1; private java.util.List lists_; /** * repeated .LongList lists = 1; */ public java.util.List getListsList() { return lists_; } /** * repeated .LongList lists = 1; */ public java.util.List getListsOrBuilderList() { return lists_; } /** * repeated .LongList lists = 1; */ public int getListsCount() { return lists_.size(); } /** * repeated .LongList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList getLists(int index) { return lists_.get(index); } /** * repeated .LongList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongListOrBuilder getListsOrBuilder( int index) { return lists_.get(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(shade.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < lists_.size(); i++) { output.writeMessage(1, lists_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < lists_.size(); i++) { size += shade.protobuf.CodedOutputStream .computeMessageSize(1, lists_.get(i)); } 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 com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists)) { return super.equals(obj); } com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists other = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists) obj; boolean result = true; result = result && getListsList() .equals(other.getListsList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getListsCount() > 0) { hash = (37 * hash) + LISTS_FIELD_NUMBER; hash = (53 * hash) + getListsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists parseFrom( java.nio.ByteBuffer data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists parseFrom( java.nio.ByteBuffer data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists parseFrom( shade.protobuf.ByteString data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists parseFrom( shade.protobuf.ByteString data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists parseFrom(byte[] data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists parseFrom( byte[] data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists parseFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists parseFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists parseDelimitedFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists parseFrom( shade.protobuf.CodedInputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists parseFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.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(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists 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( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code LongLists} */ public static final class Builder extends shade.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:LongLists) com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongListsOrBuilder { public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongLists_descriptor; } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongLists_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists.Builder.class); } // Construct using com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (shade.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getListsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (listsBuilder_ == null) { lists_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { listsBuilder_.clear(); } return this; } @java.lang.Override public shade.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_LongLists_descriptor; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists getDefaultInstanceForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists.getDefaultInstance(); } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists build() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists buildPartial() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists result = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists(this); int from_bitField0_ = bitField0_; if (listsBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { lists_ = java.util.Collections.unmodifiableList(lists_); bitField0_ = (bitField0_ & ~0x00000001); } result.lists_ = lists_; } else { result.lists_ = listsBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( shade.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( shade.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(shade.protobuf.Message other) { if (other instanceof com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists) { return mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists other) { if (other == com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists.getDefaultInstance()) return this; if (listsBuilder_ == null) { if (!other.lists_.isEmpty()) { if (lists_.isEmpty()) { lists_ = other.lists_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureListsIsMutable(); lists_.addAll(other.lists_); } onChanged(); } } else { if (!other.lists_.isEmpty()) { if (listsBuilder_.isEmpty()) { listsBuilder_.dispose(); listsBuilder_ = null; lists_ = other.lists_; bitField0_ = (bitField0_ & ~0x00000001); listsBuilder_ = shade.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getListsFieldBuilder() : null; } else { listsBuilder_.addAllMessages(other.lists_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (shade.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List lists_ = java.util.Collections.emptyList(); private void ensureListsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { lists_ = new java.util.ArrayList(lists_); bitField0_ |= 0x00000001; } } private shade.protobuf.RepeatedFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongListOrBuilder> listsBuilder_; /** * repeated .LongList lists = 1; */ public java.util.List getListsList() { if (listsBuilder_ == null) { return java.util.Collections.unmodifiableList(lists_); } else { return listsBuilder_.getMessageList(); } } /** * repeated .LongList lists = 1; */ public int getListsCount() { if (listsBuilder_ == null) { return lists_.size(); } else { return listsBuilder_.getCount(); } } /** * repeated .LongList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList getLists(int index) { if (listsBuilder_ == null) { return lists_.get(index); } else { return listsBuilder_.getMessage(index); } } /** * repeated .LongList lists = 1; */ public Builder setLists( int index, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList value) { if (listsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureListsIsMutable(); lists_.set(index, value); onChanged(); } else { listsBuilder_.setMessage(index, value); } return this; } /** * repeated .LongList lists = 1; */ public Builder setLists( int index, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.Builder builderForValue) { if (listsBuilder_ == null) { ensureListsIsMutable(); lists_.set(index, builderForValue.build()); onChanged(); } else { listsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .LongList lists = 1; */ public Builder addLists(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList value) { if (listsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureListsIsMutable(); lists_.add(value); onChanged(); } else { listsBuilder_.addMessage(value); } return this; } /** * repeated .LongList lists = 1; */ public Builder addLists( int index, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList value) { if (listsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureListsIsMutable(); lists_.add(index, value); onChanged(); } else { listsBuilder_.addMessage(index, value); } return this; } /** * repeated .LongList lists = 1; */ public Builder addLists( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.Builder builderForValue) { if (listsBuilder_ == null) { ensureListsIsMutable(); lists_.add(builderForValue.build()); onChanged(); } else { listsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .LongList lists = 1; */ public Builder addLists( int index, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.Builder builderForValue) { if (listsBuilder_ == null) { ensureListsIsMutable(); lists_.add(index, builderForValue.build()); onChanged(); } else { listsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .LongList lists = 1; */ public Builder addAllLists( java.lang.Iterable values) { if (listsBuilder_ == null) { ensureListsIsMutable(); shade.protobuf.AbstractMessageLite.Builder.addAll( values, lists_); onChanged(); } else { listsBuilder_.addAllMessages(values); } return this; } /** * repeated .LongList lists = 1; */ public Builder clearLists() { if (listsBuilder_ == null) { lists_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { listsBuilder_.clear(); } return this; } /** * repeated .LongList lists = 1; */ public Builder removeLists(int index) { if (listsBuilder_ == null) { ensureListsIsMutable(); lists_.remove(index); onChanged(); } else { listsBuilder_.remove(index); } return this; } /** * repeated .LongList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.Builder getListsBuilder( int index) { return getListsFieldBuilder().getBuilder(index); } /** * repeated .LongList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongListOrBuilder getListsOrBuilder( int index) { if (listsBuilder_ == null) { return lists_.get(index); } else { return listsBuilder_.getMessageOrBuilder(index); } } /** * repeated .LongList lists = 1; */ public java.util.List getListsOrBuilderList() { if (listsBuilder_ != null) { return listsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(lists_); } } /** * repeated .LongList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.Builder addListsBuilder() { return getListsFieldBuilder().addBuilder( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.getDefaultInstance()); } /** * repeated .LongList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.Builder addListsBuilder( int index) { return getListsFieldBuilder().addBuilder( index, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.getDefaultInstance()); } /** * repeated .LongList lists = 1; */ public java.util.List getListsBuilderList() { return getListsFieldBuilder().getBuilderList(); } private shade.protobuf.RepeatedFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongListOrBuilder> getListsFieldBuilder() { if (listsBuilder_ == null) { listsBuilder_ = new shade.protobuf.RepeatedFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongListOrBuilder>( lists_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); lists_ = null; } return listsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:LongLists) } // @@protoc_insertion_point(class_scope:LongLists) private static final com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists(); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists getDefaultInstance() { return DEFAULT_INSTANCE; } private static final shade.protobuf.Parser PARSER = new shade.protobuf.AbstractParser() { @java.lang.Override public LongLists parsePartialFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return new LongLists(input, extensionRegistry); } }; public static shade.protobuf.Parser parser() { return PARSER; } @java.lang.Override public shade.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FloatListsOrBuilder extends // @@protoc_insertion_point(interface_extends:FloatLists) shade.protobuf.MessageOrBuilder { /** * repeated .FloatList lists = 1; */ java.util.List getListsList(); /** * repeated .FloatList lists = 1; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList getLists(int index); /** * repeated .FloatList lists = 1; */ int getListsCount(); /** * repeated .FloatList lists = 1; */ java.util.List getListsOrBuilderList(); /** * repeated .FloatList lists = 1; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatListOrBuilder getListsOrBuilder( int index); } /** * Protobuf type {@code FloatLists} */ public static final class FloatLists extends shade.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:FloatLists) FloatListsOrBuilder { private static final long serialVersionUID = 0L; // Use FloatLists.newBuilder() to construct. private FloatLists(shade.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FloatLists() { lists_ = java.util.Collections.emptyList(); } @java.lang.Override public final shade.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private FloatLists( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; shade.protobuf.UnknownFieldSet.Builder unknownFields = shade.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { lists_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } lists_.add( input.readMessage(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.parser(), extensionRegistry)); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (shade.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new shade.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { lists_ = java.util.Collections.unmodifiableList(lists_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_FloatLists_descriptor; } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_FloatLists_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists.Builder.class); } public static final int LISTS_FIELD_NUMBER = 1; private java.util.List lists_; /** * repeated .FloatList lists = 1; */ public java.util.List getListsList() { return lists_; } /** * repeated .FloatList lists = 1; */ public java.util.List getListsOrBuilderList() { return lists_; } /** * repeated .FloatList lists = 1; */ public int getListsCount() { return lists_.size(); } /** * repeated .FloatList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList getLists(int index) { return lists_.get(index); } /** * repeated .FloatList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatListOrBuilder getListsOrBuilder( int index) { return lists_.get(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(shade.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < lists_.size(); i++) { output.writeMessage(1, lists_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < lists_.size(); i++) { size += shade.protobuf.CodedOutputStream .computeMessageSize(1, lists_.get(i)); } 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 com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists)) { return super.equals(obj); } com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists other = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists) obj; boolean result = true; result = result && getListsList() .equals(other.getListsList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getListsCount() > 0) { hash = (37 * hash) + LISTS_FIELD_NUMBER; hash = (53 * hash) + getListsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists parseFrom( java.nio.ByteBuffer data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists parseFrom( java.nio.ByteBuffer data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists parseFrom( shade.protobuf.ByteString data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists parseFrom( shade.protobuf.ByteString data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists parseFrom(byte[] data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists parseFrom( byte[] data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists parseFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists parseFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists parseDelimitedFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists parseFrom( shade.protobuf.CodedInputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists parseFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.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(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists 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( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code FloatLists} */ public static final class Builder extends shade.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:FloatLists) com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatListsOrBuilder { public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_FloatLists_descriptor; } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_FloatLists_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists.Builder.class); } // Construct using com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (shade.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getListsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (listsBuilder_ == null) { lists_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { listsBuilder_.clear(); } return this; } @java.lang.Override public shade.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_FloatLists_descriptor; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists getDefaultInstanceForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists.getDefaultInstance(); } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists build() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists buildPartial() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists result = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists(this); int from_bitField0_ = bitField0_; if (listsBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { lists_ = java.util.Collections.unmodifiableList(lists_); bitField0_ = (bitField0_ & ~0x00000001); } result.lists_ = lists_; } else { result.lists_ = listsBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( shade.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( shade.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(shade.protobuf.Message other) { if (other instanceof com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists) { return mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists other) { if (other == com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists.getDefaultInstance()) return this; if (listsBuilder_ == null) { if (!other.lists_.isEmpty()) { if (lists_.isEmpty()) { lists_ = other.lists_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureListsIsMutable(); lists_.addAll(other.lists_); } onChanged(); } } else { if (!other.lists_.isEmpty()) { if (listsBuilder_.isEmpty()) { listsBuilder_.dispose(); listsBuilder_ = null; lists_ = other.lists_; bitField0_ = (bitField0_ & ~0x00000001); listsBuilder_ = shade.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getListsFieldBuilder() : null; } else { listsBuilder_.addAllMessages(other.lists_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (shade.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List lists_ = java.util.Collections.emptyList(); private void ensureListsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { lists_ = new java.util.ArrayList(lists_); bitField0_ |= 0x00000001; } } private shade.protobuf.RepeatedFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatListOrBuilder> listsBuilder_; /** * repeated .FloatList lists = 1; */ public java.util.List getListsList() { if (listsBuilder_ == null) { return java.util.Collections.unmodifiableList(lists_); } else { return listsBuilder_.getMessageList(); } } /** * repeated .FloatList lists = 1; */ public int getListsCount() { if (listsBuilder_ == null) { return lists_.size(); } else { return listsBuilder_.getCount(); } } /** * repeated .FloatList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList getLists(int index) { if (listsBuilder_ == null) { return lists_.get(index); } else { return listsBuilder_.getMessage(index); } } /** * repeated .FloatList lists = 1; */ public Builder setLists( int index, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList value) { if (listsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureListsIsMutable(); lists_.set(index, value); onChanged(); } else { listsBuilder_.setMessage(index, value); } return this; } /** * repeated .FloatList lists = 1; */ public Builder setLists( int index, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.Builder builderForValue) { if (listsBuilder_ == null) { ensureListsIsMutable(); lists_.set(index, builderForValue.build()); onChanged(); } else { listsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .FloatList lists = 1; */ public Builder addLists(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList value) { if (listsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureListsIsMutable(); lists_.add(value); onChanged(); } else { listsBuilder_.addMessage(value); } return this; } /** * repeated .FloatList lists = 1; */ public Builder addLists( int index, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList value) { if (listsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureListsIsMutable(); lists_.add(index, value); onChanged(); } else { listsBuilder_.addMessage(index, value); } return this; } /** * repeated .FloatList lists = 1; */ public Builder addLists( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.Builder builderForValue) { if (listsBuilder_ == null) { ensureListsIsMutable(); lists_.add(builderForValue.build()); onChanged(); } else { listsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .FloatList lists = 1; */ public Builder addLists( int index, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.Builder builderForValue) { if (listsBuilder_ == null) { ensureListsIsMutable(); lists_.add(index, builderForValue.build()); onChanged(); } else { listsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .FloatList lists = 1; */ public Builder addAllLists( java.lang.Iterable values) { if (listsBuilder_ == null) { ensureListsIsMutable(); shade.protobuf.AbstractMessageLite.Builder.addAll( values, lists_); onChanged(); } else { listsBuilder_.addAllMessages(values); } return this; } /** * repeated .FloatList lists = 1; */ public Builder clearLists() { if (listsBuilder_ == null) { lists_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { listsBuilder_.clear(); } return this; } /** * repeated .FloatList lists = 1; */ public Builder removeLists(int index) { if (listsBuilder_ == null) { ensureListsIsMutable(); lists_.remove(index); onChanged(); } else { listsBuilder_.remove(index); } return this; } /** * repeated .FloatList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.Builder getListsBuilder( int index) { return getListsFieldBuilder().getBuilder(index); } /** * repeated .FloatList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatListOrBuilder getListsOrBuilder( int index) { if (listsBuilder_ == null) { return lists_.get(index); } else { return listsBuilder_.getMessageOrBuilder(index); } } /** * repeated .FloatList lists = 1; */ public java.util.List getListsOrBuilderList() { if (listsBuilder_ != null) { return listsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(lists_); } } /** * repeated .FloatList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.Builder addListsBuilder() { return getListsFieldBuilder().addBuilder( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.getDefaultInstance()); } /** * repeated .FloatList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.Builder addListsBuilder( int index) { return getListsFieldBuilder().addBuilder( index, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.getDefaultInstance()); } /** * repeated .FloatList lists = 1; */ public java.util.List getListsBuilderList() { return getListsFieldBuilder().getBuilderList(); } private shade.protobuf.RepeatedFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatListOrBuilder> getListsFieldBuilder() { if (listsBuilder_ == null) { listsBuilder_ = new shade.protobuf.RepeatedFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatListOrBuilder>( lists_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); lists_ = null; } return listsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:FloatLists) } // @@protoc_insertion_point(class_scope:FloatLists) private static final com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists(); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists getDefaultInstance() { return DEFAULT_INSTANCE; } private static final shade.protobuf.Parser PARSER = new shade.protobuf.AbstractParser() { @java.lang.Override public FloatLists parsePartialFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return new FloatLists(input, extensionRegistry); } }; public static shade.protobuf.Parser parser() { return PARSER; } @java.lang.Override public shade.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DoubleListsOrBuilder extends // @@protoc_insertion_point(interface_extends:DoubleLists) shade.protobuf.MessageOrBuilder { /** * repeated .DoubleList lists = 1; */ java.util.List getListsList(); /** * repeated .DoubleList lists = 1; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList getLists(int index); /** * repeated .DoubleList lists = 1; */ int getListsCount(); /** * repeated .DoubleList lists = 1; */ java.util.List getListsOrBuilderList(); /** * repeated .DoubleList lists = 1; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleListOrBuilder getListsOrBuilder( int index); } /** * Protobuf type {@code DoubleLists} */ public static final class DoubleLists extends shade.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:DoubleLists) DoubleListsOrBuilder { private static final long serialVersionUID = 0L; // Use DoubleLists.newBuilder() to construct. private DoubleLists(shade.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DoubleLists() { lists_ = java.util.Collections.emptyList(); } @java.lang.Override public final shade.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DoubleLists( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; shade.protobuf.UnknownFieldSet.Builder unknownFields = shade.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { lists_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } lists_.add( input.readMessage(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.parser(), extensionRegistry)); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (shade.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new shade.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { lists_ = java.util.Collections.unmodifiableList(lists_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_DoubleLists_descriptor; } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_DoubleLists_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists.Builder.class); } public static final int LISTS_FIELD_NUMBER = 1; private java.util.List lists_; /** * repeated .DoubleList lists = 1; */ public java.util.List getListsList() { return lists_; } /** * repeated .DoubleList lists = 1; */ public java.util.List getListsOrBuilderList() { return lists_; } /** * repeated .DoubleList lists = 1; */ public int getListsCount() { return lists_.size(); } /** * repeated .DoubleList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList getLists(int index) { return lists_.get(index); } /** * repeated .DoubleList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleListOrBuilder getListsOrBuilder( int index) { return lists_.get(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(shade.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < lists_.size(); i++) { output.writeMessage(1, lists_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < lists_.size(); i++) { size += shade.protobuf.CodedOutputStream .computeMessageSize(1, lists_.get(i)); } 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 com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists)) { return super.equals(obj); } com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists other = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists) obj; boolean result = true; result = result && getListsList() .equals(other.getListsList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getListsCount() > 0) { hash = (37 * hash) + LISTS_FIELD_NUMBER; hash = (53 * hash) + getListsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists parseFrom( java.nio.ByteBuffer data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists parseFrom( java.nio.ByteBuffer data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists parseFrom( shade.protobuf.ByteString data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists parseFrom( shade.protobuf.ByteString data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists parseFrom(byte[] data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists parseFrom( byte[] data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists parseFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists parseFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists parseDelimitedFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists parseFrom( shade.protobuf.CodedInputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists parseFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.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(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists 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( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code DoubleLists} */ public static final class Builder extends shade.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:DoubleLists) com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleListsOrBuilder { public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_DoubleLists_descriptor; } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_DoubleLists_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists.Builder.class); } // Construct using com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (shade.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getListsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (listsBuilder_ == null) { lists_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { listsBuilder_.clear(); } return this; } @java.lang.Override public shade.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_DoubleLists_descriptor; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists getDefaultInstanceForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists.getDefaultInstance(); } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists build() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists buildPartial() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists result = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists(this); int from_bitField0_ = bitField0_; if (listsBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { lists_ = java.util.Collections.unmodifiableList(lists_); bitField0_ = (bitField0_ & ~0x00000001); } result.lists_ = lists_; } else { result.lists_ = listsBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( shade.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( shade.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(shade.protobuf.Message other) { if (other instanceof com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists) { return mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists other) { if (other == com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists.getDefaultInstance()) return this; if (listsBuilder_ == null) { if (!other.lists_.isEmpty()) { if (lists_.isEmpty()) { lists_ = other.lists_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureListsIsMutable(); lists_.addAll(other.lists_); } onChanged(); } } else { if (!other.lists_.isEmpty()) { if (listsBuilder_.isEmpty()) { listsBuilder_.dispose(); listsBuilder_ = null; lists_ = other.lists_; bitField0_ = (bitField0_ & ~0x00000001); listsBuilder_ = shade.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getListsFieldBuilder() : null; } else { listsBuilder_.addAllMessages(other.lists_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (shade.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List lists_ = java.util.Collections.emptyList(); private void ensureListsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { lists_ = new java.util.ArrayList(lists_); bitField0_ |= 0x00000001; } } private shade.protobuf.RepeatedFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleListOrBuilder> listsBuilder_; /** * repeated .DoubleList lists = 1; */ public java.util.List getListsList() { if (listsBuilder_ == null) { return java.util.Collections.unmodifiableList(lists_); } else { return listsBuilder_.getMessageList(); } } /** * repeated .DoubleList lists = 1; */ public int getListsCount() { if (listsBuilder_ == null) { return lists_.size(); } else { return listsBuilder_.getCount(); } } /** * repeated .DoubleList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList getLists(int index) { if (listsBuilder_ == null) { return lists_.get(index); } else { return listsBuilder_.getMessage(index); } } /** * repeated .DoubleList lists = 1; */ public Builder setLists( int index, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList value) { if (listsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureListsIsMutable(); lists_.set(index, value); onChanged(); } else { listsBuilder_.setMessage(index, value); } return this; } /** * repeated .DoubleList lists = 1; */ public Builder setLists( int index, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.Builder builderForValue) { if (listsBuilder_ == null) { ensureListsIsMutable(); lists_.set(index, builderForValue.build()); onChanged(); } else { listsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .DoubleList lists = 1; */ public Builder addLists(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList value) { if (listsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureListsIsMutable(); lists_.add(value); onChanged(); } else { listsBuilder_.addMessage(value); } return this; } /** * repeated .DoubleList lists = 1; */ public Builder addLists( int index, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList value) { if (listsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureListsIsMutable(); lists_.add(index, value); onChanged(); } else { listsBuilder_.addMessage(index, value); } return this; } /** * repeated .DoubleList lists = 1; */ public Builder addLists( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.Builder builderForValue) { if (listsBuilder_ == null) { ensureListsIsMutable(); lists_.add(builderForValue.build()); onChanged(); } else { listsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .DoubleList lists = 1; */ public Builder addLists( int index, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.Builder builderForValue) { if (listsBuilder_ == null) { ensureListsIsMutable(); lists_.add(index, builderForValue.build()); onChanged(); } else { listsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .DoubleList lists = 1; */ public Builder addAllLists( java.lang.Iterable values) { if (listsBuilder_ == null) { ensureListsIsMutable(); shade.protobuf.AbstractMessageLite.Builder.addAll( values, lists_); onChanged(); } else { listsBuilder_.addAllMessages(values); } return this; } /** * repeated .DoubleList lists = 1; */ public Builder clearLists() { if (listsBuilder_ == null) { lists_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { listsBuilder_.clear(); } return this; } /** * repeated .DoubleList lists = 1; */ public Builder removeLists(int index) { if (listsBuilder_ == null) { ensureListsIsMutable(); lists_.remove(index); onChanged(); } else { listsBuilder_.remove(index); } return this; } /** * repeated .DoubleList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.Builder getListsBuilder( int index) { return getListsFieldBuilder().getBuilder(index); } /** * repeated .DoubleList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleListOrBuilder getListsOrBuilder( int index) { if (listsBuilder_ == null) { return lists_.get(index); } else { return listsBuilder_.getMessageOrBuilder(index); } } /** * repeated .DoubleList lists = 1; */ public java.util.List getListsOrBuilderList() { if (listsBuilder_ != null) { return listsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(lists_); } } /** * repeated .DoubleList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.Builder addListsBuilder() { return getListsFieldBuilder().addBuilder( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.getDefaultInstance()); } /** * repeated .DoubleList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.Builder addListsBuilder( int index) { return getListsFieldBuilder().addBuilder( index, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.getDefaultInstance()); } /** * repeated .DoubleList lists = 1; */ public java.util.List getListsBuilderList() { return getListsFieldBuilder().getBuilderList(); } private shade.protobuf.RepeatedFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleListOrBuilder> getListsFieldBuilder() { if (listsBuilder_ == null) { listsBuilder_ = new shade.protobuf.RepeatedFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleListOrBuilder>( lists_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); lists_ = null; } return listsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:DoubleLists) } // @@protoc_insertion_point(class_scope:DoubleLists) private static final com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists(); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists getDefaultInstance() { return DEFAULT_INSTANCE; } private static final shade.protobuf.Parser PARSER = new shade.protobuf.AbstractParser() { @java.lang.Override public DoubleLists parsePartialFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return new DoubleLists(input, extensionRegistry); } }; public static shade.protobuf.Parser parser() { return PARSER; } @java.lang.Override public shade.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StringListsOrBuilder extends // @@protoc_insertion_point(interface_extends:StringLists) shade.protobuf.MessageOrBuilder { /** * repeated .StringList lists = 1; */ java.util.List getListsList(); /** * repeated .StringList lists = 1; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList getLists(int index); /** * repeated .StringList lists = 1; */ int getListsCount(); /** * repeated .StringList lists = 1; */ java.util.List getListsOrBuilderList(); /** * repeated .StringList lists = 1; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringListOrBuilder getListsOrBuilder( int index); } /** * Protobuf type {@code StringLists} */ public static final class StringLists extends shade.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:StringLists) StringListsOrBuilder { private static final long serialVersionUID = 0L; // Use StringLists.newBuilder() to construct. private StringLists(shade.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StringLists() { lists_ = java.util.Collections.emptyList(); } @java.lang.Override public final shade.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StringLists( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; shade.protobuf.UnknownFieldSet.Builder unknownFields = shade.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { lists_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } lists_.add( input.readMessage(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.parser(), extensionRegistry)); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (shade.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new shade.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { lists_ = java.util.Collections.unmodifiableList(lists_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringLists_descriptor; } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringLists_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists.Builder.class); } public static final int LISTS_FIELD_NUMBER = 1; private java.util.List lists_; /** * repeated .StringList lists = 1; */ public java.util.List getListsList() { return lists_; } /** * repeated .StringList lists = 1; */ public java.util.List getListsOrBuilderList() { return lists_; } /** * repeated .StringList lists = 1; */ public int getListsCount() { return lists_.size(); } /** * repeated .StringList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList getLists(int index) { return lists_.get(index); } /** * repeated .StringList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringListOrBuilder getListsOrBuilder( int index) { return lists_.get(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(shade.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < lists_.size(); i++) { output.writeMessage(1, lists_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < lists_.size(); i++) { size += shade.protobuf.CodedOutputStream .computeMessageSize(1, lists_.get(i)); } 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 com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists)) { return super.equals(obj); } com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists other = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists) obj; boolean result = true; result = result && getListsList() .equals(other.getListsList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getListsCount() > 0) { hash = (37 * hash) + LISTS_FIELD_NUMBER; hash = (53 * hash) + getListsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists parseFrom( java.nio.ByteBuffer data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists parseFrom( java.nio.ByteBuffer data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists parseFrom( shade.protobuf.ByteString data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists parseFrom( shade.protobuf.ByteString data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists parseFrom(byte[] data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists parseFrom( byte[] data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists parseFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists parseFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists parseDelimitedFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists parseFrom( shade.protobuf.CodedInputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists parseFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.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(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists 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( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code StringLists} */ public static final class Builder extends shade.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:StringLists) com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringListsOrBuilder { public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringLists_descriptor; } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringLists_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists.Builder.class); } // Construct using com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (shade.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getListsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (listsBuilder_ == null) { lists_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { listsBuilder_.clear(); } return this; } @java.lang.Override public shade.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_StringLists_descriptor; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists getDefaultInstanceForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists.getDefaultInstance(); } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists build() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists buildPartial() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists result = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists(this); int from_bitField0_ = bitField0_; if (listsBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { lists_ = java.util.Collections.unmodifiableList(lists_); bitField0_ = (bitField0_ & ~0x00000001); } result.lists_ = lists_; } else { result.lists_ = listsBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( shade.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( shade.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(shade.protobuf.Message other) { if (other instanceof com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists) { return mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists other) { if (other == com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists.getDefaultInstance()) return this; if (listsBuilder_ == null) { if (!other.lists_.isEmpty()) { if (lists_.isEmpty()) { lists_ = other.lists_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureListsIsMutable(); lists_.addAll(other.lists_); } onChanged(); } } else { if (!other.lists_.isEmpty()) { if (listsBuilder_.isEmpty()) { listsBuilder_.dispose(); listsBuilder_ = null; lists_ = other.lists_; bitField0_ = (bitField0_ & ~0x00000001); listsBuilder_ = shade.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getListsFieldBuilder() : null; } else { listsBuilder_.addAllMessages(other.lists_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (shade.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List lists_ = java.util.Collections.emptyList(); private void ensureListsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { lists_ = new java.util.ArrayList(lists_); bitField0_ |= 0x00000001; } } private shade.protobuf.RepeatedFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringListOrBuilder> listsBuilder_; /** * repeated .StringList lists = 1; */ public java.util.List getListsList() { if (listsBuilder_ == null) { return java.util.Collections.unmodifiableList(lists_); } else { return listsBuilder_.getMessageList(); } } /** * repeated .StringList lists = 1; */ public int getListsCount() { if (listsBuilder_ == null) { return lists_.size(); } else { return listsBuilder_.getCount(); } } /** * repeated .StringList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList getLists(int index) { if (listsBuilder_ == null) { return lists_.get(index); } else { return listsBuilder_.getMessage(index); } } /** * repeated .StringList lists = 1; */ public Builder setLists( int index, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList value) { if (listsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureListsIsMutable(); lists_.set(index, value); onChanged(); } else { listsBuilder_.setMessage(index, value); } return this; } /** * repeated .StringList lists = 1; */ public Builder setLists( int index, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.Builder builderForValue) { if (listsBuilder_ == null) { ensureListsIsMutable(); lists_.set(index, builderForValue.build()); onChanged(); } else { listsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .StringList lists = 1; */ public Builder addLists(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList value) { if (listsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureListsIsMutable(); lists_.add(value); onChanged(); } else { listsBuilder_.addMessage(value); } return this; } /** * repeated .StringList lists = 1; */ public Builder addLists( int index, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList value) { if (listsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureListsIsMutable(); lists_.add(index, value); onChanged(); } else { listsBuilder_.addMessage(index, value); } return this; } /** * repeated .StringList lists = 1; */ public Builder addLists( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.Builder builderForValue) { if (listsBuilder_ == null) { ensureListsIsMutable(); lists_.add(builderForValue.build()); onChanged(); } else { listsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .StringList lists = 1; */ public Builder addLists( int index, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.Builder builderForValue) { if (listsBuilder_ == null) { ensureListsIsMutable(); lists_.add(index, builderForValue.build()); onChanged(); } else { listsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .StringList lists = 1; */ public Builder addAllLists( java.lang.Iterable values) { if (listsBuilder_ == null) { ensureListsIsMutable(); shade.protobuf.AbstractMessageLite.Builder.addAll( values, lists_); onChanged(); } else { listsBuilder_.addAllMessages(values); } return this; } /** * repeated .StringList lists = 1; */ public Builder clearLists() { if (listsBuilder_ == null) { lists_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { listsBuilder_.clear(); } return this; } /** * repeated .StringList lists = 1; */ public Builder removeLists(int index) { if (listsBuilder_ == null) { ensureListsIsMutable(); lists_.remove(index); onChanged(); } else { listsBuilder_.remove(index); } return this; } /** * repeated .StringList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.Builder getListsBuilder( int index) { return getListsFieldBuilder().getBuilder(index); } /** * repeated .StringList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringListOrBuilder getListsOrBuilder( int index) { if (listsBuilder_ == null) { return lists_.get(index); } else { return listsBuilder_.getMessageOrBuilder(index); } } /** * repeated .StringList lists = 1; */ public java.util.List getListsOrBuilderList() { if (listsBuilder_ != null) { return listsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(lists_); } } /** * repeated .StringList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.Builder addListsBuilder() { return getListsFieldBuilder().addBuilder( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.getDefaultInstance()); } /** * repeated .StringList lists = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.Builder addListsBuilder( int index) { return getListsFieldBuilder().addBuilder( index, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.getDefaultInstance()); } /** * repeated .StringList lists = 1; */ public java.util.List getListsBuilderList() { return getListsFieldBuilder().getBuilderList(); } private shade.protobuf.RepeatedFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringListOrBuilder> getListsFieldBuilder() { if (listsBuilder_ == null) { listsBuilder_ = new shade.protobuf.RepeatedFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringListOrBuilder>( lists_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); lists_ = null; } return listsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:StringLists) } // @@protoc_insertion_point(class_scope:StringLists) private static final com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists(); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists getDefaultInstance() { return DEFAULT_INSTANCE; } private static final shade.protobuf.Parser PARSER = new shade.protobuf.AbstractParser() { @java.lang.Override public StringLists parsePartialFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return new StringLists(input, extensionRegistry); } }; public static shade.protobuf.Parser parser() { return PARSER; } @java.lang.Override public shade.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PBFeatureOrBuilder extends // @@protoc_insertion_point(interface_extends:PBFeature) shade.protobuf.MessageOrBuilder { /** * int32 int_feature = 1; */ int getIntFeature(); /** * int64 long_feature = 2; */ long getLongFeature(); /** * string string_feature = 3; */ java.lang.String getStringFeature(); /** * string string_feature = 3; */ shade.protobuf.ByteString getStringFeatureBytes(); /** * float float_feature = 4; */ float getFloatFeature(); /** * double double_feature = 5; */ double getDoubleFeature(); /** * .LongStringMap long_string_map = 6; */ boolean hasLongStringMap(); /** * .LongStringMap long_string_map = 6; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap getLongStringMap(); /** * .LongStringMap long_string_map = 6; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMapOrBuilder getLongStringMapOrBuilder(); /** * .LongIntMap long_int_map = 7; */ boolean hasLongIntMap(); /** * .LongIntMap long_int_map = 7; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap getLongIntMap(); /** * .LongIntMap long_int_map = 7; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMapOrBuilder getLongIntMapOrBuilder(); /** * .LongLongMap long_long_map = 8; */ boolean hasLongLongMap(); /** * .LongLongMap long_long_map = 8; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap getLongLongMap(); /** * .LongLongMap long_long_map = 8; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMapOrBuilder getLongLongMapOrBuilder(); /** * .LongFloatMap long_float_map = 9; */ boolean hasLongFloatMap(); /** * .LongFloatMap long_float_map = 9; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap getLongFloatMap(); /** * .LongFloatMap long_float_map = 9; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMapOrBuilder getLongFloatMapOrBuilder(); /** * .LongDoubleMap long_double_map = 10; */ boolean hasLongDoubleMap(); /** * .LongDoubleMap long_double_map = 10; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap getLongDoubleMap(); /** * .LongDoubleMap long_double_map = 10; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMapOrBuilder getLongDoubleMapOrBuilder(); /** * .StringStringMap string_string_map = 11; */ boolean hasStringStringMap(); /** * .StringStringMap string_string_map = 11; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap getStringStringMap(); /** * .StringStringMap string_string_map = 11; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMapOrBuilder getStringStringMapOrBuilder(); /** * .StringIntMap string_int_map = 12; */ boolean hasStringIntMap(); /** * .StringIntMap string_int_map = 12; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap getStringIntMap(); /** * .StringIntMap string_int_map = 12; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMapOrBuilder getStringIntMapOrBuilder(); /** * .StringLongMap string_long_map = 13; */ boolean hasStringLongMap(); /** * .StringLongMap string_long_map = 13; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap getStringLongMap(); /** * .StringLongMap string_long_map = 13; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMapOrBuilder getStringLongMapOrBuilder(); /** * .StringFloatMap string_float_map = 14; */ boolean hasStringFloatMap(); /** * .StringFloatMap string_float_map = 14; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap getStringFloatMap(); /** * .StringFloatMap string_float_map = 14; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMapOrBuilder getStringFloatMapOrBuilder(); /** * .StringDoubleMap string_double_map = 15; */ boolean hasStringDoubleMap(); /** * .StringDoubleMap string_double_map = 15; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap getStringDoubleMap(); /** * .StringDoubleMap string_double_map = 15; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMapOrBuilder getStringDoubleMapOrBuilder(); /** * .IntStringMap int_string_map = 16; */ boolean hasIntStringMap(); /** * .IntStringMap int_string_map = 16; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap getIntStringMap(); /** * .IntStringMap int_string_map = 16; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMapOrBuilder getIntStringMapOrBuilder(); /** * .IntIntMap int_int_map = 17; */ boolean hasIntIntMap(); /** * .IntIntMap int_int_map = 17; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap getIntIntMap(); /** * .IntIntMap int_int_map = 17; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMapOrBuilder getIntIntMapOrBuilder(); /** * .IntLongMap int_long_map = 18; */ boolean hasIntLongMap(); /** * .IntLongMap int_long_map = 18; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap getIntLongMap(); /** * .IntLongMap int_long_map = 18; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMapOrBuilder getIntLongMapOrBuilder(); /** * .IntFloatMap int_float_map = 19; */ boolean hasIntFloatMap(); /** * .IntFloatMap int_float_map = 19; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap getIntFloatMap(); /** * .IntFloatMap int_float_map = 19; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMapOrBuilder getIntFloatMapOrBuilder(); /** * .IntDoubleMap int_double_map = 20; */ boolean hasIntDoubleMap(); /** * .IntDoubleMap int_double_map = 20; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap getIntDoubleMap(); /** * .IntDoubleMap int_double_map = 20; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMapOrBuilder getIntDoubleMapOrBuilder(); /** * .IntList int_list = 21; */ boolean hasIntList(); /** * .IntList int_list = 21; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList getIntList(); /** * .IntList int_list = 21; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntListOrBuilder getIntListOrBuilder(); /** * .LongList long_list = 22; */ boolean hasLongList(); /** * .LongList long_list = 22; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList getLongList(); /** * .LongList long_list = 22; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongListOrBuilder getLongListOrBuilder(); /** * .StringList string_list = 23; */ boolean hasStringList(); /** * .StringList string_list = 23; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList getStringList(); /** * .StringList string_list = 23; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringListOrBuilder getStringListOrBuilder(); /** * .FloatList float_list = 24; */ boolean hasFloatList(); /** * .FloatList float_list = 24; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList getFloatList(); /** * .FloatList float_list = 24; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatListOrBuilder getFloatListOrBuilder(); /** * .DoubleList double_list = 25; */ boolean hasDoubleList(); /** * .DoubleList double_list = 25; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList getDoubleList(); /** * .DoubleList double_list = 25; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleListOrBuilder getDoubleListOrBuilder(); /** * .IntLists int_lists = 26; */ boolean hasIntLists(); /** * .IntLists int_lists = 26; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists getIntLists(); /** * .IntLists int_lists = 26; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntListsOrBuilder getIntListsOrBuilder(); /** * .LongLists long_lists = 27; */ boolean hasLongLists(); /** * .LongLists long_lists = 27; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists getLongLists(); /** * .LongLists long_lists = 27; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongListsOrBuilder getLongListsOrBuilder(); /** * .StringLists string_lists = 28; */ boolean hasStringLists(); /** * .StringLists string_lists = 28; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists getStringLists(); /** * .StringLists string_lists = 28; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringListsOrBuilder getStringListsOrBuilder(); /** * .FloatLists float_lists = 29; */ boolean hasFloatLists(); /** * .FloatLists float_lists = 29; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists getFloatLists(); /** * .FloatLists float_lists = 29; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatListsOrBuilder getFloatListsOrBuilder(); /** * .DoubleLists double_lists = 30; */ boolean hasDoubleLists(); /** * .DoubleLists double_lists = 30; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists getDoubleLists(); /** * .DoubleLists double_lists = 30; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleListsOrBuilder getDoubleListsOrBuilder(); public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature.ValueCase getValueCase(); } /** * Protobuf type {@code PBFeature} */ public static final class PBFeature extends shade.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:PBFeature) PBFeatureOrBuilder { private static final long serialVersionUID = 0L; // Use PBFeature.newBuilder() to construct. private PBFeature(shade.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PBFeature() { } @java.lang.Override public final shade.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PBFeature( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; shade.protobuf.UnknownFieldSet.Builder unknownFields = shade.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { valueCase_ = 1; value_ = input.readInt32(); break; } case 16: { valueCase_ = 2; value_ = input.readInt64(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); valueCase_ = 3; value_ = s; break; } case 37: { valueCase_ = 4; value_ = input.readFloat(); break; } case 41: { valueCase_ = 5; value_ = input.readDouble(); break; } case 50: { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap.Builder subBuilder = null; if (valueCase_ == 6) { subBuilder = ((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap) value_).toBuilder(); } value_ = input.readMessage(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 6; break; } case 58: { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap.Builder subBuilder = null; if (valueCase_ == 7) { subBuilder = ((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap) value_).toBuilder(); } value_ = input.readMessage(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 7; break; } case 66: { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap.Builder subBuilder = null; if (valueCase_ == 8) { subBuilder = ((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap) value_).toBuilder(); } value_ = input.readMessage(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 8; break; } case 74: { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap.Builder subBuilder = null; if (valueCase_ == 9) { subBuilder = ((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap) value_).toBuilder(); } value_ = input.readMessage(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 9; break; } case 82: { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap.Builder subBuilder = null; if (valueCase_ == 10) { subBuilder = ((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap) value_).toBuilder(); } value_ = input.readMessage(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 10; break; } case 90: { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap.Builder subBuilder = null; if (valueCase_ == 11) { subBuilder = ((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap) value_).toBuilder(); } value_ = input.readMessage(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 11; break; } case 98: { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap.Builder subBuilder = null; if (valueCase_ == 12) { subBuilder = ((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap) value_).toBuilder(); } value_ = input.readMessage(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 12; break; } case 106: { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap.Builder subBuilder = null; if (valueCase_ == 13) { subBuilder = ((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap) value_).toBuilder(); } value_ = input.readMessage(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 13; break; } case 114: { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap.Builder subBuilder = null; if (valueCase_ == 14) { subBuilder = ((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap) value_).toBuilder(); } value_ = input.readMessage(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 14; break; } case 122: { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap.Builder subBuilder = null; if (valueCase_ == 15) { subBuilder = ((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap) value_).toBuilder(); } value_ = input.readMessage(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 15; break; } case 130: { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap.Builder subBuilder = null; if (valueCase_ == 16) { subBuilder = ((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap) value_).toBuilder(); } value_ = input.readMessage(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 16; break; } case 138: { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap.Builder subBuilder = null; if (valueCase_ == 17) { subBuilder = ((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap) value_).toBuilder(); } value_ = input.readMessage(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 17; break; } case 146: { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap.Builder subBuilder = null; if (valueCase_ == 18) { subBuilder = ((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap) value_).toBuilder(); } value_ = input.readMessage(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 18; break; } case 154: { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap.Builder subBuilder = null; if (valueCase_ == 19) { subBuilder = ((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap) value_).toBuilder(); } value_ = input.readMessage(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 19; break; } case 162: { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap.Builder subBuilder = null; if (valueCase_ == 20) { subBuilder = ((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap) value_).toBuilder(); } value_ = input.readMessage(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 20; break; } case 170: { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.Builder subBuilder = null; if (valueCase_ == 21) { subBuilder = ((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList) value_).toBuilder(); } value_ = input.readMessage(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 21; break; } case 178: { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.Builder subBuilder = null; if (valueCase_ == 22) { subBuilder = ((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList) value_).toBuilder(); } value_ = input.readMessage(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 22; break; } case 186: { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.Builder subBuilder = null; if (valueCase_ == 23) { subBuilder = ((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList) value_).toBuilder(); } value_ = input.readMessage(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 23; break; } case 194: { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.Builder subBuilder = null; if (valueCase_ == 24) { subBuilder = ((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList) value_).toBuilder(); } value_ = input.readMessage(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 24; break; } case 202: { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.Builder subBuilder = null; if (valueCase_ == 25) { subBuilder = ((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList) value_).toBuilder(); } value_ = input.readMessage(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 25; break; } case 210: { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists.Builder subBuilder = null; if (valueCase_ == 26) { subBuilder = ((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists) value_).toBuilder(); } value_ = input.readMessage(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 26; break; } case 218: { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists.Builder subBuilder = null; if (valueCase_ == 27) { subBuilder = ((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists) value_).toBuilder(); } value_ = input.readMessage(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 27; break; } case 226: { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists.Builder subBuilder = null; if (valueCase_ == 28) { subBuilder = ((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists) value_).toBuilder(); } value_ = input.readMessage(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 28; break; } case 234: { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists.Builder subBuilder = null; if (valueCase_ == 29) { subBuilder = ((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists) value_).toBuilder(); } value_ = input.readMessage(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 29; break; } case 242: { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists.Builder subBuilder = null; if (valueCase_ == 30) { subBuilder = ((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists) value_).toBuilder(); } value_ = input.readMessage(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists) value_); value_ = subBuilder.buildPartial(); } valueCase_ = 30; break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (shade.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new shade.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_PBFeature_descriptor; } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_PBFeature_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature.Builder.class); } private int valueCase_ = 0; private java.lang.Object value_; public enum ValueCase implements shade.protobuf.Internal.EnumLite { INT_FEATURE(1), LONG_FEATURE(2), STRING_FEATURE(3), FLOAT_FEATURE(4), DOUBLE_FEATURE(5), LONG_STRING_MAP(6), LONG_INT_MAP(7), LONG_LONG_MAP(8), LONG_FLOAT_MAP(9), LONG_DOUBLE_MAP(10), STRING_STRING_MAP(11), STRING_INT_MAP(12), STRING_LONG_MAP(13), STRING_FLOAT_MAP(14), STRING_DOUBLE_MAP(15), INT_STRING_MAP(16), INT_INT_MAP(17), INT_LONG_MAP(18), INT_FLOAT_MAP(19), INT_DOUBLE_MAP(20), INT_LIST(21), LONG_LIST(22), STRING_LIST(23), FLOAT_LIST(24), DOUBLE_LIST(25), INT_LISTS(26), LONG_LISTS(27), STRING_LISTS(28), FLOAT_LISTS(29), DOUBLE_LISTS(30), VALUE_NOT_SET(0); private final int value; private ValueCase(int value) { this.value = value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ValueCase valueOf(int value) { return forNumber(value); } public static ValueCase forNumber(int value) { switch (value) { case 1: return INT_FEATURE; case 2: return LONG_FEATURE; case 3: return STRING_FEATURE; case 4: return FLOAT_FEATURE; case 5: return DOUBLE_FEATURE; case 6: return LONG_STRING_MAP; case 7: return LONG_INT_MAP; case 8: return LONG_LONG_MAP; case 9: return LONG_FLOAT_MAP; case 10: return LONG_DOUBLE_MAP; case 11: return STRING_STRING_MAP; case 12: return STRING_INT_MAP; case 13: return STRING_LONG_MAP; case 14: return STRING_FLOAT_MAP; case 15: return STRING_DOUBLE_MAP; case 16: return INT_STRING_MAP; case 17: return INT_INT_MAP; case 18: return INT_LONG_MAP; case 19: return INT_FLOAT_MAP; case 20: return INT_DOUBLE_MAP; case 21: return INT_LIST; case 22: return LONG_LIST; case 23: return STRING_LIST; case 24: return FLOAT_LIST; case 25: return DOUBLE_LIST; case 26: return INT_LISTS; case 27: return LONG_LISTS; case 28: return STRING_LISTS; case 29: return FLOAT_LISTS; case 30: return DOUBLE_LISTS; case 0: return VALUE_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public ValueCase getValueCase() { return ValueCase.forNumber( valueCase_); } public static final int INT_FEATURE_FIELD_NUMBER = 1; /** * int32 int_feature = 1; */ public int getIntFeature() { if (valueCase_ == 1) { return (java.lang.Integer) value_; } return 0; } public static final int LONG_FEATURE_FIELD_NUMBER = 2; /** * int64 long_feature = 2; */ public long getLongFeature() { if (valueCase_ == 2) { return (java.lang.Long) value_; } return 0L; } public static final int STRING_FEATURE_FIELD_NUMBER = 3; /** * string string_feature = 3; */ public java.lang.String getStringFeature() { java.lang.Object ref = ""; if (valueCase_ == 3) { ref = value_; } if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { shade.protobuf.ByteString bs = (shade.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueCase_ == 3) { value_ = s; } return s; } } /** * string string_feature = 3; */ public shade.protobuf.ByteString getStringFeatureBytes() { java.lang.Object ref = ""; if (valueCase_ == 3) { ref = value_; } if (ref instanceof java.lang.String) { shade.protobuf.ByteString b = shade.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (valueCase_ == 3) { value_ = b; } return b; } else { return (shade.protobuf.ByteString) ref; } } public static final int FLOAT_FEATURE_FIELD_NUMBER = 4; /** * float float_feature = 4; */ public float getFloatFeature() { if (valueCase_ == 4) { return (java.lang.Float) value_; } return 0F; } public static final int DOUBLE_FEATURE_FIELD_NUMBER = 5; /** * double double_feature = 5; */ public double getDoubleFeature() { if (valueCase_ == 5) { return (java.lang.Double) value_; } return 0D; } public static final int LONG_STRING_MAP_FIELD_NUMBER = 6; /** * .LongStringMap long_string_map = 6; */ public boolean hasLongStringMap() { return valueCase_ == 6; } /** * .LongStringMap long_string_map = 6; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap getLongStringMap() { if (valueCase_ == 6) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap.getDefaultInstance(); } /** * .LongStringMap long_string_map = 6; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMapOrBuilder getLongStringMapOrBuilder() { if (valueCase_ == 6) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap.getDefaultInstance(); } public static final int LONG_INT_MAP_FIELD_NUMBER = 7; /** * .LongIntMap long_int_map = 7; */ public boolean hasLongIntMap() { return valueCase_ == 7; } /** * .LongIntMap long_int_map = 7; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap getLongIntMap() { if (valueCase_ == 7) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap.getDefaultInstance(); } /** * .LongIntMap long_int_map = 7; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMapOrBuilder getLongIntMapOrBuilder() { if (valueCase_ == 7) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap.getDefaultInstance(); } public static final int LONG_LONG_MAP_FIELD_NUMBER = 8; /** * .LongLongMap long_long_map = 8; */ public boolean hasLongLongMap() { return valueCase_ == 8; } /** * .LongLongMap long_long_map = 8; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap getLongLongMap() { if (valueCase_ == 8) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap.getDefaultInstance(); } /** * .LongLongMap long_long_map = 8; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMapOrBuilder getLongLongMapOrBuilder() { if (valueCase_ == 8) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap.getDefaultInstance(); } public static final int LONG_FLOAT_MAP_FIELD_NUMBER = 9; /** * .LongFloatMap long_float_map = 9; */ public boolean hasLongFloatMap() { return valueCase_ == 9; } /** * .LongFloatMap long_float_map = 9; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap getLongFloatMap() { if (valueCase_ == 9) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap.getDefaultInstance(); } /** * .LongFloatMap long_float_map = 9; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMapOrBuilder getLongFloatMapOrBuilder() { if (valueCase_ == 9) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap.getDefaultInstance(); } public static final int LONG_DOUBLE_MAP_FIELD_NUMBER = 10; /** * .LongDoubleMap long_double_map = 10; */ public boolean hasLongDoubleMap() { return valueCase_ == 10; } /** * .LongDoubleMap long_double_map = 10; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap getLongDoubleMap() { if (valueCase_ == 10) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap.getDefaultInstance(); } /** * .LongDoubleMap long_double_map = 10; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMapOrBuilder getLongDoubleMapOrBuilder() { if (valueCase_ == 10) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap.getDefaultInstance(); } public static final int STRING_STRING_MAP_FIELD_NUMBER = 11; /** * .StringStringMap string_string_map = 11; */ public boolean hasStringStringMap() { return valueCase_ == 11; } /** * .StringStringMap string_string_map = 11; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap getStringStringMap() { if (valueCase_ == 11) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap.getDefaultInstance(); } /** * .StringStringMap string_string_map = 11; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMapOrBuilder getStringStringMapOrBuilder() { if (valueCase_ == 11) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap.getDefaultInstance(); } public static final int STRING_INT_MAP_FIELD_NUMBER = 12; /** * .StringIntMap string_int_map = 12; */ public boolean hasStringIntMap() { return valueCase_ == 12; } /** * .StringIntMap string_int_map = 12; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap getStringIntMap() { if (valueCase_ == 12) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap.getDefaultInstance(); } /** * .StringIntMap string_int_map = 12; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMapOrBuilder getStringIntMapOrBuilder() { if (valueCase_ == 12) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap.getDefaultInstance(); } public static final int STRING_LONG_MAP_FIELD_NUMBER = 13; /** * .StringLongMap string_long_map = 13; */ public boolean hasStringLongMap() { return valueCase_ == 13; } /** * .StringLongMap string_long_map = 13; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap getStringLongMap() { if (valueCase_ == 13) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap.getDefaultInstance(); } /** * .StringLongMap string_long_map = 13; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMapOrBuilder getStringLongMapOrBuilder() { if (valueCase_ == 13) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap.getDefaultInstance(); } public static final int STRING_FLOAT_MAP_FIELD_NUMBER = 14; /** * .StringFloatMap string_float_map = 14; */ public boolean hasStringFloatMap() { return valueCase_ == 14; } /** * .StringFloatMap string_float_map = 14; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap getStringFloatMap() { if (valueCase_ == 14) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap.getDefaultInstance(); } /** * .StringFloatMap string_float_map = 14; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMapOrBuilder getStringFloatMapOrBuilder() { if (valueCase_ == 14) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap.getDefaultInstance(); } public static final int STRING_DOUBLE_MAP_FIELD_NUMBER = 15; /** * .StringDoubleMap string_double_map = 15; */ public boolean hasStringDoubleMap() { return valueCase_ == 15; } /** * .StringDoubleMap string_double_map = 15; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap getStringDoubleMap() { if (valueCase_ == 15) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap.getDefaultInstance(); } /** * .StringDoubleMap string_double_map = 15; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMapOrBuilder getStringDoubleMapOrBuilder() { if (valueCase_ == 15) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap.getDefaultInstance(); } public static final int INT_STRING_MAP_FIELD_NUMBER = 16; /** * .IntStringMap int_string_map = 16; */ public boolean hasIntStringMap() { return valueCase_ == 16; } /** * .IntStringMap int_string_map = 16; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap getIntStringMap() { if (valueCase_ == 16) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap.getDefaultInstance(); } /** * .IntStringMap int_string_map = 16; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMapOrBuilder getIntStringMapOrBuilder() { if (valueCase_ == 16) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap.getDefaultInstance(); } public static final int INT_INT_MAP_FIELD_NUMBER = 17; /** * .IntIntMap int_int_map = 17; */ public boolean hasIntIntMap() { return valueCase_ == 17; } /** * .IntIntMap int_int_map = 17; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap getIntIntMap() { if (valueCase_ == 17) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap.getDefaultInstance(); } /** * .IntIntMap int_int_map = 17; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMapOrBuilder getIntIntMapOrBuilder() { if (valueCase_ == 17) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap.getDefaultInstance(); } public static final int INT_LONG_MAP_FIELD_NUMBER = 18; /** * .IntLongMap int_long_map = 18; */ public boolean hasIntLongMap() { return valueCase_ == 18; } /** * .IntLongMap int_long_map = 18; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap getIntLongMap() { if (valueCase_ == 18) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap.getDefaultInstance(); } /** * .IntLongMap int_long_map = 18; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMapOrBuilder getIntLongMapOrBuilder() { if (valueCase_ == 18) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap.getDefaultInstance(); } public static final int INT_FLOAT_MAP_FIELD_NUMBER = 19; /** * .IntFloatMap int_float_map = 19; */ public boolean hasIntFloatMap() { return valueCase_ == 19; } /** * .IntFloatMap int_float_map = 19; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap getIntFloatMap() { if (valueCase_ == 19) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap.getDefaultInstance(); } /** * .IntFloatMap int_float_map = 19; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMapOrBuilder getIntFloatMapOrBuilder() { if (valueCase_ == 19) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap.getDefaultInstance(); } public static final int INT_DOUBLE_MAP_FIELD_NUMBER = 20; /** * .IntDoubleMap int_double_map = 20; */ public boolean hasIntDoubleMap() { return valueCase_ == 20; } /** * .IntDoubleMap int_double_map = 20; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap getIntDoubleMap() { if (valueCase_ == 20) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap.getDefaultInstance(); } /** * .IntDoubleMap int_double_map = 20; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMapOrBuilder getIntDoubleMapOrBuilder() { if (valueCase_ == 20) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap.getDefaultInstance(); } public static final int INT_LIST_FIELD_NUMBER = 21; /** * .IntList int_list = 21; */ public boolean hasIntList() { return valueCase_ == 21; } /** * .IntList int_list = 21; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList getIntList() { if (valueCase_ == 21) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.getDefaultInstance(); } /** * .IntList int_list = 21; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntListOrBuilder getIntListOrBuilder() { if (valueCase_ == 21) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.getDefaultInstance(); } public static final int LONG_LIST_FIELD_NUMBER = 22; /** * .LongList long_list = 22; */ public boolean hasLongList() { return valueCase_ == 22; } /** * .LongList long_list = 22; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList getLongList() { if (valueCase_ == 22) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.getDefaultInstance(); } /** * .LongList long_list = 22; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongListOrBuilder getLongListOrBuilder() { if (valueCase_ == 22) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.getDefaultInstance(); } public static final int STRING_LIST_FIELD_NUMBER = 23; /** * .StringList string_list = 23; */ public boolean hasStringList() { return valueCase_ == 23; } /** * .StringList string_list = 23; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList getStringList() { if (valueCase_ == 23) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.getDefaultInstance(); } /** * .StringList string_list = 23; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringListOrBuilder getStringListOrBuilder() { if (valueCase_ == 23) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.getDefaultInstance(); } public static final int FLOAT_LIST_FIELD_NUMBER = 24; /** * .FloatList float_list = 24; */ public boolean hasFloatList() { return valueCase_ == 24; } /** * .FloatList float_list = 24; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList getFloatList() { if (valueCase_ == 24) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.getDefaultInstance(); } /** * .FloatList float_list = 24; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatListOrBuilder getFloatListOrBuilder() { if (valueCase_ == 24) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.getDefaultInstance(); } public static final int DOUBLE_LIST_FIELD_NUMBER = 25; /** * .DoubleList double_list = 25; */ public boolean hasDoubleList() { return valueCase_ == 25; } /** * .DoubleList double_list = 25; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList getDoubleList() { if (valueCase_ == 25) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.getDefaultInstance(); } /** * .DoubleList double_list = 25; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleListOrBuilder getDoubleListOrBuilder() { if (valueCase_ == 25) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.getDefaultInstance(); } public static final int INT_LISTS_FIELD_NUMBER = 26; /** * .IntLists int_lists = 26; */ public boolean hasIntLists() { return valueCase_ == 26; } /** * .IntLists int_lists = 26; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists getIntLists() { if (valueCase_ == 26) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists.getDefaultInstance(); } /** * .IntLists int_lists = 26; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntListsOrBuilder getIntListsOrBuilder() { if (valueCase_ == 26) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists.getDefaultInstance(); } public static final int LONG_LISTS_FIELD_NUMBER = 27; /** * .LongLists long_lists = 27; */ public boolean hasLongLists() { return valueCase_ == 27; } /** * .LongLists long_lists = 27; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists getLongLists() { if (valueCase_ == 27) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists.getDefaultInstance(); } /** * .LongLists long_lists = 27; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongListsOrBuilder getLongListsOrBuilder() { if (valueCase_ == 27) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists.getDefaultInstance(); } public static final int STRING_LISTS_FIELD_NUMBER = 28; /** * .StringLists string_lists = 28; */ public boolean hasStringLists() { return valueCase_ == 28; } /** * .StringLists string_lists = 28; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists getStringLists() { if (valueCase_ == 28) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists.getDefaultInstance(); } /** * .StringLists string_lists = 28; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringListsOrBuilder getStringListsOrBuilder() { if (valueCase_ == 28) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists.getDefaultInstance(); } public static final int FLOAT_LISTS_FIELD_NUMBER = 29; /** * .FloatLists float_lists = 29; */ public boolean hasFloatLists() { return valueCase_ == 29; } /** * .FloatLists float_lists = 29; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists getFloatLists() { if (valueCase_ == 29) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists.getDefaultInstance(); } /** * .FloatLists float_lists = 29; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatListsOrBuilder getFloatListsOrBuilder() { if (valueCase_ == 29) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists.getDefaultInstance(); } public static final int DOUBLE_LISTS_FIELD_NUMBER = 30; /** * .DoubleLists double_lists = 30; */ public boolean hasDoubleLists() { return valueCase_ == 30; } /** * .DoubleLists double_lists = 30; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists getDoubleLists() { if (valueCase_ == 30) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists.getDefaultInstance(); } /** * .DoubleLists double_lists = 30; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleListsOrBuilder getDoubleListsOrBuilder() { if (valueCase_ == 30) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists.getDefaultInstance(); } 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(shade.protobuf.CodedOutputStream output) throws java.io.IOException { if (valueCase_ == 1) { output.writeInt32( 1, (int)((java.lang.Integer) value_)); } if (valueCase_ == 2) { output.writeInt64( 2, (long)((java.lang.Long) value_)); } if (valueCase_ == 3) { shade.protobuf.GeneratedMessageV3.writeString(output, 3, value_); } if (valueCase_ == 4) { output.writeFloat( 4, (float)((java.lang.Float) value_)); } if (valueCase_ == 5) { output.writeDouble( 5, (double)((java.lang.Double) value_)); } if (valueCase_ == 6) { output.writeMessage(6, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap) value_); } if (valueCase_ == 7) { output.writeMessage(7, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap) value_); } if (valueCase_ == 8) { output.writeMessage(8, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap) value_); } if (valueCase_ == 9) { output.writeMessage(9, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap) value_); } if (valueCase_ == 10) { output.writeMessage(10, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap) value_); } if (valueCase_ == 11) { output.writeMessage(11, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap) value_); } if (valueCase_ == 12) { output.writeMessage(12, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap) value_); } if (valueCase_ == 13) { output.writeMessage(13, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap) value_); } if (valueCase_ == 14) { output.writeMessage(14, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap) value_); } if (valueCase_ == 15) { output.writeMessage(15, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap) value_); } if (valueCase_ == 16) { output.writeMessage(16, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap) value_); } if (valueCase_ == 17) { output.writeMessage(17, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap) value_); } if (valueCase_ == 18) { output.writeMessage(18, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap) value_); } if (valueCase_ == 19) { output.writeMessage(19, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap) value_); } if (valueCase_ == 20) { output.writeMessage(20, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap) value_); } if (valueCase_ == 21) { output.writeMessage(21, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList) value_); } if (valueCase_ == 22) { output.writeMessage(22, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList) value_); } if (valueCase_ == 23) { output.writeMessage(23, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList) value_); } if (valueCase_ == 24) { output.writeMessage(24, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList) value_); } if (valueCase_ == 25) { output.writeMessage(25, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList) value_); } if (valueCase_ == 26) { output.writeMessage(26, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists) value_); } if (valueCase_ == 27) { output.writeMessage(27, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists) value_); } if (valueCase_ == 28) { output.writeMessage(28, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists) value_); } if (valueCase_ == 29) { output.writeMessage(29, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists) value_); } if (valueCase_ == 30) { output.writeMessage(30, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists) value_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (valueCase_ == 1) { size += shade.protobuf.CodedOutputStream .computeInt32Size( 1, (int)((java.lang.Integer) value_)); } if (valueCase_ == 2) { size += shade.protobuf.CodedOutputStream .computeInt64Size( 2, (long)((java.lang.Long) value_)); } if (valueCase_ == 3) { size += shade.protobuf.GeneratedMessageV3.computeStringSize(3, value_); } if (valueCase_ == 4) { size += shade.protobuf.CodedOutputStream .computeFloatSize( 4, (float)((java.lang.Float) value_)); } if (valueCase_ == 5) { size += shade.protobuf.CodedOutputStream .computeDoubleSize( 5, (double)((java.lang.Double) value_)); } if (valueCase_ == 6) { size += shade.protobuf.CodedOutputStream .computeMessageSize(6, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap) value_); } if (valueCase_ == 7) { size += shade.protobuf.CodedOutputStream .computeMessageSize(7, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap) value_); } if (valueCase_ == 8) { size += shade.protobuf.CodedOutputStream .computeMessageSize(8, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap) value_); } if (valueCase_ == 9) { size += shade.protobuf.CodedOutputStream .computeMessageSize(9, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap) value_); } if (valueCase_ == 10) { size += shade.protobuf.CodedOutputStream .computeMessageSize(10, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap) value_); } if (valueCase_ == 11) { size += shade.protobuf.CodedOutputStream .computeMessageSize(11, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap) value_); } if (valueCase_ == 12) { size += shade.protobuf.CodedOutputStream .computeMessageSize(12, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap) value_); } if (valueCase_ == 13) { size += shade.protobuf.CodedOutputStream .computeMessageSize(13, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap) value_); } if (valueCase_ == 14) { size += shade.protobuf.CodedOutputStream .computeMessageSize(14, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap) value_); } if (valueCase_ == 15) { size += shade.protobuf.CodedOutputStream .computeMessageSize(15, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap) value_); } if (valueCase_ == 16) { size += shade.protobuf.CodedOutputStream .computeMessageSize(16, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap) value_); } if (valueCase_ == 17) { size += shade.protobuf.CodedOutputStream .computeMessageSize(17, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap) value_); } if (valueCase_ == 18) { size += shade.protobuf.CodedOutputStream .computeMessageSize(18, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap) value_); } if (valueCase_ == 19) { size += shade.protobuf.CodedOutputStream .computeMessageSize(19, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap) value_); } if (valueCase_ == 20) { size += shade.protobuf.CodedOutputStream .computeMessageSize(20, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap) value_); } if (valueCase_ == 21) { size += shade.protobuf.CodedOutputStream .computeMessageSize(21, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList) value_); } if (valueCase_ == 22) { size += shade.protobuf.CodedOutputStream .computeMessageSize(22, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList) value_); } if (valueCase_ == 23) { size += shade.protobuf.CodedOutputStream .computeMessageSize(23, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList) value_); } if (valueCase_ == 24) { size += shade.protobuf.CodedOutputStream .computeMessageSize(24, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList) value_); } if (valueCase_ == 25) { size += shade.protobuf.CodedOutputStream .computeMessageSize(25, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList) value_); } if (valueCase_ == 26) { size += shade.protobuf.CodedOutputStream .computeMessageSize(26, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists) value_); } if (valueCase_ == 27) { size += shade.protobuf.CodedOutputStream .computeMessageSize(27, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists) value_); } if (valueCase_ == 28) { size += shade.protobuf.CodedOutputStream .computeMessageSize(28, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists) value_); } if (valueCase_ == 29) { size += shade.protobuf.CodedOutputStream .computeMessageSize(29, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists) value_); } if (valueCase_ == 30) { size += shade.protobuf.CodedOutputStream .computeMessageSize(30, (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists) value_); } 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 com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature)) { return super.equals(obj); } com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature other = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature) obj; boolean result = true; result = result && getValueCase().equals( other.getValueCase()); if (!result) return false; switch (valueCase_) { case 1: result = result && (getIntFeature() == other.getIntFeature()); break; case 2: result = result && (getLongFeature() == other.getLongFeature()); break; case 3: result = result && getStringFeature() .equals(other.getStringFeature()); break; case 4: result = result && ( java.lang.Float.floatToIntBits(getFloatFeature()) == java.lang.Float.floatToIntBits( other.getFloatFeature())); break; case 5: result = result && ( java.lang.Double.doubleToLongBits(getDoubleFeature()) == java.lang.Double.doubleToLongBits( other.getDoubleFeature())); break; case 6: result = result && getLongStringMap() .equals(other.getLongStringMap()); break; case 7: result = result && getLongIntMap() .equals(other.getLongIntMap()); break; case 8: result = result && getLongLongMap() .equals(other.getLongLongMap()); break; case 9: result = result && getLongFloatMap() .equals(other.getLongFloatMap()); break; case 10: result = result && getLongDoubleMap() .equals(other.getLongDoubleMap()); break; case 11: result = result && getStringStringMap() .equals(other.getStringStringMap()); break; case 12: result = result && getStringIntMap() .equals(other.getStringIntMap()); break; case 13: result = result && getStringLongMap() .equals(other.getStringLongMap()); break; case 14: result = result && getStringFloatMap() .equals(other.getStringFloatMap()); break; case 15: result = result && getStringDoubleMap() .equals(other.getStringDoubleMap()); break; case 16: result = result && getIntStringMap() .equals(other.getIntStringMap()); break; case 17: result = result && getIntIntMap() .equals(other.getIntIntMap()); break; case 18: result = result && getIntLongMap() .equals(other.getIntLongMap()); break; case 19: result = result && getIntFloatMap() .equals(other.getIntFloatMap()); break; case 20: result = result && getIntDoubleMap() .equals(other.getIntDoubleMap()); break; case 21: result = result && getIntList() .equals(other.getIntList()); break; case 22: result = result && getLongList() .equals(other.getLongList()); break; case 23: result = result && getStringList() .equals(other.getStringList()); break; case 24: result = result && getFloatList() .equals(other.getFloatList()); break; case 25: result = result && getDoubleList() .equals(other.getDoubleList()); break; case 26: result = result && getIntLists() .equals(other.getIntLists()); break; case 27: result = result && getLongLists() .equals(other.getLongLists()); break; case 28: result = result && getStringLists() .equals(other.getStringLists()); break; case 29: result = result && getFloatLists() .equals(other.getFloatLists()); break; case 30: result = result && getDoubleLists() .equals(other.getDoubleLists()); break; case 0: default: } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); switch (valueCase_) { case 1: hash = (37 * hash) + INT_FEATURE_FIELD_NUMBER; hash = (53 * hash) + getIntFeature(); break; case 2: hash = (37 * hash) + LONG_FEATURE_FIELD_NUMBER; hash = (53 * hash) + shade.protobuf.Internal.hashLong( getLongFeature()); break; case 3: hash = (37 * hash) + STRING_FEATURE_FIELD_NUMBER; hash = (53 * hash) + getStringFeature().hashCode(); break; case 4: hash = (37 * hash) + FLOAT_FEATURE_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getFloatFeature()); break; case 5: hash = (37 * hash) + DOUBLE_FEATURE_FIELD_NUMBER; hash = (53 * hash) + shade.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getDoubleFeature())); break; case 6: hash = (37 * hash) + LONG_STRING_MAP_FIELD_NUMBER; hash = (53 * hash) + getLongStringMap().hashCode(); break; case 7: hash = (37 * hash) + LONG_INT_MAP_FIELD_NUMBER; hash = (53 * hash) + getLongIntMap().hashCode(); break; case 8: hash = (37 * hash) + LONG_LONG_MAP_FIELD_NUMBER; hash = (53 * hash) + getLongLongMap().hashCode(); break; case 9: hash = (37 * hash) + LONG_FLOAT_MAP_FIELD_NUMBER; hash = (53 * hash) + getLongFloatMap().hashCode(); break; case 10: hash = (37 * hash) + LONG_DOUBLE_MAP_FIELD_NUMBER; hash = (53 * hash) + getLongDoubleMap().hashCode(); break; case 11: hash = (37 * hash) + STRING_STRING_MAP_FIELD_NUMBER; hash = (53 * hash) + getStringStringMap().hashCode(); break; case 12: hash = (37 * hash) + STRING_INT_MAP_FIELD_NUMBER; hash = (53 * hash) + getStringIntMap().hashCode(); break; case 13: hash = (37 * hash) + STRING_LONG_MAP_FIELD_NUMBER; hash = (53 * hash) + getStringLongMap().hashCode(); break; case 14: hash = (37 * hash) + STRING_FLOAT_MAP_FIELD_NUMBER; hash = (53 * hash) + getStringFloatMap().hashCode(); break; case 15: hash = (37 * hash) + STRING_DOUBLE_MAP_FIELD_NUMBER; hash = (53 * hash) + getStringDoubleMap().hashCode(); break; case 16: hash = (37 * hash) + INT_STRING_MAP_FIELD_NUMBER; hash = (53 * hash) + getIntStringMap().hashCode(); break; case 17: hash = (37 * hash) + INT_INT_MAP_FIELD_NUMBER; hash = (53 * hash) + getIntIntMap().hashCode(); break; case 18: hash = (37 * hash) + INT_LONG_MAP_FIELD_NUMBER; hash = (53 * hash) + getIntLongMap().hashCode(); break; case 19: hash = (37 * hash) + INT_FLOAT_MAP_FIELD_NUMBER; hash = (53 * hash) + getIntFloatMap().hashCode(); break; case 20: hash = (37 * hash) + INT_DOUBLE_MAP_FIELD_NUMBER; hash = (53 * hash) + getIntDoubleMap().hashCode(); break; case 21: hash = (37 * hash) + INT_LIST_FIELD_NUMBER; hash = (53 * hash) + getIntList().hashCode(); break; case 22: hash = (37 * hash) + LONG_LIST_FIELD_NUMBER; hash = (53 * hash) + getLongList().hashCode(); break; case 23: hash = (37 * hash) + STRING_LIST_FIELD_NUMBER; hash = (53 * hash) + getStringList().hashCode(); break; case 24: hash = (37 * hash) + FLOAT_LIST_FIELD_NUMBER; hash = (53 * hash) + getFloatList().hashCode(); break; case 25: hash = (37 * hash) + DOUBLE_LIST_FIELD_NUMBER; hash = (53 * hash) + getDoubleList().hashCode(); break; case 26: hash = (37 * hash) + INT_LISTS_FIELD_NUMBER; hash = (53 * hash) + getIntLists().hashCode(); break; case 27: hash = (37 * hash) + LONG_LISTS_FIELD_NUMBER; hash = (53 * hash) + getLongLists().hashCode(); break; case 28: hash = (37 * hash) + STRING_LISTS_FIELD_NUMBER; hash = (53 * hash) + getStringLists().hashCode(); break; case 29: hash = (37 * hash) + FLOAT_LISTS_FIELD_NUMBER; hash = (53 * hash) + getFloatLists().hashCode(); break; case 30: hash = (37 * hash) + DOUBLE_LISTS_FIELD_NUMBER; hash = (53 * hash) + getDoubleLists().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature parseFrom( java.nio.ByteBuffer data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature parseFrom( java.nio.ByteBuffer data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature parseFrom( shade.protobuf.ByteString data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature parseFrom( shade.protobuf.ByteString data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature parseFrom(byte[] data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature parseFrom( byte[] data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature parseFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature parseFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature parseDelimitedFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature parseFrom( shade.protobuf.CodedInputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature parseFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.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(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature 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( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code PBFeature} */ public static final class Builder extends shade.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:PBFeature) com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeatureOrBuilder { public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_PBFeature_descriptor; } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_PBFeature_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature.Builder.class); } // Construct using com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (shade.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); valueCase_ = 0; value_ = null; return this; } @java.lang.Override public shade.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_PBFeature_descriptor; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature getDefaultInstanceForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature.getDefaultInstance(); } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature build() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature buildPartial() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature result = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature(this); if (valueCase_ == 1) { result.value_ = value_; } if (valueCase_ == 2) { result.value_ = value_; } if (valueCase_ == 3) { result.value_ = value_; } if (valueCase_ == 4) { result.value_ = value_; } if (valueCase_ == 5) { result.value_ = value_; } if (valueCase_ == 6) { if (longStringMapBuilder_ == null) { result.value_ = value_; } else { result.value_ = longStringMapBuilder_.build(); } } if (valueCase_ == 7) { if (longIntMapBuilder_ == null) { result.value_ = value_; } else { result.value_ = longIntMapBuilder_.build(); } } if (valueCase_ == 8) { if (longLongMapBuilder_ == null) { result.value_ = value_; } else { result.value_ = longLongMapBuilder_.build(); } } if (valueCase_ == 9) { if (longFloatMapBuilder_ == null) { result.value_ = value_; } else { result.value_ = longFloatMapBuilder_.build(); } } if (valueCase_ == 10) { if (longDoubleMapBuilder_ == null) { result.value_ = value_; } else { result.value_ = longDoubleMapBuilder_.build(); } } if (valueCase_ == 11) { if (stringStringMapBuilder_ == null) { result.value_ = value_; } else { result.value_ = stringStringMapBuilder_.build(); } } if (valueCase_ == 12) { if (stringIntMapBuilder_ == null) { result.value_ = value_; } else { result.value_ = stringIntMapBuilder_.build(); } } if (valueCase_ == 13) { if (stringLongMapBuilder_ == null) { result.value_ = value_; } else { result.value_ = stringLongMapBuilder_.build(); } } if (valueCase_ == 14) { if (stringFloatMapBuilder_ == null) { result.value_ = value_; } else { result.value_ = stringFloatMapBuilder_.build(); } } if (valueCase_ == 15) { if (stringDoubleMapBuilder_ == null) { result.value_ = value_; } else { result.value_ = stringDoubleMapBuilder_.build(); } } if (valueCase_ == 16) { if (intStringMapBuilder_ == null) { result.value_ = value_; } else { result.value_ = intStringMapBuilder_.build(); } } if (valueCase_ == 17) { if (intIntMapBuilder_ == null) { result.value_ = value_; } else { result.value_ = intIntMapBuilder_.build(); } } if (valueCase_ == 18) { if (intLongMapBuilder_ == null) { result.value_ = value_; } else { result.value_ = intLongMapBuilder_.build(); } } if (valueCase_ == 19) { if (intFloatMapBuilder_ == null) { result.value_ = value_; } else { result.value_ = intFloatMapBuilder_.build(); } } if (valueCase_ == 20) { if (intDoubleMapBuilder_ == null) { result.value_ = value_; } else { result.value_ = intDoubleMapBuilder_.build(); } } if (valueCase_ == 21) { if (intListBuilder_ == null) { result.value_ = value_; } else { result.value_ = intListBuilder_.build(); } } if (valueCase_ == 22) { if (longListBuilder_ == null) { result.value_ = value_; } else { result.value_ = longListBuilder_.build(); } } if (valueCase_ == 23) { if (stringListBuilder_ == null) { result.value_ = value_; } else { result.value_ = stringListBuilder_.build(); } } if (valueCase_ == 24) { if (floatListBuilder_ == null) { result.value_ = value_; } else { result.value_ = floatListBuilder_.build(); } } if (valueCase_ == 25) { if (doubleListBuilder_ == null) { result.value_ = value_; } else { result.value_ = doubleListBuilder_.build(); } } if (valueCase_ == 26) { if (intListsBuilder_ == null) { result.value_ = value_; } else { result.value_ = intListsBuilder_.build(); } } if (valueCase_ == 27) { if (longListsBuilder_ == null) { result.value_ = value_; } else { result.value_ = longListsBuilder_.build(); } } if (valueCase_ == 28) { if (stringListsBuilder_ == null) { result.value_ = value_; } else { result.value_ = stringListsBuilder_.build(); } } if (valueCase_ == 29) { if (floatListsBuilder_ == null) { result.value_ = value_; } else { result.value_ = floatListsBuilder_.build(); } } if (valueCase_ == 30) { if (doubleListsBuilder_ == null) { result.value_ = value_; } else { result.value_ = doubleListsBuilder_.build(); } } result.valueCase_ = valueCase_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( shade.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( shade.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(shade.protobuf.Message other) { if (other instanceof com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature) { return mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature other) { if (other == com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature.getDefaultInstance()) return this; switch (other.getValueCase()) { case INT_FEATURE: { setIntFeature(other.getIntFeature()); break; } case LONG_FEATURE: { setLongFeature(other.getLongFeature()); break; } case STRING_FEATURE: { valueCase_ = 3; value_ = other.value_; onChanged(); break; } case FLOAT_FEATURE: { setFloatFeature(other.getFloatFeature()); break; } case DOUBLE_FEATURE: { setDoubleFeature(other.getDoubleFeature()); break; } case LONG_STRING_MAP: { mergeLongStringMap(other.getLongStringMap()); break; } case LONG_INT_MAP: { mergeLongIntMap(other.getLongIntMap()); break; } case LONG_LONG_MAP: { mergeLongLongMap(other.getLongLongMap()); break; } case LONG_FLOAT_MAP: { mergeLongFloatMap(other.getLongFloatMap()); break; } case LONG_DOUBLE_MAP: { mergeLongDoubleMap(other.getLongDoubleMap()); break; } case STRING_STRING_MAP: { mergeStringStringMap(other.getStringStringMap()); break; } case STRING_INT_MAP: { mergeStringIntMap(other.getStringIntMap()); break; } case STRING_LONG_MAP: { mergeStringLongMap(other.getStringLongMap()); break; } case STRING_FLOAT_MAP: { mergeStringFloatMap(other.getStringFloatMap()); break; } case STRING_DOUBLE_MAP: { mergeStringDoubleMap(other.getStringDoubleMap()); break; } case INT_STRING_MAP: { mergeIntStringMap(other.getIntStringMap()); break; } case INT_INT_MAP: { mergeIntIntMap(other.getIntIntMap()); break; } case INT_LONG_MAP: { mergeIntLongMap(other.getIntLongMap()); break; } case INT_FLOAT_MAP: { mergeIntFloatMap(other.getIntFloatMap()); break; } case INT_DOUBLE_MAP: { mergeIntDoubleMap(other.getIntDoubleMap()); break; } case INT_LIST: { mergeIntList(other.getIntList()); break; } case LONG_LIST: { mergeLongList(other.getLongList()); break; } case STRING_LIST: { mergeStringList(other.getStringList()); break; } case FLOAT_LIST: { mergeFloatList(other.getFloatList()); break; } case DOUBLE_LIST: { mergeDoubleList(other.getDoubleList()); break; } case INT_LISTS: { mergeIntLists(other.getIntLists()); break; } case LONG_LISTS: { mergeLongLists(other.getLongLists()); break; } case STRING_LISTS: { mergeStringLists(other.getStringLists()); break; } case FLOAT_LISTS: { mergeFloatLists(other.getFloatLists()); break; } case DOUBLE_LISTS: { mergeDoubleLists(other.getDoubleLists()); break; } case VALUE_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (shade.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int valueCase_ = 0; private java.lang.Object value_; public ValueCase getValueCase() { return ValueCase.forNumber( valueCase_); } public Builder clearValue() { valueCase_ = 0; value_ = null; onChanged(); return this; } /** * int32 int_feature = 1; */ public int getIntFeature() { if (valueCase_ == 1) { return (java.lang.Integer) value_; } return 0; } /** * int32 int_feature = 1; */ public Builder setIntFeature(int value) { valueCase_ = 1; value_ = value; onChanged(); return this; } /** * int32 int_feature = 1; */ public Builder clearIntFeature() { if (valueCase_ == 1) { valueCase_ = 0; value_ = null; onChanged(); } return this; } /** * int64 long_feature = 2; */ public long getLongFeature() { if (valueCase_ == 2) { return (java.lang.Long) value_; } return 0L; } /** * int64 long_feature = 2; */ public Builder setLongFeature(long value) { valueCase_ = 2; value_ = value; onChanged(); return this; } /** * int64 long_feature = 2; */ public Builder clearLongFeature() { if (valueCase_ == 2) { valueCase_ = 0; value_ = null; onChanged(); } return this; } /** * string string_feature = 3; */ public java.lang.String getStringFeature() { java.lang.Object ref = ""; if (valueCase_ == 3) { ref = value_; } if (!(ref instanceof java.lang.String)) { shade.protobuf.ByteString bs = (shade.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueCase_ == 3) { value_ = s; } return s; } else { return (java.lang.String) ref; } } /** * string string_feature = 3; */ public shade.protobuf.ByteString getStringFeatureBytes() { java.lang.Object ref = ""; if (valueCase_ == 3) { ref = value_; } if (ref instanceof String) { shade.protobuf.ByteString b = shade.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (valueCase_ == 3) { value_ = b; } return b; } else { return (shade.protobuf.ByteString) ref; } } /** * string string_feature = 3; */ public Builder setStringFeature( java.lang.String value) { if (value == null) { throw new NullPointerException(); } valueCase_ = 3; value_ = value; onChanged(); return this; } /** * string string_feature = 3; */ public Builder clearStringFeature() { if (valueCase_ == 3) { valueCase_ = 0; value_ = null; onChanged(); } return this; } /** * string string_feature = 3; */ public Builder setStringFeatureBytes( shade.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); valueCase_ = 3; value_ = value; onChanged(); return this; } /** * float float_feature = 4; */ public float getFloatFeature() { if (valueCase_ == 4) { return (java.lang.Float) value_; } return 0F; } /** * float float_feature = 4; */ public Builder setFloatFeature(float value) { valueCase_ = 4; value_ = value; onChanged(); return this; } /** * float float_feature = 4; */ public Builder clearFloatFeature() { if (valueCase_ == 4) { valueCase_ = 0; value_ = null; onChanged(); } return this; } /** * double double_feature = 5; */ public double getDoubleFeature() { if (valueCase_ == 5) { return (java.lang.Double) value_; } return 0D; } /** * double double_feature = 5; */ public Builder setDoubleFeature(double value) { valueCase_ = 5; value_ = value; onChanged(); return this; } /** * double double_feature = 5; */ public Builder clearDoubleFeature() { if (valueCase_ == 5) { valueCase_ = 0; value_ = null; onChanged(); } return this; } private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMapOrBuilder> longStringMapBuilder_; /** * .LongStringMap long_string_map = 6; */ public boolean hasLongStringMap() { return valueCase_ == 6; } /** * .LongStringMap long_string_map = 6; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap getLongStringMap() { if (longStringMapBuilder_ == null) { if (valueCase_ == 6) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap.getDefaultInstance(); } else { if (valueCase_ == 6) { return longStringMapBuilder_.getMessage(); } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap.getDefaultInstance(); } } /** * .LongStringMap long_string_map = 6; */ public Builder setLongStringMap(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap value) { if (longStringMapBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { longStringMapBuilder_.setMessage(value); } valueCase_ = 6; return this; } /** * .LongStringMap long_string_map = 6; */ public Builder setLongStringMap( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap.Builder builderForValue) { if (longStringMapBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { longStringMapBuilder_.setMessage(builderForValue.build()); } valueCase_ = 6; return this; } /** * .LongStringMap long_string_map = 6; */ public Builder mergeLongStringMap(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap value) { if (longStringMapBuilder_ == null) { if (valueCase_ == 6 && value_ != com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap.getDefaultInstance()) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap.newBuilder((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 6) { longStringMapBuilder_.mergeFrom(value); } longStringMapBuilder_.setMessage(value); } valueCase_ = 6; return this; } /** * .LongStringMap long_string_map = 6; */ public Builder clearLongStringMap() { if (longStringMapBuilder_ == null) { if (valueCase_ == 6) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 6) { valueCase_ = 0; value_ = null; } longStringMapBuilder_.clear(); } return this; } /** * .LongStringMap long_string_map = 6; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap.Builder getLongStringMapBuilder() { return getLongStringMapFieldBuilder().getBuilder(); } /** * .LongStringMap long_string_map = 6; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMapOrBuilder getLongStringMapOrBuilder() { if ((valueCase_ == 6) && (longStringMapBuilder_ != null)) { return longStringMapBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 6) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap.getDefaultInstance(); } } /** * .LongStringMap long_string_map = 6; */ private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMapOrBuilder> getLongStringMapFieldBuilder() { if (longStringMapBuilder_ == null) { if (!(valueCase_ == 6)) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap.getDefaultInstance(); } longStringMapBuilder_ = new shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMapOrBuilder>( (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongStringMap) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 6; onChanged();; return longStringMapBuilder_; } private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMapOrBuilder> longIntMapBuilder_; /** * .LongIntMap long_int_map = 7; */ public boolean hasLongIntMap() { return valueCase_ == 7; } /** * .LongIntMap long_int_map = 7; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap getLongIntMap() { if (longIntMapBuilder_ == null) { if (valueCase_ == 7) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap.getDefaultInstance(); } else { if (valueCase_ == 7) { return longIntMapBuilder_.getMessage(); } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap.getDefaultInstance(); } } /** * .LongIntMap long_int_map = 7; */ public Builder setLongIntMap(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap value) { if (longIntMapBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { longIntMapBuilder_.setMessage(value); } valueCase_ = 7; return this; } /** * .LongIntMap long_int_map = 7; */ public Builder setLongIntMap( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap.Builder builderForValue) { if (longIntMapBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { longIntMapBuilder_.setMessage(builderForValue.build()); } valueCase_ = 7; return this; } /** * .LongIntMap long_int_map = 7; */ public Builder mergeLongIntMap(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap value) { if (longIntMapBuilder_ == null) { if (valueCase_ == 7 && value_ != com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap.getDefaultInstance()) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap.newBuilder((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 7) { longIntMapBuilder_.mergeFrom(value); } longIntMapBuilder_.setMessage(value); } valueCase_ = 7; return this; } /** * .LongIntMap long_int_map = 7; */ public Builder clearLongIntMap() { if (longIntMapBuilder_ == null) { if (valueCase_ == 7) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 7) { valueCase_ = 0; value_ = null; } longIntMapBuilder_.clear(); } return this; } /** * .LongIntMap long_int_map = 7; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap.Builder getLongIntMapBuilder() { return getLongIntMapFieldBuilder().getBuilder(); } /** * .LongIntMap long_int_map = 7; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMapOrBuilder getLongIntMapOrBuilder() { if ((valueCase_ == 7) && (longIntMapBuilder_ != null)) { return longIntMapBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 7) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap.getDefaultInstance(); } } /** * .LongIntMap long_int_map = 7; */ private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMapOrBuilder> getLongIntMapFieldBuilder() { if (longIntMapBuilder_ == null) { if (!(valueCase_ == 7)) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap.getDefaultInstance(); } longIntMapBuilder_ = new shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMapOrBuilder>( (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongIntMap) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 7; onChanged();; return longIntMapBuilder_; } private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMapOrBuilder> longLongMapBuilder_; /** * .LongLongMap long_long_map = 8; */ public boolean hasLongLongMap() { return valueCase_ == 8; } /** * .LongLongMap long_long_map = 8; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap getLongLongMap() { if (longLongMapBuilder_ == null) { if (valueCase_ == 8) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap.getDefaultInstance(); } else { if (valueCase_ == 8) { return longLongMapBuilder_.getMessage(); } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap.getDefaultInstance(); } } /** * .LongLongMap long_long_map = 8; */ public Builder setLongLongMap(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap value) { if (longLongMapBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { longLongMapBuilder_.setMessage(value); } valueCase_ = 8; return this; } /** * .LongLongMap long_long_map = 8; */ public Builder setLongLongMap( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap.Builder builderForValue) { if (longLongMapBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { longLongMapBuilder_.setMessage(builderForValue.build()); } valueCase_ = 8; return this; } /** * .LongLongMap long_long_map = 8; */ public Builder mergeLongLongMap(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap value) { if (longLongMapBuilder_ == null) { if (valueCase_ == 8 && value_ != com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap.getDefaultInstance()) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap.newBuilder((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 8) { longLongMapBuilder_.mergeFrom(value); } longLongMapBuilder_.setMessage(value); } valueCase_ = 8; return this; } /** * .LongLongMap long_long_map = 8; */ public Builder clearLongLongMap() { if (longLongMapBuilder_ == null) { if (valueCase_ == 8) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 8) { valueCase_ = 0; value_ = null; } longLongMapBuilder_.clear(); } return this; } /** * .LongLongMap long_long_map = 8; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap.Builder getLongLongMapBuilder() { return getLongLongMapFieldBuilder().getBuilder(); } /** * .LongLongMap long_long_map = 8; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMapOrBuilder getLongLongMapOrBuilder() { if ((valueCase_ == 8) && (longLongMapBuilder_ != null)) { return longLongMapBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 8) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap.getDefaultInstance(); } } /** * .LongLongMap long_long_map = 8; */ private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMapOrBuilder> getLongLongMapFieldBuilder() { if (longLongMapBuilder_ == null) { if (!(valueCase_ == 8)) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap.getDefaultInstance(); } longLongMapBuilder_ = new shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMapOrBuilder>( (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLongMap) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 8; onChanged();; return longLongMapBuilder_; } private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMapOrBuilder> longFloatMapBuilder_; /** * .LongFloatMap long_float_map = 9; */ public boolean hasLongFloatMap() { return valueCase_ == 9; } /** * .LongFloatMap long_float_map = 9; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap getLongFloatMap() { if (longFloatMapBuilder_ == null) { if (valueCase_ == 9) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap.getDefaultInstance(); } else { if (valueCase_ == 9) { return longFloatMapBuilder_.getMessage(); } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap.getDefaultInstance(); } } /** * .LongFloatMap long_float_map = 9; */ public Builder setLongFloatMap(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap value) { if (longFloatMapBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { longFloatMapBuilder_.setMessage(value); } valueCase_ = 9; return this; } /** * .LongFloatMap long_float_map = 9; */ public Builder setLongFloatMap( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap.Builder builderForValue) { if (longFloatMapBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { longFloatMapBuilder_.setMessage(builderForValue.build()); } valueCase_ = 9; return this; } /** * .LongFloatMap long_float_map = 9; */ public Builder mergeLongFloatMap(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap value) { if (longFloatMapBuilder_ == null) { if (valueCase_ == 9 && value_ != com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap.getDefaultInstance()) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap.newBuilder((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 9) { longFloatMapBuilder_.mergeFrom(value); } longFloatMapBuilder_.setMessage(value); } valueCase_ = 9; return this; } /** * .LongFloatMap long_float_map = 9; */ public Builder clearLongFloatMap() { if (longFloatMapBuilder_ == null) { if (valueCase_ == 9) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 9) { valueCase_ = 0; value_ = null; } longFloatMapBuilder_.clear(); } return this; } /** * .LongFloatMap long_float_map = 9; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap.Builder getLongFloatMapBuilder() { return getLongFloatMapFieldBuilder().getBuilder(); } /** * .LongFloatMap long_float_map = 9; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMapOrBuilder getLongFloatMapOrBuilder() { if ((valueCase_ == 9) && (longFloatMapBuilder_ != null)) { return longFloatMapBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 9) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap.getDefaultInstance(); } } /** * .LongFloatMap long_float_map = 9; */ private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMapOrBuilder> getLongFloatMapFieldBuilder() { if (longFloatMapBuilder_ == null) { if (!(valueCase_ == 9)) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap.getDefaultInstance(); } longFloatMapBuilder_ = new shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMapOrBuilder>( (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongFloatMap) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 9; onChanged();; return longFloatMapBuilder_; } private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMapOrBuilder> longDoubleMapBuilder_; /** * .LongDoubleMap long_double_map = 10; */ public boolean hasLongDoubleMap() { return valueCase_ == 10; } /** * .LongDoubleMap long_double_map = 10; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap getLongDoubleMap() { if (longDoubleMapBuilder_ == null) { if (valueCase_ == 10) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap.getDefaultInstance(); } else { if (valueCase_ == 10) { return longDoubleMapBuilder_.getMessage(); } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap.getDefaultInstance(); } } /** * .LongDoubleMap long_double_map = 10; */ public Builder setLongDoubleMap(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap value) { if (longDoubleMapBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { longDoubleMapBuilder_.setMessage(value); } valueCase_ = 10; return this; } /** * .LongDoubleMap long_double_map = 10; */ public Builder setLongDoubleMap( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap.Builder builderForValue) { if (longDoubleMapBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { longDoubleMapBuilder_.setMessage(builderForValue.build()); } valueCase_ = 10; return this; } /** * .LongDoubleMap long_double_map = 10; */ public Builder mergeLongDoubleMap(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap value) { if (longDoubleMapBuilder_ == null) { if (valueCase_ == 10 && value_ != com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap.getDefaultInstance()) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap.newBuilder((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 10) { longDoubleMapBuilder_.mergeFrom(value); } longDoubleMapBuilder_.setMessage(value); } valueCase_ = 10; return this; } /** * .LongDoubleMap long_double_map = 10; */ public Builder clearLongDoubleMap() { if (longDoubleMapBuilder_ == null) { if (valueCase_ == 10) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 10) { valueCase_ = 0; value_ = null; } longDoubleMapBuilder_.clear(); } return this; } /** * .LongDoubleMap long_double_map = 10; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap.Builder getLongDoubleMapBuilder() { return getLongDoubleMapFieldBuilder().getBuilder(); } /** * .LongDoubleMap long_double_map = 10; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMapOrBuilder getLongDoubleMapOrBuilder() { if ((valueCase_ == 10) && (longDoubleMapBuilder_ != null)) { return longDoubleMapBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 10) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap.getDefaultInstance(); } } /** * .LongDoubleMap long_double_map = 10; */ private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMapOrBuilder> getLongDoubleMapFieldBuilder() { if (longDoubleMapBuilder_ == null) { if (!(valueCase_ == 10)) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap.getDefaultInstance(); } longDoubleMapBuilder_ = new shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMapOrBuilder>( (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongDoubleMap) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 10; onChanged();; return longDoubleMapBuilder_; } private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMapOrBuilder> stringStringMapBuilder_; /** * .StringStringMap string_string_map = 11; */ public boolean hasStringStringMap() { return valueCase_ == 11; } /** * .StringStringMap string_string_map = 11; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap getStringStringMap() { if (stringStringMapBuilder_ == null) { if (valueCase_ == 11) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap.getDefaultInstance(); } else { if (valueCase_ == 11) { return stringStringMapBuilder_.getMessage(); } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap.getDefaultInstance(); } } /** * .StringStringMap string_string_map = 11; */ public Builder setStringStringMap(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap value) { if (stringStringMapBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { stringStringMapBuilder_.setMessage(value); } valueCase_ = 11; return this; } /** * .StringStringMap string_string_map = 11; */ public Builder setStringStringMap( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap.Builder builderForValue) { if (stringStringMapBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { stringStringMapBuilder_.setMessage(builderForValue.build()); } valueCase_ = 11; return this; } /** * .StringStringMap string_string_map = 11; */ public Builder mergeStringStringMap(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap value) { if (stringStringMapBuilder_ == null) { if (valueCase_ == 11 && value_ != com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap.getDefaultInstance()) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap.newBuilder((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 11) { stringStringMapBuilder_.mergeFrom(value); } stringStringMapBuilder_.setMessage(value); } valueCase_ = 11; return this; } /** * .StringStringMap string_string_map = 11; */ public Builder clearStringStringMap() { if (stringStringMapBuilder_ == null) { if (valueCase_ == 11) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 11) { valueCase_ = 0; value_ = null; } stringStringMapBuilder_.clear(); } return this; } /** * .StringStringMap string_string_map = 11; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap.Builder getStringStringMapBuilder() { return getStringStringMapFieldBuilder().getBuilder(); } /** * .StringStringMap string_string_map = 11; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMapOrBuilder getStringStringMapOrBuilder() { if ((valueCase_ == 11) && (stringStringMapBuilder_ != null)) { return stringStringMapBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 11) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap.getDefaultInstance(); } } /** * .StringStringMap string_string_map = 11; */ private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMapOrBuilder> getStringStringMapFieldBuilder() { if (stringStringMapBuilder_ == null) { if (!(valueCase_ == 11)) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap.getDefaultInstance(); } stringStringMapBuilder_ = new shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMapOrBuilder>( (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringStringMap) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 11; onChanged();; return stringStringMapBuilder_; } private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMapOrBuilder> stringIntMapBuilder_; /** * .StringIntMap string_int_map = 12; */ public boolean hasStringIntMap() { return valueCase_ == 12; } /** * .StringIntMap string_int_map = 12; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap getStringIntMap() { if (stringIntMapBuilder_ == null) { if (valueCase_ == 12) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap.getDefaultInstance(); } else { if (valueCase_ == 12) { return stringIntMapBuilder_.getMessage(); } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap.getDefaultInstance(); } } /** * .StringIntMap string_int_map = 12; */ public Builder setStringIntMap(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap value) { if (stringIntMapBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { stringIntMapBuilder_.setMessage(value); } valueCase_ = 12; return this; } /** * .StringIntMap string_int_map = 12; */ public Builder setStringIntMap( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap.Builder builderForValue) { if (stringIntMapBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { stringIntMapBuilder_.setMessage(builderForValue.build()); } valueCase_ = 12; return this; } /** * .StringIntMap string_int_map = 12; */ public Builder mergeStringIntMap(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap value) { if (stringIntMapBuilder_ == null) { if (valueCase_ == 12 && value_ != com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap.getDefaultInstance()) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap.newBuilder((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 12) { stringIntMapBuilder_.mergeFrom(value); } stringIntMapBuilder_.setMessage(value); } valueCase_ = 12; return this; } /** * .StringIntMap string_int_map = 12; */ public Builder clearStringIntMap() { if (stringIntMapBuilder_ == null) { if (valueCase_ == 12) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 12) { valueCase_ = 0; value_ = null; } stringIntMapBuilder_.clear(); } return this; } /** * .StringIntMap string_int_map = 12; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap.Builder getStringIntMapBuilder() { return getStringIntMapFieldBuilder().getBuilder(); } /** * .StringIntMap string_int_map = 12; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMapOrBuilder getStringIntMapOrBuilder() { if ((valueCase_ == 12) && (stringIntMapBuilder_ != null)) { return stringIntMapBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 12) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap.getDefaultInstance(); } } /** * .StringIntMap string_int_map = 12; */ private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMapOrBuilder> getStringIntMapFieldBuilder() { if (stringIntMapBuilder_ == null) { if (!(valueCase_ == 12)) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap.getDefaultInstance(); } stringIntMapBuilder_ = new shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMapOrBuilder>( (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringIntMap) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 12; onChanged();; return stringIntMapBuilder_; } private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMapOrBuilder> stringLongMapBuilder_; /** * .StringLongMap string_long_map = 13; */ public boolean hasStringLongMap() { return valueCase_ == 13; } /** * .StringLongMap string_long_map = 13; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap getStringLongMap() { if (stringLongMapBuilder_ == null) { if (valueCase_ == 13) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap.getDefaultInstance(); } else { if (valueCase_ == 13) { return stringLongMapBuilder_.getMessage(); } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap.getDefaultInstance(); } } /** * .StringLongMap string_long_map = 13; */ public Builder setStringLongMap(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap value) { if (stringLongMapBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { stringLongMapBuilder_.setMessage(value); } valueCase_ = 13; return this; } /** * .StringLongMap string_long_map = 13; */ public Builder setStringLongMap( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap.Builder builderForValue) { if (stringLongMapBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { stringLongMapBuilder_.setMessage(builderForValue.build()); } valueCase_ = 13; return this; } /** * .StringLongMap string_long_map = 13; */ public Builder mergeStringLongMap(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap value) { if (stringLongMapBuilder_ == null) { if (valueCase_ == 13 && value_ != com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap.getDefaultInstance()) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap.newBuilder((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 13) { stringLongMapBuilder_.mergeFrom(value); } stringLongMapBuilder_.setMessage(value); } valueCase_ = 13; return this; } /** * .StringLongMap string_long_map = 13; */ public Builder clearStringLongMap() { if (stringLongMapBuilder_ == null) { if (valueCase_ == 13) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 13) { valueCase_ = 0; value_ = null; } stringLongMapBuilder_.clear(); } return this; } /** * .StringLongMap string_long_map = 13; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap.Builder getStringLongMapBuilder() { return getStringLongMapFieldBuilder().getBuilder(); } /** * .StringLongMap string_long_map = 13; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMapOrBuilder getStringLongMapOrBuilder() { if ((valueCase_ == 13) && (stringLongMapBuilder_ != null)) { return stringLongMapBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 13) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap.getDefaultInstance(); } } /** * .StringLongMap string_long_map = 13; */ private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMapOrBuilder> getStringLongMapFieldBuilder() { if (stringLongMapBuilder_ == null) { if (!(valueCase_ == 13)) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap.getDefaultInstance(); } stringLongMapBuilder_ = new shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMapOrBuilder>( (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLongMap) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 13; onChanged();; return stringLongMapBuilder_; } private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMapOrBuilder> stringFloatMapBuilder_; /** * .StringFloatMap string_float_map = 14; */ public boolean hasStringFloatMap() { return valueCase_ == 14; } /** * .StringFloatMap string_float_map = 14; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap getStringFloatMap() { if (stringFloatMapBuilder_ == null) { if (valueCase_ == 14) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap.getDefaultInstance(); } else { if (valueCase_ == 14) { return stringFloatMapBuilder_.getMessage(); } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap.getDefaultInstance(); } } /** * .StringFloatMap string_float_map = 14; */ public Builder setStringFloatMap(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap value) { if (stringFloatMapBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { stringFloatMapBuilder_.setMessage(value); } valueCase_ = 14; return this; } /** * .StringFloatMap string_float_map = 14; */ public Builder setStringFloatMap( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap.Builder builderForValue) { if (stringFloatMapBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { stringFloatMapBuilder_.setMessage(builderForValue.build()); } valueCase_ = 14; return this; } /** * .StringFloatMap string_float_map = 14; */ public Builder mergeStringFloatMap(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap value) { if (stringFloatMapBuilder_ == null) { if (valueCase_ == 14 && value_ != com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap.getDefaultInstance()) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap.newBuilder((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 14) { stringFloatMapBuilder_.mergeFrom(value); } stringFloatMapBuilder_.setMessage(value); } valueCase_ = 14; return this; } /** * .StringFloatMap string_float_map = 14; */ public Builder clearStringFloatMap() { if (stringFloatMapBuilder_ == null) { if (valueCase_ == 14) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 14) { valueCase_ = 0; value_ = null; } stringFloatMapBuilder_.clear(); } return this; } /** * .StringFloatMap string_float_map = 14; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap.Builder getStringFloatMapBuilder() { return getStringFloatMapFieldBuilder().getBuilder(); } /** * .StringFloatMap string_float_map = 14; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMapOrBuilder getStringFloatMapOrBuilder() { if ((valueCase_ == 14) && (stringFloatMapBuilder_ != null)) { return stringFloatMapBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 14) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap.getDefaultInstance(); } } /** * .StringFloatMap string_float_map = 14; */ private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMapOrBuilder> getStringFloatMapFieldBuilder() { if (stringFloatMapBuilder_ == null) { if (!(valueCase_ == 14)) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap.getDefaultInstance(); } stringFloatMapBuilder_ = new shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMapOrBuilder>( (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringFloatMap) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 14; onChanged();; return stringFloatMapBuilder_; } private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMapOrBuilder> stringDoubleMapBuilder_; /** * .StringDoubleMap string_double_map = 15; */ public boolean hasStringDoubleMap() { return valueCase_ == 15; } /** * .StringDoubleMap string_double_map = 15; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap getStringDoubleMap() { if (stringDoubleMapBuilder_ == null) { if (valueCase_ == 15) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap.getDefaultInstance(); } else { if (valueCase_ == 15) { return stringDoubleMapBuilder_.getMessage(); } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap.getDefaultInstance(); } } /** * .StringDoubleMap string_double_map = 15; */ public Builder setStringDoubleMap(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap value) { if (stringDoubleMapBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { stringDoubleMapBuilder_.setMessage(value); } valueCase_ = 15; return this; } /** * .StringDoubleMap string_double_map = 15; */ public Builder setStringDoubleMap( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap.Builder builderForValue) { if (stringDoubleMapBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { stringDoubleMapBuilder_.setMessage(builderForValue.build()); } valueCase_ = 15; return this; } /** * .StringDoubleMap string_double_map = 15; */ public Builder mergeStringDoubleMap(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap value) { if (stringDoubleMapBuilder_ == null) { if (valueCase_ == 15 && value_ != com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap.getDefaultInstance()) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap.newBuilder((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 15) { stringDoubleMapBuilder_.mergeFrom(value); } stringDoubleMapBuilder_.setMessage(value); } valueCase_ = 15; return this; } /** * .StringDoubleMap string_double_map = 15; */ public Builder clearStringDoubleMap() { if (stringDoubleMapBuilder_ == null) { if (valueCase_ == 15) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 15) { valueCase_ = 0; value_ = null; } stringDoubleMapBuilder_.clear(); } return this; } /** * .StringDoubleMap string_double_map = 15; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap.Builder getStringDoubleMapBuilder() { return getStringDoubleMapFieldBuilder().getBuilder(); } /** * .StringDoubleMap string_double_map = 15; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMapOrBuilder getStringDoubleMapOrBuilder() { if ((valueCase_ == 15) && (stringDoubleMapBuilder_ != null)) { return stringDoubleMapBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 15) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap.getDefaultInstance(); } } /** * .StringDoubleMap string_double_map = 15; */ private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMapOrBuilder> getStringDoubleMapFieldBuilder() { if (stringDoubleMapBuilder_ == null) { if (!(valueCase_ == 15)) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap.getDefaultInstance(); } stringDoubleMapBuilder_ = new shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMapOrBuilder>( (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringDoubleMap) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 15; onChanged();; return stringDoubleMapBuilder_; } private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMapOrBuilder> intStringMapBuilder_; /** * .IntStringMap int_string_map = 16; */ public boolean hasIntStringMap() { return valueCase_ == 16; } /** * .IntStringMap int_string_map = 16; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap getIntStringMap() { if (intStringMapBuilder_ == null) { if (valueCase_ == 16) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap.getDefaultInstance(); } else { if (valueCase_ == 16) { return intStringMapBuilder_.getMessage(); } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap.getDefaultInstance(); } } /** * .IntStringMap int_string_map = 16; */ public Builder setIntStringMap(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap value) { if (intStringMapBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { intStringMapBuilder_.setMessage(value); } valueCase_ = 16; return this; } /** * .IntStringMap int_string_map = 16; */ public Builder setIntStringMap( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap.Builder builderForValue) { if (intStringMapBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { intStringMapBuilder_.setMessage(builderForValue.build()); } valueCase_ = 16; return this; } /** * .IntStringMap int_string_map = 16; */ public Builder mergeIntStringMap(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap value) { if (intStringMapBuilder_ == null) { if (valueCase_ == 16 && value_ != com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap.getDefaultInstance()) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap.newBuilder((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 16) { intStringMapBuilder_.mergeFrom(value); } intStringMapBuilder_.setMessage(value); } valueCase_ = 16; return this; } /** * .IntStringMap int_string_map = 16; */ public Builder clearIntStringMap() { if (intStringMapBuilder_ == null) { if (valueCase_ == 16) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 16) { valueCase_ = 0; value_ = null; } intStringMapBuilder_.clear(); } return this; } /** * .IntStringMap int_string_map = 16; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap.Builder getIntStringMapBuilder() { return getIntStringMapFieldBuilder().getBuilder(); } /** * .IntStringMap int_string_map = 16; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMapOrBuilder getIntStringMapOrBuilder() { if ((valueCase_ == 16) && (intStringMapBuilder_ != null)) { return intStringMapBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 16) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap.getDefaultInstance(); } } /** * .IntStringMap int_string_map = 16; */ private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMapOrBuilder> getIntStringMapFieldBuilder() { if (intStringMapBuilder_ == null) { if (!(valueCase_ == 16)) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap.getDefaultInstance(); } intStringMapBuilder_ = new shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMapOrBuilder>( (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntStringMap) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 16; onChanged();; return intStringMapBuilder_; } private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMapOrBuilder> intIntMapBuilder_; /** * .IntIntMap int_int_map = 17; */ public boolean hasIntIntMap() { return valueCase_ == 17; } /** * .IntIntMap int_int_map = 17; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap getIntIntMap() { if (intIntMapBuilder_ == null) { if (valueCase_ == 17) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap.getDefaultInstance(); } else { if (valueCase_ == 17) { return intIntMapBuilder_.getMessage(); } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap.getDefaultInstance(); } } /** * .IntIntMap int_int_map = 17; */ public Builder setIntIntMap(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap value) { if (intIntMapBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { intIntMapBuilder_.setMessage(value); } valueCase_ = 17; return this; } /** * .IntIntMap int_int_map = 17; */ public Builder setIntIntMap( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap.Builder builderForValue) { if (intIntMapBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { intIntMapBuilder_.setMessage(builderForValue.build()); } valueCase_ = 17; return this; } /** * .IntIntMap int_int_map = 17; */ public Builder mergeIntIntMap(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap value) { if (intIntMapBuilder_ == null) { if (valueCase_ == 17 && value_ != com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap.getDefaultInstance()) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap.newBuilder((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 17) { intIntMapBuilder_.mergeFrom(value); } intIntMapBuilder_.setMessage(value); } valueCase_ = 17; return this; } /** * .IntIntMap int_int_map = 17; */ public Builder clearIntIntMap() { if (intIntMapBuilder_ == null) { if (valueCase_ == 17) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 17) { valueCase_ = 0; value_ = null; } intIntMapBuilder_.clear(); } return this; } /** * .IntIntMap int_int_map = 17; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap.Builder getIntIntMapBuilder() { return getIntIntMapFieldBuilder().getBuilder(); } /** * .IntIntMap int_int_map = 17; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMapOrBuilder getIntIntMapOrBuilder() { if ((valueCase_ == 17) && (intIntMapBuilder_ != null)) { return intIntMapBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 17) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap.getDefaultInstance(); } } /** * .IntIntMap int_int_map = 17; */ private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMapOrBuilder> getIntIntMapFieldBuilder() { if (intIntMapBuilder_ == null) { if (!(valueCase_ == 17)) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap.getDefaultInstance(); } intIntMapBuilder_ = new shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMapOrBuilder>( (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntIntMap) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 17; onChanged();; return intIntMapBuilder_; } private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMapOrBuilder> intLongMapBuilder_; /** * .IntLongMap int_long_map = 18; */ public boolean hasIntLongMap() { return valueCase_ == 18; } /** * .IntLongMap int_long_map = 18; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap getIntLongMap() { if (intLongMapBuilder_ == null) { if (valueCase_ == 18) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap.getDefaultInstance(); } else { if (valueCase_ == 18) { return intLongMapBuilder_.getMessage(); } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap.getDefaultInstance(); } } /** * .IntLongMap int_long_map = 18; */ public Builder setIntLongMap(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap value) { if (intLongMapBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { intLongMapBuilder_.setMessage(value); } valueCase_ = 18; return this; } /** * .IntLongMap int_long_map = 18; */ public Builder setIntLongMap( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap.Builder builderForValue) { if (intLongMapBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { intLongMapBuilder_.setMessage(builderForValue.build()); } valueCase_ = 18; return this; } /** * .IntLongMap int_long_map = 18; */ public Builder mergeIntLongMap(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap value) { if (intLongMapBuilder_ == null) { if (valueCase_ == 18 && value_ != com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap.getDefaultInstance()) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap.newBuilder((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 18) { intLongMapBuilder_.mergeFrom(value); } intLongMapBuilder_.setMessage(value); } valueCase_ = 18; return this; } /** * .IntLongMap int_long_map = 18; */ public Builder clearIntLongMap() { if (intLongMapBuilder_ == null) { if (valueCase_ == 18) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 18) { valueCase_ = 0; value_ = null; } intLongMapBuilder_.clear(); } return this; } /** * .IntLongMap int_long_map = 18; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap.Builder getIntLongMapBuilder() { return getIntLongMapFieldBuilder().getBuilder(); } /** * .IntLongMap int_long_map = 18; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMapOrBuilder getIntLongMapOrBuilder() { if ((valueCase_ == 18) && (intLongMapBuilder_ != null)) { return intLongMapBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 18) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap.getDefaultInstance(); } } /** * .IntLongMap int_long_map = 18; */ private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMapOrBuilder> getIntLongMapFieldBuilder() { if (intLongMapBuilder_ == null) { if (!(valueCase_ == 18)) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap.getDefaultInstance(); } intLongMapBuilder_ = new shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMapOrBuilder>( (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLongMap) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 18; onChanged();; return intLongMapBuilder_; } private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMapOrBuilder> intFloatMapBuilder_; /** * .IntFloatMap int_float_map = 19; */ public boolean hasIntFloatMap() { return valueCase_ == 19; } /** * .IntFloatMap int_float_map = 19; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap getIntFloatMap() { if (intFloatMapBuilder_ == null) { if (valueCase_ == 19) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap.getDefaultInstance(); } else { if (valueCase_ == 19) { return intFloatMapBuilder_.getMessage(); } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap.getDefaultInstance(); } } /** * .IntFloatMap int_float_map = 19; */ public Builder setIntFloatMap(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap value) { if (intFloatMapBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { intFloatMapBuilder_.setMessage(value); } valueCase_ = 19; return this; } /** * .IntFloatMap int_float_map = 19; */ public Builder setIntFloatMap( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap.Builder builderForValue) { if (intFloatMapBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { intFloatMapBuilder_.setMessage(builderForValue.build()); } valueCase_ = 19; return this; } /** * .IntFloatMap int_float_map = 19; */ public Builder mergeIntFloatMap(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap value) { if (intFloatMapBuilder_ == null) { if (valueCase_ == 19 && value_ != com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap.getDefaultInstance()) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap.newBuilder((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 19) { intFloatMapBuilder_.mergeFrom(value); } intFloatMapBuilder_.setMessage(value); } valueCase_ = 19; return this; } /** * .IntFloatMap int_float_map = 19; */ public Builder clearIntFloatMap() { if (intFloatMapBuilder_ == null) { if (valueCase_ == 19) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 19) { valueCase_ = 0; value_ = null; } intFloatMapBuilder_.clear(); } return this; } /** * .IntFloatMap int_float_map = 19; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap.Builder getIntFloatMapBuilder() { return getIntFloatMapFieldBuilder().getBuilder(); } /** * .IntFloatMap int_float_map = 19; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMapOrBuilder getIntFloatMapOrBuilder() { if ((valueCase_ == 19) && (intFloatMapBuilder_ != null)) { return intFloatMapBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 19) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap.getDefaultInstance(); } } /** * .IntFloatMap int_float_map = 19; */ private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMapOrBuilder> getIntFloatMapFieldBuilder() { if (intFloatMapBuilder_ == null) { if (!(valueCase_ == 19)) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap.getDefaultInstance(); } intFloatMapBuilder_ = new shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMapOrBuilder>( (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntFloatMap) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 19; onChanged();; return intFloatMapBuilder_; } private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMapOrBuilder> intDoubleMapBuilder_; /** * .IntDoubleMap int_double_map = 20; */ public boolean hasIntDoubleMap() { return valueCase_ == 20; } /** * .IntDoubleMap int_double_map = 20; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap getIntDoubleMap() { if (intDoubleMapBuilder_ == null) { if (valueCase_ == 20) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap.getDefaultInstance(); } else { if (valueCase_ == 20) { return intDoubleMapBuilder_.getMessage(); } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap.getDefaultInstance(); } } /** * .IntDoubleMap int_double_map = 20; */ public Builder setIntDoubleMap(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap value) { if (intDoubleMapBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { intDoubleMapBuilder_.setMessage(value); } valueCase_ = 20; return this; } /** * .IntDoubleMap int_double_map = 20; */ public Builder setIntDoubleMap( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap.Builder builderForValue) { if (intDoubleMapBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { intDoubleMapBuilder_.setMessage(builderForValue.build()); } valueCase_ = 20; return this; } /** * .IntDoubleMap int_double_map = 20; */ public Builder mergeIntDoubleMap(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap value) { if (intDoubleMapBuilder_ == null) { if (valueCase_ == 20 && value_ != com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap.getDefaultInstance()) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap.newBuilder((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 20) { intDoubleMapBuilder_.mergeFrom(value); } intDoubleMapBuilder_.setMessage(value); } valueCase_ = 20; return this; } /** * .IntDoubleMap int_double_map = 20; */ public Builder clearIntDoubleMap() { if (intDoubleMapBuilder_ == null) { if (valueCase_ == 20) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 20) { valueCase_ = 0; value_ = null; } intDoubleMapBuilder_.clear(); } return this; } /** * .IntDoubleMap int_double_map = 20; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap.Builder getIntDoubleMapBuilder() { return getIntDoubleMapFieldBuilder().getBuilder(); } /** * .IntDoubleMap int_double_map = 20; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMapOrBuilder getIntDoubleMapOrBuilder() { if ((valueCase_ == 20) && (intDoubleMapBuilder_ != null)) { return intDoubleMapBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 20) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap.getDefaultInstance(); } } /** * .IntDoubleMap int_double_map = 20; */ private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMapOrBuilder> getIntDoubleMapFieldBuilder() { if (intDoubleMapBuilder_ == null) { if (!(valueCase_ == 20)) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap.getDefaultInstance(); } intDoubleMapBuilder_ = new shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMapOrBuilder>( (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntDoubleMap) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 20; onChanged();; return intDoubleMapBuilder_; } private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntListOrBuilder> intListBuilder_; /** * .IntList int_list = 21; */ public boolean hasIntList() { return valueCase_ == 21; } /** * .IntList int_list = 21; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList getIntList() { if (intListBuilder_ == null) { if (valueCase_ == 21) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.getDefaultInstance(); } else { if (valueCase_ == 21) { return intListBuilder_.getMessage(); } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.getDefaultInstance(); } } /** * .IntList int_list = 21; */ public Builder setIntList(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList value) { if (intListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { intListBuilder_.setMessage(value); } valueCase_ = 21; return this; } /** * .IntList int_list = 21; */ public Builder setIntList( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.Builder builderForValue) { if (intListBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { intListBuilder_.setMessage(builderForValue.build()); } valueCase_ = 21; return this; } /** * .IntList int_list = 21; */ public Builder mergeIntList(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList value) { if (intListBuilder_ == null) { if (valueCase_ == 21 && value_ != com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.getDefaultInstance()) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.newBuilder((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 21) { intListBuilder_.mergeFrom(value); } intListBuilder_.setMessage(value); } valueCase_ = 21; return this; } /** * .IntList int_list = 21; */ public Builder clearIntList() { if (intListBuilder_ == null) { if (valueCase_ == 21) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 21) { valueCase_ = 0; value_ = null; } intListBuilder_.clear(); } return this; } /** * .IntList int_list = 21; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.Builder getIntListBuilder() { return getIntListFieldBuilder().getBuilder(); } /** * .IntList int_list = 21; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntListOrBuilder getIntListOrBuilder() { if ((valueCase_ == 21) && (intListBuilder_ != null)) { return intListBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 21) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.getDefaultInstance(); } } /** * .IntList int_list = 21; */ private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntListOrBuilder> getIntListFieldBuilder() { if (intListBuilder_ == null) { if (!(valueCase_ == 21)) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.getDefaultInstance(); } intListBuilder_ = new shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntListOrBuilder>( (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntList) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 21; onChanged();; return intListBuilder_; } private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongListOrBuilder> longListBuilder_; /** * .LongList long_list = 22; */ public boolean hasLongList() { return valueCase_ == 22; } /** * .LongList long_list = 22; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList getLongList() { if (longListBuilder_ == null) { if (valueCase_ == 22) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.getDefaultInstance(); } else { if (valueCase_ == 22) { return longListBuilder_.getMessage(); } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.getDefaultInstance(); } } /** * .LongList long_list = 22; */ public Builder setLongList(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList value) { if (longListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { longListBuilder_.setMessage(value); } valueCase_ = 22; return this; } /** * .LongList long_list = 22; */ public Builder setLongList( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.Builder builderForValue) { if (longListBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { longListBuilder_.setMessage(builderForValue.build()); } valueCase_ = 22; return this; } /** * .LongList long_list = 22; */ public Builder mergeLongList(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList value) { if (longListBuilder_ == null) { if (valueCase_ == 22 && value_ != com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.getDefaultInstance()) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.newBuilder((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 22) { longListBuilder_.mergeFrom(value); } longListBuilder_.setMessage(value); } valueCase_ = 22; return this; } /** * .LongList long_list = 22; */ public Builder clearLongList() { if (longListBuilder_ == null) { if (valueCase_ == 22) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 22) { valueCase_ = 0; value_ = null; } longListBuilder_.clear(); } return this; } /** * .LongList long_list = 22; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.Builder getLongListBuilder() { return getLongListFieldBuilder().getBuilder(); } /** * .LongList long_list = 22; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongListOrBuilder getLongListOrBuilder() { if ((valueCase_ == 22) && (longListBuilder_ != null)) { return longListBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 22) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.getDefaultInstance(); } } /** * .LongList long_list = 22; */ private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongListOrBuilder> getLongListFieldBuilder() { if (longListBuilder_ == null) { if (!(valueCase_ == 22)) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.getDefaultInstance(); } longListBuilder_ = new shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongListOrBuilder>( (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongList) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 22; onChanged();; return longListBuilder_; } private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringListOrBuilder> stringListBuilder_; /** * .StringList string_list = 23; */ public boolean hasStringList() { return valueCase_ == 23; } /** * .StringList string_list = 23; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList getStringList() { if (stringListBuilder_ == null) { if (valueCase_ == 23) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.getDefaultInstance(); } else { if (valueCase_ == 23) { return stringListBuilder_.getMessage(); } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.getDefaultInstance(); } } /** * .StringList string_list = 23; */ public Builder setStringList(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList value) { if (stringListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { stringListBuilder_.setMessage(value); } valueCase_ = 23; return this; } /** * .StringList string_list = 23; */ public Builder setStringList( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.Builder builderForValue) { if (stringListBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { stringListBuilder_.setMessage(builderForValue.build()); } valueCase_ = 23; return this; } /** * .StringList string_list = 23; */ public Builder mergeStringList(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList value) { if (stringListBuilder_ == null) { if (valueCase_ == 23 && value_ != com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.getDefaultInstance()) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.newBuilder((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 23) { stringListBuilder_.mergeFrom(value); } stringListBuilder_.setMessage(value); } valueCase_ = 23; return this; } /** * .StringList string_list = 23; */ public Builder clearStringList() { if (stringListBuilder_ == null) { if (valueCase_ == 23) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 23) { valueCase_ = 0; value_ = null; } stringListBuilder_.clear(); } return this; } /** * .StringList string_list = 23; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.Builder getStringListBuilder() { return getStringListFieldBuilder().getBuilder(); } /** * .StringList string_list = 23; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringListOrBuilder getStringListOrBuilder() { if ((valueCase_ == 23) && (stringListBuilder_ != null)) { return stringListBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 23) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.getDefaultInstance(); } } /** * .StringList string_list = 23; */ private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringListOrBuilder> getStringListFieldBuilder() { if (stringListBuilder_ == null) { if (!(valueCase_ == 23)) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.getDefaultInstance(); } stringListBuilder_ = new shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringListOrBuilder>( (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringList) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 23; onChanged();; return stringListBuilder_; } private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatListOrBuilder> floatListBuilder_; /** * .FloatList float_list = 24; */ public boolean hasFloatList() { return valueCase_ == 24; } /** * .FloatList float_list = 24; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList getFloatList() { if (floatListBuilder_ == null) { if (valueCase_ == 24) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.getDefaultInstance(); } else { if (valueCase_ == 24) { return floatListBuilder_.getMessage(); } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.getDefaultInstance(); } } /** * .FloatList float_list = 24; */ public Builder setFloatList(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList value) { if (floatListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { floatListBuilder_.setMessage(value); } valueCase_ = 24; return this; } /** * .FloatList float_list = 24; */ public Builder setFloatList( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.Builder builderForValue) { if (floatListBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { floatListBuilder_.setMessage(builderForValue.build()); } valueCase_ = 24; return this; } /** * .FloatList float_list = 24; */ public Builder mergeFloatList(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList value) { if (floatListBuilder_ == null) { if (valueCase_ == 24 && value_ != com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.getDefaultInstance()) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.newBuilder((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 24) { floatListBuilder_.mergeFrom(value); } floatListBuilder_.setMessage(value); } valueCase_ = 24; return this; } /** * .FloatList float_list = 24; */ public Builder clearFloatList() { if (floatListBuilder_ == null) { if (valueCase_ == 24) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 24) { valueCase_ = 0; value_ = null; } floatListBuilder_.clear(); } return this; } /** * .FloatList float_list = 24; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.Builder getFloatListBuilder() { return getFloatListFieldBuilder().getBuilder(); } /** * .FloatList float_list = 24; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatListOrBuilder getFloatListOrBuilder() { if ((valueCase_ == 24) && (floatListBuilder_ != null)) { return floatListBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 24) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.getDefaultInstance(); } } /** * .FloatList float_list = 24; */ private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatListOrBuilder> getFloatListFieldBuilder() { if (floatListBuilder_ == null) { if (!(valueCase_ == 24)) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.getDefaultInstance(); } floatListBuilder_ = new shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatListOrBuilder>( (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatList) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 24; onChanged();; return floatListBuilder_; } private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleListOrBuilder> doubleListBuilder_; /** * .DoubleList double_list = 25; */ public boolean hasDoubleList() { return valueCase_ == 25; } /** * .DoubleList double_list = 25; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList getDoubleList() { if (doubleListBuilder_ == null) { if (valueCase_ == 25) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.getDefaultInstance(); } else { if (valueCase_ == 25) { return doubleListBuilder_.getMessage(); } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.getDefaultInstance(); } } /** * .DoubleList double_list = 25; */ public Builder setDoubleList(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList value) { if (doubleListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { doubleListBuilder_.setMessage(value); } valueCase_ = 25; return this; } /** * .DoubleList double_list = 25; */ public Builder setDoubleList( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.Builder builderForValue) { if (doubleListBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { doubleListBuilder_.setMessage(builderForValue.build()); } valueCase_ = 25; return this; } /** * .DoubleList double_list = 25; */ public Builder mergeDoubleList(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList value) { if (doubleListBuilder_ == null) { if (valueCase_ == 25 && value_ != com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.getDefaultInstance()) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.newBuilder((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 25) { doubleListBuilder_.mergeFrom(value); } doubleListBuilder_.setMessage(value); } valueCase_ = 25; return this; } /** * .DoubleList double_list = 25; */ public Builder clearDoubleList() { if (doubleListBuilder_ == null) { if (valueCase_ == 25) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 25) { valueCase_ = 0; value_ = null; } doubleListBuilder_.clear(); } return this; } /** * .DoubleList double_list = 25; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.Builder getDoubleListBuilder() { return getDoubleListFieldBuilder().getBuilder(); } /** * .DoubleList double_list = 25; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleListOrBuilder getDoubleListOrBuilder() { if ((valueCase_ == 25) && (doubleListBuilder_ != null)) { return doubleListBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 25) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.getDefaultInstance(); } } /** * .DoubleList double_list = 25; */ private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleListOrBuilder> getDoubleListFieldBuilder() { if (doubleListBuilder_ == null) { if (!(valueCase_ == 25)) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.getDefaultInstance(); } doubleListBuilder_ = new shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleListOrBuilder>( (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleList) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 25; onChanged();; return doubleListBuilder_; } private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntListsOrBuilder> intListsBuilder_; /** * .IntLists int_lists = 26; */ public boolean hasIntLists() { return valueCase_ == 26; } /** * .IntLists int_lists = 26; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists getIntLists() { if (intListsBuilder_ == null) { if (valueCase_ == 26) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists.getDefaultInstance(); } else { if (valueCase_ == 26) { return intListsBuilder_.getMessage(); } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists.getDefaultInstance(); } } /** * .IntLists int_lists = 26; */ public Builder setIntLists(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists value) { if (intListsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { intListsBuilder_.setMessage(value); } valueCase_ = 26; return this; } /** * .IntLists int_lists = 26; */ public Builder setIntLists( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists.Builder builderForValue) { if (intListsBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { intListsBuilder_.setMessage(builderForValue.build()); } valueCase_ = 26; return this; } /** * .IntLists int_lists = 26; */ public Builder mergeIntLists(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists value) { if (intListsBuilder_ == null) { if (valueCase_ == 26 && value_ != com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists.getDefaultInstance()) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists.newBuilder((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 26) { intListsBuilder_.mergeFrom(value); } intListsBuilder_.setMessage(value); } valueCase_ = 26; return this; } /** * .IntLists int_lists = 26; */ public Builder clearIntLists() { if (intListsBuilder_ == null) { if (valueCase_ == 26) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 26) { valueCase_ = 0; value_ = null; } intListsBuilder_.clear(); } return this; } /** * .IntLists int_lists = 26; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists.Builder getIntListsBuilder() { return getIntListsFieldBuilder().getBuilder(); } /** * .IntLists int_lists = 26; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntListsOrBuilder getIntListsOrBuilder() { if ((valueCase_ == 26) && (intListsBuilder_ != null)) { return intListsBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 26) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists.getDefaultInstance(); } } /** * .IntLists int_lists = 26; */ private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntListsOrBuilder> getIntListsFieldBuilder() { if (intListsBuilder_ == null) { if (!(valueCase_ == 26)) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists.getDefaultInstance(); } intListsBuilder_ = new shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntListsOrBuilder>( (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.IntLists) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 26; onChanged();; return intListsBuilder_; } private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongListsOrBuilder> longListsBuilder_; /** * .LongLists long_lists = 27; */ public boolean hasLongLists() { return valueCase_ == 27; } /** * .LongLists long_lists = 27; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists getLongLists() { if (longListsBuilder_ == null) { if (valueCase_ == 27) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists.getDefaultInstance(); } else { if (valueCase_ == 27) { return longListsBuilder_.getMessage(); } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists.getDefaultInstance(); } } /** * .LongLists long_lists = 27; */ public Builder setLongLists(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists value) { if (longListsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { longListsBuilder_.setMessage(value); } valueCase_ = 27; return this; } /** * .LongLists long_lists = 27; */ public Builder setLongLists( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists.Builder builderForValue) { if (longListsBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { longListsBuilder_.setMessage(builderForValue.build()); } valueCase_ = 27; return this; } /** * .LongLists long_lists = 27; */ public Builder mergeLongLists(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists value) { if (longListsBuilder_ == null) { if (valueCase_ == 27 && value_ != com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists.getDefaultInstance()) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists.newBuilder((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 27) { longListsBuilder_.mergeFrom(value); } longListsBuilder_.setMessage(value); } valueCase_ = 27; return this; } /** * .LongLists long_lists = 27; */ public Builder clearLongLists() { if (longListsBuilder_ == null) { if (valueCase_ == 27) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 27) { valueCase_ = 0; value_ = null; } longListsBuilder_.clear(); } return this; } /** * .LongLists long_lists = 27; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists.Builder getLongListsBuilder() { return getLongListsFieldBuilder().getBuilder(); } /** * .LongLists long_lists = 27; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongListsOrBuilder getLongListsOrBuilder() { if ((valueCase_ == 27) && (longListsBuilder_ != null)) { return longListsBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 27) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists.getDefaultInstance(); } } /** * .LongLists long_lists = 27; */ private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongListsOrBuilder> getLongListsFieldBuilder() { if (longListsBuilder_ == null) { if (!(valueCase_ == 27)) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists.getDefaultInstance(); } longListsBuilder_ = new shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongListsOrBuilder>( (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.LongLists) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 27; onChanged();; return longListsBuilder_; } private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringListsOrBuilder> stringListsBuilder_; /** * .StringLists string_lists = 28; */ public boolean hasStringLists() { return valueCase_ == 28; } /** * .StringLists string_lists = 28; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists getStringLists() { if (stringListsBuilder_ == null) { if (valueCase_ == 28) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists.getDefaultInstance(); } else { if (valueCase_ == 28) { return stringListsBuilder_.getMessage(); } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists.getDefaultInstance(); } } /** * .StringLists string_lists = 28; */ public Builder setStringLists(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists value) { if (stringListsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { stringListsBuilder_.setMessage(value); } valueCase_ = 28; return this; } /** * .StringLists string_lists = 28; */ public Builder setStringLists( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists.Builder builderForValue) { if (stringListsBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { stringListsBuilder_.setMessage(builderForValue.build()); } valueCase_ = 28; return this; } /** * .StringLists string_lists = 28; */ public Builder mergeStringLists(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists value) { if (stringListsBuilder_ == null) { if (valueCase_ == 28 && value_ != com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists.getDefaultInstance()) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists.newBuilder((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 28) { stringListsBuilder_.mergeFrom(value); } stringListsBuilder_.setMessage(value); } valueCase_ = 28; return this; } /** * .StringLists string_lists = 28; */ public Builder clearStringLists() { if (stringListsBuilder_ == null) { if (valueCase_ == 28) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 28) { valueCase_ = 0; value_ = null; } stringListsBuilder_.clear(); } return this; } /** * .StringLists string_lists = 28; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists.Builder getStringListsBuilder() { return getStringListsFieldBuilder().getBuilder(); } /** * .StringLists string_lists = 28; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringListsOrBuilder getStringListsOrBuilder() { if ((valueCase_ == 28) && (stringListsBuilder_ != null)) { return stringListsBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 28) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists.getDefaultInstance(); } } /** * .StringLists string_lists = 28; */ private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringListsOrBuilder> getStringListsFieldBuilder() { if (stringListsBuilder_ == null) { if (!(valueCase_ == 28)) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists.getDefaultInstance(); } stringListsBuilder_ = new shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringListsOrBuilder>( (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.StringLists) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 28; onChanged();; return stringListsBuilder_; } private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatListsOrBuilder> floatListsBuilder_; /** * .FloatLists float_lists = 29; */ public boolean hasFloatLists() { return valueCase_ == 29; } /** * .FloatLists float_lists = 29; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists getFloatLists() { if (floatListsBuilder_ == null) { if (valueCase_ == 29) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists.getDefaultInstance(); } else { if (valueCase_ == 29) { return floatListsBuilder_.getMessage(); } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists.getDefaultInstance(); } } /** * .FloatLists float_lists = 29; */ public Builder setFloatLists(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists value) { if (floatListsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { floatListsBuilder_.setMessage(value); } valueCase_ = 29; return this; } /** * .FloatLists float_lists = 29; */ public Builder setFloatLists( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists.Builder builderForValue) { if (floatListsBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { floatListsBuilder_.setMessage(builderForValue.build()); } valueCase_ = 29; return this; } /** * .FloatLists float_lists = 29; */ public Builder mergeFloatLists(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists value) { if (floatListsBuilder_ == null) { if (valueCase_ == 29 && value_ != com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists.getDefaultInstance()) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists.newBuilder((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 29) { floatListsBuilder_.mergeFrom(value); } floatListsBuilder_.setMessage(value); } valueCase_ = 29; return this; } /** * .FloatLists float_lists = 29; */ public Builder clearFloatLists() { if (floatListsBuilder_ == null) { if (valueCase_ == 29) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 29) { valueCase_ = 0; value_ = null; } floatListsBuilder_.clear(); } return this; } /** * .FloatLists float_lists = 29; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists.Builder getFloatListsBuilder() { return getFloatListsFieldBuilder().getBuilder(); } /** * .FloatLists float_lists = 29; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatListsOrBuilder getFloatListsOrBuilder() { if ((valueCase_ == 29) && (floatListsBuilder_ != null)) { return floatListsBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 29) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists.getDefaultInstance(); } } /** * .FloatLists float_lists = 29; */ private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatListsOrBuilder> getFloatListsFieldBuilder() { if (floatListsBuilder_ == null) { if (!(valueCase_ == 29)) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists.getDefaultInstance(); } floatListsBuilder_ = new shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatListsOrBuilder>( (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.FloatLists) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 29; onChanged();; return floatListsBuilder_; } private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleListsOrBuilder> doubleListsBuilder_; /** * .DoubleLists double_lists = 30; */ public boolean hasDoubleLists() { return valueCase_ == 30; } /** * .DoubleLists double_lists = 30; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists getDoubleLists() { if (doubleListsBuilder_ == null) { if (valueCase_ == 30) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists.getDefaultInstance(); } else { if (valueCase_ == 30) { return doubleListsBuilder_.getMessage(); } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists.getDefaultInstance(); } } /** * .DoubleLists double_lists = 30; */ public Builder setDoubleLists(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists value) { if (doubleListsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { doubleListsBuilder_.setMessage(value); } valueCase_ = 30; return this; } /** * .DoubleLists double_lists = 30; */ public Builder setDoubleLists( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists.Builder builderForValue) { if (doubleListsBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { doubleListsBuilder_.setMessage(builderForValue.build()); } valueCase_ = 30; return this; } /** * .DoubleLists double_lists = 30; */ public Builder mergeDoubleLists(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists value) { if (doubleListsBuilder_ == null) { if (valueCase_ == 30 && value_ != com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists.getDefaultInstance()) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists.newBuilder((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 30) { doubleListsBuilder_.mergeFrom(value); } doubleListsBuilder_.setMessage(value); } valueCase_ = 30; return this; } /** * .DoubleLists double_lists = 30; */ public Builder clearDoubleLists() { if (doubleListsBuilder_ == null) { if (valueCase_ == 30) { valueCase_ = 0; value_ = null; onChanged(); } } else { if (valueCase_ == 30) { valueCase_ = 0; value_ = null; } doubleListsBuilder_.clear(); } return this; } /** * .DoubleLists double_lists = 30; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists.Builder getDoubleListsBuilder() { return getDoubleListsFieldBuilder().getBuilder(); } /** * .DoubleLists double_lists = 30; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleListsOrBuilder getDoubleListsOrBuilder() { if ((valueCase_ == 30) && (doubleListsBuilder_ != null)) { return doubleListsBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 30) { return (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists) value_; } return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists.getDefaultInstance(); } } /** * .DoubleLists double_lists = 30; */ private shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleListsOrBuilder> getDoubleListsFieldBuilder() { if (doubleListsBuilder_ == null) { if (!(valueCase_ == 30)) { value_ = com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists.getDefaultInstance(); } doubleListsBuilder_ = new shade.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleListsOrBuilder>( (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.DoubleLists) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 30; onChanged();; return doubleListsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:PBFeature) } // @@protoc_insertion_point(class_scope:PBFeature) private static final com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature(); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature getDefaultInstance() { return DEFAULT_INSTANCE; } private static final shade.protobuf.Parser PARSER = new shade.protobuf.AbstractParser() { @java.lang.Override public PBFeature parsePartialFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return new PBFeature(input, extensionRegistry); } }; public static shade.protobuf.Parser parser() { return PARSER; } @java.lang.Override public shade.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ContextFeaturesOrBuilder extends // @@protoc_insertion_point(interface_extends:ContextFeatures) shade.protobuf.MessageOrBuilder { /** * repeated .PBFeature features = 1; */ java.util.List getFeaturesList(); /** * repeated .PBFeature features = 1; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature getFeatures(int index); /** * repeated .PBFeature features = 1; */ int getFeaturesCount(); /** * repeated .PBFeature features = 1; */ java.util.List getFeaturesOrBuilderList(); /** * repeated .PBFeature features = 1; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeatureOrBuilder getFeaturesOrBuilder( int index); } /** *
     * context features
     * 
* * Protobuf type {@code ContextFeatures} */ public static final class ContextFeatures extends shade.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ContextFeatures) ContextFeaturesOrBuilder { private static final long serialVersionUID = 0L; // Use ContextFeatures.newBuilder() to construct. private ContextFeatures(shade.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ContextFeatures() { features_ = java.util.Collections.emptyList(); } @java.lang.Override public final shade.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ContextFeatures( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; shade.protobuf.UnknownFieldSet.Builder unknownFields = shade.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { features_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } features_.add( input.readMessage(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature.parser(), extensionRegistry)); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (shade.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new shade.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { features_ = java.util.Collections.unmodifiableList(features_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_ContextFeatures_descriptor; } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_ContextFeatures_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures.Builder.class); } public static final int FEATURES_FIELD_NUMBER = 1; private java.util.List features_; /** * repeated .PBFeature features = 1; */ public java.util.List getFeaturesList() { return features_; } /** * repeated .PBFeature features = 1; */ public java.util.List getFeaturesOrBuilderList() { return features_; } /** * repeated .PBFeature features = 1; */ public int getFeaturesCount() { return features_.size(); } /** * repeated .PBFeature features = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature getFeatures(int index) { return features_.get(index); } /** * repeated .PBFeature features = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeatureOrBuilder getFeaturesOrBuilder( int index) { return features_.get(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(shade.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < features_.size(); i++) { output.writeMessage(1, features_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < features_.size(); i++) { size += shade.protobuf.CodedOutputStream .computeMessageSize(1, features_.get(i)); } 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 com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures)) { return super.equals(obj); } com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures other = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures) obj; boolean result = true; result = result && getFeaturesList() .equals(other.getFeaturesList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getFeaturesCount() > 0) { hash = (37 * hash) + FEATURES_FIELD_NUMBER; hash = (53 * hash) + getFeaturesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures parseFrom( java.nio.ByteBuffer data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures parseFrom( java.nio.ByteBuffer data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures parseFrom( shade.protobuf.ByteString data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures parseFrom( shade.protobuf.ByteString data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures parseFrom(byte[] data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures parseFrom( byte[] data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures parseFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures parseFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures parseDelimitedFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures parseFrom( shade.protobuf.CodedInputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures parseFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.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(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures 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( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
         * context features
         * 
* * Protobuf type {@code ContextFeatures} */ public static final class Builder extends shade.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ContextFeatures) com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeaturesOrBuilder { public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_ContextFeatures_descriptor; } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_ContextFeatures_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures.Builder.class); } // Construct using com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (shade.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getFeaturesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (featuresBuilder_ == null) { features_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { featuresBuilder_.clear(); } return this; } @java.lang.Override public shade.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_ContextFeatures_descriptor; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures getDefaultInstanceForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures.getDefaultInstance(); } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures build() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures buildPartial() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures result = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures(this); int from_bitField0_ = bitField0_; if (featuresBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { features_ = java.util.Collections.unmodifiableList(features_); bitField0_ = (bitField0_ & ~0x00000001); } result.features_ = features_; } else { result.features_ = featuresBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( shade.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( shade.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(shade.protobuf.Message other) { if (other instanceof com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures) { return mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures other) { if (other == com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures.getDefaultInstance()) return this; if (featuresBuilder_ == null) { if (!other.features_.isEmpty()) { if (features_.isEmpty()) { features_ = other.features_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureFeaturesIsMutable(); features_.addAll(other.features_); } onChanged(); } } else { if (!other.features_.isEmpty()) { if (featuresBuilder_.isEmpty()) { featuresBuilder_.dispose(); featuresBuilder_ = null; features_ = other.features_; bitField0_ = (bitField0_ & ~0x00000001); featuresBuilder_ = shade.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getFeaturesFieldBuilder() : null; } else { featuresBuilder_.addAllMessages(other.features_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (shade.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List features_ = java.util.Collections.emptyList(); private void ensureFeaturesIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { features_ = new java.util.ArrayList(features_); bitField0_ |= 0x00000001; } } private shade.protobuf.RepeatedFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeatureOrBuilder> featuresBuilder_; /** * repeated .PBFeature features = 1; */ public java.util.List getFeaturesList() { if (featuresBuilder_ == null) { return java.util.Collections.unmodifiableList(features_); } else { return featuresBuilder_.getMessageList(); } } /** * repeated .PBFeature features = 1; */ public int getFeaturesCount() { if (featuresBuilder_ == null) { return features_.size(); } else { return featuresBuilder_.getCount(); } } /** * repeated .PBFeature features = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature getFeatures(int index) { if (featuresBuilder_ == null) { return features_.get(index); } else { return featuresBuilder_.getMessage(index); } } /** * repeated .PBFeature features = 1; */ public Builder setFeatures( int index, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature value) { if (featuresBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFeaturesIsMutable(); features_.set(index, value); onChanged(); } else { featuresBuilder_.setMessage(index, value); } return this; } /** * repeated .PBFeature features = 1; */ public Builder setFeatures( int index, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature.Builder builderForValue) { if (featuresBuilder_ == null) { ensureFeaturesIsMutable(); features_.set(index, builderForValue.build()); onChanged(); } else { featuresBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .PBFeature features = 1; */ public Builder addFeatures(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature value) { if (featuresBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFeaturesIsMutable(); features_.add(value); onChanged(); } else { featuresBuilder_.addMessage(value); } return this; } /** * repeated .PBFeature features = 1; */ public Builder addFeatures( int index, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature value) { if (featuresBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFeaturesIsMutable(); features_.add(index, value); onChanged(); } else { featuresBuilder_.addMessage(index, value); } return this; } /** * repeated .PBFeature features = 1; */ public Builder addFeatures( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature.Builder builderForValue) { if (featuresBuilder_ == null) { ensureFeaturesIsMutable(); features_.add(builderForValue.build()); onChanged(); } else { featuresBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .PBFeature features = 1; */ public Builder addFeatures( int index, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature.Builder builderForValue) { if (featuresBuilder_ == null) { ensureFeaturesIsMutable(); features_.add(index, builderForValue.build()); onChanged(); } else { featuresBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .PBFeature features = 1; */ public Builder addAllFeatures( java.lang.Iterable values) { if (featuresBuilder_ == null) { ensureFeaturesIsMutable(); shade.protobuf.AbstractMessageLite.Builder.addAll( values, features_); onChanged(); } else { featuresBuilder_.addAllMessages(values); } return this; } /** * repeated .PBFeature features = 1; */ public Builder clearFeatures() { if (featuresBuilder_ == null) { features_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { featuresBuilder_.clear(); } return this; } /** * repeated .PBFeature features = 1; */ public Builder removeFeatures(int index) { if (featuresBuilder_ == null) { ensureFeaturesIsMutable(); features_.remove(index); onChanged(); } else { featuresBuilder_.remove(index); } return this; } /** * repeated .PBFeature features = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature.Builder getFeaturesBuilder( int index) { return getFeaturesFieldBuilder().getBuilder(index); } /** * repeated .PBFeature features = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeatureOrBuilder getFeaturesOrBuilder( int index) { if (featuresBuilder_ == null) { return features_.get(index); } else { return featuresBuilder_.getMessageOrBuilder(index); } } /** * repeated .PBFeature features = 1; */ public java.util.List getFeaturesOrBuilderList() { if (featuresBuilder_ != null) { return featuresBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(features_); } } /** * repeated .PBFeature features = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature.Builder addFeaturesBuilder() { return getFeaturesFieldBuilder().addBuilder( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature.getDefaultInstance()); } /** * repeated .PBFeature features = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature.Builder addFeaturesBuilder( int index) { return getFeaturesFieldBuilder().addBuilder( index, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature.getDefaultInstance()); } /** * repeated .PBFeature features = 1; */ public java.util.List getFeaturesBuilderList() { return getFeaturesFieldBuilder().getBuilderList(); } private shade.protobuf.RepeatedFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeatureOrBuilder> getFeaturesFieldBuilder() { if (featuresBuilder_ == null) { featuresBuilder_ = new shade.protobuf.RepeatedFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature.Builder, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeatureOrBuilder>( features_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); features_ = null; } return featuresBuilder_; } @java.lang.Override public final Builder setUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:ContextFeatures) } // @@protoc_insertion_point(class_scope:ContextFeatures) private static final com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures(); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures getDefaultInstance() { return DEFAULT_INSTANCE; } private static final shade.protobuf.Parser PARSER = new shade.protobuf.AbstractParser() { @java.lang.Override public ContextFeatures parsePartialFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return new ContextFeatures(input, extensionRegistry); } }; public static shade.protobuf.Parser parser() { return PARSER; } @java.lang.Override public shade.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PBRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:PBRequest) shade.protobuf.MessageOrBuilder { /** *
         * debug mode
         * 
* * int32 debug_level = 1; */ int getDebugLevel(); /** *
         * user features
         * 
* * map<string, .PBFeature> user_features = 2; */ int getUserFeaturesCount(); /** *
         * user features
         * 
* * map<string, .PBFeature> user_features = 2; */ boolean containsUserFeatures( java.lang.String key); /** * Use {@link #getUserFeaturesMap()} instead. */ @java.lang.Deprecated java.util.Map getUserFeatures(); /** *
         * user features
         * 
* * map<string, .PBFeature> user_features = 2; */ java.util.Map getUserFeaturesMap(); /** *
         * user features
         * 
* * map<string, .PBFeature> user_features = 2; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature getUserFeaturesOrDefault( java.lang.String key, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature defaultValue); /** *
         * user features
         * 
* * map<string, .PBFeature> user_features = 2; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature getUserFeaturesOrThrow( java.lang.String key); /** *
         * item ids
         * 
* * repeated string item_ids = 3; */ java.util.List getItemIdsList(); /** *
         * item ids
         * 
* * repeated string item_ids = 3; */ int getItemIdsCount(); /** *
         * item ids
         * 
* * repeated string item_ids = 3; */ java.lang.String getItemIds(int index); /** *
         * item ids
         * 
* * repeated string item_ids = 3; */ shade.protobuf.ByteString getItemIdsBytes(int index); /** *
         * context features for each item
         * 
* * map<string, .ContextFeatures> context_features = 4; */ int getContextFeaturesCount(); /** *
         * context features for each item
         * 
* * map<string, .ContextFeatures> context_features = 4; */ boolean containsContextFeatures( java.lang.String key); /** * Use {@link #getContextFeaturesMap()} instead. */ @java.lang.Deprecated java.util.Map getContextFeatures(); /** *
         * context features for each item
         * 
* * map<string, .ContextFeatures> context_features = 4; */ java.util.Map getContextFeaturesMap(); /** *
         * context features for each item
         * 
* * map<string, .ContextFeatures> context_features = 4; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures getContextFeaturesOrDefault( java.lang.String key, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures defaultValue); /** *
         * context features for each item
         * 
* * map<string, .ContextFeatures> context_features = 4; */ com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures getContextFeaturesOrThrow( java.lang.String key); /** *
         * number of nearest neighbors(items) to retrieve
         * from faiss
         * 
* * int32 faiss_neigh_num = 5; */ int getFaissNeighNum(); } /** *
     * PBRequest specifies the request for aggregator
     * 
* * Protobuf type {@code PBRequest} */ public static final class PBRequest extends shade.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:PBRequest) PBRequestOrBuilder { private static final long serialVersionUID = 0L; // Use PBRequest.newBuilder() to construct. private PBRequest(shade.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PBRequest() { debugLevel_ = 0; itemIds_ = shade.protobuf.LazyStringArrayList.EMPTY; faissNeighNum_ = 0; } @java.lang.Override public final shade.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PBRequest( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; shade.protobuf.UnknownFieldSet.Builder unknownFields = shade.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { debugLevel_ = input.readInt32(); break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { userFeatures_ = shade.protobuf.MapField.newMapField( UserFeaturesDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000002; } shade.protobuf.MapEntry userFeatures__ = input.readMessage( UserFeaturesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); userFeatures_.getMutableMap().put( userFeatures__.getKey(), userFeatures__.getValue()); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { itemIds_ = new shade.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000004; } itemIds_.add(s); break; } case 34: { if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { contextFeatures_ = shade.protobuf.MapField.newMapField( ContextFeaturesDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000008; } shade.protobuf.MapEntry contextFeatures__ = input.readMessage( ContextFeaturesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); contextFeatures_.getMutableMap().put( contextFeatures__.getKey(), contextFeatures__.getValue()); break; } case 40: { faissNeighNum_ = input.readInt32(); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (shade.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new shade.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { itemIds_ = itemIds_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_PBRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetUserFeatures(); case 4: return internalGetContextFeatures(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_PBRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest.Builder.class); } private int bitField0_; public static final int DEBUG_LEVEL_FIELD_NUMBER = 1; private int debugLevel_; /** *
         * debug mode
         * 
* * int32 debug_level = 1; */ public int getDebugLevel() { return debugLevel_; } public static final int USER_FEATURES_FIELD_NUMBER = 2; private static final class UserFeaturesDefaultEntryHolder { static final shade.protobuf.MapEntry< java.lang.String, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature> defaultEntry = shade.protobuf.MapEntry .newDefaultInstance( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_PBRequest_UserFeaturesEntry_descriptor, shade.protobuf.WireFormat.FieldType.STRING, "", shade.protobuf.WireFormat.FieldType.MESSAGE, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature.getDefaultInstance()); } private shade.protobuf.MapField< java.lang.String, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature> userFeatures_; private shade.protobuf.MapField internalGetUserFeatures() { if (userFeatures_ == null) { return shade.protobuf.MapField.emptyMapField( UserFeaturesDefaultEntryHolder.defaultEntry); } return userFeatures_; } public int getUserFeaturesCount() { return internalGetUserFeatures().getMap().size(); } /** *
         * user features
         * 
* * map<string, .PBFeature> user_features = 2; */ public boolean containsUserFeatures( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetUserFeatures().getMap().containsKey(key); } /** * Use {@link #getUserFeaturesMap()} instead. */ @java.lang.Deprecated public java.util.Map getUserFeatures() { return getUserFeaturesMap(); } /** *
         * user features
         * 
* * map<string, .PBFeature> user_features = 2; */ public java.util.Map getUserFeaturesMap() { return internalGetUserFeatures().getMap(); } /** *
         * user features
         * 
* * map<string, .PBFeature> user_features = 2; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature getUserFeaturesOrDefault( java.lang.String key, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetUserFeatures().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
         * user features
         * 
* * map<string, .PBFeature> user_features = 2; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature getUserFeaturesOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetUserFeatures().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int ITEM_IDS_FIELD_NUMBER = 3; private shade.protobuf.LazyStringList itemIds_; /** *
         * item ids
         * 
* * repeated string item_ids = 3; */ public shade.protobuf.ProtocolStringList getItemIdsList() { return itemIds_; } /** *
         * item ids
         * 
* * repeated string item_ids = 3; */ public int getItemIdsCount() { return itemIds_.size(); } /** *
         * item ids
         * 
* * repeated string item_ids = 3; */ public java.lang.String getItemIds(int index) { return itemIds_.get(index); } /** *
         * item ids
         * 
* * repeated string item_ids = 3; */ public shade.protobuf.ByteString getItemIdsBytes(int index) { return itemIds_.getByteString(index); } public static final int CONTEXT_FEATURES_FIELD_NUMBER = 4; private static final class ContextFeaturesDefaultEntryHolder { static final shade.protobuf.MapEntry< java.lang.String, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures> defaultEntry = shade.protobuf.MapEntry .newDefaultInstance( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_PBRequest_ContextFeaturesEntry_descriptor, shade.protobuf.WireFormat.FieldType.STRING, "", shade.protobuf.WireFormat.FieldType.MESSAGE, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures.getDefaultInstance()); } private shade.protobuf.MapField< java.lang.String, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures> contextFeatures_; private shade.protobuf.MapField internalGetContextFeatures() { if (contextFeatures_ == null) { return shade.protobuf.MapField.emptyMapField( ContextFeaturesDefaultEntryHolder.defaultEntry); } return contextFeatures_; } public int getContextFeaturesCount() { return internalGetContextFeatures().getMap().size(); } /** *
         * context features for each item
         * 
* * map<string, .ContextFeatures> context_features = 4; */ public boolean containsContextFeatures( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetContextFeatures().getMap().containsKey(key); } /** * Use {@link #getContextFeaturesMap()} instead. */ @java.lang.Deprecated public java.util.Map getContextFeatures() { return getContextFeaturesMap(); } /** *
         * context features for each item
         * 
* * map<string, .ContextFeatures> context_features = 4; */ public java.util.Map getContextFeaturesMap() { return internalGetContextFeatures().getMap(); } /** *
         * context features for each item
         * 
* * map<string, .ContextFeatures> context_features = 4; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures getContextFeaturesOrDefault( java.lang.String key, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetContextFeatures().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
         * context features for each item
         * 
* * map<string, .ContextFeatures> context_features = 4; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures getContextFeaturesOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetContextFeatures().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int FAISS_NEIGH_NUM_FIELD_NUMBER = 5; private int faissNeighNum_; /** *
         * number of nearest neighbors(items) to retrieve
         * from faiss
         * 
* * int32 faiss_neigh_num = 5; */ public int getFaissNeighNum() { return faissNeighNum_; } 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(shade.protobuf.CodedOutputStream output) throws java.io.IOException { if (debugLevel_ != 0) { output.writeInt32(1, debugLevel_); } shade.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetUserFeatures(), UserFeaturesDefaultEntryHolder.defaultEntry, 2); for (int i = 0; i < itemIds_.size(); i++) { shade.protobuf.GeneratedMessageV3.writeString(output, 3, itemIds_.getRaw(i)); } shade.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetContextFeatures(), ContextFeaturesDefaultEntryHolder.defaultEntry, 4); if (faissNeighNum_ != 0) { output.writeInt32(5, faissNeighNum_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (debugLevel_ != 0) { size += shade.protobuf.CodedOutputStream .computeInt32Size(1, debugLevel_); } for (java.util.Map.Entry entry : internalGetUserFeatures().getMap().entrySet()) { shade.protobuf.MapEntry userFeatures__ = UserFeaturesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += shade.protobuf.CodedOutputStream .computeMessageSize(2, userFeatures__); } { int dataSize = 0; for (int i = 0; i < itemIds_.size(); i++) { dataSize += computeStringSizeNoTag(itemIds_.getRaw(i)); } size += dataSize; size += 1 * getItemIdsList().size(); } for (java.util.Map.Entry entry : internalGetContextFeatures().getMap().entrySet()) { shade.protobuf.MapEntry contextFeatures__ = ContextFeaturesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += shade.protobuf.CodedOutputStream .computeMessageSize(4, contextFeatures__); } if (faissNeighNum_ != 0) { size += shade.protobuf.CodedOutputStream .computeInt32Size(5, faissNeighNum_); } 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 com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest)) { return super.equals(obj); } com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest other = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest) obj; boolean result = true; result = result && (getDebugLevel() == other.getDebugLevel()); result = result && internalGetUserFeatures().equals( other.internalGetUserFeatures()); result = result && getItemIdsList() .equals(other.getItemIdsList()); result = result && internalGetContextFeatures().equals( other.internalGetContextFeatures()); result = result && (getFaissNeighNum() == other.getFaissNeighNum()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DEBUG_LEVEL_FIELD_NUMBER; hash = (53 * hash) + getDebugLevel(); if (!internalGetUserFeatures().getMap().isEmpty()) { hash = (37 * hash) + USER_FEATURES_FIELD_NUMBER; hash = (53 * hash) + internalGetUserFeatures().hashCode(); } if (getItemIdsCount() > 0) { hash = (37 * hash) + ITEM_IDS_FIELD_NUMBER; hash = (53 * hash) + getItemIdsList().hashCode(); } if (!internalGetContextFeatures().getMap().isEmpty()) { hash = (37 * hash) + CONTEXT_FEATURES_FIELD_NUMBER; hash = (53 * hash) + internalGetContextFeatures().hashCode(); } hash = (37 * hash) + FAISS_NEIGH_NUM_FIELD_NUMBER; hash = (53 * hash) + getFaissNeighNum(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest parseFrom( java.nio.ByteBuffer data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest parseFrom( java.nio.ByteBuffer data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest parseFrom( shade.protobuf.ByteString data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest parseFrom( shade.protobuf.ByteString data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest parseFrom(byte[] data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest parseFrom( byte[] data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest parseFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest parseDelimitedFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest parseFrom( shade.protobuf.CodedInputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest parseFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.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(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest 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( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
         * PBRequest specifies the request for aggregator
         * 
* * Protobuf type {@code PBRequest} */ public static final class Builder extends shade.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:PBRequest) com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequestOrBuilder { public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_PBRequest_descriptor; } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetUserFeatures(); case 4: return internalGetContextFeatures(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 2: return internalGetMutableUserFeatures(); case 4: return internalGetMutableContextFeatures(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_PBRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest.Builder.class); } // Construct using com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (shade.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); debugLevel_ = 0; internalGetMutableUserFeatures().clear(); itemIds_ = shade.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); internalGetMutableContextFeatures().clear(); faissNeighNum_ = 0; return this; } @java.lang.Override public shade.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_PBRequest_descriptor; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest getDefaultInstanceForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest.getDefaultInstance(); } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest build() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest buildPartial() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest result = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.debugLevel_ = debugLevel_; result.userFeatures_ = internalGetUserFeatures(); result.userFeatures_.makeImmutable(); if (((bitField0_ & 0x00000004) == 0x00000004)) { itemIds_ = itemIds_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); } result.itemIds_ = itemIds_; result.contextFeatures_ = internalGetContextFeatures(); result.contextFeatures_.makeImmutable(); result.faissNeighNum_ = faissNeighNum_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( shade.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( shade.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(shade.protobuf.Message other) { if (other instanceof com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest) { return mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest other) { if (other == com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest.getDefaultInstance()) return this; if (other.getDebugLevel() != 0) { setDebugLevel(other.getDebugLevel()); } internalGetMutableUserFeatures().mergeFrom( other.internalGetUserFeatures()); if (!other.itemIds_.isEmpty()) { if (itemIds_.isEmpty()) { itemIds_ = other.itemIds_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureItemIdsIsMutable(); itemIds_.addAll(other.itemIds_); } onChanged(); } internalGetMutableContextFeatures().mergeFrom( other.internalGetContextFeatures()); if (other.getFaissNeighNum() != 0) { setFaissNeighNum(other.getFaissNeighNum()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (shade.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int debugLevel_ ; /** *
             * debug mode
             * 
* * int32 debug_level = 1; */ public int getDebugLevel() { return debugLevel_; } /** *
             * debug mode
             * 
* * int32 debug_level = 1; */ public Builder setDebugLevel(int value) { debugLevel_ = value; onChanged(); return this; } /** *
             * debug mode
             * 
* * int32 debug_level = 1; */ public Builder clearDebugLevel() { debugLevel_ = 0; onChanged(); return this; } private shade.protobuf.MapField< java.lang.String, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature> userFeatures_; private shade.protobuf.MapField internalGetUserFeatures() { if (userFeatures_ == null) { return shade.protobuf.MapField.emptyMapField( UserFeaturesDefaultEntryHolder.defaultEntry); } return userFeatures_; } private shade.protobuf.MapField internalGetMutableUserFeatures() { onChanged();; if (userFeatures_ == null) { userFeatures_ = shade.protobuf.MapField.newMapField( UserFeaturesDefaultEntryHolder.defaultEntry); } if (!userFeatures_.isMutable()) { userFeatures_ = userFeatures_.copy(); } return userFeatures_; } public int getUserFeaturesCount() { return internalGetUserFeatures().getMap().size(); } /** *
             * user features
             * 
* * map<string, .PBFeature> user_features = 2; */ public boolean containsUserFeatures( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetUserFeatures().getMap().containsKey(key); } /** * Use {@link #getUserFeaturesMap()} instead. */ @java.lang.Deprecated public java.util.Map getUserFeatures() { return getUserFeaturesMap(); } /** *
             * user features
             * 
* * map<string, .PBFeature> user_features = 2; */ public java.util.Map getUserFeaturesMap() { return internalGetUserFeatures().getMap(); } /** *
             * user features
             * 
* * map<string, .PBFeature> user_features = 2; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature getUserFeaturesOrDefault( java.lang.String key, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetUserFeatures().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
             * user features
             * 
* * map<string, .PBFeature> user_features = 2; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature getUserFeaturesOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetUserFeatures().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearUserFeatures() { internalGetMutableUserFeatures().getMutableMap() .clear(); return this; } /** *
             * user features
             * 
* * map<string, .PBFeature> user_features = 2; */ public Builder removeUserFeatures( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableUserFeatures().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableUserFeatures() { return internalGetMutableUserFeatures().getMutableMap(); } /** *
             * user features
             * 
* * map<string, .PBFeature> user_features = 2; */ public Builder putUserFeatures( java.lang.String key, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBFeature value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableUserFeatures().getMutableMap() .put(key, value); return this; } /** *
             * user features
             * 
* * map<string, .PBFeature> user_features = 2; */ public Builder putAllUserFeatures( java.util.Map values) { internalGetMutableUserFeatures().getMutableMap() .putAll(values); return this; } private shade.protobuf.LazyStringList itemIds_ = shade.protobuf.LazyStringArrayList.EMPTY; private void ensureItemIdsIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { itemIds_ = new shade.protobuf.LazyStringArrayList(itemIds_); bitField0_ |= 0x00000004; } } /** *
             * item ids
             * 
* * repeated string item_ids = 3; */ public shade.protobuf.ProtocolStringList getItemIdsList() { return itemIds_.getUnmodifiableView(); } /** *
             * item ids
             * 
* * repeated string item_ids = 3; */ public int getItemIdsCount() { return itemIds_.size(); } /** *
             * item ids
             * 
* * repeated string item_ids = 3; */ public java.lang.String getItemIds(int index) { return itemIds_.get(index); } /** *
             * item ids
             * 
* * repeated string item_ids = 3; */ public shade.protobuf.ByteString getItemIdsBytes(int index) { return itemIds_.getByteString(index); } /** *
             * item ids
             * 
* * repeated string item_ids = 3; */ public Builder setItemIds( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureItemIdsIsMutable(); itemIds_.set(index, value); onChanged(); return this; } /** *
             * item ids
             * 
* * repeated string item_ids = 3; */ public Builder addItemIds( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureItemIdsIsMutable(); itemIds_.add(value); onChanged(); return this; } /** *
             * item ids
             * 
* * repeated string item_ids = 3; */ public Builder addAllItemIds( java.lang.Iterable values) { ensureItemIdsIsMutable(); shade.protobuf.AbstractMessageLite.Builder.addAll( values, itemIds_); onChanged(); return this; } /** *
             * item ids
             * 
* * repeated string item_ids = 3; */ public Builder clearItemIds() { itemIds_ = shade.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** *
             * item ids
             * 
* * repeated string item_ids = 3; */ public Builder addItemIdsBytes( shade.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureItemIdsIsMutable(); itemIds_.add(value); onChanged(); return this; } private shade.protobuf.MapField< java.lang.String, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures> contextFeatures_; private shade.protobuf.MapField internalGetContextFeatures() { if (contextFeatures_ == null) { return shade.protobuf.MapField.emptyMapField( ContextFeaturesDefaultEntryHolder.defaultEntry); } return contextFeatures_; } private shade.protobuf.MapField internalGetMutableContextFeatures() { onChanged();; if (contextFeatures_ == null) { contextFeatures_ = shade.protobuf.MapField.newMapField( ContextFeaturesDefaultEntryHolder.defaultEntry); } if (!contextFeatures_.isMutable()) { contextFeatures_ = contextFeatures_.copy(); } return contextFeatures_; } public int getContextFeaturesCount() { return internalGetContextFeatures().getMap().size(); } /** *
             * context features for each item
             * 
* * map<string, .ContextFeatures> context_features = 4; */ public boolean containsContextFeatures( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetContextFeatures().getMap().containsKey(key); } /** * Use {@link #getContextFeaturesMap()} instead. */ @java.lang.Deprecated public java.util.Map getContextFeatures() { return getContextFeaturesMap(); } /** *
             * context features for each item
             * 
* * map<string, .ContextFeatures> context_features = 4; */ public java.util.Map getContextFeaturesMap() { return internalGetContextFeatures().getMap(); } /** *
             * context features for each item
             * 
* * map<string, .ContextFeatures> context_features = 4; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures getContextFeaturesOrDefault( java.lang.String key, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetContextFeatures().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
             * context features for each item
             * 
* * map<string, .ContextFeatures> context_features = 4; */ public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures getContextFeaturesOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetContextFeatures().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearContextFeatures() { internalGetMutableContextFeatures().getMutableMap() .clear(); return this; } /** *
             * context features for each item
             * 
* * map<string, .ContextFeatures> context_features = 4; */ public Builder removeContextFeatures( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableContextFeatures().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableContextFeatures() { return internalGetMutableContextFeatures().getMutableMap(); } /** *
             * context features for each item
             * 
* * map<string, .ContextFeatures> context_features = 4; */ public Builder putContextFeatures( java.lang.String key, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.ContextFeatures value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableContextFeatures().getMutableMap() .put(key, value); return this; } /** *
             * context features for each item
             * 
* * map<string, .ContextFeatures> context_features = 4; */ public Builder putAllContextFeatures( java.util.Map values) { internalGetMutableContextFeatures().getMutableMap() .putAll(values); return this; } private int faissNeighNum_ ; /** *
             * number of nearest neighbors(items) to retrieve
             * from faiss
             * 
* * int32 faiss_neigh_num = 5; */ public int getFaissNeighNum() { return faissNeighNum_; } /** *
             * number of nearest neighbors(items) to retrieve
             * from faiss
             * 
* * int32 faiss_neigh_num = 5; */ public Builder setFaissNeighNum(int value) { faissNeighNum_ = value; onChanged(); return this; } /** *
             * number of nearest neighbors(items) to retrieve
             * from faiss
             * 
* * int32 faiss_neigh_num = 5; */ public Builder clearFaissNeighNum() { faissNeighNum_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:PBRequest) } // @@protoc_insertion_point(class_scope:PBRequest) private static final com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest(); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final shade.protobuf.Parser PARSER = new shade.protobuf.AbstractParser() { @java.lang.Override public PBRequest parsePartialFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return new PBRequest(input, extensionRegistry); } }; public static shade.protobuf.Parser parser() { return PARSER; } @java.lang.Override public shade.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PBResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:PBResponse) shade.protobuf.MessageOrBuilder { /** *
         * torch output tensors
         * 
* * map<string, .pytorch.eas.ArrayProto> map_outputs = 1; */ int getMapOutputsCount(); /** *
         * torch output tensors
         * 
* * map<string, .pytorch.eas.ArrayProto> map_outputs = 1; */ boolean containsMapOutputs( java.lang.String key); /** * Use {@link #getMapOutputsMap()} instead. */ @java.lang.Deprecated java.util.Map getMapOutputs(); /** *
         * torch output tensors
         * 
* * map<string, .pytorch.eas.ArrayProto> map_outputs = 1; */ java.util.Map getMapOutputsMap(); /** *
         * torch output tensors
         * 
* * map<string, .pytorch.eas.ArrayProto> map_outputs = 1; */ com.aliyun.openservices.eas.predict.proto.TorchPredictProtos.ArrayProto getMapOutputsOrDefault( java.lang.String key, com.aliyun.openservices.eas.predict.proto.TorchPredictProtos.ArrayProto defaultValue); /** *
         * torch output tensors
         * 
* * map<string, .pytorch.eas.ArrayProto> map_outputs = 1; */ com.aliyun.openservices.eas.predict.proto.TorchPredictProtos.ArrayProto getMapOutputsOrThrow( java.lang.String key); /** *
         * fg ouput features
         * 
* * map<string, string> generate_features = 2; */ int getGenerateFeaturesCount(); /** *
         * fg ouput features
         * 
* * map<string, string> generate_features = 2; */ boolean containsGenerateFeatures( java.lang.String key); /** * Use {@link #getGenerateFeaturesMap()} instead. */ @java.lang.Deprecated java.util.Map getGenerateFeatures(); /** *
         * fg ouput features
         * 
* * map<string, string> generate_features = 2; */ java.util.Map getGenerateFeaturesMap(); /** *
         * fg ouput features
         * 
* * map<string, string> generate_features = 2; */ java.lang.String getGenerateFeaturesOrDefault( java.lang.String key, java.lang.String defaultValue); /** *
         * fg ouput features
         * 
* * map<string, string> generate_features = 2; */ java.lang.String getGenerateFeaturesOrThrow( java.lang.String key); /** *
         * all fg input features
         * 
* * map<string, string> raw_features = 3; */ int getRawFeaturesCount(); /** *
         * all fg input features
         * 
* * map<string, string> raw_features = 3; */ boolean containsRawFeatures( java.lang.String key); /** * Use {@link #getRawFeaturesMap()} instead. */ @java.lang.Deprecated java.util.Map getRawFeatures(); /** *
         * all fg input features
         * 
* * map<string, string> raw_features = 3; */ java.util.Map getRawFeaturesMap(); /** *
         * all fg input features
         * 
* * map<string, string> raw_features = 3; */ java.lang.String getRawFeaturesOrDefault( java.lang.String key, java.lang.String defaultValue); /** *
         * all fg input features
         * 
* * map<string, string> raw_features = 3; */ java.lang.String getRawFeaturesOrThrow( java.lang.String key); /** *
         * item ids
         * 
* * repeated string item_ids = 4; */ java.util.List getItemIdsList(); /** *
         * item ids
         * 
* * repeated string item_ids = 4; */ int getItemIdsCount(); /** *
         * item ids
         * 
* * repeated string item_ids = 4; */ java.lang.String getItemIds(int index); /** *
         * item ids
         * 
* * repeated string item_ids = 4; */ shade.protobuf.ByteString getItemIdsBytes(int index); } /** *
     * PBResponse specifies the response for aggregator
     * 
* * Protobuf type {@code PBResponse} */ public static final class PBResponse extends shade.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:PBResponse) PBResponseOrBuilder { private static final long serialVersionUID = 0L; // Use PBResponse.newBuilder() to construct. private PBResponse(shade.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PBResponse() { itemIds_ = shade.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override public final shade.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PBResponse( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; shade.protobuf.UnknownFieldSet.Builder unknownFields = shade.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { mapOutputs_ = shade.protobuf.MapField.newMapField( MapOutputsDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } shade.protobuf.MapEntry mapOutputs__ = input.readMessage( MapOutputsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); mapOutputs_.getMutableMap().put( mapOutputs__.getKey(), mapOutputs__.getValue()); break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { generateFeatures_ = shade.protobuf.MapField.newMapField( GenerateFeaturesDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000002; } shade.protobuf.MapEntry generateFeatures__ = input.readMessage( GenerateFeaturesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); generateFeatures_.getMutableMap().put( generateFeatures__.getKey(), generateFeatures__.getValue()); break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { rawFeatures_ = shade.protobuf.MapField.newMapField( RawFeaturesDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000004; } shade.protobuf.MapEntry rawFeatures__ = input.readMessage( RawFeaturesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); rawFeatures_.getMutableMap().put( rawFeatures__.getKey(), rawFeatures__.getValue()); break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { itemIds_ = new shade.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000008; } itemIds_.add(s); break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (shade.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new shade.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { itemIds_ = itemIds_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_PBResponse_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMapOutputs(); case 2: return internalGetGenerateFeatures(); case 3: return internalGetRawFeatures(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_PBResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse.Builder.class); } public static final int MAP_OUTPUTS_FIELD_NUMBER = 1; private static final class MapOutputsDefaultEntryHolder { static final shade.protobuf.MapEntry< java.lang.String, com.aliyun.openservices.eas.predict.proto.TorchPredictProtos.ArrayProto> defaultEntry = shade.protobuf.MapEntry .newDefaultInstance( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_PBResponse_MapOutputsEntry_descriptor, shade.protobuf.WireFormat.FieldType.STRING, "", shade.protobuf.WireFormat.FieldType.MESSAGE, com.aliyun.openservices.eas.predict.proto.TorchPredictProtos.ArrayProto.getDefaultInstance()); } private shade.protobuf.MapField< java.lang.String, com.aliyun.openservices.eas.predict.proto.TorchPredictProtos.ArrayProto> mapOutputs_; private shade.protobuf.MapField internalGetMapOutputs() { if (mapOutputs_ == null) { return shade.protobuf.MapField.emptyMapField( MapOutputsDefaultEntryHolder.defaultEntry); } return mapOutputs_; } public int getMapOutputsCount() { return internalGetMapOutputs().getMap().size(); } /** *
         * torch output tensors
         * 
* * map<string, .pytorch.eas.ArrayProto> map_outputs = 1; */ public boolean containsMapOutputs( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetMapOutputs().getMap().containsKey(key); } /** * Use {@link #getMapOutputsMap()} instead. */ @java.lang.Deprecated public java.util.Map getMapOutputs() { return getMapOutputsMap(); } /** *
         * torch output tensors
         * 
* * map<string, .pytorch.eas.ArrayProto> map_outputs = 1; */ public java.util.Map getMapOutputsMap() { return internalGetMapOutputs().getMap(); } /** *
         * torch output tensors
         * 
* * map<string, .pytorch.eas.ArrayProto> map_outputs = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchPredictProtos.ArrayProto getMapOutputsOrDefault( java.lang.String key, com.aliyun.openservices.eas.predict.proto.TorchPredictProtos.ArrayProto defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMapOutputs().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
         * torch output tensors
         * 
* * map<string, .pytorch.eas.ArrayProto> map_outputs = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchPredictProtos.ArrayProto getMapOutputsOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMapOutputs().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int GENERATE_FEATURES_FIELD_NUMBER = 2; private static final class GenerateFeaturesDefaultEntryHolder { static final shade.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = shade.protobuf.MapEntry .newDefaultInstance( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_PBResponse_GenerateFeaturesEntry_descriptor, shade.protobuf.WireFormat.FieldType.STRING, "", shade.protobuf.WireFormat.FieldType.STRING, ""); } private shade.protobuf.MapField< java.lang.String, java.lang.String> generateFeatures_; private shade.protobuf.MapField internalGetGenerateFeatures() { if (generateFeatures_ == null) { return shade.protobuf.MapField.emptyMapField( GenerateFeaturesDefaultEntryHolder.defaultEntry); } return generateFeatures_; } public int getGenerateFeaturesCount() { return internalGetGenerateFeatures().getMap().size(); } /** *
         * fg ouput features
         * 
* * map<string, string> generate_features = 2; */ public boolean containsGenerateFeatures( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetGenerateFeatures().getMap().containsKey(key); } /** * Use {@link #getGenerateFeaturesMap()} instead. */ @java.lang.Deprecated public java.util.Map getGenerateFeatures() { return getGenerateFeaturesMap(); } /** *
         * fg ouput features
         * 
* * map<string, string> generate_features = 2; */ public java.util.Map getGenerateFeaturesMap() { return internalGetGenerateFeatures().getMap(); } /** *
         * fg ouput features
         * 
* * map<string, string> generate_features = 2; */ public java.lang.String getGenerateFeaturesOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetGenerateFeatures().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
         * fg ouput features
         * 
* * map<string, string> generate_features = 2; */ public java.lang.String getGenerateFeaturesOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetGenerateFeatures().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int RAW_FEATURES_FIELD_NUMBER = 3; private static final class RawFeaturesDefaultEntryHolder { static final shade.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = shade.protobuf.MapEntry .newDefaultInstance( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_PBResponse_RawFeaturesEntry_descriptor, shade.protobuf.WireFormat.FieldType.STRING, "", shade.protobuf.WireFormat.FieldType.STRING, ""); } private shade.protobuf.MapField< java.lang.String, java.lang.String> rawFeatures_; private shade.protobuf.MapField internalGetRawFeatures() { if (rawFeatures_ == null) { return shade.protobuf.MapField.emptyMapField( RawFeaturesDefaultEntryHolder.defaultEntry); } return rawFeatures_; } public int getRawFeaturesCount() { return internalGetRawFeatures().getMap().size(); } /** *
         * all fg input features
         * 
* * map<string, string> raw_features = 3; */ public boolean containsRawFeatures( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetRawFeatures().getMap().containsKey(key); } /** * Use {@link #getRawFeaturesMap()} instead. */ @java.lang.Deprecated public java.util.Map getRawFeatures() { return getRawFeaturesMap(); } /** *
         * all fg input features
         * 
* * map<string, string> raw_features = 3; */ public java.util.Map getRawFeaturesMap() { return internalGetRawFeatures().getMap(); } /** *
         * all fg input features
         * 
* * map<string, string> raw_features = 3; */ public java.lang.String getRawFeaturesOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetRawFeatures().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
         * all fg input features
         * 
* * map<string, string> raw_features = 3; */ public java.lang.String getRawFeaturesOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetRawFeatures().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int ITEM_IDS_FIELD_NUMBER = 4; private shade.protobuf.LazyStringList itemIds_; /** *
         * item ids
         * 
* * repeated string item_ids = 4; */ public shade.protobuf.ProtocolStringList getItemIdsList() { return itemIds_; } /** *
         * item ids
         * 
* * repeated string item_ids = 4; */ public int getItemIdsCount() { return itemIds_.size(); } /** *
         * item ids
         * 
* * repeated string item_ids = 4; */ public java.lang.String getItemIds(int index) { return itemIds_.get(index); } /** *
         * item ids
         * 
* * repeated string item_ids = 4; */ public shade.protobuf.ByteString getItemIdsBytes(int index) { return itemIds_.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(shade.protobuf.CodedOutputStream output) throws java.io.IOException { shade.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetMapOutputs(), MapOutputsDefaultEntryHolder.defaultEntry, 1); shade.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetGenerateFeatures(), GenerateFeaturesDefaultEntryHolder.defaultEntry, 2); shade.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetRawFeatures(), RawFeaturesDefaultEntryHolder.defaultEntry, 3); for (int i = 0; i < itemIds_.size(); i++) { shade.protobuf.GeneratedMessageV3.writeString(output, 4, itemIds_.getRaw(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (java.util.Map.Entry entry : internalGetMapOutputs().getMap().entrySet()) { shade.protobuf.MapEntry mapOutputs__ = MapOutputsDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += shade.protobuf.CodedOutputStream .computeMessageSize(1, mapOutputs__); } for (java.util.Map.Entry entry : internalGetGenerateFeatures().getMap().entrySet()) { shade.protobuf.MapEntry generateFeatures__ = GenerateFeaturesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += shade.protobuf.CodedOutputStream .computeMessageSize(2, generateFeatures__); } for (java.util.Map.Entry entry : internalGetRawFeatures().getMap().entrySet()) { shade.protobuf.MapEntry rawFeatures__ = RawFeaturesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += shade.protobuf.CodedOutputStream .computeMessageSize(3, rawFeatures__); } { int dataSize = 0; for (int i = 0; i < itemIds_.size(); i++) { dataSize += computeStringSizeNoTag(itemIds_.getRaw(i)); } size += dataSize; size += 1 * getItemIdsList().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 com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse)) { return super.equals(obj); } com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse other = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse) obj; boolean result = true; result = result && internalGetMapOutputs().equals( other.internalGetMapOutputs()); result = result && internalGetGenerateFeatures().equals( other.internalGetGenerateFeatures()); result = result && internalGetRawFeatures().equals( other.internalGetRawFeatures()); result = result && getItemIdsList() .equals(other.getItemIdsList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (!internalGetMapOutputs().getMap().isEmpty()) { hash = (37 * hash) + MAP_OUTPUTS_FIELD_NUMBER; hash = (53 * hash) + internalGetMapOutputs().hashCode(); } if (!internalGetGenerateFeatures().getMap().isEmpty()) { hash = (37 * hash) + GENERATE_FEATURES_FIELD_NUMBER; hash = (53 * hash) + internalGetGenerateFeatures().hashCode(); } if (!internalGetRawFeatures().getMap().isEmpty()) { hash = (37 * hash) + RAW_FEATURES_FIELD_NUMBER; hash = (53 * hash) + internalGetRawFeatures().hashCode(); } if (getItemIdsCount() > 0) { hash = (37 * hash) + ITEM_IDS_FIELD_NUMBER; hash = (53 * hash) + getItemIdsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse parseFrom( java.nio.ByteBuffer data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse parseFrom( java.nio.ByteBuffer data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse parseFrom( shade.protobuf.ByteString data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse parseFrom( shade.protobuf.ByteString data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse parseFrom(byte[] data) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse parseFrom( byte[] data, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse parseFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse parseDelimitedFrom( java.io.InputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse parseFrom( shade.protobuf.CodedInputStream input) throws java.io.IOException { return shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse parseFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.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(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse 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( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
         * PBResponse specifies the response for aggregator
         * 
* * Protobuf type {@code PBResponse} */ public static final class Builder extends shade.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:PBResponse) com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponseOrBuilder { public static final shade.protobuf.Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_PBResponse_descriptor; } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetMapOutputs(); case 2: return internalGetGenerateFeatures(); case 3: return internalGetRawFeatures(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected shade.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 1: return internalGetMutableMapOutputs(); case 2: return internalGetMutableGenerateFeatures(); case 3: return internalGetMutableRawFeatures(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_PBResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse.class, com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse.Builder.class); } // Construct using com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( shade.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (shade.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); internalGetMutableMapOutputs().clear(); internalGetMutableGenerateFeatures().clear(); internalGetMutableRawFeatures().clear(); itemIds_ = shade.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000008); return this; } @java.lang.Override public shade.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.internal_static_PBResponse_descriptor; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse getDefaultInstanceForType() { return com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse.getDefaultInstance(); } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse build() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse buildPartial() { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse result = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse(this); int from_bitField0_ = bitField0_; result.mapOutputs_ = internalGetMapOutputs(); result.mapOutputs_.makeImmutable(); result.generateFeatures_ = internalGetGenerateFeatures(); result.generateFeatures_.makeImmutable(); result.rawFeatures_ = internalGetRawFeatures(); result.rawFeatures_.makeImmutable(); if (((bitField0_ & 0x00000008) == 0x00000008)) { itemIds_ = itemIds_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000008); } result.itemIds_ = itemIds_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( shade.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( shade.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(shade.protobuf.Message other) { if (other instanceof com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse) { return mergeFrom((com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse other) { if (other == com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse.getDefaultInstance()) return this; internalGetMutableMapOutputs().mergeFrom( other.internalGetMapOutputs()); internalGetMutableGenerateFeatures().mergeFrom( other.internalGetGenerateFeatures()); internalGetMutableRawFeatures().mergeFrom( other.internalGetRawFeatures()); if (!other.itemIds_.isEmpty()) { if (itemIds_.isEmpty()) { itemIds_ = other.itemIds_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureItemIdsIsMutable(); itemIds_.addAll(other.itemIds_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (shade.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private shade.protobuf.MapField< java.lang.String, com.aliyun.openservices.eas.predict.proto.TorchPredictProtos.ArrayProto> mapOutputs_; private shade.protobuf.MapField internalGetMapOutputs() { if (mapOutputs_ == null) { return shade.protobuf.MapField.emptyMapField( MapOutputsDefaultEntryHolder.defaultEntry); } return mapOutputs_; } private shade.protobuf.MapField internalGetMutableMapOutputs() { onChanged();; if (mapOutputs_ == null) { mapOutputs_ = shade.protobuf.MapField.newMapField( MapOutputsDefaultEntryHolder.defaultEntry); } if (!mapOutputs_.isMutable()) { mapOutputs_ = mapOutputs_.copy(); } return mapOutputs_; } public int getMapOutputsCount() { return internalGetMapOutputs().getMap().size(); } /** *
             * torch output tensors
             * 
* * map<string, .pytorch.eas.ArrayProto> map_outputs = 1; */ public boolean containsMapOutputs( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetMapOutputs().getMap().containsKey(key); } /** * Use {@link #getMapOutputsMap()} instead. */ @java.lang.Deprecated public java.util.Map getMapOutputs() { return getMapOutputsMap(); } /** *
             * torch output tensors
             * 
* * map<string, .pytorch.eas.ArrayProto> map_outputs = 1; */ public java.util.Map getMapOutputsMap() { return internalGetMapOutputs().getMap(); } /** *
             * torch output tensors
             * 
* * map<string, .pytorch.eas.ArrayProto> map_outputs = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchPredictProtos.ArrayProto getMapOutputsOrDefault( java.lang.String key, com.aliyun.openservices.eas.predict.proto.TorchPredictProtos.ArrayProto defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMapOutputs().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
             * torch output tensors
             * 
* * map<string, .pytorch.eas.ArrayProto> map_outputs = 1; */ public com.aliyun.openservices.eas.predict.proto.TorchPredictProtos.ArrayProto getMapOutputsOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetMapOutputs().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearMapOutputs() { internalGetMutableMapOutputs().getMutableMap() .clear(); return this; } /** *
             * torch output tensors
             * 
* * map<string, .pytorch.eas.ArrayProto> map_outputs = 1; */ public Builder removeMapOutputs( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableMapOutputs().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableMapOutputs() { return internalGetMutableMapOutputs().getMutableMap(); } /** *
             * torch output tensors
             * 
* * map<string, .pytorch.eas.ArrayProto> map_outputs = 1; */ public Builder putMapOutputs( java.lang.String key, com.aliyun.openservices.eas.predict.proto.TorchPredictProtos.ArrayProto value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableMapOutputs().getMutableMap() .put(key, value); return this; } /** *
             * torch output tensors
             * 
* * map<string, .pytorch.eas.ArrayProto> map_outputs = 1; */ public Builder putAllMapOutputs( java.util.Map values) { internalGetMutableMapOutputs().getMutableMap() .putAll(values); return this; } private shade.protobuf.MapField< java.lang.String, java.lang.String> generateFeatures_; private shade.protobuf.MapField internalGetGenerateFeatures() { if (generateFeatures_ == null) { return shade.protobuf.MapField.emptyMapField( GenerateFeaturesDefaultEntryHolder.defaultEntry); } return generateFeatures_; } private shade.protobuf.MapField internalGetMutableGenerateFeatures() { onChanged();; if (generateFeatures_ == null) { generateFeatures_ = shade.protobuf.MapField.newMapField( GenerateFeaturesDefaultEntryHolder.defaultEntry); } if (!generateFeatures_.isMutable()) { generateFeatures_ = generateFeatures_.copy(); } return generateFeatures_; } public int getGenerateFeaturesCount() { return internalGetGenerateFeatures().getMap().size(); } /** *
             * fg ouput features
             * 
* * map<string, string> generate_features = 2; */ public boolean containsGenerateFeatures( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetGenerateFeatures().getMap().containsKey(key); } /** * Use {@link #getGenerateFeaturesMap()} instead. */ @java.lang.Deprecated public java.util.Map getGenerateFeatures() { return getGenerateFeaturesMap(); } /** *
             * fg ouput features
             * 
* * map<string, string> generate_features = 2; */ public java.util.Map getGenerateFeaturesMap() { return internalGetGenerateFeatures().getMap(); } /** *
             * fg ouput features
             * 
* * map<string, string> generate_features = 2; */ public java.lang.String getGenerateFeaturesOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetGenerateFeatures().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
             * fg ouput features
             * 
* * map<string, string> generate_features = 2; */ public java.lang.String getGenerateFeaturesOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetGenerateFeatures().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearGenerateFeatures() { internalGetMutableGenerateFeatures().getMutableMap() .clear(); return this; } /** *
             * fg ouput features
             * 
* * map<string, string> generate_features = 2; */ public Builder removeGenerateFeatures( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableGenerateFeatures().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableGenerateFeatures() { return internalGetMutableGenerateFeatures().getMutableMap(); } /** *
             * fg ouput features
             * 
* * map<string, string> generate_features = 2; */ public Builder putGenerateFeatures( java.lang.String key, java.lang.String value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableGenerateFeatures().getMutableMap() .put(key, value); return this; } /** *
             * fg ouput features
             * 
* * map<string, string> generate_features = 2; */ public Builder putAllGenerateFeatures( java.util.Map values) { internalGetMutableGenerateFeatures().getMutableMap() .putAll(values); return this; } private shade.protobuf.MapField< java.lang.String, java.lang.String> rawFeatures_; private shade.protobuf.MapField internalGetRawFeatures() { if (rawFeatures_ == null) { return shade.protobuf.MapField.emptyMapField( RawFeaturesDefaultEntryHolder.defaultEntry); } return rawFeatures_; } private shade.protobuf.MapField internalGetMutableRawFeatures() { onChanged();; if (rawFeatures_ == null) { rawFeatures_ = shade.protobuf.MapField.newMapField( RawFeaturesDefaultEntryHolder.defaultEntry); } if (!rawFeatures_.isMutable()) { rawFeatures_ = rawFeatures_.copy(); } return rawFeatures_; } public int getRawFeaturesCount() { return internalGetRawFeatures().getMap().size(); } /** *
             * all fg input features
             * 
* * map<string, string> raw_features = 3; */ public boolean containsRawFeatures( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetRawFeatures().getMap().containsKey(key); } /** * Use {@link #getRawFeaturesMap()} instead. */ @java.lang.Deprecated public java.util.Map getRawFeatures() { return getRawFeaturesMap(); } /** *
             * all fg input features
             * 
* * map<string, string> raw_features = 3; */ public java.util.Map getRawFeaturesMap() { return internalGetRawFeatures().getMap(); } /** *
             * all fg input features
             * 
* * map<string, string> raw_features = 3; */ public java.lang.String getRawFeaturesOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetRawFeatures().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
             * all fg input features
             * 
* * map<string, string> raw_features = 3; */ public java.lang.String getRawFeaturesOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetRawFeatures().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearRawFeatures() { internalGetMutableRawFeatures().getMutableMap() .clear(); return this; } /** *
             * all fg input features
             * 
* * map<string, string> raw_features = 3; */ public Builder removeRawFeatures( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableRawFeatures().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableRawFeatures() { return internalGetMutableRawFeatures().getMutableMap(); } /** *
             * all fg input features
             * 
* * map<string, string> raw_features = 3; */ public Builder putRawFeatures( java.lang.String key, java.lang.String value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableRawFeatures().getMutableMap() .put(key, value); return this; } /** *
             * all fg input features
             * 
* * map<string, string> raw_features = 3; */ public Builder putAllRawFeatures( java.util.Map values) { internalGetMutableRawFeatures().getMutableMap() .putAll(values); return this; } private shade.protobuf.LazyStringList itemIds_ = shade.protobuf.LazyStringArrayList.EMPTY; private void ensureItemIdsIsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { itemIds_ = new shade.protobuf.LazyStringArrayList(itemIds_); bitField0_ |= 0x00000008; } } /** *
             * item ids
             * 
* * repeated string item_ids = 4; */ public shade.protobuf.ProtocolStringList getItemIdsList() { return itemIds_.getUnmodifiableView(); } /** *
             * item ids
             * 
* * repeated string item_ids = 4; */ public int getItemIdsCount() { return itemIds_.size(); } /** *
             * item ids
             * 
* * repeated string item_ids = 4; */ public java.lang.String getItemIds(int index) { return itemIds_.get(index); } /** *
             * item ids
             * 
* * repeated string item_ids = 4; */ public shade.protobuf.ByteString getItemIdsBytes(int index) { return itemIds_.getByteString(index); } /** *
             * item ids
             * 
* * repeated string item_ids = 4; */ public Builder setItemIds( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureItemIdsIsMutable(); itemIds_.set(index, value); onChanged(); return this; } /** *
             * item ids
             * 
* * repeated string item_ids = 4; */ public Builder addItemIds( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureItemIdsIsMutable(); itemIds_.add(value); onChanged(); return this; } /** *
             * item ids
             * 
* * repeated string item_ids = 4; */ public Builder addAllItemIds( java.lang.Iterable values) { ensureItemIdsIsMutable(); shade.protobuf.AbstractMessageLite.Builder.addAll( values, itemIds_); onChanged(); return this; } /** *
             * item ids
             * 
* * repeated string item_ids = 4; */ public Builder clearItemIds() { itemIds_ = shade.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** *
             * item ids
             * 
* * repeated string item_ids = 4; */ public Builder addItemIdsBytes( shade.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureItemIdsIsMutable(); itemIds_.add(value); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final shade.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:PBResponse) } // @@protoc_insertion_point(class_scope:PBResponse) private static final com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse(); } public static com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final shade.protobuf.Parser PARSER = new shade.protobuf.AbstractParser() { @java.lang.Override public PBResponse parsePartialFrom( shade.protobuf.CodedInputStream input, shade.protobuf.ExtensionRegistryLite extensionRegistry) throws shade.protobuf.InvalidProtocolBufferException { return new PBResponse(input, extensionRegistry); } }; public static shade.protobuf.Parser parser() { return PARSER; } @java.lang.Override public shade.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.aliyun.openservices.eas.predict.proto.TorchRecPredictProtos.PBResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final shade.protobuf.Descriptors.Descriptor internal_static_LongStringMap_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_LongStringMap_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_LongStringMap_MapFieldEntry_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_LongStringMap_MapFieldEntry_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_LongIntMap_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_LongIntMap_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_LongIntMap_MapFieldEntry_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_LongIntMap_MapFieldEntry_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_LongLongMap_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_LongLongMap_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_LongLongMap_MapFieldEntry_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_LongLongMap_MapFieldEntry_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_LongFloatMap_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_LongFloatMap_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_LongFloatMap_MapFieldEntry_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_LongFloatMap_MapFieldEntry_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_LongDoubleMap_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_LongDoubleMap_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_LongDoubleMap_MapFieldEntry_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_LongDoubleMap_MapFieldEntry_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_StringStringMap_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_StringStringMap_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_StringStringMap_MapFieldEntry_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_StringStringMap_MapFieldEntry_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_StringIntMap_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_StringIntMap_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_StringIntMap_MapFieldEntry_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_StringIntMap_MapFieldEntry_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_StringLongMap_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_StringLongMap_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_StringLongMap_MapFieldEntry_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_StringLongMap_MapFieldEntry_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_StringFloatMap_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_StringFloatMap_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_StringFloatMap_MapFieldEntry_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_StringFloatMap_MapFieldEntry_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_StringDoubleMap_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_StringDoubleMap_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_StringDoubleMap_MapFieldEntry_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_StringDoubleMap_MapFieldEntry_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_IntStringMap_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_IntStringMap_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_IntStringMap_MapFieldEntry_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_IntStringMap_MapFieldEntry_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_IntIntMap_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_IntIntMap_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_IntIntMap_MapFieldEntry_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_IntIntMap_MapFieldEntry_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_IntLongMap_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_IntLongMap_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_IntLongMap_MapFieldEntry_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_IntLongMap_MapFieldEntry_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_IntFloatMap_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_IntFloatMap_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_IntFloatMap_MapFieldEntry_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_IntFloatMap_MapFieldEntry_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_IntDoubleMap_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_IntDoubleMap_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_IntDoubleMap_MapFieldEntry_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_IntDoubleMap_MapFieldEntry_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_IntList_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_IntList_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_LongList_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_LongList_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_FloatList_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_FloatList_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_DoubleList_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_DoubleList_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_StringList_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_StringList_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_IntLists_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_IntLists_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_LongLists_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_LongLists_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_FloatLists_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_FloatLists_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_DoubleLists_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_DoubleLists_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_StringLists_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_StringLists_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_PBFeature_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_PBFeature_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_ContextFeatures_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ContextFeatures_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_PBRequest_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_PBRequest_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_PBRequest_UserFeaturesEntry_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_PBRequest_UserFeaturesEntry_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_PBRequest_ContextFeaturesEntry_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_PBRequest_ContextFeaturesEntry_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_PBResponse_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_PBResponse_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_PBResponse_MapOutputsEntry_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_PBResponse_MapOutputsEntry_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_PBResponse_GenerateFeaturesEntry_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_PBResponse_GenerateFeaturesEntry_fieldAccessorTable; private static final shade.protobuf.Descriptors.Descriptor internal_static_PBResponse_RawFeaturesEntry_descriptor; private static final shade.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_PBResponse_RawFeaturesEntry_fieldAccessorTable; public static shade.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static shade.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\026torchrec_predict.proto\032\025pytorch_predic" + "t.proto\"q\n\rLongStringMap\022/\n\tmap_field\030\001 " + "\003(\0132\034.LongStringMap.MapFieldEntry\032/\n\rMap" + "FieldEntry\022\013\n\003key\030\001 \001(\003\022\r\n\005value\030\002 \001(\t:\002" + "8\001\"k\n\nLongIntMap\022,\n\tmap_field\030\001 \003(\0132\031.Lo" + "ngIntMap.MapFieldEntry\032/\n\rMapFieldEntry\022" + "\013\n\003key\030\001 \001(\003\022\r\n\005value\030\002 \001(\005:\0028\001\"m\n\013LongL" + "ongMap\022-\n\tmap_field\030\001 \003(\0132\032.LongLongMap." + "MapFieldEntry\032/\n\rMapFieldEntry\022\013\n\003key\030\001 " + "\001(\003\022\r\n\005value\030\002 \001(\003:\0028\001\"o\n\014LongFloatMap\022." + "\n\tmap_field\030\001 \003(\0132\033.LongFloatMap.MapFiel" + "dEntry\032/\n\rMapFieldEntry\022\013\n\003key\030\001 \001(\003\022\r\n\005" + "value\030\002 \001(\002:\0028\001\"q\n\rLongDoubleMap\022/\n\tmap_" + "field\030\001 \003(\0132\034.LongDoubleMap.MapFieldEntr" + "y\032/\n\rMapFieldEntry\022\013\n\003key\030\001 \001(\003\022\r\n\005value" + "\030\002 \001(\001:\0028\001\"u\n\017StringStringMap\0221\n\tmap_fie" + "ld\030\001 \003(\0132\036.StringStringMap.MapFieldEntry" + "\032/\n\rMapFieldEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" + "\002 \001(\t:\0028\001\"o\n\014StringIntMap\022.\n\tmap_field\030\001" + " \003(\0132\033.StringIntMap.MapFieldEntry\032/\n\rMap" + "FieldEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\005:\002" + "8\001\"q\n\rStringLongMap\022/\n\tmap_field\030\001 \003(\0132\034" + ".StringLongMap.MapFieldEntry\032/\n\rMapField" + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\003:\0028\001\"s\n" + "\016StringFloatMap\0220\n\tmap_field\030\001 \003(\0132\035.Str" + "ingFloatMap.MapFieldEntry\032/\n\rMapFieldEnt" + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\002:\0028\001\"u\n\017St" + "ringDoubleMap\0221\n\tmap_field\030\001 \003(\0132\036.Strin" + "gDoubleMap.MapFieldEntry\032/\n\rMapFieldEntr" + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\001:\0028\001\"o\n\014Int" + "StringMap\022.\n\tmap_field\030\001 \003(\0132\033.IntString" + "Map.MapFieldEntry\032/\n\rMapFieldEntry\022\013\n\003ke" + "y\030\001 \001(\005\022\r\n\005value\030\002 \001(\t:\0028\001\"i\n\tIntIntMap\022" + "+\n\tmap_field\030\001 \003(\0132\030.IntIntMap.MapFieldE" + "ntry\032/\n\rMapFieldEntry\022\013\n\003key\030\001 \001(\005\022\r\n\005va" + "lue\030\002 \001(\005:\0028\001\"k\n\nIntLongMap\022,\n\tmap_field" + "\030\001 \003(\0132\031.IntLongMap.MapFieldEntry\032/\n\rMap" + "FieldEntry\022\013\n\003key\030\001 \001(\005\022\r\n\005value\030\002 \001(\003:\002" + "8\001\"m\n\013IntFloatMap\022-\n\tmap_field\030\001 \003(\0132\032.I" + "ntFloatMap.MapFieldEntry\032/\n\rMapFieldEntr" + "y\022\013\n\003key\030\001 \001(\005\022\r\n\005value\030\002 \001(\002:\0028\001\"o\n\014Int" + "DoubleMap\022.\n\tmap_field\030\001 \003(\0132\033.IntDouble" + "Map.MapFieldEntry\032/\n\rMapFieldEntry\022\013\n\003ke" + "y\030\001 \001(\005\022\r\n\005value\030\002 \001(\001:\0028\001\"\033\n\007IntList\022\020\n" + "\010features\030\001 \003(\005\"\034\n\010LongList\022\020\n\010features\030" + "\001 \003(\003\"\035\n\tFloatList\022\020\n\010features\030\001 \003(\002\"\036\n\n" + "DoubleList\022\020\n\010features\030\001 \003(\001\"\036\n\nStringLi" + "st\022\020\n\010features\030\001 \003(\t\"#\n\010IntLists\022\027\n\005list" + "s\030\001 \003(\0132\010.IntList\"%\n\tLongLists\022\030\n\005lists\030" + "\001 \003(\0132\t.LongList\"\'\n\nFloatLists\022\031\n\005lists\030" + "\001 \003(\0132\n.FloatList\")\n\013DoubleLists\022\032\n\005list" + "s\030\001 \003(\0132\013.DoubleList\")\n\013StringLists\022\032\n\005l" + "ists\030\001 \003(\0132\013.StringList\"\325\010\n\tPBFeature\022\025\n" + "\013int_feature\030\001 \001(\005H\000\022\026\n\014long_feature\030\002 \001" + "(\003H\000\022\030\n\016string_feature\030\003 \001(\tH\000\022\027\n\rfloat_" + "feature\030\004 \001(\002H\000\022\030\n\016double_feature\030\005 \001(\001H" + "\000\022)\n\017long_string_map\030\006 \001(\0132\016.LongStringM" + "apH\000\022#\n\014long_int_map\030\007 \001(\0132\013.LongIntMapH" + "\000\022%\n\rlong_long_map\030\010 \001(\0132\014.LongLongMapH\000" + "\022\'\n\016long_float_map\030\t \001(\0132\r.LongFloatMapH" + "\000\022)\n\017long_double_map\030\n \001(\0132\016.LongDoubleM" + "apH\000\022-\n\021string_string_map\030\013 \001(\0132\020.String" + "StringMapH\000\022\'\n\016string_int_map\030\014 \001(\0132\r.St" + "ringIntMapH\000\022)\n\017string_long_map\030\r \001(\0132\016." + "StringLongMapH\000\022+\n\020string_float_map\030\016 \001(" + "\0132\017.StringFloatMapH\000\022-\n\021string_double_ma" + "p\030\017 \001(\0132\020.StringDoubleMapH\000\022\'\n\016int_strin" + "g_map\030\020 \001(\0132\r.IntStringMapH\000\022!\n\013int_int_" + "map\030\021 \001(\0132\n.IntIntMapH\000\022#\n\014int_long_map\030" + "\022 \001(\0132\013.IntLongMapH\000\022%\n\rint_float_map\030\023 " + "\001(\0132\014.IntFloatMapH\000\022\'\n\016int_double_map\030\024 " + "\001(\0132\r.IntDoubleMapH\000\022\034\n\010int_list\030\025 \001(\0132\010" + ".IntListH\000\022\036\n\tlong_list\030\026 \001(\0132\t.LongList" + "H\000\022\"\n\013string_list\030\027 \001(\0132\013.StringListH\000\022 " + "\n\nfloat_list\030\030 \001(\0132\n.FloatListH\000\022\"\n\013doub" + "le_list\030\031 \001(\0132\013.DoubleListH\000\022\036\n\tint_list" + "s\030\032 \001(\0132\t.IntListsH\000\022 \n\nlong_lists\030\033 \001(\013" + "2\n.LongListsH\000\022$\n\014string_lists\030\034 \001(\0132\014.S" + "tringListsH\000\022\"\n\013float_lists\030\035 \001(\0132\013.Floa" + "tListsH\000\022$\n\014double_lists\030\036 \001(\0132\014.DoubleL" + "istsH\000B\007\n\005value\"/\n\017ContextFeatures\022\034\n\010fe" + "atures\030\001 \003(\0132\n.PBFeature\"\306\002\n\tPBRequest\022\023" + "\n\013debug_level\030\001 \001(\005\0223\n\ruser_features\030\002 \003" + "(\0132\034.PBRequest.UserFeaturesEntry\022\020\n\010item" + "_ids\030\003 \003(\t\0229\n\020context_features\030\004 \003(\0132\037.P" + "BRequest.ContextFeaturesEntry\022\027\n\017faiss_n" + "eigh_num\030\005 \001(\005\032?\n\021UserFeaturesEntry\022\013\n\003k" + "ey\030\001 \001(\t\022\031\n\005value\030\002 \001(\0132\n.PBFeature:\0028\001\032" + "H\n\024ContextFeaturesEntry\022\013\n\003key\030\001 \001(\t\022\037\n\005" + "value\030\002 \001(\0132\020.ContextFeatures:\0028\001\"\373\002\n\nPB" + "Response\0220\n\013map_outputs\030\001 \003(\0132\033.PBRespon" + "se.MapOutputsEntry\022<\n\021generate_features\030" + "\002 \003(\0132!.PBResponse.GenerateFeaturesEntry" + "\0222\n\014raw_features\030\003 \003(\0132\034.PBResponse.RawF" + "eaturesEntry\022\020\n\010item_ids\030\004 \003(\t\032J\n\017MapOut" + "putsEntry\022\013\n\003key\030\001 \001(\t\022&\n\005value\030\002 \001(\0132\027." + "pytorch.eas.ArrayProto:\0028\001\0327\n\025GenerateFe" + "aturesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + "\0028\001\0322\n\020RawFeaturesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" + "value\030\002 \001(\t:\0028\001BN\n)com.aliyun.openservic" + "es.eas.predict.protoB\025TorchRecPredictPro" + "tosZ\n.;torchrecb\006proto3" }; shade.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new shade.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { public shade.protobuf.ExtensionRegistry assignDescriptors( shade.protobuf.Descriptors.FileDescriptor root) { descriptor = root; return null; } }; shade.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new shade.protobuf.Descriptors.FileDescriptor[] { com.aliyun.openservices.eas.predict.proto.TorchPredictProtos.getDescriptor(), }, assigner); internal_static_LongStringMap_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_LongStringMap_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_LongStringMap_descriptor, new java.lang.String[] { "MapField", }); internal_static_LongStringMap_MapFieldEntry_descriptor = internal_static_LongStringMap_descriptor.getNestedTypes().get(0); internal_static_LongStringMap_MapFieldEntry_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_LongStringMap_MapFieldEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_LongIntMap_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_LongIntMap_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_LongIntMap_descriptor, new java.lang.String[] { "MapField", }); internal_static_LongIntMap_MapFieldEntry_descriptor = internal_static_LongIntMap_descriptor.getNestedTypes().get(0); internal_static_LongIntMap_MapFieldEntry_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_LongIntMap_MapFieldEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_LongLongMap_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_LongLongMap_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_LongLongMap_descriptor, new java.lang.String[] { "MapField", }); internal_static_LongLongMap_MapFieldEntry_descriptor = internal_static_LongLongMap_descriptor.getNestedTypes().get(0); internal_static_LongLongMap_MapFieldEntry_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_LongLongMap_MapFieldEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_LongFloatMap_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_LongFloatMap_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_LongFloatMap_descriptor, new java.lang.String[] { "MapField", }); internal_static_LongFloatMap_MapFieldEntry_descriptor = internal_static_LongFloatMap_descriptor.getNestedTypes().get(0); internal_static_LongFloatMap_MapFieldEntry_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_LongFloatMap_MapFieldEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_LongDoubleMap_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_LongDoubleMap_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_LongDoubleMap_descriptor, new java.lang.String[] { "MapField", }); internal_static_LongDoubleMap_MapFieldEntry_descriptor = internal_static_LongDoubleMap_descriptor.getNestedTypes().get(0); internal_static_LongDoubleMap_MapFieldEntry_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_LongDoubleMap_MapFieldEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_StringStringMap_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_StringStringMap_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_StringStringMap_descriptor, new java.lang.String[] { "MapField", }); internal_static_StringStringMap_MapFieldEntry_descriptor = internal_static_StringStringMap_descriptor.getNestedTypes().get(0); internal_static_StringStringMap_MapFieldEntry_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_StringStringMap_MapFieldEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_StringIntMap_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_StringIntMap_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_StringIntMap_descriptor, new java.lang.String[] { "MapField", }); internal_static_StringIntMap_MapFieldEntry_descriptor = internal_static_StringIntMap_descriptor.getNestedTypes().get(0); internal_static_StringIntMap_MapFieldEntry_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_StringIntMap_MapFieldEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_StringLongMap_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_StringLongMap_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_StringLongMap_descriptor, new java.lang.String[] { "MapField", }); internal_static_StringLongMap_MapFieldEntry_descriptor = internal_static_StringLongMap_descriptor.getNestedTypes().get(0); internal_static_StringLongMap_MapFieldEntry_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_StringLongMap_MapFieldEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_StringFloatMap_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_StringFloatMap_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_StringFloatMap_descriptor, new java.lang.String[] { "MapField", }); internal_static_StringFloatMap_MapFieldEntry_descriptor = internal_static_StringFloatMap_descriptor.getNestedTypes().get(0); internal_static_StringFloatMap_MapFieldEntry_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_StringFloatMap_MapFieldEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_StringDoubleMap_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_StringDoubleMap_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_StringDoubleMap_descriptor, new java.lang.String[] { "MapField", }); internal_static_StringDoubleMap_MapFieldEntry_descriptor = internal_static_StringDoubleMap_descriptor.getNestedTypes().get(0); internal_static_StringDoubleMap_MapFieldEntry_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_StringDoubleMap_MapFieldEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_IntStringMap_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_IntStringMap_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_IntStringMap_descriptor, new java.lang.String[] { "MapField", }); internal_static_IntStringMap_MapFieldEntry_descriptor = internal_static_IntStringMap_descriptor.getNestedTypes().get(0); internal_static_IntStringMap_MapFieldEntry_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_IntStringMap_MapFieldEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_IntIntMap_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_IntIntMap_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_IntIntMap_descriptor, new java.lang.String[] { "MapField", }); internal_static_IntIntMap_MapFieldEntry_descriptor = internal_static_IntIntMap_descriptor.getNestedTypes().get(0); internal_static_IntIntMap_MapFieldEntry_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_IntIntMap_MapFieldEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_IntLongMap_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_IntLongMap_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_IntLongMap_descriptor, new java.lang.String[] { "MapField", }); internal_static_IntLongMap_MapFieldEntry_descriptor = internal_static_IntLongMap_descriptor.getNestedTypes().get(0); internal_static_IntLongMap_MapFieldEntry_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_IntLongMap_MapFieldEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_IntFloatMap_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_IntFloatMap_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_IntFloatMap_descriptor, new java.lang.String[] { "MapField", }); internal_static_IntFloatMap_MapFieldEntry_descriptor = internal_static_IntFloatMap_descriptor.getNestedTypes().get(0); internal_static_IntFloatMap_MapFieldEntry_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_IntFloatMap_MapFieldEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_IntDoubleMap_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_IntDoubleMap_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_IntDoubleMap_descriptor, new java.lang.String[] { "MapField", }); internal_static_IntDoubleMap_MapFieldEntry_descriptor = internal_static_IntDoubleMap_descriptor.getNestedTypes().get(0); internal_static_IntDoubleMap_MapFieldEntry_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_IntDoubleMap_MapFieldEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_IntList_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_IntList_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_IntList_descriptor, new java.lang.String[] { "Features", }); internal_static_LongList_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_LongList_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_LongList_descriptor, new java.lang.String[] { "Features", }); internal_static_FloatList_descriptor = getDescriptor().getMessageTypes().get(17); internal_static_FloatList_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_FloatList_descriptor, new java.lang.String[] { "Features", }); internal_static_DoubleList_descriptor = getDescriptor().getMessageTypes().get(18); internal_static_DoubleList_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_DoubleList_descriptor, new java.lang.String[] { "Features", }); internal_static_StringList_descriptor = getDescriptor().getMessageTypes().get(19); internal_static_StringList_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_StringList_descriptor, new java.lang.String[] { "Features", }); internal_static_IntLists_descriptor = getDescriptor().getMessageTypes().get(20); internal_static_IntLists_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_IntLists_descriptor, new java.lang.String[] { "Lists", }); internal_static_LongLists_descriptor = getDescriptor().getMessageTypes().get(21); internal_static_LongLists_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_LongLists_descriptor, new java.lang.String[] { "Lists", }); internal_static_FloatLists_descriptor = getDescriptor().getMessageTypes().get(22); internal_static_FloatLists_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_FloatLists_descriptor, new java.lang.String[] { "Lists", }); internal_static_DoubleLists_descriptor = getDescriptor().getMessageTypes().get(23); internal_static_DoubleLists_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_DoubleLists_descriptor, new java.lang.String[] { "Lists", }); internal_static_StringLists_descriptor = getDescriptor().getMessageTypes().get(24); internal_static_StringLists_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_StringLists_descriptor, new java.lang.String[] { "Lists", }); internal_static_PBFeature_descriptor = getDescriptor().getMessageTypes().get(25); internal_static_PBFeature_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_PBFeature_descriptor, new java.lang.String[] { "IntFeature", "LongFeature", "StringFeature", "FloatFeature", "DoubleFeature", "LongStringMap", "LongIntMap", "LongLongMap", "LongFloatMap", "LongDoubleMap", "StringStringMap", "StringIntMap", "StringLongMap", "StringFloatMap", "StringDoubleMap", "IntStringMap", "IntIntMap", "IntLongMap", "IntFloatMap", "IntDoubleMap", "IntList", "LongList", "StringList", "FloatList", "DoubleList", "IntLists", "LongLists", "StringLists", "FloatLists", "DoubleLists", "Value", }); internal_static_ContextFeatures_descriptor = getDescriptor().getMessageTypes().get(26); internal_static_ContextFeatures_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ContextFeatures_descriptor, new java.lang.String[] { "Features", }); internal_static_PBRequest_descriptor = getDescriptor().getMessageTypes().get(27); internal_static_PBRequest_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_PBRequest_descriptor, new java.lang.String[] { "DebugLevel", "UserFeatures", "ItemIds", "ContextFeatures", "FaissNeighNum", }); internal_static_PBRequest_UserFeaturesEntry_descriptor = internal_static_PBRequest_descriptor.getNestedTypes().get(0); internal_static_PBRequest_UserFeaturesEntry_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_PBRequest_UserFeaturesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_PBRequest_ContextFeaturesEntry_descriptor = internal_static_PBRequest_descriptor.getNestedTypes().get(1); internal_static_PBRequest_ContextFeaturesEntry_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_PBRequest_ContextFeaturesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_PBResponse_descriptor = getDescriptor().getMessageTypes().get(28); internal_static_PBResponse_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_PBResponse_descriptor, new java.lang.String[] { "MapOutputs", "GenerateFeatures", "RawFeatures", "ItemIds", }); internal_static_PBResponse_MapOutputsEntry_descriptor = internal_static_PBResponse_descriptor.getNestedTypes().get(0); internal_static_PBResponse_MapOutputsEntry_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_PBResponse_MapOutputsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_PBResponse_GenerateFeaturesEntry_descriptor = internal_static_PBResponse_descriptor.getNestedTypes().get(1); internal_static_PBResponse_GenerateFeaturesEntry_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_PBResponse_GenerateFeaturesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_PBResponse_RawFeaturesEntry_descriptor = internal_static_PBResponse_descriptor.getNestedTypes().get(2); internal_static_PBResponse_RawFeaturesEntry_fieldAccessorTable = new shade.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_PBResponse_RawFeaturesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); com.aliyun.openservices.eas.predict.proto.TorchPredictProtos.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy