clarifai-web-grpc 10.9.0 → 10.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -195,6 +195,7 @@ goog.exportSymbol('proto.clarifai.api.ModuleStar', null, global);
195
195
  goog.exportSymbol('proto.clarifai.api.ModuleVersion', null, global);
196
196
  goog.exportSymbol('proto.clarifai.api.ModuleVersion.ModuleNav', null, global);
197
197
  goog.exportSymbol('proto.clarifai.api.ModuleVersion.ModuleSubNav', null, global);
198
+ goog.exportSymbol('proto.clarifai.api.NDArray', null, global);
198
199
  goog.exportSymbol('proto.clarifai.api.NodeCapacityType', null, global);
199
200
  goog.exportSymbol('proto.clarifai.api.NodeCapacityType.CapacityType', null, global);
200
201
  goog.exportSymbol('proto.clarifai.api.NodeInput', null, global);
@@ -206,6 +207,7 @@ goog.exportSymbol('proto.clarifai.api.OutputConfig', null, global);
206
207
  goog.exportSymbol('proto.clarifai.api.OutputInfo', null, global);
207
208
  goog.exportSymbol('proto.clarifai.api.OverwriteGeo', null, global);
208
209
  goog.exportSymbol('proto.clarifai.api.PCAProjectionComparator', null, global);
210
+ goog.exportSymbol('proto.clarifai.api.Part', null, global);
209
211
  goog.exportSymbol('proto.clarifai.api.Password', null, global);
210
212
  goog.exportSymbol('proto.clarifai.api.PasswordViolations', null, global);
211
213
  goog.exportSymbol('proto.clarifai.api.PatchAction', null, global);
@@ -889,6 +891,27 @@ if (goog.DEBUG && !COMPILED) {
889
891
  */
890
892
  proto.clarifai.api.Data.displayName = 'proto.clarifai.api.Data';
891
893
  }
894
+ /**
895
+ * Generated by JsPbCodeGenerator.
896
+ * @param {Array=} opt_data Optional initial data array, typically from a
897
+ * server response, or constructed directly in Javascript. The array is used
898
+ * in place and becomes part of the constructed object. It is not cloned.
899
+ * If no data is provided, the constructed object will be empty, but still
900
+ * valid.
901
+ * @extends {jspb.Message}
902
+ * @constructor
903
+ */
904
+ proto.clarifai.api.Part = function(opt_data) {
905
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
906
+ };
907
+ goog.inherits(proto.clarifai.api.Part, jspb.Message);
908
+ if (goog.DEBUG && !COMPILED) {
909
+ /**
910
+ * @public
911
+ * @override
912
+ */
913
+ proto.clarifai.api.Part.displayName = 'proto.clarifai.api.Part';
914
+ }
892
915
  /**
893
916
  * Generated by JsPbCodeGenerator.
894
917
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -994,6 +1017,27 @@ if (goog.DEBUG && !COMPILED) {
994
1017
  */
995
1018
  proto.clarifai.api.Frame.displayName = 'proto.clarifai.api.Frame';
996
1019
  }
1020
+ /**
1021
+ * Generated by JsPbCodeGenerator.
1022
+ * @param {Array=} opt_data Optional initial data array, typically from a
1023
+ * server response, or constructed directly in Javascript. The array is used
1024
+ * in place and becomes part of the constructed object. It is not cloned.
1025
+ * If no data is provided, the constructed object will be empty, but still
1026
+ * valid.
1027
+ * @extends {jspb.Message}
1028
+ * @constructor
1029
+ */
1030
+ proto.clarifai.api.NDArray = function(opt_data) {
1031
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.NDArray.repeatedFields_, null);
1032
+ };
1033
+ goog.inherits(proto.clarifai.api.NDArray, jspb.Message);
1034
+ if (goog.DEBUG && !COMPILED) {
1035
+ /**
1036
+ * @public
1037
+ * @override
1038
+ */
1039
+ proto.clarifai.api.NDArray.displayName = 'proto.clarifai.api.NDArray';
1040
+ }
997
1041
  /**
998
1042
  * Generated by JsPbCodeGenerator.
999
1043
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -12926,7 +12970,7 @@ proto.clarifai.api.ConceptLanguage.prototype.setDefinition = function(value) {
12926
12970
  * @private {!Array<number>}
12927
12971
  * @const
12928
12972
  */
12929
- proto.clarifai.api.Data.repeatedFields_ = [3,7,8,9,11,12,15,16,17,18];
12973
+ proto.clarifai.api.Data.repeatedFields_ = [3,7,8,9,11,12,15,16,17,18,19];
12930
12974
 
12931
12975
 
12932
12976
 
@@ -12984,7 +13028,10 @@ proto.clarifai.api.Data.toObject = function(includeInstance, msg) {
12984
13028
  hitsList: jspb.Message.toObjectList(msg.getHitsList(),
12985
13029
  proto.clarifai.api.Hit.toObject, includeInstance),
12986
13030
  heatmapsList: jspb.Message.toObjectList(msg.getHeatmapsList(),
12987
- proto.clarifai.api.Image.toObject, includeInstance)
13031
+ proto.clarifai.api.Image.toObject, includeInstance),
13032
+ partsList: jspb.Message.toObjectList(msg.getPartsList(),
13033
+ proto.clarifai.api.Part.toObject, includeInstance),
13034
+ ndarray: (f = msg.getNdarray()) && proto.clarifai.api.NDArray.toObject(includeInstance, f)
12988
13035
  };
12989
13036
 
12990
13037
  if (includeInstance) {
@@ -13101,6 +13148,16 @@ proto.clarifai.api.Data.deserializeBinaryFromReader = function(msg, reader) {
13101
13148
  reader.readMessage(value,proto.clarifai.api.Image.deserializeBinaryFromReader);
13102
13149
  msg.addHeatmaps(value);
13103
13150
  break;
13151
+ case 19:
13152
+ var value = new proto.clarifai.api.Part;
13153
+ reader.readMessage(value,proto.clarifai.api.Part.deserializeBinaryFromReader);
13154
+ msg.addParts(value);
13155
+ break;
13156
+ case 20:
13157
+ var value = new proto.clarifai.api.NDArray;
13158
+ reader.readMessage(value,proto.clarifai.api.NDArray.deserializeBinaryFromReader);
13159
+ msg.setNdarray(value);
13160
+ break;
13104
13161
  default:
13105
13162
  reader.skipField();
13106
13163
  break;
@@ -13258,6 +13315,22 @@ proto.clarifai.api.Data.serializeBinaryToWriter = function(message, writer) {
13258
13315
  proto.clarifai.api.Image.serializeBinaryToWriter
13259
13316
  );
13260
13317
  }
13318
+ f = message.getPartsList();
13319
+ if (f.length > 0) {
13320
+ writer.writeRepeatedMessage(
13321
+ 19,
13322
+ f,
13323
+ proto.clarifai.api.Part.serializeBinaryToWriter
13324
+ );
13325
+ }
13326
+ f = message.getNdarray();
13327
+ if (f != null) {
13328
+ writer.writeMessage(
13329
+ 20,
13330
+ f,
13331
+ proto.clarifai.api.NDArray.serializeBinaryToWriter
13332
+ );
13333
+ }
13261
13334
  };
13262
13335
 
13263
13336
 
@@ -13863,6 +13936,232 @@ proto.clarifai.api.Data.prototype.clearHeatmapsList = function() {
13863
13936
  };
13864
13937
 
13865
13938
 
13939
+ /**
13940
+ * repeated Part parts = 19;
13941
+ * @return {!Array<!proto.clarifai.api.Part>}
13942
+ */
13943
+ proto.clarifai.api.Data.prototype.getPartsList = function() {
13944
+ return /** @type{!Array<!proto.clarifai.api.Part>} */ (
13945
+ jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.Part, 19));
13946
+ };
13947
+
13948
+
13949
+ /**
13950
+ * @param {!Array<!proto.clarifai.api.Part>} value
13951
+ * @return {!proto.clarifai.api.Data} returns this
13952
+ */
13953
+ proto.clarifai.api.Data.prototype.setPartsList = function(value) {
13954
+ return jspb.Message.setRepeatedWrapperField(this, 19, value);
13955
+ };
13956
+
13957
+
13958
+ /**
13959
+ * @param {!proto.clarifai.api.Part=} opt_value
13960
+ * @param {number=} opt_index
13961
+ * @return {!proto.clarifai.api.Part}
13962
+ */
13963
+ proto.clarifai.api.Data.prototype.addParts = function(opt_value, opt_index) {
13964
+ return jspb.Message.addToRepeatedWrapperField(this, 19, opt_value, proto.clarifai.api.Part, opt_index);
13965
+ };
13966
+
13967
+
13968
+ /**
13969
+ * Clears the list making it empty but non-null.
13970
+ * @return {!proto.clarifai.api.Data} returns this
13971
+ */
13972
+ proto.clarifai.api.Data.prototype.clearPartsList = function() {
13973
+ return this.setPartsList([]);
13974
+ };
13975
+
13976
+
13977
+ /**
13978
+ * optional NDArray ndarray = 20;
13979
+ * @return {?proto.clarifai.api.NDArray}
13980
+ */
13981
+ proto.clarifai.api.Data.prototype.getNdarray = function() {
13982
+ return /** @type{?proto.clarifai.api.NDArray} */ (
13983
+ jspb.Message.getWrapperField(this, proto.clarifai.api.NDArray, 20));
13984
+ };
13985
+
13986
+
13987
+ /**
13988
+ * @param {?proto.clarifai.api.NDArray|undefined} value
13989
+ * @return {!proto.clarifai.api.Data} returns this
13990
+ */
13991
+ proto.clarifai.api.Data.prototype.setNdarray = function(value) {
13992
+ return jspb.Message.setWrapperField(this, 20, value);
13993
+ };
13994
+
13995
+
13996
+ /**
13997
+ * Clears the message field making it undefined.
13998
+ * @return {!proto.clarifai.api.Data} returns this
13999
+ */
14000
+ proto.clarifai.api.Data.prototype.clearNdarray = function() {
14001
+ return this.setNdarray(undefined);
14002
+ };
14003
+
14004
+
14005
+ /**
14006
+ * Returns whether this field is set.
14007
+ * @return {boolean}
14008
+ */
14009
+ proto.clarifai.api.Data.prototype.hasNdarray = function() {
14010
+ return jspb.Message.getField(this, 20) != null;
14011
+ };
14012
+
14013
+
14014
+
14015
+
14016
+
14017
+ if (jspb.Message.GENERATE_TO_OBJECT) {
14018
+ /**
14019
+ * Creates an object representation of this proto.
14020
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
14021
+ * Optional fields that are not set will be set to undefined.
14022
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
14023
+ * For the list of reserved names please see:
14024
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
14025
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
14026
+ * JSPB instance for transitional soy proto support:
14027
+ * http://goto/soy-param-migration
14028
+ * @return {!Object}
14029
+ */
14030
+ proto.clarifai.api.Part.prototype.toObject = function(opt_includeInstance) {
14031
+ return proto.clarifai.api.Part.toObject(opt_includeInstance, this);
14032
+ };
14033
+
14034
+
14035
+ /**
14036
+ * Static version of the {@see toObject} method.
14037
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
14038
+ * the JSPB instance for transitional soy proto support:
14039
+ * http://goto/soy-param-migration
14040
+ * @param {!proto.clarifai.api.Part} msg The msg instance to transform.
14041
+ * @return {!Object}
14042
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14043
+ */
14044
+ proto.clarifai.api.Part.toObject = function(includeInstance, msg) {
14045
+ var f, obj = {
14046
+ data: (f = msg.getData()) && proto.clarifai.api.Data.toObject(includeInstance, f)
14047
+ };
14048
+
14049
+ if (includeInstance) {
14050
+ obj.$jspbMessageInstance = msg;
14051
+ }
14052
+ return obj;
14053
+ };
14054
+ }
14055
+
14056
+
14057
+ /**
14058
+ * Deserializes binary data (in protobuf wire format).
14059
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
14060
+ * @return {!proto.clarifai.api.Part}
14061
+ */
14062
+ proto.clarifai.api.Part.deserializeBinary = function(bytes) {
14063
+ var reader = new jspb.BinaryReader(bytes);
14064
+ var msg = new proto.clarifai.api.Part;
14065
+ return proto.clarifai.api.Part.deserializeBinaryFromReader(msg, reader);
14066
+ };
14067
+
14068
+
14069
+ /**
14070
+ * Deserializes binary data (in protobuf wire format) from the
14071
+ * given reader into the given message object.
14072
+ * @param {!proto.clarifai.api.Part} msg The message object to deserialize into.
14073
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
14074
+ * @return {!proto.clarifai.api.Part}
14075
+ */
14076
+ proto.clarifai.api.Part.deserializeBinaryFromReader = function(msg, reader) {
14077
+ while (reader.nextField()) {
14078
+ if (reader.isEndGroup()) {
14079
+ break;
14080
+ }
14081
+ var field = reader.getFieldNumber();
14082
+ switch (field) {
14083
+ case 1:
14084
+ var value = new proto.clarifai.api.Data;
14085
+ reader.readMessage(value,proto.clarifai.api.Data.deserializeBinaryFromReader);
14086
+ msg.setData(value);
14087
+ break;
14088
+ default:
14089
+ reader.skipField();
14090
+ break;
14091
+ }
14092
+ }
14093
+ return msg;
14094
+ };
14095
+
14096
+
14097
+ /**
14098
+ * Serializes the message to binary data (in protobuf wire format).
14099
+ * @return {!Uint8Array}
14100
+ */
14101
+ proto.clarifai.api.Part.prototype.serializeBinary = function() {
14102
+ var writer = new jspb.BinaryWriter();
14103
+ proto.clarifai.api.Part.serializeBinaryToWriter(this, writer);
14104
+ return writer.getResultBuffer();
14105
+ };
14106
+
14107
+
14108
+ /**
14109
+ * Serializes the given message to binary data (in protobuf wire
14110
+ * format), writing to the given BinaryWriter.
14111
+ * @param {!proto.clarifai.api.Part} message
14112
+ * @param {!jspb.BinaryWriter} writer
14113
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14114
+ */
14115
+ proto.clarifai.api.Part.serializeBinaryToWriter = function(message, writer) {
14116
+ var f = undefined;
14117
+ f = message.getData();
14118
+ if (f != null) {
14119
+ writer.writeMessage(
14120
+ 1,
14121
+ f,
14122
+ proto.clarifai.api.Data.serializeBinaryToWriter
14123
+ );
14124
+ }
14125
+ };
14126
+
14127
+
14128
+ /**
14129
+ * optional Data data = 1;
14130
+ * @return {?proto.clarifai.api.Data}
14131
+ */
14132
+ proto.clarifai.api.Part.prototype.getData = function() {
14133
+ return /** @type{?proto.clarifai.api.Data} */ (
14134
+ jspb.Message.getWrapperField(this, proto.clarifai.api.Data, 1));
14135
+ };
14136
+
14137
+
14138
+ /**
14139
+ * @param {?proto.clarifai.api.Data|undefined} value
14140
+ * @return {!proto.clarifai.api.Part} returns this
14141
+ */
14142
+ proto.clarifai.api.Part.prototype.setData = function(value) {
14143
+ return jspb.Message.setWrapperField(this, 1, value);
14144
+ };
14145
+
14146
+
14147
+ /**
14148
+ * Clears the message field making it undefined.
14149
+ * @return {!proto.clarifai.api.Part} returns this
14150
+ */
14151
+ proto.clarifai.api.Part.prototype.clearData = function() {
14152
+ return this.setData(undefined);
14153
+ };
14154
+
14155
+
14156
+ /**
14157
+ * Returns whether this field is set.
14158
+ * @return {boolean}
14159
+ */
14160
+ proto.clarifai.api.Part.prototype.hasData = function() {
14161
+ return jspb.Message.getField(this, 1) != null;
14162
+ };
14163
+
14164
+
13866
14165
 
13867
14166
 
13868
14167
 
@@ -15234,6 +15533,248 @@ proto.clarifai.api.Frame.prototype.setId = function(value) {
15234
15533
 
15235
15534
 
15236
15535
 
15536
+ /**
15537
+ * List of repeated fields within this message type.
15538
+ * @private {!Array<number>}
15539
+ * @const
15540
+ */
15541
+ proto.clarifai.api.NDArray.repeatedFields_ = [2];
15542
+
15543
+
15544
+
15545
+ if (jspb.Message.GENERATE_TO_OBJECT) {
15546
+ /**
15547
+ * Creates an object representation of this proto.
15548
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
15549
+ * Optional fields that are not set will be set to undefined.
15550
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
15551
+ * For the list of reserved names please see:
15552
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
15553
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
15554
+ * JSPB instance for transitional soy proto support:
15555
+ * http://goto/soy-param-migration
15556
+ * @return {!Object}
15557
+ */
15558
+ proto.clarifai.api.NDArray.prototype.toObject = function(opt_includeInstance) {
15559
+ return proto.clarifai.api.NDArray.toObject(opt_includeInstance, this);
15560
+ };
15561
+
15562
+
15563
+ /**
15564
+ * Static version of the {@see toObject} method.
15565
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
15566
+ * the JSPB instance for transitional soy proto support:
15567
+ * http://goto/soy-param-migration
15568
+ * @param {!proto.clarifai.api.NDArray} msg The msg instance to transform.
15569
+ * @return {!Object}
15570
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15571
+ */
15572
+ proto.clarifai.api.NDArray.toObject = function(includeInstance, msg) {
15573
+ var f, obj = {
15574
+ buffer: msg.getBuffer_asB64(),
15575
+ shapeList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
15576
+ dtype: jspb.Message.getFieldWithDefault(msg, 3, "")
15577
+ };
15578
+
15579
+ if (includeInstance) {
15580
+ obj.$jspbMessageInstance = msg;
15581
+ }
15582
+ return obj;
15583
+ };
15584
+ }
15585
+
15586
+
15587
+ /**
15588
+ * Deserializes binary data (in protobuf wire format).
15589
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
15590
+ * @return {!proto.clarifai.api.NDArray}
15591
+ */
15592
+ proto.clarifai.api.NDArray.deserializeBinary = function(bytes) {
15593
+ var reader = new jspb.BinaryReader(bytes);
15594
+ var msg = new proto.clarifai.api.NDArray;
15595
+ return proto.clarifai.api.NDArray.deserializeBinaryFromReader(msg, reader);
15596
+ };
15597
+
15598
+
15599
+ /**
15600
+ * Deserializes binary data (in protobuf wire format) from the
15601
+ * given reader into the given message object.
15602
+ * @param {!proto.clarifai.api.NDArray} msg The message object to deserialize into.
15603
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
15604
+ * @return {!proto.clarifai.api.NDArray}
15605
+ */
15606
+ proto.clarifai.api.NDArray.deserializeBinaryFromReader = function(msg, reader) {
15607
+ while (reader.nextField()) {
15608
+ if (reader.isEndGroup()) {
15609
+ break;
15610
+ }
15611
+ var field = reader.getFieldNumber();
15612
+ switch (field) {
15613
+ case 1:
15614
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
15615
+ msg.setBuffer(value);
15616
+ break;
15617
+ case 2:
15618
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedUint32() : [reader.readUint32()]);
15619
+ for (var i = 0; i < values.length; i++) {
15620
+ msg.addShape(values[i]);
15621
+ }
15622
+ break;
15623
+ case 3:
15624
+ var value = /** @type {string} */ (reader.readString());
15625
+ msg.setDtype(value);
15626
+ break;
15627
+ default:
15628
+ reader.skipField();
15629
+ break;
15630
+ }
15631
+ }
15632
+ return msg;
15633
+ };
15634
+
15635
+
15636
+ /**
15637
+ * Serializes the message to binary data (in protobuf wire format).
15638
+ * @return {!Uint8Array}
15639
+ */
15640
+ proto.clarifai.api.NDArray.prototype.serializeBinary = function() {
15641
+ var writer = new jspb.BinaryWriter();
15642
+ proto.clarifai.api.NDArray.serializeBinaryToWriter(this, writer);
15643
+ return writer.getResultBuffer();
15644
+ };
15645
+
15646
+
15647
+ /**
15648
+ * Serializes the given message to binary data (in protobuf wire
15649
+ * format), writing to the given BinaryWriter.
15650
+ * @param {!proto.clarifai.api.NDArray} message
15651
+ * @param {!jspb.BinaryWriter} writer
15652
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15653
+ */
15654
+ proto.clarifai.api.NDArray.serializeBinaryToWriter = function(message, writer) {
15655
+ var f = undefined;
15656
+ f = message.getBuffer_asU8();
15657
+ if (f.length > 0) {
15658
+ writer.writeBytes(
15659
+ 1,
15660
+ f
15661
+ );
15662
+ }
15663
+ f = message.getShapeList();
15664
+ if (f.length > 0) {
15665
+ writer.writePackedUint32(
15666
+ 2,
15667
+ f
15668
+ );
15669
+ }
15670
+ f = message.getDtype();
15671
+ if (f.length > 0) {
15672
+ writer.writeString(
15673
+ 3,
15674
+ f
15675
+ );
15676
+ }
15677
+ };
15678
+
15679
+
15680
+ /**
15681
+ * optional bytes buffer = 1;
15682
+ * @return {string}
15683
+ */
15684
+ proto.clarifai.api.NDArray.prototype.getBuffer = function() {
15685
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
15686
+ };
15687
+
15688
+
15689
+ /**
15690
+ * optional bytes buffer = 1;
15691
+ * This is a type-conversion wrapper around `getBuffer()`
15692
+ * @return {string}
15693
+ */
15694
+ proto.clarifai.api.NDArray.prototype.getBuffer_asB64 = function() {
15695
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
15696
+ this.getBuffer()));
15697
+ };
15698
+
15699
+
15700
+ /**
15701
+ * optional bytes buffer = 1;
15702
+ * Note that Uint8Array is not supported on all browsers.
15703
+ * @see http://caniuse.com/Uint8Array
15704
+ * This is a type-conversion wrapper around `getBuffer()`
15705
+ * @return {!Uint8Array}
15706
+ */
15707
+ proto.clarifai.api.NDArray.prototype.getBuffer_asU8 = function() {
15708
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
15709
+ this.getBuffer()));
15710
+ };
15711
+
15712
+
15713
+ /**
15714
+ * @param {!(string|Uint8Array)} value
15715
+ * @return {!proto.clarifai.api.NDArray} returns this
15716
+ */
15717
+ proto.clarifai.api.NDArray.prototype.setBuffer = function(value) {
15718
+ return jspb.Message.setProto3BytesField(this, 1, value);
15719
+ };
15720
+
15721
+
15722
+ /**
15723
+ * repeated uint32 shape = 2;
15724
+ * @return {!Array<number>}
15725
+ */
15726
+ proto.clarifai.api.NDArray.prototype.getShapeList = function() {
15727
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 2));
15728
+ };
15729
+
15730
+
15731
+ /**
15732
+ * @param {!Array<number>} value
15733
+ * @return {!proto.clarifai.api.NDArray} returns this
15734
+ */
15735
+ proto.clarifai.api.NDArray.prototype.setShapeList = function(value) {
15736
+ return jspb.Message.setField(this, 2, value || []);
15737
+ };
15738
+
15739
+
15740
+ /**
15741
+ * @param {number} value
15742
+ * @param {number=} opt_index
15743
+ * @return {!proto.clarifai.api.NDArray} returns this
15744
+ */
15745
+ proto.clarifai.api.NDArray.prototype.addShape = function(value, opt_index) {
15746
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
15747
+ };
15748
+
15749
+
15750
+ /**
15751
+ * Clears the list making it empty but non-null.
15752
+ * @return {!proto.clarifai.api.NDArray} returns this
15753
+ */
15754
+ proto.clarifai.api.NDArray.prototype.clearShapeList = function() {
15755
+ return this.setShapeList([]);
15756
+ };
15757
+
15758
+
15759
+ /**
15760
+ * optional string dtype = 3;
15761
+ * @return {string}
15762
+ */
15763
+ proto.clarifai.api.NDArray.prototype.getDtype = function() {
15764
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
15765
+ };
15766
+
15767
+
15768
+ /**
15769
+ * @param {string} value
15770
+ * @return {!proto.clarifai.api.NDArray} returns this
15771
+ */
15772
+ proto.clarifai.api.NDArray.prototype.setDtype = function(value) {
15773
+ return jspb.Message.setProto3StringField(this, 3, value);
15774
+ };
15775
+
15776
+
15777
+
15237
15778
 
15238
15779
 
15239
15780
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -364,6 +364,7 @@ export enum StatusCode {
364
364
  UPLOAD_CANCELED = 68005,
365
365
  UPLOAD_CONFLICT = 68006,
366
366
  BILLING_INVALID_INFO = 69000,
367
+ LOG_ENTRIES_INVALID_REQUEST = 70000,
367
368
  INTERNAL_SERVER_ISSUE = 98004,
368
369
  INTERNAL_FETCHING_ISSUE = 98005,
369
370
  INTERNAL_DATABASE_ISSUE = 98006,
@@ -387,6 +387,7 @@ proto.clarifai.api.status.StatusCode = {
387
387
  UPLOAD_CANCELED: 68005,
388
388
  UPLOAD_CONFLICT: 68006,
389
389
  BILLING_INVALID_INFO: 69000,
390
+ LOG_ENTRIES_INVALID_REQUEST: 70000,
390
391
  INTERNAL_SERVER_ISSUE: 98004,
391
392
  INTERNAL_FETCHING_ISSUE: 98005,
392
393
  INTERNAL_DATABASE_ISSUE: 98006,
@@ -132,4 +132,5 @@ export enum S {
132
132
  DEPLOYMENTS_DELETE = 146,
133
133
  INSTANCETYPES_GET = 148,
134
134
  AUDITLOGS_GET = 149,
135
+ LOGENTRIES_GET = 151,
135
136
  }
@@ -360,7 +360,8 @@ proto.clarifai.auth.scope.S = {
360
360
  DEPLOYMENTS_ADD: 145,
361
361
  DEPLOYMENTS_DELETE: 146,
362
362
  INSTANCETYPES_GET: 148,
363
- AUDITLOGS_GET: 149
363
+ AUDITLOGS_GET: 149,
364
+ LOGENTRIES_GET: 151
364
365
  };
365
366
 
366
367