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

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

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

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

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

  public static void registerAllExtensions(
      shade.protobuf
.ExtensionRegistry registry) {
    registerAllExtensions(
        (shade.protobuf
.ExtensionRegistryLite) registry);
  }
  /**
   * Protobuf enum {@code ArrayDataType}
   */
  public enum ArrayDataType
      implements shade.protobuf
.ProtocolMessageEnum {
    /**
     * 
     * Not a legal value for DataType. Used to indicate a DataType field
     * has not been set.
     * 
* * DT_INVALID = 0; */ DT_INVALID(0), /** *
     * Data types that all computation devices are expected to be
     * capable to support.
     * 
* * DT_FLOAT = 1; */ DT_FLOAT(1), /** * DT_DOUBLE = 2; */ DT_DOUBLE(2), /** * DT_INT32 = 3; */ DT_INT32(3), /** * DT_UINT8 = 4; */ DT_UINT8(4), /** * DT_INT16 = 5; */ DT_INT16(5), /** * DT_INT8 = 6; */ DT_INT8(6), /** * DT_STRING = 7; */ DT_STRING(7), /** *
     * Single-precision complex
     * 
* * DT_COMPLEX64 = 8; */ DT_COMPLEX64(8), /** * DT_INT64 = 9; */ DT_INT64(9), /** * DT_BOOL = 10; */ DT_BOOL(10), /** *
     * Quantized int8
     * 
* * DT_QINT8 = 11; */ DT_QINT8(11), /** *
     * Quantized uint8
     * 
* * DT_QUINT8 = 12; */ DT_QUINT8(12), /** *
     * Quantized int32
     * 
* * DT_QINT32 = 13; */ DT_QINT32(13), /** *
     * Float32 truncated to 16 bits.  Only for cast ops.
     * 
* * DT_BFLOAT16 = 14; */ DT_BFLOAT16(14), /** *
     * Quantized int16
     * 
* * DT_QINT16 = 15; */ DT_QINT16(15), /** *
     * Quantized uint16
     * 
* * DT_QUINT16 = 16; */ DT_QUINT16(16), /** * DT_UINT16 = 17; */ DT_UINT16(17), /** *
     * Double-precision complex
     * 
* * DT_COMPLEX128 = 18; */ DT_COMPLEX128(18), /** * DT_HALF = 19; */ DT_HALF(19), /** * DT_RESOURCE = 20; */ DT_RESOURCE(20), /** *
     * Arbitrary C++ data types
     * 
* * DT_VARIANT = 21; */ DT_VARIANT(21), UNRECOGNIZED(-1), ; /** *
     * Not a legal value for DataType. Used to indicate a DataType field
     * has not been set.
     * 
* * DT_INVALID = 0; */ public static final int DT_INVALID_VALUE = 0; /** *
     * Data types that all computation devices are expected to be
     * capable to support.
     * 
* * DT_FLOAT = 1; */ public static final int DT_FLOAT_VALUE = 1; /** * DT_DOUBLE = 2; */ public static final int DT_DOUBLE_VALUE = 2; /** * DT_INT32 = 3; */ public static final int DT_INT32_VALUE = 3; /** * DT_UINT8 = 4; */ public static final int DT_UINT8_VALUE = 4; /** * DT_INT16 = 5; */ public static final int DT_INT16_VALUE = 5; /** * DT_INT8 = 6; */ public static final int DT_INT8_VALUE = 6; /** * DT_STRING = 7; */ public static final int DT_STRING_VALUE = 7; /** *
     * Single-precision complex
     * 
* * DT_COMPLEX64 = 8; */ public static final int DT_COMPLEX64_VALUE = 8; /** * DT_INT64 = 9; */ public static final int DT_INT64_VALUE = 9; /** * DT_BOOL = 10; */ public static final int DT_BOOL_VALUE = 10; /** *
     * Quantized int8
     * 
* * DT_QINT8 = 11; */ public static final int DT_QINT8_VALUE = 11; /** *
     * Quantized uint8
     * 
* * DT_QUINT8 = 12; */ public static final int DT_QUINT8_VALUE = 12; /** *
     * Quantized int32
     * 
* * DT_QINT32 = 13; */ public static final int DT_QINT32_VALUE = 13; /** *
     * Float32 truncated to 16 bits.  Only for cast ops.
     * 
* * DT_BFLOAT16 = 14; */ public static final int DT_BFLOAT16_VALUE = 14; /** *
     * Quantized int16
     * 
* * DT_QINT16 = 15; */ public static final int DT_QINT16_VALUE = 15; /** *
     * Quantized uint16
     * 
* * DT_QUINT16 = 16; */ public static final int DT_QUINT16_VALUE = 16; /** * DT_UINT16 = 17; */ public static final int DT_UINT16_VALUE = 17; /** *
     * Double-precision complex
     * 
* * DT_COMPLEX128 = 18; */ public static final int DT_COMPLEX128_VALUE = 18; /** * DT_HALF = 19; */ public static final int DT_HALF_VALUE = 19; /** * DT_RESOURCE = 20; */ public static final int DT_RESOURCE_VALUE = 20; /** *
     * Arbitrary C++ data types
     * 
* * DT_VARIANT = 21; */ public static final int DT_VARIANT_VALUE = 21; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ArrayDataType valueOf(int value) { return forNumber(value); } public static ArrayDataType forNumber(int value) { switch (value) { case 0: return DT_INVALID; case 1: return DT_FLOAT; case 2: return DT_DOUBLE; case 3: return DT_INT32; case 4: return DT_UINT8; case 5: return DT_INT16; case 6: return DT_INT8; case 7: return DT_STRING; case 8: return DT_COMPLEX64; case 9: return DT_INT64; case 10: return DT_BOOL; case 11: return DT_QINT8; case 12: return DT_QUINT8; case 13: return DT_QINT32; case 14: return DT_BFLOAT16; case 15: return DT_QINT16; case 16: return DT_QUINT16; case 17: return DT_UINT16; case 18: return DT_COMPLEX128; case 19: return DT_HALF; case 20: return DT_RESOURCE; case 21: return DT_VARIANT; default: return null; } } public static shade.protobuf .Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final shade.protobuf .Internal.EnumLiteMap< ArrayDataType> internalValueMap = new shade.protobuf .Internal.EnumLiteMap() { public ArrayDataType findValueByNumber(int number) { return ArrayDataType.forNumber(number); } }; public final shade.protobuf .Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final shade.protobuf .Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final shade.protobuf .Descriptors.EnumDescriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.PredictProtos.getDescriptor().getEnumTypes().get(0); } private static final ArrayDataType[] VALUES = values(); public static ArrayDataType valueOf( shade.protobuf .Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private ArrayDataType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:ArrayDataType) } public interface ArrayShapeOrBuilder extends // @@protoc_insertion_point(interface_extends:ArrayShape) shade.protobuf .MessageOrBuilder { /** * repeated int64 dim = 1 [packed = true]; */ java.util.List getDimList(); /** * repeated int64 dim = 1 [packed = true]; */ int getDimCount(); /** * repeated int64 dim = 1 [packed = true]; */ long getDim(int index); } /** *
   * Dimensions of an array
   * 
* * Protobuf type {@code ArrayShape} */ public static final class ArrayShape extends shade.protobuf .GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ArrayShape) ArrayShapeOrBuilder { private static final long serialVersionUID = 0L; // Use ArrayShape.newBuilder() to construct. private ArrayShape(shade.protobuf .GeneratedMessageV3.Builder builder) { super(builder); } private ArrayShape() { dim_ = java.util.Collections.emptyList(); } @java.lang.Override public final shade.protobuf .UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ArrayShape( shade.protobuf .CodedInputStream input, shade.protobuf .ExtensionRegistryLite extensionRegistry) throws shade.protobuf .InvalidProtocolBufferException { this(); 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; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { dim_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } dim_.add(input.readInt64()); break; } case 10: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) { dim_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { dim_.add(input.readInt64()); } input.popLimit(limit); 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)) { dim_ = java.util.Collections.unmodifiableList(dim_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final shade.protobuf .Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.PredictProtos.internal_static_ArrayShape_descriptor; } protected shade.protobuf .GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.PredictProtos.internal_static_ArrayShape_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape.class, com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape.Builder.class); } public static final int DIM_FIELD_NUMBER = 1; private java.util.List dim_; /** * repeated int64 dim = 1 [packed = true]; */ public java.util.List getDimList() { return dim_; } /** * repeated int64 dim = 1 [packed = true]; */ public int getDimCount() { return dim_.size(); } /** * repeated int64 dim = 1 [packed = true]; */ public long getDim(int index) { return dim_.get(index); } private int dimMemoizedSerializedSize = -1; private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(shade.protobuf .CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (getDimList().size() > 0) { output.writeUInt32NoTag(10); output.writeUInt32NoTag(dimMemoizedSerializedSize); } for (int i = 0; i < dim_.size(); i++) { output.writeInt64NoTag(dim_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < dim_.size(); i++) { dataSize += shade.protobuf .CodedOutputStream .computeInt64SizeNoTag(dim_.get(i)); } size += dataSize; if (!getDimList().isEmpty()) { size += 1; size += shade.protobuf .CodedOutputStream .computeInt32SizeNoTag(dataSize); } dimMemoizedSerializedSize = 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.PredictProtos.ArrayShape)) { return super.equals(obj); } com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape other = (com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape) obj; boolean result = true; result = result && getDimList() .equals(other.getDimList()); 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 (getDimCount() > 0) { hash = (37 * hash) + DIM_FIELD_NUMBER; hash = (53 * hash) + getDimList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape parseFrom( java.nio.ByteBuffer data) throws shade.protobuf .InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape 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.PredictProtos.ArrayShape parseFrom( shade.protobuf .ByteString data) throws shade.protobuf .InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape 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.PredictProtos.ArrayShape parseFrom(byte[] data) throws shade.protobuf .InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape parseFrom( byte[] data, shade.protobuf .ExtensionRegistryLite extensionRegistry) throws shade.protobuf .InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape parseFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf .GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape 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.PredictProtos.ArrayShape parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf .GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape 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.PredictProtos.ArrayShape parseFrom( shade.protobuf .CodedInputStream input) throws java.io.IOException { return shade.protobuf .GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape parseFrom( shade.protobuf .CodedInputStream input, shade.protobuf .ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf .GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( shade.protobuf .GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * Dimensions of an array
     * 
* * Protobuf type {@code ArrayShape} */ public static final class Builder extends shade.protobuf .GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ArrayShape) com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShapeOrBuilder { public static final shade.protobuf .Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.PredictProtos.internal_static_ArrayShape_descriptor; } protected shade.protobuf .GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.PredictProtos.internal_static_ArrayShape_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape.class, com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape.Builder.class); } // Construct using com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( shade.protobuf .GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (shade.protobuf .GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); dim_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } public shade.protobuf .Descriptors.Descriptor getDescriptorForType() { return com.aliyun.openservices.eas.predict.proto.PredictProtos.internal_static_ArrayShape_descriptor; } public com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape getDefaultInstanceForType() { return com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape.getDefaultInstance(); } public com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape build() { com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape buildPartial() { com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape result = new com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { dim_ = java.util.Collections.unmodifiableList(dim_); bitField0_ = (bitField0_ & ~0x00000001); } result.dim_ = dim_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( shade.protobuf .Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( shade.protobuf .Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( shade.protobuf .Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( shade.protobuf .Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( shade.protobuf .Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(shade.protobuf .Message other) { if (other instanceof com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape) { return mergeFrom((com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape other) { if (other == com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape.getDefaultInstance()) return this; if (!other.dim_.isEmpty()) { if (dim_.isEmpty()) { dim_ = other.dim_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureDimIsMutable(); dim_.addAll(other.dim_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( shade.protobuf .CodedInputStream input, shade.protobuf .ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (shade.protobuf .InvalidProtocolBufferException e) { parsedMessage = (com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List dim_ = java.util.Collections.emptyList(); private void ensureDimIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { dim_ = new java.util.ArrayList(dim_); bitField0_ |= 0x00000001; } } /** * repeated int64 dim = 1 [packed = true]; */ public java.util.List getDimList() { return java.util.Collections.unmodifiableList(dim_); } /** * repeated int64 dim = 1 [packed = true]; */ public int getDimCount() { return dim_.size(); } /** * repeated int64 dim = 1 [packed = true]; */ public long getDim(int index) { return dim_.get(index); } /** * repeated int64 dim = 1 [packed = true]; */ public Builder setDim( int index, long value) { ensureDimIsMutable(); dim_.set(index, value); onChanged(); return this; } /** * repeated int64 dim = 1 [packed = true]; */ public Builder addDim(long value) { ensureDimIsMutable(); dim_.add(value); onChanged(); return this; } /** * repeated int64 dim = 1 [packed = true]; */ public Builder addAllDim( java.lang.Iterable values) { ensureDimIsMutable(); shade.protobuf .AbstractMessageLite.Builder.addAll( values, dim_); onChanged(); return this; } /** * repeated int64 dim = 1 [packed = true]; */ public Builder clearDim() { dim_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } public final Builder setUnknownFields( final shade.protobuf .UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final shade.protobuf .UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:ArrayShape) } // @@protoc_insertion_point(class_scope:ArrayShape) private static final com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape(); } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape getDefaultInstance() { return DEFAULT_INSTANCE; } private static final shade.protobuf .Parser PARSER = new shade.protobuf .AbstractParser() { public ArrayShape parsePartialFrom( shade.protobuf .CodedInputStream input, shade.protobuf .ExtensionRegistryLite extensionRegistry) throws shade.protobuf .InvalidProtocolBufferException { return new ArrayShape(input, extensionRegistry); } }; public static shade.protobuf .Parser parser() { return PARSER; } @java.lang.Override public shade.protobuf .Parser getParserForType() { return PARSER; } public com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ArrayProtoOrBuilder extends // @@protoc_insertion_point(interface_extends:ArrayProto) shade.protobuf .MessageOrBuilder { /** *
     * Data Type.
     * 
* * .ArrayDataType dtype = 1; */ int getDtypeValue(); /** *
     * Data Type.
     * 
* * .ArrayDataType dtype = 1; */ com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayDataType getDtype(); /** *
     * Shape of the array.
     * 
* * .ArrayShape array_shape = 2; */ boolean hasArrayShape(); /** *
     * Shape of the array.
     * 
* * .ArrayShape array_shape = 2; */ com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape getArrayShape(); /** *
     * Shape of the array.
     * 
* * .ArrayShape array_shape = 2; */ com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShapeOrBuilder getArrayShapeOrBuilder(); /** *
     * DT_FLOAT.
     * 
* * repeated float float_val = 3 [packed = true]; */ java.util.List getFloatValList(); /** *
     * DT_FLOAT.
     * 
* * repeated float float_val = 3 [packed = true]; */ int getFloatValCount(); /** *
     * DT_FLOAT.
     * 
* * repeated float float_val = 3 [packed = true]; */ float getFloatVal(int index); /** *
     * DT_DOUBLE.
     * 
* * repeated double double_val = 4 [packed = true]; */ java.util.List getDoubleValList(); /** *
     * DT_DOUBLE.
     * 
* * repeated double double_val = 4 [packed = true]; */ int getDoubleValCount(); /** *
     * DT_DOUBLE.
     * 
* * repeated double double_val = 4 [packed = true]; */ double getDoubleVal(int index); /** *
     * DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
     * 
* * repeated int32 int_val = 5 [packed = true]; */ java.util.List getIntValList(); /** *
     * DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
     * 
* * repeated int32 int_val = 5 [packed = true]; */ int getIntValCount(); /** *
     * DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
     * 
* * repeated int32 int_val = 5 [packed = true]; */ int getIntVal(int index); /** *
     * DT_STRING.
     * 
* * repeated bytes string_val = 6; */ java.util.List getStringValList(); /** *
     * DT_STRING.
     * 
* * repeated bytes string_val = 6; */ int getStringValCount(); /** *
     * DT_STRING.
     * 
* * repeated bytes string_val = 6; */ shade.protobuf .ByteString getStringVal(int index); /** *
     * DT_INT64.
     * 
* * repeated int64 int64_val = 7 [packed = true]; */ java.util.List getInt64ValList(); /** *
     * DT_INT64.
     * 
* * repeated int64 int64_val = 7 [packed = true]; */ int getInt64ValCount(); /** *
     * DT_INT64.
     * 
* * repeated int64 int64_val = 7 [packed = true]; */ long getInt64Val(int index); /** *
     * DT_BOOL.
     * 
* * repeated bool bool_val = 8 [packed = true]; */ java.util.List getBoolValList(); /** *
     * DT_BOOL.
     * 
* * repeated bool bool_val = 8 [packed = true]; */ int getBoolValCount(); /** *
     * DT_BOOL.
     * 
* * repeated bool bool_val = 8 [packed = true]; */ boolean getBoolVal(int index); } /** *
   * Protocol buffer representing an array
   * 
* * Protobuf type {@code ArrayProto} */ public static final class ArrayProto extends shade.protobuf .GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ArrayProto) ArrayProtoOrBuilder { private static final long serialVersionUID = 0L; // Use ArrayProto.newBuilder() to construct. private ArrayProto(shade.protobuf .GeneratedMessageV3.Builder builder) { super(builder); } private ArrayProto() { dtype_ = 0; floatVal_ = java.util.Collections.emptyList(); doubleVal_ = java.util.Collections.emptyList(); intVal_ = java.util.Collections.emptyList(); stringVal_ = java.util.Collections.emptyList(); int64Val_ = java.util.Collections.emptyList(); boolVal_ = java.util.Collections.emptyList(); } @java.lang.Override public final shade.protobuf .UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ArrayProto( shade.protobuf .CodedInputStream input, shade.protobuf .ExtensionRegistryLite extensionRegistry) throws shade.protobuf .InvalidProtocolBufferException { this(); 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; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { int rawValue = input.readEnum(); dtype_ = rawValue; break; } case 18: { com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape.Builder subBuilder = null; if (arrayShape_ != null) { subBuilder = arrayShape_.toBuilder(); } arrayShape_ = input.readMessage(com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(arrayShape_); arrayShape_ = subBuilder.buildPartial(); } break; } case 29: { if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { floatVal_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } floatVal_.add(input.readFloat()); break; } case 26: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000004) == 0x00000004) && input.getBytesUntilLimit() > 0) { floatVal_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } while (input.getBytesUntilLimit() > 0) { floatVal_.add(input.readFloat()); } input.popLimit(limit); break; } case 33: { if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { doubleVal_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } doubleVal_.add(input.readDouble()); break; } case 34: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000008) == 0x00000008) && input.getBytesUntilLimit() > 0) { doubleVal_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } while (input.getBytesUntilLimit() > 0) { doubleVal_.add(input.readDouble()); } input.popLimit(limit); break; } case 40: { if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { intVal_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } intVal_.add(input.readInt32()); break; } case 42: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000010) == 0x00000010) && input.getBytesUntilLimit() > 0) { intVal_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } while (input.getBytesUntilLimit() > 0) { intVal_.add(input.readInt32()); } input.popLimit(limit); break; } case 50: { if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { stringVal_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000020; } stringVal_.add(input.readBytes()); break; } case 56: { if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { int64Val_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000040; } int64Val_.add(input.readInt64()); break; } case 58: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000040) == 0x00000040) && input.getBytesUntilLimit() > 0) { int64Val_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000040; } while (input.getBytesUntilLimit() > 0) { int64Val_.add(input.readInt64()); } input.popLimit(limit); break; } case 64: { if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) { boolVal_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000080; } boolVal_.add(input.readBool()); break; } case 66: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000080) == 0x00000080) && input.getBytesUntilLimit() > 0) { boolVal_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000080; } while (input.getBytesUntilLimit() > 0) { boolVal_.add(input.readBool()); } input.popLimit(limit); 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)) { floatVal_ = java.util.Collections.unmodifiableList(floatVal_); } if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { doubleVal_ = java.util.Collections.unmodifiableList(doubleVal_); } if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { intVal_ = java.util.Collections.unmodifiableList(intVal_); } if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { stringVal_ = java.util.Collections.unmodifiableList(stringVal_); } if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { int64Val_ = java.util.Collections.unmodifiableList(int64Val_); } if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) { boolVal_ = java.util.Collections.unmodifiableList(boolVal_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final shade.protobuf .Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.PredictProtos.internal_static_ArrayProto_descriptor; } protected shade.protobuf .GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.PredictProtos.internal_static_ArrayProto_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto.class, com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto.Builder.class); } private int bitField0_; public static final int DTYPE_FIELD_NUMBER = 1; private int dtype_; /** *
     * Data Type.
     * 
* * .ArrayDataType dtype = 1; */ public int getDtypeValue() { return dtype_; } /** *
     * Data Type.
     * 
* * .ArrayDataType dtype = 1; */ public com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayDataType getDtype() { com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayDataType result = com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayDataType.valueOf(dtype_); return result == null ? com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayDataType.UNRECOGNIZED : result; } public static final int ARRAY_SHAPE_FIELD_NUMBER = 2; private com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape arrayShape_; /** *
     * Shape of the array.
     * 
* * .ArrayShape array_shape = 2; */ public boolean hasArrayShape() { return arrayShape_ != null; } /** *
     * Shape of the array.
     * 
* * .ArrayShape array_shape = 2; */ public com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape getArrayShape() { return arrayShape_ == null ? com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape.getDefaultInstance() : arrayShape_; } /** *
     * Shape of the array.
     * 
* * .ArrayShape array_shape = 2; */ public com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShapeOrBuilder getArrayShapeOrBuilder() { return getArrayShape(); } public static final int FLOAT_VAL_FIELD_NUMBER = 3; private java.util.List floatVal_; /** *
     * DT_FLOAT.
     * 
* * repeated float float_val = 3 [packed = true]; */ public java.util.List getFloatValList() { return floatVal_; } /** *
     * DT_FLOAT.
     * 
* * repeated float float_val = 3 [packed = true]; */ public int getFloatValCount() { return floatVal_.size(); } /** *
     * DT_FLOAT.
     * 
* * repeated float float_val = 3 [packed = true]; */ public float getFloatVal(int index) { return floatVal_.get(index); } private int floatValMemoizedSerializedSize = -1; public static final int DOUBLE_VAL_FIELD_NUMBER = 4; private java.util.List doubleVal_; /** *
     * DT_DOUBLE.
     * 
* * repeated double double_val = 4 [packed = true]; */ public java.util.List getDoubleValList() { return doubleVal_; } /** *
     * DT_DOUBLE.
     * 
* * repeated double double_val = 4 [packed = true]; */ public int getDoubleValCount() { return doubleVal_.size(); } /** *
     * DT_DOUBLE.
     * 
* * repeated double double_val = 4 [packed = true]; */ public double getDoubleVal(int index) { return doubleVal_.get(index); } private int doubleValMemoizedSerializedSize = -1; public static final int INT_VAL_FIELD_NUMBER = 5; private java.util.List intVal_; /** *
     * DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
     * 
* * repeated int32 int_val = 5 [packed = true]; */ public java.util.List getIntValList() { return intVal_; } /** *
     * DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
     * 
* * repeated int32 int_val = 5 [packed = true]; */ public int getIntValCount() { return intVal_.size(); } /** *
     * DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
     * 
* * repeated int32 int_val = 5 [packed = true]; */ public int getIntVal(int index) { return intVal_.get(index); } private int intValMemoizedSerializedSize = -1; public static final int STRING_VAL_FIELD_NUMBER = 6; private java.util.List stringVal_; /** *
     * DT_STRING.
     * 
* * repeated bytes string_val = 6; */ public java.util.List getStringValList() { return stringVal_; } /** *
     * DT_STRING.
     * 
* * repeated bytes string_val = 6; */ public int getStringValCount() { return stringVal_.size(); } /** *
     * DT_STRING.
     * 
* * repeated bytes string_val = 6; */ public shade.protobuf .ByteString getStringVal(int index) { return stringVal_.get(index); } public static final int INT64_VAL_FIELD_NUMBER = 7; private java.util.List int64Val_; /** *
     * DT_INT64.
     * 
* * repeated int64 int64_val = 7 [packed = true]; */ public java.util.List getInt64ValList() { return int64Val_; } /** *
     * DT_INT64.
     * 
* * repeated int64 int64_val = 7 [packed = true]; */ public int getInt64ValCount() { return int64Val_.size(); } /** *
     * DT_INT64.
     * 
* * repeated int64 int64_val = 7 [packed = true]; */ public long getInt64Val(int index) { return int64Val_.get(index); } private int int64ValMemoizedSerializedSize = -1; public static final int BOOL_VAL_FIELD_NUMBER = 8; private java.util.List boolVal_; /** *
     * DT_BOOL.
     * 
* * repeated bool bool_val = 8 [packed = true]; */ public java.util.List getBoolValList() { return boolVal_; } /** *
     * DT_BOOL.
     * 
* * repeated bool bool_val = 8 [packed = true]; */ public int getBoolValCount() { return boolVal_.size(); } /** *
     * DT_BOOL.
     * 
* * repeated bool bool_val = 8 [packed = true]; */ public boolean getBoolVal(int index) { return boolVal_.get(index); } private int boolValMemoizedSerializedSize = -1; private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(shade.protobuf .CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (dtype_ != com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayDataType.DT_INVALID.getNumber()) { output.writeEnum(1, dtype_); } if (arrayShape_ != null) { output.writeMessage(2, getArrayShape()); } if (getFloatValList().size() > 0) { output.writeUInt32NoTag(26); output.writeUInt32NoTag(floatValMemoizedSerializedSize); } for (int i = 0; i < floatVal_.size(); i++) { output.writeFloatNoTag(floatVal_.get(i)); } if (getDoubleValList().size() > 0) { output.writeUInt32NoTag(34); output.writeUInt32NoTag(doubleValMemoizedSerializedSize); } for (int i = 0; i < doubleVal_.size(); i++) { output.writeDoubleNoTag(doubleVal_.get(i)); } if (getIntValList().size() > 0) { output.writeUInt32NoTag(42); output.writeUInt32NoTag(intValMemoizedSerializedSize); } for (int i = 0; i < intVal_.size(); i++) { output.writeInt32NoTag(intVal_.get(i)); } for (int i = 0; i < stringVal_.size(); i++) { output.writeBytes(6, stringVal_.get(i)); } if (getInt64ValList().size() > 0) { output.writeUInt32NoTag(58); output.writeUInt32NoTag(int64ValMemoizedSerializedSize); } for (int i = 0; i < int64Val_.size(); i++) { output.writeInt64NoTag(int64Val_.get(i)); } if (getBoolValList().size() > 0) { output.writeUInt32NoTag(66); output.writeUInt32NoTag(boolValMemoizedSerializedSize); } for (int i = 0; i < boolVal_.size(); i++) { output.writeBoolNoTag(boolVal_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (dtype_ != com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayDataType.DT_INVALID.getNumber()) { size += shade.protobuf .CodedOutputStream .computeEnumSize(1, dtype_); } if (arrayShape_ != null) { size += shade.protobuf .CodedOutputStream .computeMessageSize(2, getArrayShape()); } { int dataSize = 0; dataSize = 4 * getFloatValList().size(); size += dataSize; if (!getFloatValList().isEmpty()) { size += 1; size += shade.protobuf .CodedOutputStream .computeInt32SizeNoTag(dataSize); } floatValMemoizedSerializedSize = dataSize; } { int dataSize = 0; dataSize = 8 * getDoubleValList().size(); size += dataSize; if (!getDoubleValList().isEmpty()) { size += 1; size += shade.protobuf .CodedOutputStream .computeInt32SizeNoTag(dataSize); } doubleValMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < intVal_.size(); i++) { dataSize += shade.protobuf .CodedOutputStream .computeInt32SizeNoTag(intVal_.get(i)); } size += dataSize; if (!getIntValList().isEmpty()) { size += 1; size += shade.protobuf .CodedOutputStream .computeInt32SizeNoTag(dataSize); } intValMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < stringVal_.size(); i++) { dataSize += shade.protobuf .CodedOutputStream .computeBytesSizeNoTag(stringVal_.get(i)); } size += dataSize; size += 1 * getStringValList().size(); } { int dataSize = 0; for (int i = 0; i < int64Val_.size(); i++) { dataSize += shade.protobuf .CodedOutputStream .computeInt64SizeNoTag(int64Val_.get(i)); } size += dataSize; if (!getInt64ValList().isEmpty()) { size += 1; size += shade.protobuf .CodedOutputStream .computeInt32SizeNoTag(dataSize); } int64ValMemoizedSerializedSize = dataSize; } { int dataSize = 0; dataSize = 1 * getBoolValList().size(); size += dataSize; if (!getBoolValList().isEmpty()) { size += 1; size += shade.protobuf .CodedOutputStream .computeInt32SizeNoTag(dataSize); } boolValMemoizedSerializedSize = 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.PredictProtos.ArrayProto)) { return super.equals(obj); } com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto other = (com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto) obj; boolean result = true; result = result && dtype_ == other.dtype_; result = result && (hasArrayShape() == other.hasArrayShape()); if (hasArrayShape()) { result = result && getArrayShape() .equals(other.getArrayShape()); } result = result && getFloatValList() .equals(other.getFloatValList()); result = result && getDoubleValList() .equals(other.getDoubleValList()); result = result && getIntValList() .equals(other.getIntValList()); result = result && getStringValList() .equals(other.getStringValList()); result = result && getInt64ValList() .equals(other.getInt64ValList()); result = result && getBoolValList() .equals(other.getBoolValList()); 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) + DTYPE_FIELD_NUMBER; hash = (53 * hash) + dtype_; if (hasArrayShape()) { hash = (37 * hash) + ARRAY_SHAPE_FIELD_NUMBER; hash = (53 * hash) + getArrayShape().hashCode(); } if (getFloatValCount() > 0) { hash = (37 * hash) + FLOAT_VAL_FIELD_NUMBER; hash = (53 * hash) + getFloatValList().hashCode(); } if (getDoubleValCount() > 0) { hash = (37 * hash) + DOUBLE_VAL_FIELD_NUMBER; hash = (53 * hash) + getDoubleValList().hashCode(); } if (getIntValCount() > 0) { hash = (37 * hash) + INT_VAL_FIELD_NUMBER; hash = (53 * hash) + getIntValList().hashCode(); } if (getStringValCount() > 0) { hash = (37 * hash) + STRING_VAL_FIELD_NUMBER; hash = (53 * hash) + getStringValList().hashCode(); } if (getInt64ValCount() > 0) { hash = (37 * hash) + INT64_VAL_FIELD_NUMBER; hash = (53 * hash) + getInt64ValList().hashCode(); } if (getBoolValCount() > 0) { hash = (37 * hash) + BOOL_VAL_FIELD_NUMBER; hash = (53 * hash) + getBoolValList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto parseFrom( java.nio.ByteBuffer data) throws shade.protobuf .InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto 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.PredictProtos.ArrayProto parseFrom( shade.protobuf .ByteString data) throws shade.protobuf .InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto 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.PredictProtos.ArrayProto parseFrom(byte[] data) throws shade.protobuf .InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto parseFrom( byte[] data, shade.protobuf .ExtensionRegistryLite extensionRegistry) throws shade.protobuf .InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto parseFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf .GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto 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.PredictProtos.ArrayProto parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf .GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto 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.PredictProtos.ArrayProto parseFrom( shade.protobuf .CodedInputStream input) throws java.io.IOException { return shade.protobuf .GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto parseFrom( shade.protobuf .CodedInputStream input, shade.protobuf .ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf .GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( shade.protobuf .GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * Protocol buffer representing an array
     * 
* * Protobuf type {@code ArrayProto} */ public static final class Builder extends shade.protobuf .GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ArrayProto) com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProtoOrBuilder { public static final shade.protobuf .Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.PredictProtos.internal_static_ArrayProto_descriptor; } protected shade.protobuf .GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.PredictProtos.internal_static_ArrayProto_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto.class, com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto.Builder.class); } // Construct using com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( shade.protobuf .GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (shade.protobuf .GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); dtype_ = 0; if (arrayShapeBuilder_ == null) { arrayShape_ = null; } else { arrayShape_ = null; arrayShapeBuilder_ = null; } floatVal_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); doubleVal_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); intVal_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); stringVal_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); int64Val_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); boolVal_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); return this; } public shade.protobuf .Descriptors.Descriptor getDescriptorForType() { return com.aliyun.openservices.eas.predict.proto.PredictProtos.internal_static_ArrayProto_descriptor; } public com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto getDefaultInstanceForType() { return com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto.getDefaultInstance(); } public com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto build() { com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto buildPartial() { com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto result = new com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.dtype_ = dtype_; if (arrayShapeBuilder_ == null) { result.arrayShape_ = arrayShape_; } else { result.arrayShape_ = arrayShapeBuilder_.build(); } if (((bitField0_ & 0x00000004) == 0x00000004)) { floatVal_ = java.util.Collections.unmodifiableList(floatVal_); bitField0_ = (bitField0_ & ~0x00000004); } result.floatVal_ = floatVal_; if (((bitField0_ & 0x00000008) == 0x00000008)) { doubleVal_ = java.util.Collections.unmodifiableList(doubleVal_); bitField0_ = (bitField0_ & ~0x00000008); } result.doubleVal_ = doubleVal_; if (((bitField0_ & 0x00000010) == 0x00000010)) { intVal_ = java.util.Collections.unmodifiableList(intVal_); bitField0_ = (bitField0_ & ~0x00000010); } result.intVal_ = intVal_; if (((bitField0_ & 0x00000020) == 0x00000020)) { stringVal_ = java.util.Collections.unmodifiableList(stringVal_); bitField0_ = (bitField0_ & ~0x00000020); } result.stringVal_ = stringVal_; if (((bitField0_ & 0x00000040) == 0x00000040)) { int64Val_ = java.util.Collections.unmodifiableList(int64Val_); bitField0_ = (bitField0_ & ~0x00000040); } result.int64Val_ = int64Val_; if (((bitField0_ & 0x00000080) == 0x00000080)) { boolVal_ = java.util.Collections.unmodifiableList(boolVal_); bitField0_ = (bitField0_ & ~0x00000080); } result.boolVal_ = boolVal_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( shade.protobuf .Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( shade.protobuf .Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( shade.protobuf .Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( shade.protobuf .Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( shade.protobuf .Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(shade.protobuf .Message other) { if (other instanceof com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto) { return mergeFrom((com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto other) { if (other == com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto.getDefaultInstance()) return this; if (other.dtype_ != 0) { setDtypeValue(other.getDtypeValue()); } if (other.hasArrayShape()) { mergeArrayShape(other.getArrayShape()); } if (!other.floatVal_.isEmpty()) { if (floatVal_.isEmpty()) { floatVal_ = other.floatVal_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureFloatValIsMutable(); floatVal_.addAll(other.floatVal_); } onChanged(); } if (!other.doubleVal_.isEmpty()) { if (doubleVal_.isEmpty()) { doubleVal_ = other.doubleVal_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureDoubleValIsMutable(); doubleVal_.addAll(other.doubleVal_); } onChanged(); } if (!other.intVal_.isEmpty()) { if (intVal_.isEmpty()) { intVal_ = other.intVal_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureIntValIsMutable(); intVal_.addAll(other.intVal_); } onChanged(); } if (!other.stringVal_.isEmpty()) { if (stringVal_.isEmpty()) { stringVal_ = other.stringVal_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureStringValIsMutable(); stringVal_.addAll(other.stringVal_); } onChanged(); } if (!other.int64Val_.isEmpty()) { if (int64Val_.isEmpty()) { int64Val_ = other.int64Val_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureInt64ValIsMutable(); int64Val_.addAll(other.int64Val_); } onChanged(); } if (!other.boolVal_.isEmpty()) { if (boolVal_.isEmpty()) { boolVal_ = other.boolVal_; bitField0_ = (bitField0_ & ~0x00000080); } else { ensureBoolValIsMutable(); boolVal_.addAll(other.boolVal_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( shade.protobuf .CodedInputStream input, shade.protobuf .ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (shade.protobuf .InvalidProtocolBufferException e) { parsedMessage = (com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int dtype_ = 0; /** *
       * Data Type.
       * 
* * .ArrayDataType dtype = 1; */ public int getDtypeValue() { return dtype_; } /** *
       * Data Type.
       * 
* * .ArrayDataType dtype = 1; */ public Builder setDtypeValue(int value) { dtype_ = value; onChanged(); return this; } /** *
       * Data Type.
       * 
* * .ArrayDataType dtype = 1; */ public com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayDataType getDtype() { com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayDataType result = com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayDataType.valueOf(dtype_); return result == null ? com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayDataType.UNRECOGNIZED : result; } /** *
       * Data Type.
       * 
* * .ArrayDataType dtype = 1; */ public Builder setDtype(com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayDataType value) { if (value == null) { throw new NullPointerException(); } dtype_ = value.getNumber(); onChanged(); return this; } /** *
       * Data Type.
       * 
* * .ArrayDataType dtype = 1; */ public Builder clearDtype() { dtype_ = 0; onChanged(); return this; } private com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape arrayShape_ = null; private shade.protobuf .SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape, com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape.Builder, com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShapeOrBuilder> arrayShapeBuilder_; /** *
       * Shape of the array.
       * 
* * .ArrayShape array_shape = 2; */ public boolean hasArrayShape() { return arrayShapeBuilder_ != null || arrayShape_ != null; } /** *
       * Shape of the array.
       * 
* * .ArrayShape array_shape = 2; */ public com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape getArrayShape() { if (arrayShapeBuilder_ == null) { return arrayShape_ == null ? com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape.getDefaultInstance() : arrayShape_; } else { return arrayShapeBuilder_.getMessage(); } } /** *
       * Shape of the array.
       * 
* * .ArrayShape array_shape = 2; */ public Builder setArrayShape(com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape value) { if (arrayShapeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } arrayShape_ = value; onChanged(); } else { arrayShapeBuilder_.setMessage(value); } return this; } /** *
       * Shape of the array.
       * 
* * .ArrayShape array_shape = 2; */ public Builder setArrayShape( com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape.Builder builderForValue) { if (arrayShapeBuilder_ == null) { arrayShape_ = builderForValue.build(); onChanged(); } else { arrayShapeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Shape of the array.
       * 
* * .ArrayShape array_shape = 2; */ public Builder mergeArrayShape(com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape value) { if (arrayShapeBuilder_ == null) { if (arrayShape_ != null) { arrayShape_ = com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape.newBuilder(arrayShape_).mergeFrom(value).buildPartial(); } else { arrayShape_ = value; } onChanged(); } else { arrayShapeBuilder_.mergeFrom(value); } return this; } /** *
       * Shape of the array.
       * 
* * .ArrayShape array_shape = 2; */ public Builder clearArrayShape() { if (arrayShapeBuilder_ == null) { arrayShape_ = null; onChanged(); } else { arrayShape_ = null; arrayShapeBuilder_ = null; } return this; } /** *
       * Shape of the array.
       * 
* * .ArrayShape array_shape = 2; */ public com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape.Builder getArrayShapeBuilder() { onChanged(); return getArrayShapeFieldBuilder().getBuilder(); } /** *
       * Shape of the array.
       * 
* * .ArrayShape array_shape = 2; */ public com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShapeOrBuilder getArrayShapeOrBuilder() { if (arrayShapeBuilder_ != null) { return arrayShapeBuilder_.getMessageOrBuilder(); } else { return arrayShape_ == null ? com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape.getDefaultInstance() : arrayShape_; } } /** *
       * Shape of the array.
       * 
* * .ArrayShape array_shape = 2; */ private shade.protobuf .SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape, com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape.Builder, com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShapeOrBuilder> getArrayShapeFieldBuilder() { if (arrayShapeBuilder_ == null) { arrayShapeBuilder_ = new shade.protobuf .SingleFieldBuilderV3< com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape, com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShape.Builder, com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayShapeOrBuilder>( getArrayShape(), getParentForChildren(), isClean()); arrayShape_ = null; } return arrayShapeBuilder_; } private java.util.List floatVal_ = java.util.Collections.emptyList(); private void ensureFloatValIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { floatVal_ = new java.util.ArrayList(floatVal_); bitField0_ |= 0x00000004; } } /** *
       * DT_FLOAT.
       * 
* * repeated float float_val = 3 [packed = true]; */ public java.util.List getFloatValList() { return java.util.Collections.unmodifiableList(floatVal_); } /** *
       * DT_FLOAT.
       * 
* * repeated float float_val = 3 [packed = true]; */ public int getFloatValCount() { return floatVal_.size(); } /** *
       * DT_FLOAT.
       * 
* * repeated float float_val = 3 [packed = true]; */ public float getFloatVal(int index) { return floatVal_.get(index); } /** *
       * DT_FLOAT.
       * 
* * repeated float float_val = 3 [packed = true]; */ public Builder setFloatVal( int index, float value) { ensureFloatValIsMutable(); floatVal_.set(index, value); onChanged(); return this; } /** *
       * DT_FLOAT.
       * 
* * repeated float float_val = 3 [packed = true]; */ public Builder addFloatVal(float value) { ensureFloatValIsMutable(); floatVal_.add(value); onChanged(); return this; } /** *
       * DT_FLOAT.
       * 
* * repeated float float_val = 3 [packed = true]; */ public Builder addAllFloatVal( java.lang.Iterable values) { ensureFloatValIsMutable(); shade.protobuf .AbstractMessageLite.Builder.addAll( values, floatVal_); onChanged(); return this; } /** *
       * DT_FLOAT.
       * 
* * repeated float float_val = 3 [packed = true]; */ public Builder clearFloatVal() { floatVal_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } private java.util.List doubleVal_ = java.util.Collections.emptyList(); private void ensureDoubleValIsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { doubleVal_ = new java.util.ArrayList(doubleVal_); bitField0_ |= 0x00000008; } } /** *
       * DT_DOUBLE.
       * 
* * repeated double double_val = 4 [packed = true]; */ public java.util.List getDoubleValList() { return java.util.Collections.unmodifiableList(doubleVal_); } /** *
       * DT_DOUBLE.
       * 
* * repeated double double_val = 4 [packed = true]; */ public int getDoubleValCount() { return doubleVal_.size(); } /** *
       * DT_DOUBLE.
       * 
* * repeated double double_val = 4 [packed = true]; */ public double getDoubleVal(int index) { return doubleVal_.get(index); } /** *
       * DT_DOUBLE.
       * 
* * repeated double double_val = 4 [packed = true]; */ public Builder setDoubleVal( int index, double value) { ensureDoubleValIsMutable(); doubleVal_.set(index, value); onChanged(); return this; } /** *
       * DT_DOUBLE.
       * 
* * repeated double double_val = 4 [packed = true]; */ public Builder addDoubleVal(double value) { ensureDoubleValIsMutable(); doubleVal_.add(value); onChanged(); return this; } /** *
       * DT_DOUBLE.
       * 
* * repeated double double_val = 4 [packed = true]; */ public Builder addAllDoubleVal( java.lang.Iterable values) { ensureDoubleValIsMutable(); shade.protobuf .AbstractMessageLite.Builder.addAll( values, doubleVal_); onChanged(); return this; } /** *
       * DT_DOUBLE.
       * 
* * repeated double double_val = 4 [packed = true]; */ public Builder clearDoubleVal() { doubleVal_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } private java.util.List intVal_ = java.util.Collections.emptyList(); private void ensureIntValIsMutable() { if (!((bitField0_ & 0x00000010) == 0x00000010)) { intVal_ = new java.util.ArrayList(intVal_); bitField0_ |= 0x00000010; } } /** *
       * DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
       * 
* * repeated int32 int_val = 5 [packed = true]; */ public java.util.List getIntValList() { return java.util.Collections.unmodifiableList(intVal_); } /** *
       * DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
       * 
* * repeated int32 int_val = 5 [packed = true]; */ public int getIntValCount() { return intVal_.size(); } /** *
       * DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
       * 
* * repeated int32 int_val = 5 [packed = true]; */ public int getIntVal(int index) { return intVal_.get(index); } /** *
       * DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
       * 
* * repeated int32 int_val = 5 [packed = true]; */ public Builder setIntVal( int index, int value) { ensureIntValIsMutable(); intVal_.set(index, value); onChanged(); return this; } /** *
       * DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
       * 
* * repeated int32 int_val = 5 [packed = true]; */ public Builder addIntVal(int value) { ensureIntValIsMutable(); intVal_.add(value); onChanged(); return this; } /** *
       * DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
       * 
* * repeated int32 int_val = 5 [packed = true]; */ public Builder addAllIntVal( java.lang.Iterable values) { ensureIntValIsMutable(); shade.protobuf .AbstractMessageLite.Builder.addAll( values, intVal_); onChanged(); return this; } /** *
       * DT_INT32, DT_INT16, DT_INT8, DT_UINT8.
       * 
* * repeated int32 int_val = 5 [packed = true]; */ public Builder clearIntVal() { intVal_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } private java.util.List stringVal_ = java.util.Collections.emptyList(); private void ensureStringValIsMutable() { if (!((bitField0_ & 0x00000020) == 0x00000020)) { stringVal_ = new java.util.ArrayList(stringVal_); bitField0_ |= 0x00000020; } } /** *
       * DT_STRING.
       * 
* * repeated bytes string_val = 6; */ public java.util.List getStringValList() { return java.util.Collections.unmodifiableList(stringVal_); } /** *
       * DT_STRING.
       * 
* * repeated bytes string_val = 6; */ public int getStringValCount() { return stringVal_.size(); } /** *
       * DT_STRING.
       * 
* * repeated bytes string_val = 6; */ public shade.protobuf .ByteString getStringVal(int index) { return stringVal_.get(index); } /** *
       * DT_STRING.
       * 
* * repeated bytes string_val = 6; */ public Builder setStringVal( int index, shade.protobuf .ByteString value) { if (value == null) { throw new NullPointerException(); } ensureStringValIsMutable(); stringVal_.set(index, value); onChanged(); return this; } /** *
       * DT_STRING.
       * 
* * repeated bytes string_val = 6; */ public Builder addStringVal(shade.protobuf .ByteString value) { if (value == null) { throw new NullPointerException(); } ensureStringValIsMutable(); stringVal_.add(value); onChanged(); return this; } /** *
       * DT_STRING.
       * 
* * repeated bytes string_val = 6; */ public Builder addAllStringVal( java.lang.Iterable values) { ensureStringValIsMutable(); shade.protobuf .AbstractMessageLite.Builder.addAll( values, stringVal_); onChanged(); return this; } /** *
       * DT_STRING.
       * 
* * repeated bytes string_val = 6; */ public Builder clearStringVal() { stringVal_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } private java.util.List int64Val_ = java.util.Collections.emptyList(); private void ensureInt64ValIsMutable() { if (!((bitField0_ & 0x00000040) == 0x00000040)) { int64Val_ = new java.util.ArrayList(int64Val_); bitField0_ |= 0x00000040; } } /** *
       * DT_INT64.
       * 
* * repeated int64 int64_val = 7 [packed = true]; */ public java.util.List getInt64ValList() { return java.util.Collections.unmodifiableList(int64Val_); } /** *
       * DT_INT64.
       * 
* * repeated int64 int64_val = 7 [packed = true]; */ public int getInt64ValCount() { return int64Val_.size(); } /** *
       * DT_INT64.
       * 
* * repeated int64 int64_val = 7 [packed = true]; */ public long getInt64Val(int index) { return int64Val_.get(index); } /** *
       * DT_INT64.
       * 
* * repeated int64 int64_val = 7 [packed = true]; */ public Builder setInt64Val( int index, long value) { ensureInt64ValIsMutable(); int64Val_.set(index, value); onChanged(); return this; } /** *
       * DT_INT64.
       * 
* * repeated int64 int64_val = 7 [packed = true]; */ public Builder addInt64Val(long value) { ensureInt64ValIsMutable(); int64Val_.add(value); onChanged(); return this; } /** *
       * DT_INT64.
       * 
* * repeated int64 int64_val = 7 [packed = true]; */ public Builder addAllInt64Val( java.lang.Iterable values) { ensureInt64ValIsMutable(); shade.protobuf .AbstractMessageLite.Builder.addAll( values, int64Val_); onChanged(); return this; } /** *
       * DT_INT64.
       * 
* * repeated int64 int64_val = 7 [packed = true]; */ public Builder clearInt64Val() { int64Val_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } private java.util.List boolVal_ = java.util.Collections.emptyList(); private void ensureBoolValIsMutable() { if (!((bitField0_ & 0x00000080) == 0x00000080)) { boolVal_ = new java.util.ArrayList(boolVal_); bitField0_ |= 0x00000080; } } /** *
       * DT_BOOL.
       * 
* * repeated bool bool_val = 8 [packed = true]; */ public java.util.List getBoolValList() { return java.util.Collections.unmodifiableList(boolVal_); } /** *
       * DT_BOOL.
       * 
* * repeated bool bool_val = 8 [packed = true]; */ public int getBoolValCount() { return boolVal_.size(); } /** *
       * DT_BOOL.
       * 
* * repeated bool bool_val = 8 [packed = true]; */ public boolean getBoolVal(int index) { return boolVal_.get(index); } /** *
       * DT_BOOL.
       * 
* * repeated bool bool_val = 8 [packed = true]; */ public Builder setBoolVal( int index, boolean value) { ensureBoolValIsMutable(); boolVal_.set(index, value); onChanged(); return this; } /** *
       * DT_BOOL.
       * 
* * repeated bool bool_val = 8 [packed = true]; */ public Builder addBoolVal(boolean value) { ensureBoolValIsMutable(); boolVal_.add(value); onChanged(); return this; } /** *
       * DT_BOOL.
       * 
* * repeated bool bool_val = 8 [packed = true]; */ public Builder addAllBoolVal( java.lang.Iterable values) { ensureBoolValIsMutable(); shade.protobuf .AbstractMessageLite.Builder.addAll( values, boolVal_); onChanged(); return this; } /** *
       * DT_BOOL.
       * 
* * repeated bool bool_val = 8 [packed = true]; */ public Builder clearBoolVal() { boolVal_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); return this; } public final Builder setUnknownFields( final shade.protobuf .UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final shade.protobuf .UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:ArrayProto) } // @@protoc_insertion_point(class_scope:ArrayProto) private static final com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto(); } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto getDefaultInstance() { return DEFAULT_INSTANCE; } private static final shade.protobuf .Parser PARSER = new shade.protobuf .AbstractParser() { public ArrayProto parsePartialFrom( shade.protobuf .CodedInputStream input, shade.protobuf .ExtensionRegistryLite extensionRegistry) throws shade.protobuf .InvalidProtocolBufferException { return new ArrayProto(input, extensionRegistry); } }; public static shade.protobuf .Parser parser() { return PARSER; } @java.lang.Override public shade.protobuf .Parser getParserForType() { return PARSER; } public com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PredictRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:PredictRequest) shade.protobuf .MessageOrBuilder { /** *
     * A named signature to evaluate. If unspecified, the default signature
     * will be used
     * 
* * string signature_name = 1; */ java.lang.String getSignatureName(); /** *
     * A named signature to evaluate. If unspecified, the default signature
     * will be used
     * 
* * string signature_name = 1; */ shade.protobuf .ByteString getSignatureNameBytes(); /** *
     * Input tensors.
     * Names of input tensor are alias names. The mapping from aliases to real
     * input tensor names is expected to be stored as named generic signature
     * under the key "inputs" in the model export.
     * Each alias listed in a generic signature named "inputs" should be provided
     * exactly once in order to run the prediction.
     * 
* * map<string, .ArrayProto> inputs = 2; */ int getInputsCount(); /** *
     * Input tensors.
     * Names of input tensor are alias names. The mapping from aliases to real
     * input tensor names is expected to be stored as named generic signature
     * under the key "inputs" in the model export.
     * Each alias listed in a generic signature named "inputs" should be provided
     * exactly once in order to run the prediction.
     * 
* * map<string, .ArrayProto> inputs = 2; */ boolean containsInputs( java.lang.String key); /** * Use {@link #getInputsMap()} instead. */ @java.lang.Deprecated java.util.Map getInputs(); /** *
     * Input tensors.
     * Names of input tensor are alias names. The mapping from aliases to real
     * input tensor names is expected to be stored as named generic signature
     * under the key "inputs" in the model export.
     * Each alias listed in a generic signature named "inputs" should be provided
     * exactly once in order to run the prediction.
     * 
* * map<string, .ArrayProto> inputs = 2; */ java.util.Map getInputsMap(); /** *
     * Input tensors.
     * Names of input tensor are alias names. The mapping from aliases to real
     * input tensor names is expected to be stored as named generic signature
     * under the key "inputs" in the model export.
     * Each alias listed in a generic signature named "inputs" should be provided
     * exactly once in order to run the prediction.
     * 
* * map<string, .ArrayProto> inputs = 2; */ com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto getInputsOrDefault( java.lang.String key, com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto defaultValue); /** *
     * Input tensors.
     * Names of input tensor are alias names. The mapping from aliases to real
     * input tensor names is expected to be stored as named generic signature
     * under the key "inputs" in the model export.
     * Each alias listed in a generic signature named "inputs" should be provided
     * exactly once in order to run the prediction.
     * 
* * map<string, .ArrayProto> inputs = 2; */ com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto getInputsOrThrow( java.lang.String key); /** *
     * Output filter.
     * Names specified are alias names. The mapping from aliases to real output
     * tensor names is expected to be stored as named generic signature under
     * the key "outputs" in the model export.
     * Only tensors specified here will be run/fetched and returned, with the
     * exception that when none is specified, all tensors specified in the
     * named signature will be run/fetched and returned.
     * 
* * repeated string output_filter = 3; */ java.util.List getOutputFilterList(); /** *
     * Output filter.
     * Names specified are alias names. The mapping from aliases to real output
     * tensor names is expected to be stored as named generic signature under
     * the key "outputs" in the model export.
     * Only tensors specified here will be run/fetched and returned, with the
     * exception that when none is specified, all tensors specified in the
     * named signature will be run/fetched and returned.
     * 
* * repeated string output_filter = 3; */ int getOutputFilterCount(); /** *
     * Output filter.
     * Names specified are alias names. The mapping from aliases to real output
     * tensor names is expected to be stored as named generic signature under
     * the key "outputs" in the model export.
     * Only tensors specified here will be run/fetched and returned, with the
     * exception that when none is specified, all tensors specified in the
     * named signature will be run/fetched and returned.
     * 
* * repeated string output_filter = 3; */ java.lang.String getOutputFilter(int index); /** *
     * Output filter.
     * Names specified are alias names. The mapping from aliases to real output
     * tensor names is expected to be stored as named generic signature under
     * the key "outputs" in the model export.
     * Only tensors specified here will be run/fetched and returned, with the
     * exception that when none is specified, all tensors specified in the
     * named signature will be run/fetched and returned.
     * 
* * repeated string output_filter = 3; */ shade.protobuf .ByteString getOutputFilterBytes(int index); } /** *
   * PredictRequest specifies which TensorFlow model to run, as well as
   * how inputs are mapped to tensors and how outputs are filtered before
   * returning to user.
   * 
* * Protobuf type {@code PredictRequest} */ public static final class PredictRequest extends shade.protobuf .GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:PredictRequest) PredictRequestOrBuilder { private static final long serialVersionUID = 0L; // Use PredictRequest.newBuilder() to construct. private PredictRequest(shade.protobuf .GeneratedMessageV3.Builder builder) { super(builder); } private PredictRequest() { signatureName_ = ""; outputFilter_ = shade.protobuf .LazyStringArrayList.EMPTY; } @java.lang.Override public final shade.protobuf .UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PredictRequest( shade.protobuf .CodedInputStream input, shade.protobuf .ExtensionRegistryLite extensionRegistry) throws shade.protobuf .InvalidProtocolBufferException { this(); 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; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { java.lang.String s = input.readStringRequireUtf8(); signatureName_ = s; break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { inputs_ = shade.protobuf .MapField.newMapField( InputsDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000002; } shade.protobuf .MapEntry inputs__ = input.readMessage( InputsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); inputs_.getMutableMap().put( inputs__.getKey(), inputs__.getValue()); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { outputFilter_ = new shade.protobuf .LazyStringArrayList(); mutable_bitField0_ |= 0x00000004; } outputFilter_.add(s); 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)) { outputFilter_ = outputFilter_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final shade.protobuf .Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.PredictProtos.internal_static_PredictRequest_descriptor; } @SuppressWarnings({"rawtypes"}) protected shade.protobuf .MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetInputs(); default: throw new RuntimeException( "Invalid map field number: " + number); } } protected shade.protobuf .GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.PredictProtos.internal_static_PredictRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequest.class, com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequest.Builder.class); } private int bitField0_; public static final int SIGNATURE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object signatureName_; /** *
     * A named signature to evaluate. If unspecified, the default signature
     * will be used
     * 
* * string signature_name = 1; */ public java.lang.String getSignatureName() { java.lang.Object ref = signatureName_; 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(); signatureName_ = s; return s; } } /** *
     * A named signature to evaluate. If unspecified, the default signature
     * will be used
     * 
* * string signature_name = 1; */ public shade.protobuf .ByteString getSignatureNameBytes() { java.lang.Object ref = signatureName_; if (ref instanceof java.lang.String) { shade.protobuf .ByteString b = shade.protobuf .ByteString.copyFromUtf8( (java.lang.String) ref); signatureName_ = b; return b; } else { return (shade.protobuf .ByteString) ref; } } public static final int INPUTS_FIELD_NUMBER = 2; private static final class InputsDefaultEntryHolder { static final shade.protobuf .MapEntry< java.lang.String, com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto> defaultEntry = shade.protobuf .MapEntry .newDefaultInstance( com.aliyun.openservices.eas.predict.proto.PredictProtos.internal_static_PredictRequest_InputsEntry_descriptor, shade.protobuf .WireFormat.FieldType.STRING, "", shade.protobuf .WireFormat.FieldType.MESSAGE, com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto.getDefaultInstance()); } private shade.protobuf .MapField< java.lang.String, com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto> inputs_; private shade.protobuf .MapField internalGetInputs() { if (inputs_ == null) { return shade.protobuf .MapField.emptyMapField( InputsDefaultEntryHolder.defaultEntry); } return inputs_; } public int getInputsCount() { return internalGetInputs().getMap().size(); } /** *
     * Input tensors.
     * Names of input tensor are alias names. The mapping from aliases to real
     * input tensor names is expected to be stored as named generic signature
     * under the key "inputs" in the model export.
     * Each alias listed in a generic signature named "inputs" should be provided
     * exactly once in order to run the prediction.
     * 
* * map<string, .ArrayProto> inputs = 2; */ public boolean containsInputs( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetInputs().getMap().containsKey(key); } /** * Use {@link #getInputsMap()} instead. */ @java.lang.Deprecated public java.util.Map getInputs() { return getInputsMap(); } /** *
     * Input tensors.
     * Names of input tensor are alias names. The mapping from aliases to real
     * input tensor names is expected to be stored as named generic signature
     * under the key "inputs" in the model export.
     * Each alias listed in a generic signature named "inputs" should be provided
     * exactly once in order to run the prediction.
     * 
* * map<string, .ArrayProto> inputs = 2; */ public java.util.Map getInputsMap() { return internalGetInputs().getMap(); } /** *
     * Input tensors.
     * Names of input tensor are alias names. The mapping from aliases to real
     * input tensor names is expected to be stored as named generic signature
     * under the key "inputs" in the model export.
     * Each alias listed in a generic signature named "inputs" should be provided
     * exactly once in order to run the prediction.
     * 
* * map<string, .ArrayProto> inputs = 2; */ public com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto getInputsOrDefault( java.lang.String key, com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetInputs().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Input tensors.
     * Names of input tensor are alias names. The mapping from aliases to real
     * input tensor names is expected to be stored as named generic signature
     * under the key "inputs" in the model export.
     * Each alias listed in a generic signature named "inputs" should be provided
     * exactly once in order to run the prediction.
     * 
* * map<string, .ArrayProto> inputs = 2; */ public com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto getInputsOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetInputs().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int OUTPUT_FILTER_FIELD_NUMBER = 3; private shade.protobuf .LazyStringList outputFilter_; /** *
     * Output filter.
     * Names specified are alias names. The mapping from aliases to real output
     * tensor names is expected to be stored as named generic signature under
     * the key "outputs" in the model export.
     * Only tensors specified here will be run/fetched and returned, with the
     * exception that when none is specified, all tensors specified in the
     * named signature will be run/fetched and returned.
     * 
* * repeated string output_filter = 3; */ public shade.protobuf .ProtocolStringList getOutputFilterList() { return outputFilter_; } /** *
     * Output filter.
     * Names specified are alias names. The mapping from aliases to real output
     * tensor names is expected to be stored as named generic signature under
     * the key "outputs" in the model export.
     * Only tensors specified here will be run/fetched and returned, with the
     * exception that when none is specified, all tensors specified in the
     * named signature will be run/fetched and returned.
     * 
* * repeated string output_filter = 3; */ public int getOutputFilterCount() { return outputFilter_.size(); } /** *
     * Output filter.
     * Names specified are alias names. The mapping from aliases to real output
     * tensor names is expected to be stored as named generic signature under
     * the key "outputs" in the model export.
     * Only tensors specified here will be run/fetched and returned, with the
     * exception that when none is specified, all tensors specified in the
     * named signature will be run/fetched and returned.
     * 
* * repeated string output_filter = 3; */ public java.lang.String getOutputFilter(int index) { return outputFilter_.get(index); } /** *
     * Output filter.
     * Names specified are alias names. The mapping from aliases to real output
     * tensor names is expected to be stored as named generic signature under
     * the key "outputs" in the model export.
     * Only tensors specified here will be run/fetched and returned, with the
     * exception that when none is specified, all tensors specified in the
     * named signature will be run/fetched and returned.
     * 
* * repeated string output_filter = 3; */ public shade.protobuf .ByteString getOutputFilterBytes(int index) { return outputFilter_.getByteString(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(shade.protobuf .CodedOutputStream output) throws java.io.IOException { if (!getSignatureNameBytes().isEmpty()) { shade.protobuf .GeneratedMessageV3.writeString(output, 1, signatureName_); } shade.protobuf .GeneratedMessageV3 .serializeStringMapTo( output, internalGetInputs(), InputsDefaultEntryHolder.defaultEntry, 2); for (int i = 0; i < outputFilter_.size(); i++) { shade.protobuf .GeneratedMessageV3.writeString(output, 3, outputFilter_.getRaw(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getSignatureNameBytes().isEmpty()) { size += shade.protobuf .GeneratedMessageV3.computeStringSize(1, signatureName_); } for (java.util.Map.Entry entry : internalGetInputs().getMap().entrySet()) { shade.protobuf .MapEntry inputs__ = InputsDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += shade.protobuf .CodedOutputStream .computeMessageSize(2, inputs__); } { int dataSize = 0; for (int i = 0; i < outputFilter_.size(); i++) { dataSize += computeStringSizeNoTag(outputFilter_.getRaw(i)); } size += dataSize; size += 1 * getOutputFilterList().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.PredictProtos.PredictRequest)) { return super.equals(obj); } com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequest other = (com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequest) obj; boolean result = true; result = result && getSignatureName() .equals(other.getSignatureName()); result = result && internalGetInputs().equals( other.internalGetInputs()); result = result && getOutputFilterList() .equals(other.getOutputFilterList()); 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) + SIGNATURE_NAME_FIELD_NUMBER; hash = (53 * hash) + getSignatureName().hashCode(); if (!internalGetInputs().getMap().isEmpty()) { hash = (37 * hash) + INPUTS_FIELD_NUMBER; hash = (53 * hash) + internalGetInputs().hashCode(); } if (getOutputFilterCount() > 0) { hash = (37 * hash) + OUTPUT_FILTER_FIELD_NUMBER; hash = (53 * hash) + getOutputFilterList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequest parseFrom( java.nio.ByteBuffer data) throws shade.protobuf .InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequest 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.PredictProtos.PredictRequest parseFrom( shade.protobuf .ByteString data) throws shade.protobuf .InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequest 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.PredictProtos.PredictRequest parseFrom(byte[] data) throws shade.protobuf .InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequest parseFrom( byte[] data, shade.protobuf .ExtensionRegistryLite extensionRegistry) throws shade.protobuf .InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf .GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequest 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.PredictProtos.PredictRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf .GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequest 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.PredictProtos.PredictRequest parseFrom( shade.protobuf .CodedInputStream input) throws java.io.IOException { return shade.protobuf .GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequest parseFrom( shade.protobuf .CodedInputStream input, shade.protobuf .ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf .GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( shade.protobuf .GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * PredictRequest specifies which TensorFlow model to run, as well as
     * how inputs are mapped to tensors and how outputs are filtered before
     * returning to user.
     * 
* * Protobuf type {@code PredictRequest} */ public static final class Builder extends shade.protobuf .GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:PredictRequest) com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequestOrBuilder { public static final shade.protobuf .Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.PredictProtos.internal_static_PredictRequest_descriptor; } @SuppressWarnings({"rawtypes"}) protected shade.protobuf .MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetInputs(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected shade.protobuf .MapField internalGetMutableMapField( int number) { switch (number) { case 2: return internalGetMutableInputs(); default: throw new RuntimeException( "Invalid map field number: " + number); } } protected shade.protobuf .GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.PredictProtos.internal_static_PredictRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequest.class, com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequest.Builder.class); } // Construct using com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( shade.protobuf .GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (shade.protobuf .GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); signatureName_ = ""; internalGetMutableInputs().clear(); outputFilter_ = shade.protobuf .LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); return this; } public shade.protobuf .Descriptors.Descriptor getDescriptorForType() { return com.aliyun.openservices.eas.predict.proto.PredictProtos.internal_static_PredictRequest_descriptor; } public com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequest getDefaultInstanceForType() { return com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequest.getDefaultInstance(); } public com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequest build() { com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequest buildPartial() { com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequest result = new com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.signatureName_ = signatureName_; result.inputs_ = internalGetInputs(); result.inputs_.makeImmutable(); if (((bitField0_ & 0x00000004) == 0x00000004)) { outputFilter_ = outputFilter_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); } result.outputFilter_ = outputFilter_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( shade.protobuf .Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( shade.protobuf .Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( shade.protobuf .Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( shade.protobuf .Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( shade.protobuf .Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(shade.protobuf .Message other) { if (other instanceof com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequest) { return mergeFrom((com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequest other) { if (other == com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequest.getDefaultInstance()) return this; if (!other.getSignatureName().isEmpty()) { signatureName_ = other.signatureName_; onChanged(); } internalGetMutableInputs().mergeFrom( other.internalGetInputs()); if (!other.outputFilter_.isEmpty()) { if (outputFilter_.isEmpty()) { outputFilter_ = other.outputFilter_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureOutputFilterIsMutable(); outputFilter_.addAll(other.outputFilter_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( shade.protobuf .CodedInputStream input, shade.protobuf .ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (shade.protobuf .InvalidProtocolBufferException e) { parsedMessage = (com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object signatureName_ = ""; /** *
       * A named signature to evaluate. If unspecified, the default signature
       * will be used
       * 
* * string signature_name = 1; */ public java.lang.String getSignatureName() { java.lang.Object ref = signatureName_; if (!(ref instanceof java.lang.String)) { shade.protobuf .ByteString bs = (shade.protobuf .ByteString) ref; java.lang.String s = bs.toStringUtf8(); signatureName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * A named signature to evaluate. If unspecified, the default signature
       * will be used
       * 
* * string signature_name = 1; */ public shade.protobuf .ByteString getSignatureNameBytes() { java.lang.Object ref = signatureName_; if (ref instanceof String) { shade.protobuf .ByteString b = shade.protobuf .ByteString.copyFromUtf8( (java.lang.String) ref); signatureName_ = b; return b; } else { return (shade.protobuf .ByteString) ref; } } /** *
       * A named signature to evaluate. If unspecified, the default signature
       * will be used
       * 
* * string signature_name = 1; */ public Builder setSignatureName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } signatureName_ = value; onChanged(); return this; } /** *
       * A named signature to evaluate. If unspecified, the default signature
       * will be used
       * 
* * string signature_name = 1; */ public Builder clearSignatureName() { signatureName_ = getDefaultInstance().getSignatureName(); onChanged(); return this; } /** *
       * A named signature to evaluate. If unspecified, the default signature
       * will be used
       * 
* * string signature_name = 1; */ public Builder setSignatureNameBytes( shade.protobuf .ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); signatureName_ = value; onChanged(); return this; } private shade.protobuf .MapField< java.lang.String, com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto> inputs_; private shade.protobuf .MapField internalGetInputs() { if (inputs_ == null) { return shade.protobuf .MapField.emptyMapField( InputsDefaultEntryHolder.defaultEntry); } return inputs_; } private shade.protobuf .MapField internalGetMutableInputs() { onChanged();; if (inputs_ == null) { inputs_ = shade.protobuf .MapField.newMapField( InputsDefaultEntryHolder.defaultEntry); } if (!inputs_.isMutable()) { inputs_ = inputs_.copy(); } return inputs_; } public int getInputsCount() { return internalGetInputs().getMap().size(); } /** *
       * Input tensors.
       * Names of input tensor are alias names. The mapping from aliases to real
       * input tensor names is expected to be stored as named generic signature
       * under the key "inputs" in the model export.
       * Each alias listed in a generic signature named "inputs" should be provided
       * exactly once in order to run the prediction.
       * 
* * map<string, .ArrayProto> inputs = 2; */ public boolean containsInputs( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetInputs().getMap().containsKey(key); } /** * Use {@link #getInputsMap()} instead. */ @java.lang.Deprecated public java.util.Map getInputs() { return getInputsMap(); } /** *
       * Input tensors.
       * Names of input tensor are alias names. The mapping from aliases to real
       * input tensor names is expected to be stored as named generic signature
       * under the key "inputs" in the model export.
       * Each alias listed in a generic signature named "inputs" should be provided
       * exactly once in order to run the prediction.
       * 
* * map<string, .ArrayProto> inputs = 2; */ public java.util.Map getInputsMap() { return internalGetInputs().getMap(); } /** *
       * Input tensors.
       * Names of input tensor are alias names. The mapping from aliases to real
       * input tensor names is expected to be stored as named generic signature
       * under the key "inputs" in the model export.
       * Each alias listed in a generic signature named "inputs" should be provided
       * exactly once in order to run the prediction.
       * 
* * map<string, .ArrayProto> inputs = 2; */ public com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto getInputsOrDefault( java.lang.String key, com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetInputs().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Input tensors.
       * Names of input tensor are alias names. The mapping from aliases to real
       * input tensor names is expected to be stored as named generic signature
       * under the key "inputs" in the model export.
       * Each alias listed in a generic signature named "inputs" should be provided
       * exactly once in order to run the prediction.
       * 
* * map<string, .ArrayProto> inputs = 2; */ public com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto getInputsOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetInputs().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearInputs() { internalGetMutableInputs().getMutableMap() .clear(); return this; } /** *
       * Input tensors.
       * Names of input tensor are alias names. The mapping from aliases to real
       * input tensor names is expected to be stored as named generic signature
       * under the key "inputs" in the model export.
       * Each alias listed in a generic signature named "inputs" should be provided
       * exactly once in order to run the prediction.
       * 
* * map<string, .ArrayProto> inputs = 2; */ public Builder removeInputs( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableInputs().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableInputs() { return internalGetMutableInputs().getMutableMap(); } /** *
       * Input tensors.
       * Names of input tensor are alias names. The mapping from aliases to real
       * input tensor names is expected to be stored as named generic signature
       * under the key "inputs" in the model export.
       * Each alias listed in a generic signature named "inputs" should be provided
       * exactly once in order to run the prediction.
       * 
* * map<string, .ArrayProto> inputs = 2; */ public Builder putInputs( java.lang.String key, com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableInputs().getMutableMap() .put(key, value); return this; } /** *
       * Input tensors.
       * Names of input tensor are alias names. The mapping from aliases to real
       * input tensor names is expected to be stored as named generic signature
       * under the key "inputs" in the model export.
       * Each alias listed in a generic signature named "inputs" should be provided
       * exactly once in order to run the prediction.
       * 
* * map<string, .ArrayProto> inputs = 2; */ public Builder putAllInputs( java.util.Map values) { internalGetMutableInputs().getMutableMap() .putAll(values); return this; } private shade.protobuf .LazyStringList outputFilter_ = shade.protobuf .LazyStringArrayList.EMPTY; private void ensureOutputFilterIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { outputFilter_ = new shade.protobuf .LazyStringArrayList(outputFilter_); bitField0_ |= 0x00000004; } } /** *
       * Output filter.
       * Names specified are alias names. The mapping from aliases to real output
       * tensor names is expected to be stored as named generic signature under
       * the key "outputs" in the model export.
       * Only tensors specified here will be run/fetched and returned, with the
       * exception that when none is specified, all tensors specified in the
       * named signature will be run/fetched and returned.
       * 
* * repeated string output_filter = 3; */ public shade.protobuf .ProtocolStringList getOutputFilterList() { return outputFilter_.getUnmodifiableView(); } /** *
       * Output filter.
       * Names specified are alias names. The mapping from aliases to real output
       * tensor names is expected to be stored as named generic signature under
       * the key "outputs" in the model export.
       * Only tensors specified here will be run/fetched and returned, with the
       * exception that when none is specified, all tensors specified in the
       * named signature will be run/fetched and returned.
       * 
* * repeated string output_filter = 3; */ public int getOutputFilterCount() { return outputFilter_.size(); } /** *
       * Output filter.
       * Names specified are alias names. The mapping from aliases to real output
       * tensor names is expected to be stored as named generic signature under
       * the key "outputs" in the model export.
       * Only tensors specified here will be run/fetched and returned, with the
       * exception that when none is specified, all tensors specified in the
       * named signature will be run/fetched and returned.
       * 
* * repeated string output_filter = 3; */ public java.lang.String getOutputFilter(int index) { return outputFilter_.get(index); } /** *
       * Output filter.
       * Names specified are alias names. The mapping from aliases to real output
       * tensor names is expected to be stored as named generic signature under
       * the key "outputs" in the model export.
       * Only tensors specified here will be run/fetched and returned, with the
       * exception that when none is specified, all tensors specified in the
       * named signature will be run/fetched and returned.
       * 
* * repeated string output_filter = 3; */ public shade.protobuf .ByteString getOutputFilterBytes(int index) { return outputFilter_.getByteString(index); } /** *
       * Output filter.
       * Names specified are alias names. The mapping from aliases to real output
       * tensor names is expected to be stored as named generic signature under
       * the key "outputs" in the model export.
       * Only tensors specified here will be run/fetched and returned, with the
       * exception that when none is specified, all tensors specified in the
       * named signature will be run/fetched and returned.
       * 
* * repeated string output_filter = 3; */ public Builder setOutputFilter( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureOutputFilterIsMutable(); outputFilter_.set(index, value); onChanged(); return this; } /** *
       * Output filter.
       * Names specified are alias names. The mapping from aliases to real output
       * tensor names is expected to be stored as named generic signature under
       * the key "outputs" in the model export.
       * Only tensors specified here will be run/fetched and returned, with the
       * exception that when none is specified, all tensors specified in the
       * named signature will be run/fetched and returned.
       * 
* * repeated string output_filter = 3; */ public Builder addOutputFilter( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureOutputFilterIsMutable(); outputFilter_.add(value); onChanged(); return this; } /** *
       * Output filter.
       * Names specified are alias names. The mapping from aliases to real output
       * tensor names is expected to be stored as named generic signature under
       * the key "outputs" in the model export.
       * Only tensors specified here will be run/fetched and returned, with the
       * exception that when none is specified, all tensors specified in the
       * named signature will be run/fetched and returned.
       * 
* * repeated string output_filter = 3; */ public Builder addAllOutputFilter( java.lang.Iterable values) { ensureOutputFilterIsMutable(); shade.protobuf .AbstractMessageLite.Builder.addAll( values, outputFilter_); onChanged(); return this; } /** *
       * Output filter.
       * Names specified are alias names. The mapping from aliases to real output
       * tensor names is expected to be stored as named generic signature under
       * the key "outputs" in the model export.
       * Only tensors specified here will be run/fetched and returned, with the
       * exception that when none is specified, all tensors specified in the
       * named signature will be run/fetched and returned.
       * 
* * repeated string output_filter = 3; */ public Builder clearOutputFilter() { outputFilter_ = shade.protobuf .LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** *
       * Output filter.
       * Names specified are alias names. The mapping from aliases to real output
       * tensor names is expected to be stored as named generic signature under
       * the key "outputs" in the model export.
       * Only tensors specified here will be run/fetched and returned, with the
       * exception that when none is specified, all tensors specified in the
       * named signature will be run/fetched and returned.
       * 
* * repeated string output_filter = 3; */ public Builder addOutputFilterBytes( shade.protobuf .ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureOutputFilterIsMutable(); outputFilter_.add(value); onChanged(); return this; } public final Builder setUnknownFields( final shade.protobuf .UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final shade.protobuf .UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:PredictRequest) } // @@protoc_insertion_point(class_scope:PredictRequest) private static final com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequest(); } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final shade.protobuf .Parser PARSER = new shade.protobuf .AbstractParser() { public PredictRequest parsePartialFrom( shade.protobuf .CodedInputStream input, shade.protobuf .ExtensionRegistryLite extensionRegistry) throws shade.protobuf .InvalidProtocolBufferException { return new PredictRequest(input, extensionRegistry); } }; public static shade.protobuf .Parser parser() { return PARSER; } @java.lang.Override public shade.protobuf .Parser getParserForType() { return PARSER; } public com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PredictResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:PredictResponse) shade.protobuf .MessageOrBuilder { /** *
     * Output tensors.
     * 
* * map<string, .ArrayProto> outputs = 1; */ int getOutputsCount(); /** *
     * Output tensors.
     * 
* * map<string, .ArrayProto> outputs = 1; */ boolean containsOutputs( java.lang.String key); /** * Use {@link #getOutputsMap()} instead. */ @java.lang.Deprecated java.util.Map getOutputs(); /** *
     * Output tensors.
     * 
* * map<string, .ArrayProto> outputs = 1; */ java.util.Map getOutputsMap(); /** *
     * Output tensors.
     * 
* * map<string, .ArrayProto> outputs = 1; */ com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto getOutputsOrDefault( java.lang.String key, com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto defaultValue); /** *
     * Output tensors.
     * 
* * map<string, .ArrayProto> outputs = 1; */ com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto getOutputsOrThrow( java.lang.String key); } /** *
   * Response for PredictRequest on successful run.
   * 
* * Protobuf type {@code PredictResponse} */ public static final class PredictResponse extends shade.protobuf .GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:PredictResponse) PredictResponseOrBuilder { private static final long serialVersionUID = 0L; // Use PredictResponse.newBuilder() to construct. private PredictResponse(shade.protobuf .GeneratedMessageV3.Builder builder) { super(builder); } private PredictResponse() { } @java.lang.Override public final shade.protobuf .UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PredictResponse( shade.protobuf .CodedInputStream input, shade.protobuf .ExtensionRegistryLite extensionRegistry) throws shade.protobuf .InvalidProtocolBufferException { this(); 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; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { outputs_ = shade.protobuf .MapField.newMapField( OutputsDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } shade.protobuf .MapEntry outputs__ = input.readMessage( OutputsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); outputs_.getMutableMap().put( outputs__.getKey(), outputs__.getValue()); 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.PredictProtos.internal_static_PredictResponse_descriptor; } @SuppressWarnings({"rawtypes"}) protected shade.protobuf .MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetOutputs(); default: throw new RuntimeException( "Invalid map field number: " + number); } } protected shade.protobuf .GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.PredictProtos.internal_static_PredictResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponse.class, com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponse.Builder.class); } public static final int OUTPUTS_FIELD_NUMBER = 1; private static final class OutputsDefaultEntryHolder { static final shade.protobuf .MapEntry< java.lang.String, com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto> defaultEntry = shade.protobuf .MapEntry .newDefaultInstance( com.aliyun.openservices.eas.predict.proto.PredictProtos.internal_static_PredictResponse_OutputsEntry_descriptor, shade.protobuf .WireFormat.FieldType.STRING, "", shade.protobuf .WireFormat.FieldType.MESSAGE, com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto.getDefaultInstance()); } private shade.protobuf .MapField< java.lang.String, com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto> outputs_; private shade.protobuf .MapField internalGetOutputs() { if (outputs_ == null) { return shade.protobuf .MapField.emptyMapField( OutputsDefaultEntryHolder.defaultEntry); } return outputs_; } public int getOutputsCount() { return internalGetOutputs().getMap().size(); } /** *
     * Output tensors.
     * 
* * map<string, .ArrayProto> outputs = 1; */ public boolean containsOutputs( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetOutputs().getMap().containsKey(key); } /** * Use {@link #getOutputsMap()} instead. */ @java.lang.Deprecated public java.util.Map getOutputs() { return getOutputsMap(); } /** *
     * Output tensors.
     * 
* * map<string, .ArrayProto> outputs = 1; */ public java.util.Map getOutputsMap() { return internalGetOutputs().getMap(); } /** *
     * Output tensors.
     * 
* * map<string, .ArrayProto> outputs = 1; */ public com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto getOutputsOrDefault( java.lang.String key, com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetOutputs().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Output tensors.
     * 
* * map<string, .ArrayProto> outputs = 1; */ public com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto getOutputsOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetOutputs().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(shade.protobuf .CodedOutputStream output) throws java.io.IOException { shade.protobuf .GeneratedMessageV3 .serializeStringMapTo( output, internalGetOutputs(), OutputsDefaultEntryHolder.defaultEntry, 1); unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (java.util.Map.Entry entry : internalGetOutputs().getMap().entrySet()) { shade.protobuf .MapEntry outputs__ = OutputsDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += shade.protobuf .CodedOutputStream .computeMessageSize(1, outputs__); } 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.PredictProtos.PredictResponse)) { return super.equals(obj); } com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponse other = (com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponse) obj; boolean result = true; result = result && internalGetOutputs().equals( other.internalGetOutputs()); 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 (!internalGetOutputs().getMap().isEmpty()) { hash = (37 * hash) + OUTPUTS_FIELD_NUMBER; hash = (53 * hash) + internalGetOutputs().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponse parseFrom( java.nio.ByteBuffer data) throws shade.protobuf .InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponse 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.PredictProtos.PredictResponse parseFrom( shade.protobuf .ByteString data) throws shade.protobuf .InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponse 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.PredictProtos.PredictResponse parseFrom(byte[] data) throws shade.protobuf .InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponse parseFrom( byte[] data, shade.protobuf .ExtensionRegistryLite extensionRegistry) throws shade.protobuf .InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf .GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponse 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.PredictProtos.PredictResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return shade.protobuf .GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponse 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.PredictProtos.PredictResponse parseFrom( shade.protobuf .CodedInputStream input) throws java.io.IOException { return shade.protobuf .GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponse parseFrom( shade.protobuf .CodedInputStream input, shade.protobuf .ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return shade.protobuf .GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( shade.protobuf .GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * Response for PredictRequest on successful run.
     * 
* * Protobuf type {@code PredictResponse} */ public static final class Builder extends shade.protobuf .GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:PredictResponse) com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponseOrBuilder { public static final shade.protobuf .Descriptors.Descriptor getDescriptor() { return com.aliyun.openservices.eas.predict.proto.PredictProtos.internal_static_PredictResponse_descriptor; } @SuppressWarnings({"rawtypes"}) protected shade.protobuf .MapField internalGetMapField( int number) { switch (number) { case 1: return internalGetOutputs(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected shade.protobuf .MapField internalGetMutableMapField( int number) { switch (number) { case 1: return internalGetMutableOutputs(); default: throw new RuntimeException( "Invalid map field number: " + number); } } protected shade.protobuf .GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.aliyun.openservices.eas.predict.proto.PredictProtos.internal_static_PredictResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponse.class, com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponse.Builder.class); } // Construct using com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( shade.protobuf .GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (shade.protobuf .GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); internalGetMutableOutputs().clear(); return this; } public shade.protobuf .Descriptors.Descriptor getDescriptorForType() { return com.aliyun.openservices.eas.predict.proto.PredictProtos.internal_static_PredictResponse_descriptor; } public com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponse getDefaultInstanceForType() { return com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponse.getDefaultInstance(); } public com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponse build() { com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponse buildPartial() { com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponse result = new com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponse(this); int from_bitField0_ = bitField0_; result.outputs_ = internalGetOutputs(); result.outputs_.makeImmutable(); onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( shade.protobuf .Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( shade.protobuf .Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( shade.protobuf .Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( shade.protobuf .Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( shade.protobuf .Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(shade.protobuf .Message other) { if (other instanceof com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponse) { return mergeFrom((com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponse other) { if (other == com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponse.getDefaultInstance()) return this; internalGetMutableOutputs().mergeFrom( other.internalGetOutputs()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( shade.protobuf .CodedInputStream input, shade.protobuf .ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (shade.protobuf .InvalidProtocolBufferException e) { parsedMessage = (com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponse) 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.PredictProtos.ArrayProto> outputs_; private shade.protobuf .MapField internalGetOutputs() { if (outputs_ == null) { return shade.protobuf .MapField.emptyMapField( OutputsDefaultEntryHolder.defaultEntry); } return outputs_; } private shade.protobuf .MapField internalGetMutableOutputs() { onChanged();; if (outputs_ == null) { outputs_ = shade.protobuf .MapField.newMapField( OutputsDefaultEntryHolder.defaultEntry); } if (!outputs_.isMutable()) { outputs_ = outputs_.copy(); } return outputs_; } public int getOutputsCount() { return internalGetOutputs().getMap().size(); } /** *
       * Output tensors.
       * 
* * map<string, .ArrayProto> outputs = 1; */ public boolean containsOutputs( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } return internalGetOutputs().getMap().containsKey(key); } /** * Use {@link #getOutputsMap()} instead. */ @java.lang.Deprecated public java.util.Map getOutputs() { return getOutputsMap(); } /** *
       * Output tensors.
       * 
* * map<string, .ArrayProto> outputs = 1; */ public java.util.Map getOutputsMap() { return internalGetOutputs().getMap(); } /** *
       * Output tensors.
       * 
* * map<string, .ArrayProto> outputs = 1; */ public com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto getOutputsOrDefault( java.lang.String key, com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetOutputs().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Output tensors.
       * 
* * map<string, .ArrayProto> outputs = 1; */ public com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto getOutputsOrThrow( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } java.util.Map map = internalGetOutputs().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearOutputs() { internalGetMutableOutputs().getMutableMap() .clear(); return this; } /** *
       * Output tensors.
       * 
* * map<string, .ArrayProto> outputs = 1; */ public Builder removeOutputs( java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableOutputs().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableOutputs() { return internalGetMutableOutputs().getMutableMap(); } /** *
       * Output tensors.
       * 
* * map<string, .ArrayProto> outputs = 1; */ public Builder putOutputs( java.lang.String key, com.aliyun.openservices.eas.predict.proto.PredictProtos.ArrayProto value) { if (key == null) { throw new java.lang.NullPointerException(); } if (value == null) { throw new java.lang.NullPointerException(); } internalGetMutableOutputs().getMutableMap() .put(key, value); return this; } /** *
       * Output tensors.
       * 
* * map<string, .ArrayProto> outputs = 1; */ public Builder putAllOutputs( java.util.Map values) { internalGetMutableOutputs().getMutableMap() .putAll(values); return this; } public final Builder setUnknownFields( final shade.protobuf .UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final shade.protobuf .UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:PredictResponse) } // @@protoc_insertion_point(class_scope:PredictResponse) private static final com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponse(); } public static com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final shade.protobuf .Parser PARSER = new shade.protobuf .AbstractParser() { public PredictResponse parsePartialFrom( shade.protobuf .CodedInputStream input, shade.protobuf .ExtensionRegistryLite extensionRegistry) throws shade.protobuf .InvalidProtocolBufferException { return new PredictResponse(input, extensionRegistry); } }; public static shade.protobuf .Parser parser() { return PARSER; } @java.lang.Override public shade.protobuf .Parser getParserForType() { return PARSER; } public com.aliyun.openservices.eas.predict.proto.PredictProtos.PredictResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final shade.protobuf .Descriptors.Descriptor internal_static_ArrayShape_descriptor; private static final shade.protobuf .GeneratedMessageV3.FieldAccessorTable internal_static_ArrayShape_fieldAccessorTable; private static final shade.protobuf .Descriptors.Descriptor internal_static_ArrayProto_descriptor; private static final shade.protobuf .GeneratedMessageV3.FieldAccessorTable internal_static_ArrayProto_fieldAccessorTable; private static final shade.protobuf .Descriptors.Descriptor internal_static_PredictRequest_descriptor; private static final shade.protobuf .GeneratedMessageV3.FieldAccessorTable internal_static_PredictRequest_fieldAccessorTable; private static final shade.protobuf .Descriptors.Descriptor internal_static_PredictRequest_InputsEntry_descriptor; private static final shade.protobuf .GeneratedMessageV3.FieldAccessorTable internal_static_PredictRequest_InputsEntry_fieldAccessorTable; private static final shade.protobuf .Descriptors.Descriptor internal_static_PredictResponse_descriptor; private static final shade.protobuf .GeneratedMessageV3.FieldAccessorTable internal_static_PredictResponse_fieldAccessorTable; private static final shade.protobuf .Descriptors.Descriptor internal_static_PredictResponse_OutputsEntry_descriptor; private static final shade.protobuf .GeneratedMessageV3.FieldAccessorTable internal_static_PredictResponse_OutputsEntry_fieldAccessorTable; public static shade.protobuf .Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static shade.protobuf .Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\020tf_predict.proto\"\035\n\nArrayShape\022\017\n\003dim\030" + "\001 \003(\003B\002\020\001\"\322\001\n\nArrayProto\022\035\n\005dtype\030\001 \001(\0162" + "\016.ArrayDataType\022 \n\013array_shape\030\002 \001(\0132\013.A" + "rrayShape\022\025\n\tfloat_val\030\003 \003(\002B\002\020\001\022\026\n\ndoub" + "le_val\030\004 \003(\001B\002\020\001\022\023\n\007int_val\030\005 \003(\005B\002\020\001\022\022\n" + "\nstring_val\030\006 \003(\014\022\025\n\tint64_val\030\007 \003(\003B\002\020\001" + "\022\024\n\010bool_val\030\010 \003(\010B\002\020\001\"\250\001\n\016PredictReques" + "t\022\026\n\016signature_name\030\001 \001(\t\022+\n\006inputs\030\002 \003(" + "\0132\033.PredictRequest.InputsEntry\022\025\n\routput" + "_filter\030\003 \003(\t\032:\n\013InputsEntry\022\013\n\003key\030\001 \001(", "\t\022\032\n\005value\030\002 \001(\0132\013.ArrayProto:\0028\001\"~\n\017Pre" + "dictResponse\022.\n\007outputs\030\001 \003(\0132\035.PredictR" + "esponse.OutputsEntry\032;\n\014OutputsEntry\022\013\n\003" + "key\030\001 \001(\t\022\032\n\005value\030\002 \001(\0132\013.ArrayProto:\0028" + "\001*\333\002\n\rArrayDataType\022\016\n\nDT_INVALID\020\000\022\014\n\010D" + "T_FLOAT\020\001\022\r\n\tDT_DOUBLE\020\002\022\014\n\010DT_INT32\020\003\022\014" + "\n\010DT_UINT8\020\004\022\014\n\010DT_INT16\020\005\022\013\n\007DT_INT8\020\006\022" + "\r\n\tDT_STRING\020\007\022\020\n\014DT_COMPLEX64\020\010\022\014\n\010DT_I" + "NT64\020\t\022\013\n\007DT_BOOL\020\n\022\014\n\010DT_QINT8\020\013\022\r\n\tDT_" + "QUINT8\020\014\022\r\n\tDT_QINT32\020\r\022\017\n\013DT_BFLOAT16\020\016", "\022\r\n\tDT_QINT16\020\017\022\016\n\nDT_QUINT16\020\020\022\r\n\tDT_UI" + "NT16\020\021\022\021\n\rDT_COMPLEX128\020\022\022\013\n\007DT_HALF\020\023\022\017" + "\n\013DT_RESOURCE\020\024\022\016\n\nDT_VARIANT\020\025B=\n)com.a" + "liyun.openservices.eas.predict.protoB\rPr" + "edictProtos\370\001\001b\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[] { }, assigner); internal_static_ArrayShape_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_ArrayShape_fieldAccessorTable = new shade.protobuf .GeneratedMessageV3.FieldAccessorTable( internal_static_ArrayShape_descriptor, new java.lang.String[] { "Dim", }); internal_static_ArrayProto_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_ArrayProto_fieldAccessorTable = new shade.protobuf .GeneratedMessageV3.FieldAccessorTable( internal_static_ArrayProto_descriptor, new java.lang.String[] { "Dtype", "ArrayShape", "FloatVal", "DoubleVal", "IntVal", "StringVal", "Int64Val", "BoolVal", }); internal_static_PredictRequest_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_PredictRequest_fieldAccessorTable = new shade.protobuf .GeneratedMessageV3.FieldAccessorTable( internal_static_PredictRequest_descriptor, new java.lang.String[] { "SignatureName", "Inputs", "OutputFilter", }); internal_static_PredictRequest_InputsEntry_descriptor = internal_static_PredictRequest_descriptor.getNestedTypes().get(0); internal_static_PredictRequest_InputsEntry_fieldAccessorTable = new shade.protobuf .GeneratedMessageV3.FieldAccessorTable( internal_static_PredictRequest_InputsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_PredictResponse_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_PredictResponse_fieldAccessorTable = new shade.protobuf .GeneratedMessageV3.FieldAccessorTable( internal_static_PredictResponse_descriptor, new java.lang.String[] { "Outputs", }); internal_static_PredictResponse_OutputsEntry_descriptor = internal_static_PredictResponse_descriptor.getNestedTypes().get(0); internal_static_PredictResponse_OutputsEntry_fieldAccessorTable = new shade.protobuf .GeneratedMessageV3.FieldAccessorTable( internal_static_PredictResponse_OutputsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy