@pulumi/pulumi 3.232.0 → 3.233.0-alpha.x17fd404
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.
- package/cmd/dynamic-provider/index.js +6 -0
- package/cmd/dynamic-provider/index.js.map +1 -1
- package/cmd/run-policy-pack/index.js +0 -1
- package/cmd/run-policy-pack/index.js.map +1 -1
- package/cmd/run-policy-pack/run.js +4 -4
- package/cmd/run-policy-pack/run.js.map +1 -1
- package/package.json +1 -1
- package/proto/provider_grpc_pb.d.ts +15 -0
- package/proto/provider_grpc_pb.js +35 -0
- package/proto/provider_pb.d.ts +142 -0
- package/proto/provider_pb.js +1053 -0
- package/provider/server.js +6 -0
- package/provider/server.js.map +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/proto/provider_pb.js
CHANGED
|
@@ -57,6 +57,12 @@ goog.exportSymbol('proto.pulumirpc.GetSchemaRequest', null, global);
|
|
|
57
57
|
goog.exportSymbol('proto.pulumirpc.GetSchemaResponse', null, global);
|
|
58
58
|
goog.exportSymbol('proto.pulumirpc.InvokeRequest', null, global);
|
|
59
59
|
goog.exportSymbol('proto.pulumirpc.InvokeResponse', null, global);
|
|
60
|
+
goog.exportSymbol('proto.pulumirpc.ListRequest', null, global);
|
|
61
|
+
goog.exportSymbol('proto.pulumirpc.ListResponse', null, global);
|
|
62
|
+
goog.exportSymbol('proto.pulumirpc.ListResponse.Computed', null, global);
|
|
63
|
+
goog.exportSymbol('proto.pulumirpc.ListResponse.Continuation', null, global);
|
|
64
|
+
goog.exportSymbol('proto.pulumirpc.ListResponse.ResponseCase', null, global);
|
|
65
|
+
goog.exportSymbol('proto.pulumirpc.ListResponse.Result', null, global);
|
|
60
66
|
goog.exportSymbol('proto.pulumirpc.ParameterizeRequest', null, global);
|
|
61
67
|
goog.exportSymbol('proto.pulumirpc.ParameterizeRequest.ParametersArgs', null, global);
|
|
62
68
|
goog.exportSymbol('proto.pulumirpc.ParameterizeRequest.ParametersCase', null, global);
|
|
@@ -680,6 +686,111 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
680
686
|
*/
|
|
681
687
|
proto.pulumirpc.ReadResponse.displayName = 'proto.pulumirpc.ReadResponse';
|
|
682
688
|
}
|
|
689
|
+
/**
|
|
690
|
+
* Generated by JsPbCodeGenerator.
|
|
691
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
692
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
693
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
694
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
695
|
+
* valid.
|
|
696
|
+
* @extends {jspb.Message}
|
|
697
|
+
* @constructor
|
|
698
|
+
*/
|
|
699
|
+
proto.pulumirpc.ListRequest = function(opt_data) {
|
|
700
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
701
|
+
};
|
|
702
|
+
goog.inherits(proto.pulumirpc.ListRequest, jspb.Message);
|
|
703
|
+
if (goog.DEBUG && !COMPILED) {
|
|
704
|
+
/**
|
|
705
|
+
* @public
|
|
706
|
+
* @override
|
|
707
|
+
*/
|
|
708
|
+
proto.pulumirpc.ListRequest.displayName = 'proto.pulumirpc.ListRequest';
|
|
709
|
+
}
|
|
710
|
+
/**
|
|
711
|
+
* Generated by JsPbCodeGenerator.
|
|
712
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
713
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
714
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
715
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
716
|
+
* valid.
|
|
717
|
+
* @extends {jspb.Message}
|
|
718
|
+
* @constructor
|
|
719
|
+
*/
|
|
720
|
+
proto.pulumirpc.ListResponse = function(opt_data) {
|
|
721
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.pulumirpc.ListResponse.oneofGroups_);
|
|
722
|
+
};
|
|
723
|
+
goog.inherits(proto.pulumirpc.ListResponse, jspb.Message);
|
|
724
|
+
if (goog.DEBUG && !COMPILED) {
|
|
725
|
+
/**
|
|
726
|
+
* @public
|
|
727
|
+
* @override
|
|
728
|
+
*/
|
|
729
|
+
proto.pulumirpc.ListResponse.displayName = 'proto.pulumirpc.ListResponse';
|
|
730
|
+
}
|
|
731
|
+
/**
|
|
732
|
+
* Generated by JsPbCodeGenerator.
|
|
733
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
734
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
735
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
736
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
737
|
+
* valid.
|
|
738
|
+
* @extends {jspb.Message}
|
|
739
|
+
* @constructor
|
|
740
|
+
*/
|
|
741
|
+
proto.pulumirpc.ListResponse.Computed = function(opt_data) {
|
|
742
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
743
|
+
};
|
|
744
|
+
goog.inherits(proto.pulumirpc.ListResponse.Computed, jspb.Message);
|
|
745
|
+
if (goog.DEBUG && !COMPILED) {
|
|
746
|
+
/**
|
|
747
|
+
* @public
|
|
748
|
+
* @override
|
|
749
|
+
*/
|
|
750
|
+
proto.pulumirpc.ListResponse.Computed.displayName = 'proto.pulumirpc.ListResponse.Computed';
|
|
751
|
+
}
|
|
752
|
+
/**
|
|
753
|
+
* Generated by JsPbCodeGenerator.
|
|
754
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
755
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
756
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
757
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
758
|
+
* valid.
|
|
759
|
+
* @extends {jspb.Message}
|
|
760
|
+
* @constructor
|
|
761
|
+
*/
|
|
762
|
+
proto.pulumirpc.ListResponse.Result = function(opt_data) {
|
|
763
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
764
|
+
};
|
|
765
|
+
goog.inherits(proto.pulumirpc.ListResponse.Result, jspb.Message);
|
|
766
|
+
if (goog.DEBUG && !COMPILED) {
|
|
767
|
+
/**
|
|
768
|
+
* @public
|
|
769
|
+
* @override
|
|
770
|
+
*/
|
|
771
|
+
proto.pulumirpc.ListResponse.Result.displayName = 'proto.pulumirpc.ListResponse.Result';
|
|
772
|
+
}
|
|
773
|
+
/**
|
|
774
|
+
* Generated by JsPbCodeGenerator.
|
|
775
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
776
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
777
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
778
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
779
|
+
* valid.
|
|
780
|
+
* @extends {jspb.Message}
|
|
781
|
+
* @constructor
|
|
782
|
+
*/
|
|
783
|
+
proto.pulumirpc.ListResponse.Continuation = function(opt_data) {
|
|
784
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
785
|
+
};
|
|
786
|
+
goog.inherits(proto.pulumirpc.ListResponse.Continuation, jspb.Message);
|
|
787
|
+
if (goog.DEBUG && !COMPILED) {
|
|
788
|
+
/**
|
|
789
|
+
* @public
|
|
790
|
+
* @override
|
|
791
|
+
*/
|
|
792
|
+
proto.pulumirpc.ListResponse.Continuation.displayName = 'proto.pulumirpc.ListResponse.Continuation';
|
|
793
|
+
}
|
|
683
794
|
/**
|
|
684
795
|
* Generated by JsPbCodeGenerator.
|
|
685
796
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -8432,6 +8543,948 @@ proto.pulumirpc.ReadResponse.prototype.setRefreshBeforeUpdate = function(value)
|
|
|
8432
8543
|
|
|
8433
8544
|
|
|
8434
8545
|
|
|
8546
|
+
|
|
8547
|
+
|
|
8548
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8549
|
+
/**
|
|
8550
|
+
* Creates an object representation of this proto.
|
|
8551
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
8552
|
+
* Optional fields that are not set will be set to undefined.
|
|
8553
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
8554
|
+
* For the list of reserved names please see:
|
|
8555
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
8556
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
8557
|
+
* JSPB instance for transitional soy proto support:
|
|
8558
|
+
* http://goto/soy-param-migration
|
|
8559
|
+
* @return {!Object}
|
|
8560
|
+
*/
|
|
8561
|
+
proto.pulumirpc.ListRequest.prototype.toObject = function(opt_includeInstance) {
|
|
8562
|
+
return proto.pulumirpc.ListRequest.toObject(opt_includeInstance, this);
|
|
8563
|
+
};
|
|
8564
|
+
|
|
8565
|
+
|
|
8566
|
+
/**
|
|
8567
|
+
* Static version of the {@see toObject} method.
|
|
8568
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8569
|
+
* the JSPB instance for transitional soy proto support:
|
|
8570
|
+
* http://goto/soy-param-migration
|
|
8571
|
+
* @param {!proto.pulumirpc.ListRequest} msg The msg instance to transform.
|
|
8572
|
+
* @return {!Object}
|
|
8573
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8574
|
+
*/
|
|
8575
|
+
proto.pulumirpc.ListRequest.toObject = function(includeInstance, msg) {
|
|
8576
|
+
var f, obj = {
|
|
8577
|
+
token: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
8578
|
+
query: (f = msg.getQuery()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
8579
|
+
limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
8580
|
+
pageSize: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
8581
|
+
continuationToken: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
8582
|
+
};
|
|
8583
|
+
|
|
8584
|
+
if (includeInstance) {
|
|
8585
|
+
obj.$jspbMessageInstance = msg;
|
|
8586
|
+
}
|
|
8587
|
+
return obj;
|
|
8588
|
+
};
|
|
8589
|
+
}
|
|
8590
|
+
|
|
8591
|
+
|
|
8592
|
+
/**
|
|
8593
|
+
* Deserializes binary data (in protobuf wire format).
|
|
8594
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8595
|
+
* @return {!proto.pulumirpc.ListRequest}
|
|
8596
|
+
*/
|
|
8597
|
+
proto.pulumirpc.ListRequest.deserializeBinary = function(bytes) {
|
|
8598
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
8599
|
+
var msg = new proto.pulumirpc.ListRequest;
|
|
8600
|
+
return proto.pulumirpc.ListRequest.deserializeBinaryFromReader(msg, reader);
|
|
8601
|
+
};
|
|
8602
|
+
|
|
8603
|
+
|
|
8604
|
+
/**
|
|
8605
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
8606
|
+
* given reader into the given message object.
|
|
8607
|
+
* @param {!proto.pulumirpc.ListRequest} msg The message object to deserialize into.
|
|
8608
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8609
|
+
* @return {!proto.pulumirpc.ListRequest}
|
|
8610
|
+
*/
|
|
8611
|
+
proto.pulumirpc.ListRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
8612
|
+
while (reader.nextField()) {
|
|
8613
|
+
if (reader.isEndGroup()) {
|
|
8614
|
+
break;
|
|
8615
|
+
}
|
|
8616
|
+
var field = reader.getFieldNumber();
|
|
8617
|
+
switch (field) {
|
|
8618
|
+
case 1:
|
|
8619
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8620
|
+
msg.setToken(value);
|
|
8621
|
+
break;
|
|
8622
|
+
case 2:
|
|
8623
|
+
var value = new google_protobuf_struct_pb.Struct;
|
|
8624
|
+
reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
|
|
8625
|
+
msg.setQuery(value);
|
|
8626
|
+
break;
|
|
8627
|
+
case 3:
|
|
8628
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
8629
|
+
msg.setLimit(value);
|
|
8630
|
+
break;
|
|
8631
|
+
case 4:
|
|
8632
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
8633
|
+
msg.setPageSize(value);
|
|
8634
|
+
break;
|
|
8635
|
+
case 5:
|
|
8636
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8637
|
+
msg.setContinuationToken(value);
|
|
8638
|
+
break;
|
|
8639
|
+
default:
|
|
8640
|
+
reader.skipField();
|
|
8641
|
+
break;
|
|
8642
|
+
}
|
|
8643
|
+
}
|
|
8644
|
+
return msg;
|
|
8645
|
+
};
|
|
8646
|
+
|
|
8647
|
+
|
|
8648
|
+
/**
|
|
8649
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
8650
|
+
* @return {!Uint8Array}
|
|
8651
|
+
*/
|
|
8652
|
+
proto.pulumirpc.ListRequest.prototype.serializeBinary = function() {
|
|
8653
|
+
var writer = new jspb.BinaryWriter();
|
|
8654
|
+
proto.pulumirpc.ListRequest.serializeBinaryToWriter(this, writer);
|
|
8655
|
+
return writer.getResultBuffer();
|
|
8656
|
+
};
|
|
8657
|
+
|
|
8658
|
+
|
|
8659
|
+
/**
|
|
8660
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
8661
|
+
* format), writing to the given BinaryWriter.
|
|
8662
|
+
* @param {!proto.pulumirpc.ListRequest} message
|
|
8663
|
+
* @param {!jspb.BinaryWriter} writer
|
|
8664
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8665
|
+
*/
|
|
8666
|
+
proto.pulumirpc.ListRequest.serializeBinaryToWriter = function(message, writer) {
|
|
8667
|
+
var f = undefined;
|
|
8668
|
+
f = message.getToken();
|
|
8669
|
+
if (f.length > 0) {
|
|
8670
|
+
writer.writeString(
|
|
8671
|
+
1,
|
|
8672
|
+
f
|
|
8673
|
+
);
|
|
8674
|
+
}
|
|
8675
|
+
f = message.getQuery();
|
|
8676
|
+
if (f != null) {
|
|
8677
|
+
writer.writeMessage(
|
|
8678
|
+
2,
|
|
8679
|
+
f,
|
|
8680
|
+
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
|
|
8681
|
+
);
|
|
8682
|
+
}
|
|
8683
|
+
f = message.getLimit();
|
|
8684
|
+
if (f !== 0) {
|
|
8685
|
+
writer.writeInt64(
|
|
8686
|
+
3,
|
|
8687
|
+
f
|
|
8688
|
+
);
|
|
8689
|
+
}
|
|
8690
|
+
f = message.getPageSize();
|
|
8691
|
+
if (f !== 0) {
|
|
8692
|
+
writer.writeInt64(
|
|
8693
|
+
4,
|
|
8694
|
+
f
|
|
8695
|
+
);
|
|
8696
|
+
}
|
|
8697
|
+
f = message.getContinuationToken();
|
|
8698
|
+
if (f.length > 0) {
|
|
8699
|
+
writer.writeString(
|
|
8700
|
+
5,
|
|
8701
|
+
f
|
|
8702
|
+
);
|
|
8703
|
+
}
|
|
8704
|
+
};
|
|
8705
|
+
|
|
8706
|
+
|
|
8707
|
+
/**
|
|
8708
|
+
* optional string token = 1;
|
|
8709
|
+
* @return {string}
|
|
8710
|
+
*/
|
|
8711
|
+
proto.pulumirpc.ListRequest.prototype.getToken = function() {
|
|
8712
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
8713
|
+
};
|
|
8714
|
+
|
|
8715
|
+
|
|
8716
|
+
/**
|
|
8717
|
+
* @param {string} value
|
|
8718
|
+
* @return {!proto.pulumirpc.ListRequest} returns this
|
|
8719
|
+
*/
|
|
8720
|
+
proto.pulumirpc.ListRequest.prototype.setToken = function(value) {
|
|
8721
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
8722
|
+
};
|
|
8723
|
+
|
|
8724
|
+
|
|
8725
|
+
/**
|
|
8726
|
+
* optional google.protobuf.Struct query = 2;
|
|
8727
|
+
* @return {?proto.google.protobuf.Struct}
|
|
8728
|
+
*/
|
|
8729
|
+
proto.pulumirpc.ListRequest.prototype.getQuery = function() {
|
|
8730
|
+
return /** @type{?proto.google.protobuf.Struct} */ (
|
|
8731
|
+
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 2));
|
|
8732
|
+
};
|
|
8733
|
+
|
|
8734
|
+
|
|
8735
|
+
/**
|
|
8736
|
+
* @param {?proto.google.protobuf.Struct|undefined} value
|
|
8737
|
+
* @return {!proto.pulumirpc.ListRequest} returns this
|
|
8738
|
+
*/
|
|
8739
|
+
proto.pulumirpc.ListRequest.prototype.setQuery = function(value) {
|
|
8740
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
8741
|
+
};
|
|
8742
|
+
|
|
8743
|
+
|
|
8744
|
+
/**
|
|
8745
|
+
* Clears the message field making it undefined.
|
|
8746
|
+
* @return {!proto.pulumirpc.ListRequest} returns this
|
|
8747
|
+
*/
|
|
8748
|
+
proto.pulumirpc.ListRequest.prototype.clearQuery = function() {
|
|
8749
|
+
return this.setQuery(undefined);
|
|
8750
|
+
};
|
|
8751
|
+
|
|
8752
|
+
|
|
8753
|
+
/**
|
|
8754
|
+
* Returns whether this field is set.
|
|
8755
|
+
* @return {boolean}
|
|
8756
|
+
*/
|
|
8757
|
+
proto.pulumirpc.ListRequest.prototype.hasQuery = function() {
|
|
8758
|
+
return jspb.Message.getField(this, 2) != null;
|
|
8759
|
+
};
|
|
8760
|
+
|
|
8761
|
+
|
|
8762
|
+
/**
|
|
8763
|
+
* optional int64 limit = 3;
|
|
8764
|
+
* @return {number}
|
|
8765
|
+
*/
|
|
8766
|
+
proto.pulumirpc.ListRequest.prototype.getLimit = function() {
|
|
8767
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
8768
|
+
};
|
|
8769
|
+
|
|
8770
|
+
|
|
8771
|
+
/**
|
|
8772
|
+
* @param {number} value
|
|
8773
|
+
* @return {!proto.pulumirpc.ListRequest} returns this
|
|
8774
|
+
*/
|
|
8775
|
+
proto.pulumirpc.ListRequest.prototype.setLimit = function(value) {
|
|
8776
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
8777
|
+
};
|
|
8778
|
+
|
|
8779
|
+
|
|
8780
|
+
/**
|
|
8781
|
+
* optional int64 page_size = 4;
|
|
8782
|
+
* @return {number}
|
|
8783
|
+
*/
|
|
8784
|
+
proto.pulumirpc.ListRequest.prototype.getPageSize = function() {
|
|
8785
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
8786
|
+
};
|
|
8787
|
+
|
|
8788
|
+
|
|
8789
|
+
/**
|
|
8790
|
+
* @param {number} value
|
|
8791
|
+
* @return {!proto.pulumirpc.ListRequest} returns this
|
|
8792
|
+
*/
|
|
8793
|
+
proto.pulumirpc.ListRequest.prototype.setPageSize = function(value) {
|
|
8794
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
8795
|
+
};
|
|
8796
|
+
|
|
8797
|
+
|
|
8798
|
+
/**
|
|
8799
|
+
* optional string continuation_token = 5;
|
|
8800
|
+
* @return {string}
|
|
8801
|
+
*/
|
|
8802
|
+
proto.pulumirpc.ListRequest.prototype.getContinuationToken = function() {
|
|
8803
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
8804
|
+
};
|
|
8805
|
+
|
|
8806
|
+
|
|
8807
|
+
/**
|
|
8808
|
+
* @param {string} value
|
|
8809
|
+
* @return {!proto.pulumirpc.ListRequest} returns this
|
|
8810
|
+
*/
|
|
8811
|
+
proto.pulumirpc.ListRequest.prototype.setContinuationToken = function(value) {
|
|
8812
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
8813
|
+
};
|
|
8814
|
+
|
|
8815
|
+
|
|
8816
|
+
|
|
8817
|
+
/**
|
|
8818
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
8819
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
8820
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
8821
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
8822
|
+
* @private {!Array<!Array<number>>}
|
|
8823
|
+
* @const
|
|
8824
|
+
*/
|
|
8825
|
+
proto.pulumirpc.ListResponse.oneofGroups_ = [[1,2,3]];
|
|
8826
|
+
|
|
8827
|
+
/**
|
|
8828
|
+
* @enum {number}
|
|
8829
|
+
*/
|
|
8830
|
+
proto.pulumirpc.ListResponse.ResponseCase = {
|
|
8831
|
+
RESPONSE_NOT_SET: 0,
|
|
8832
|
+
COMPUTED: 1,
|
|
8833
|
+
RESULT: 2,
|
|
8834
|
+
CONTINUATION: 3
|
|
8835
|
+
};
|
|
8836
|
+
|
|
8837
|
+
/**
|
|
8838
|
+
* @return {proto.pulumirpc.ListResponse.ResponseCase}
|
|
8839
|
+
*/
|
|
8840
|
+
proto.pulumirpc.ListResponse.prototype.getResponseCase = function() {
|
|
8841
|
+
return /** @type {proto.pulumirpc.ListResponse.ResponseCase} */(jspb.Message.computeOneofCase(this, proto.pulumirpc.ListResponse.oneofGroups_[0]));
|
|
8842
|
+
};
|
|
8843
|
+
|
|
8844
|
+
|
|
8845
|
+
|
|
8846
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8847
|
+
/**
|
|
8848
|
+
* Creates an object representation of this proto.
|
|
8849
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
8850
|
+
* Optional fields that are not set will be set to undefined.
|
|
8851
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
8852
|
+
* For the list of reserved names please see:
|
|
8853
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
8854
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
8855
|
+
* JSPB instance for transitional soy proto support:
|
|
8856
|
+
* http://goto/soy-param-migration
|
|
8857
|
+
* @return {!Object}
|
|
8858
|
+
*/
|
|
8859
|
+
proto.pulumirpc.ListResponse.prototype.toObject = function(opt_includeInstance) {
|
|
8860
|
+
return proto.pulumirpc.ListResponse.toObject(opt_includeInstance, this);
|
|
8861
|
+
};
|
|
8862
|
+
|
|
8863
|
+
|
|
8864
|
+
/**
|
|
8865
|
+
* Static version of the {@see toObject} method.
|
|
8866
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8867
|
+
* the JSPB instance for transitional soy proto support:
|
|
8868
|
+
* http://goto/soy-param-migration
|
|
8869
|
+
* @param {!proto.pulumirpc.ListResponse} msg The msg instance to transform.
|
|
8870
|
+
* @return {!Object}
|
|
8871
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8872
|
+
*/
|
|
8873
|
+
proto.pulumirpc.ListResponse.toObject = function(includeInstance, msg) {
|
|
8874
|
+
var f, obj = {
|
|
8875
|
+
computed: (f = msg.getComputed()) && proto.pulumirpc.ListResponse.Computed.toObject(includeInstance, f),
|
|
8876
|
+
result: (f = msg.getResult()) && proto.pulumirpc.ListResponse.Result.toObject(includeInstance, f),
|
|
8877
|
+
continuation: (f = msg.getContinuation()) && proto.pulumirpc.ListResponse.Continuation.toObject(includeInstance, f)
|
|
8878
|
+
};
|
|
8879
|
+
|
|
8880
|
+
if (includeInstance) {
|
|
8881
|
+
obj.$jspbMessageInstance = msg;
|
|
8882
|
+
}
|
|
8883
|
+
return obj;
|
|
8884
|
+
};
|
|
8885
|
+
}
|
|
8886
|
+
|
|
8887
|
+
|
|
8888
|
+
/**
|
|
8889
|
+
* Deserializes binary data (in protobuf wire format).
|
|
8890
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8891
|
+
* @return {!proto.pulumirpc.ListResponse}
|
|
8892
|
+
*/
|
|
8893
|
+
proto.pulumirpc.ListResponse.deserializeBinary = function(bytes) {
|
|
8894
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
8895
|
+
var msg = new proto.pulumirpc.ListResponse;
|
|
8896
|
+
return proto.pulumirpc.ListResponse.deserializeBinaryFromReader(msg, reader);
|
|
8897
|
+
};
|
|
8898
|
+
|
|
8899
|
+
|
|
8900
|
+
/**
|
|
8901
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
8902
|
+
* given reader into the given message object.
|
|
8903
|
+
* @param {!proto.pulumirpc.ListResponse} msg The message object to deserialize into.
|
|
8904
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8905
|
+
* @return {!proto.pulumirpc.ListResponse}
|
|
8906
|
+
*/
|
|
8907
|
+
proto.pulumirpc.ListResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
8908
|
+
while (reader.nextField()) {
|
|
8909
|
+
if (reader.isEndGroup()) {
|
|
8910
|
+
break;
|
|
8911
|
+
}
|
|
8912
|
+
var field = reader.getFieldNumber();
|
|
8913
|
+
switch (field) {
|
|
8914
|
+
case 1:
|
|
8915
|
+
var value = new proto.pulumirpc.ListResponse.Computed;
|
|
8916
|
+
reader.readMessage(value,proto.pulumirpc.ListResponse.Computed.deserializeBinaryFromReader);
|
|
8917
|
+
msg.setComputed(value);
|
|
8918
|
+
break;
|
|
8919
|
+
case 2:
|
|
8920
|
+
var value = new proto.pulumirpc.ListResponse.Result;
|
|
8921
|
+
reader.readMessage(value,proto.pulumirpc.ListResponse.Result.deserializeBinaryFromReader);
|
|
8922
|
+
msg.setResult(value);
|
|
8923
|
+
break;
|
|
8924
|
+
case 3:
|
|
8925
|
+
var value = new proto.pulumirpc.ListResponse.Continuation;
|
|
8926
|
+
reader.readMessage(value,proto.pulumirpc.ListResponse.Continuation.deserializeBinaryFromReader);
|
|
8927
|
+
msg.setContinuation(value);
|
|
8928
|
+
break;
|
|
8929
|
+
default:
|
|
8930
|
+
reader.skipField();
|
|
8931
|
+
break;
|
|
8932
|
+
}
|
|
8933
|
+
}
|
|
8934
|
+
return msg;
|
|
8935
|
+
};
|
|
8936
|
+
|
|
8937
|
+
|
|
8938
|
+
/**
|
|
8939
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
8940
|
+
* @return {!Uint8Array}
|
|
8941
|
+
*/
|
|
8942
|
+
proto.pulumirpc.ListResponse.prototype.serializeBinary = function() {
|
|
8943
|
+
var writer = new jspb.BinaryWriter();
|
|
8944
|
+
proto.pulumirpc.ListResponse.serializeBinaryToWriter(this, writer);
|
|
8945
|
+
return writer.getResultBuffer();
|
|
8946
|
+
};
|
|
8947
|
+
|
|
8948
|
+
|
|
8949
|
+
/**
|
|
8950
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
8951
|
+
* format), writing to the given BinaryWriter.
|
|
8952
|
+
* @param {!proto.pulumirpc.ListResponse} message
|
|
8953
|
+
* @param {!jspb.BinaryWriter} writer
|
|
8954
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8955
|
+
*/
|
|
8956
|
+
proto.pulumirpc.ListResponse.serializeBinaryToWriter = function(message, writer) {
|
|
8957
|
+
var f = undefined;
|
|
8958
|
+
f = message.getComputed();
|
|
8959
|
+
if (f != null) {
|
|
8960
|
+
writer.writeMessage(
|
|
8961
|
+
1,
|
|
8962
|
+
f,
|
|
8963
|
+
proto.pulumirpc.ListResponse.Computed.serializeBinaryToWriter
|
|
8964
|
+
);
|
|
8965
|
+
}
|
|
8966
|
+
f = message.getResult();
|
|
8967
|
+
if (f != null) {
|
|
8968
|
+
writer.writeMessage(
|
|
8969
|
+
2,
|
|
8970
|
+
f,
|
|
8971
|
+
proto.pulumirpc.ListResponse.Result.serializeBinaryToWriter
|
|
8972
|
+
);
|
|
8973
|
+
}
|
|
8974
|
+
f = message.getContinuation();
|
|
8975
|
+
if (f != null) {
|
|
8976
|
+
writer.writeMessage(
|
|
8977
|
+
3,
|
|
8978
|
+
f,
|
|
8979
|
+
proto.pulumirpc.ListResponse.Continuation.serializeBinaryToWriter
|
|
8980
|
+
);
|
|
8981
|
+
}
|
|
8982
|
+
};
|
|
8983
|
+
|
|
8984
|
+
|
|
8985
|
+
|
|
8986
|
+
|
|
8987
|
+
|
|
8988
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8989
|
+
/**
|
|
8990
|
+
* Creates an object representation of this proto.
|
|
8991
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
8992
|
+
* Optional fields that are not set will be set to undefined.
|
|
8993
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
8994
|
+
* For the list of reserved names please see:
|
|
8995
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
8996
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
8997
|
+
* JSPB instance for transitional soy proto support:
|
|
8998
|
+
* http://goto/soy-param-migration
|
|
8999
|
+
* @return {!Object}
|
|
9000
|
+
*/
|
|
9001
|
+
proto.pulumirpc.ListResponse.Computed.prototype.toObject = function(opt_includeInstance) {
|
|
9002
|
+
return proto.pulumirpc.ListResponse.Computed.toObject(opt_includeInstance, this);
|
|
9003
|
+
};
|
|
9004
|
+
|
|
9005
|
+
|
|
9006
|
+
/**
|
|
9007
|
+
* Static version of the {@see toObject} method.
|
|
9008
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
9009
|
+
* the JSPB instance for transitional soy proto support:
|
|
9010
|
+
* http://goto/soy-param-migration
|
|
9011
|
+
* @param {!proto.pulumirpc.ListResponse.Computed} msg The msg instance to transform.
|
|
9012
|
+
* @return {!Object}
|
|
9013
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9014
|
+
*/
|
|
9015
|
+
proto.pulumirpc.ListResponse.Computed.toObject = function(includeInstance, msg) {
|
|
9016
|
+
var f, obj = {
|
|
9017
|
+
|
|
9018
|
+
};
|
|
9019
|
+
|
|
9020
|
+
if (includeInstance) {
|
|
9021
|
+
obj.$jspbMessageInstance = msg;
|
|
9022
|
+
}
|
|
9023
|
+
return obj;
|
|
9024
|
+
};
|
|
9025
|
+
}
|
|
9026
|
+
|
|
9027
|
+
|
|
9028
|
+
/**
|
|
9029
|
+
* Deserializes binary data (in protobuf wire format).
|
|
9030
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
9031
|
+
* @return {!proto.pulumirpc.ListResponse.Computed}
|
|
9032
|
+
*/
|
|
9033
|
+
proto.pulumirpc.ListResponse.Computed.deserializeBinary = function(bytes) {
|
|
9034
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
9035
|
+
var msg = new proto.pulumirpc.ListResponse.Computed;
|
|
9036
|
+
return proto.pulumirpc.ListResponse.Computed.deserializeBinaryFromReader(msg, reader);
|
|
9037
|
+
};
|
|
9038
|
+
|
|
9039
|
+
|
|
9040
|
+
/**
|
|
9041
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
9042
|
+
* given reader into the given message object.
|
|
9043
|
+
* @param {!proto.pulumirpc.ListResponse.Computed} msg The message object to deserialize into.
|
|
9044
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
9045
|
+
* @return {!proto.pulumirpc.ListResponse.Computed}
|
|
9046
|
+
*/
|
|
9047
|
+
proto.pulumirpc.ListResponse.Computed.deserializeBinaryFromReader = function(msg, reader) {
|
|
9048
|
+
while (reader.nextField()) {
|
|
9049
|
+
if (reader.isEndGroup()) {
|
|
9050
|
+
break;
|
|
9051
|
+
}
|
|
9052
|
+
var field = reader.getFieldNumber();
|
|
9053
|
+
switch (field) {
|
|
9054
|
+
default:
|
|
9055
|
+
reader.skipField();
|
|
9056
|
+
break;
|
|
9057
|
+
}
|
|
9058
|
+
}
|
|
9059
|
+
return msg;
|
|
9060
|
+
};
|
|
9061
|
+
|
|
9062
|
+
|
|
9063
|
+
/**
|
|
9064
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
9065
|
+
* @return {!Uint8Array}
|
|
9066
|
+
*/
|
|
9067
|
+
proto.pulumirpc.ListResponse.Computed.prototype.serializeBinary = function() {
|
|
9068
|
+
var writer = new jspb.BinaryWriter();
|
|
9069
|
+
proto.pulumirpc.ListResponse.Computed.serializeBinaryToWriter(this, writer);
|
|
9070
|
+
return writer.getResultBuffer();
|
|
9071
|
+
};
|
|
9072
|
+
|
|
9073
|
+
|
|
9074
|
+
/**
|
|
9075
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
9076
|
+
* format), writing to the given BinaryWriter.
|
|
9077
|
+
* @param {!proto.pulumirpc.ListResponse.Computed} message
|
|
9078
|
+
* @param {!jspb.BinaryWriter} writer
|
|
9079
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9080
|
+
*/
|
|
9081
|
+
proto.pulumirpc.ListResponse.Computed.serializeBinaryToWriter = function(message, writer) {
|
|
9082
|
+
var f = undefined;
|
|
9083
|
+
};
|
|
9084
|
+
|
|
9085
|
+
|
|
9086
|
+
|
|
9087
|
+
|
|
9088
|
+
|
|
9089
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
9090
|
+
/**
|
|
9091
|
+
* Creates an object representation of this proto.
|
|
9092
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
9093
|
+
* Optional fields that are not set will be set to undefined.
|
|
9094
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
9095
|
+
* For the list of reserved names please see:
|
|
9096
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
9097
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
9098
|
+
* JSPB instance for transitional soy proto support:
|
|
9099
|
+
* http://goto/soy-param-migration
|
|
9100
|
+
* @return {!Object}
|
|
9101
|
+
*/
|
|
9102
|
+
proto.pulumirpc.ListResponse.Result.prototype.toObject = function(opt_includeInstance) {
|
|
9103
|
+
return proto.pulumirpc.ListResponse.Result.toObject(opt_includeInstance, this);
|
|
9104
|
+
};
|
|
9105
|
+
|
|
9106
|
+
|
|
9107
|
+
/**
|
|
9108
|
+
* Static version of the {@see toObject} method.
|
|
9109
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
9110
|
+
* the JSPB instance for transitional soy proto support:
|
|
9111
|
+
* http://goto/soy-param-migration
|
|
9112
|
+
* @param {!proto.pulumirpc.ListResponse.Result} msg The msg instance to transform.
|
|
9113
|
+
* @return {!Object}
|
|
9114
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9115
|
+
*/
|
|
9116
|
+
proto.pulumirpc.ListResponse.Result.toObject = function(includeInstance, msg) {
|
|
9117
|
+
var f, obj = {
|
|
9118
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
9119
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
9120
|
+
};
|
|
9121
|
+
|
|
9122
|
+
if (includeInstance) {
|
|
9123
|
+
obj.$jspbMessageInstance = msg;
|
|
9124
|
+
}
|
|
9125
|
+
return obj;
|
|
9126
|
+
};
|
|
9127
|
+
}
|
|
9128
|
+
|
|
9129
|
+
|
|
9130
|
+
/**
|
|
9131
|
+
* Deserializes binary data (in protobuf wire format).
|
|
9132
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
9133
|
+
* @return {!proto.pulumirpc.ListResponse.Result}
|
|
9134
|
+
*/
|
|
9135
|
+
proto.pulumirpc.ListResponse.Result.deserializeBinary = function(bytes) {
|
|
9136
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
9137
|
+
var msg = new proto.pulumirpc.ListResponse.Result;
|
|
9138
|
+
return proto.pulumirpc.ListResponse.Result.deserializeBinaryFromReader(msg, reader);
|
|
9139
|
+
};
|
|
9140
|
+
|
|
9141
|
+
|
|
9142
|
+
/**
|
|
9143
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
9144
|
+
* given reader into the given message object.
|
|
9145
|
+
* @param {!proto.pulumirpc.ListResponse.Result} msg The message object to deserialize into.
|
|
9146
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
9147
|
+
* @return {!proto.pulumirpc.ListResponse.Result}
|
|
9148
|
+
*/
|
|
9149
|
+
proto.pulumirpc.ListResponse.Result.deserializeBinaryFromReader = function(msg, reader) {
|
|
9150
|
+
while (reader.nextField()) {
|
|
9151
|
+
if (reader.isEndGroup()) {
|
|
9152
|
+
break;
|
|
9153
|
+
}
|
|
9154
|
+
var field = reader.getFieldNumber();
|
|
9155
|
+
switch (field) {
|
|
9156
|
+
case 1:
|
|
9157
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9158
|
+
msg.setId(value);
|
|
9159
|
+
break;
|
|
9160
|
+
case 2:
|
|
9161
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9162
|
+
msg.setName(value);
|
|
9163
|
+
break;
|
|
9164
|
+
default:
|
|
9165
|
+
reader.skipField();
|
|
9166
|
+
break;
|
|
9167
|
+
}
|
|
9168
|
+
}
|
|
9169
|
+
return msg;
|
|
9170
|
+
};
|
|
9171
|
+
|
|
9172
|
+
|
|
9173
|
+
/**
|
|
9174
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
9175
|
+
* @return {!Uint8Array}
|
|
9176
|
+
*/
|
|
9177
|
+
proto.pulumirpc.ListResponse.Result.prototype.serializeBinary = function() {
|
|
9178
|
+
var writer = new jspb.BinaryWriter();
|
|
9179
|
+
proto.pulumirpc.ListResponse.Result.serializeBinaryToWriter(this, writer);
|
|
9180
|
+
return writer.getResultBuffer();
|
|
9181
|
+
};
|
|
9182
|
+
|
|
9183
|
+
|
|
9184
|
+
/**
|
|
9185
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
9186
|
+
* format), writing to the given BinaryWriter.
|
|
9187
|
+
* @param {!proto.pulumirpc.ListResponse.Result} message
|
|
9188
|
+
* @param {!jspb.BinaryWriter} writer
|
|
9189
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9190
|
+
*/
|
|
9191
|
+
proto.pulumirpc.ListResponse.Result.serializeBinaryToWriter = function(message, writer) {
|
|
9192
|
+
var f = undefined;
|
|
9193
|
+
f = message.getId();
|
|
9194
|
+
if (f.length > 0) {
|
|
9195
|
+
writer.writeString(
|
|
9196
|
+
1,
|
|
9197
|
+
f
|
|
9198
|
+
);
|
|
9199
|
+
}
|
|
9200
|
+
f = message.getName();
|
|
9201
|
+
if (f.length > 0) {
|
|
9202
|
+
writer.writeString(
|
|
9203
|
+
2,
|
|
9204
|
+
f
|
|
9205
|
+
);
|
|
9206
|
+
}
|
|
9207
|
+
};
|
|
9208
|
+
|
|
9209
|
+
|
|
9210
|
+
/**
|
|
9211
|
+
* optional string id = 1;
|
|
9212
|
+
* @return {string}
|
|
9213
|
+
*/
|
|
9214
|
+
proto.pulumirpc.ListResponse.Result.prototype.getId = function() {
|
|
9215
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
9216
|
+
};
|
|
9217
|
+
|
|
9218
|
+
|
|
9219
|
+
/**
|
|
9220
|
+
* @param {string} value
|
|
9221
|
+
* @return {!proto.pulumirpc.ListResponse.Result} returns this
|
|
9222
|
+
*/
|
|
9223
|
+
proto.pulumirpc.ListResponse.Result.prototype.setId = function(value) {
|
|
9224
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
9225
|
+
};
|
|
9226
|
+
|
|
9227
|
+
|
|
9228
|
+
/**
|
|
9229
|
+
* optional string name = 2;
|
|
9230
|
+
* @return {string}
|
|
9231
|
+
*/
|
|
9232
|
+
proto.pulumirpc.ListResponse.Result.prototype.getName = function() {
|
|
9233
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
9234
|
+
};
|
|
9235
|
+
|
|
9236
|
+
|
|
9237
|
+
/**
|
|
9238
|
+
* @param {string} value
|
|
9239
|
+
* @return {!proto.pulumirpc.ListResponse.Result} returns this
|
|
9240
|
+
*/
|
|
9241
|
+
proto.pulumirpc.ListResponse.Result.prototype.setName = function(value) {
|
|
9242
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
9243
|
+
};
|
|
9244
|
+
|
|
9245
|
+
|
|
9246
|
+
|
|
9247
|
+
|
|
9248
|
+
|
|
9249
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
9250
|
+
/**
|
|
9251
|
+
* Creates an object representation of this proto.
|
|
9252
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
9253
|
+
* Optional fields that are not set will be set to undefined.
|
|
9254
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
9255
|
+
* For the list of reserved names please see:
|
|
9256
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
9257
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
9258
|
+
* JSPB instance for transitional soy proto support:
|
|
9259
|
+
* http://goto/soy-param-migration
|
|
9260
|
+
* @return {!Object}
|
|
9261
|
+
*/
|
|
9262
|
+
proto.pulumirpc.ListResponse.Continuation.prototype.toObject = function(opt_includeInstance) {
|
|
9263
|
+
return proto.pulumirpc.ListResponse.Continuation.toObject(opt_includeInstance, this);
|
|
9264
|
+
};
|
|
9265
|
+
|
|
9266
|
+
|
|
9267
|
+
/**
|
|
9268
|
+
* Static version of the {@see toObject} method.
|
|
9269
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
9270
|
+
* the JSPB instance for transitional soy proto support:
|
|
9271
|
+
* http://goto/soy-param-migration
|
|
9272
|
+
* @param {!proto.pulumirpc.ListResponse.Continuation} msg The msg instance to transform.
|
|
9273
|
+
* @return {!Object}
|
|
9274
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9275
|
+
*/
|
|
9276
|
+
proto.pulumirpc.ListResponse.Continuation.toObject = function(includeInstance, msg) {
|
|
9277
|
+
var f, obj = {
|
|
9278
|
+
continuationToken: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
9279
|
+
};
|
|
9280
|
+
|
|
9281
|
+
if (includeInstance) {
|
|
9282
|
+
obj.$jspbMessageInstance = msg;
|
|
9283
|
+
}
|
|
9284
|
+
return obj;
|
|
9285
|
+
};
|
|
9286
|
+
}
|
|
9287
|
+
|
|
9288
|
+
|
|
9289
|
+
/**
|
|
9290
|
+
* Deserializes binary data (in protobuf wire format).
|
|
9291
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
9292
|
+
* @return {!proto.pulumirpc.ListResponse.Continuation}
|
|
9293
|
+
*/
|
|
9294
|
+
proto.pulumirpc.ListResponse.Continuation.deserializeBinary = function(bytes) {
|
|
9295
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
9296
|
+
var msg = new proto.pulumirpc.ListResponse.Continuation;
|
|
9297
|
+
return proto.pulumirpc.ListResponse.Continuation.deserializeBinaryFromReader(msg, reader);
|
|
9298
|
+
};
|
|
9299
|
+
|
|
9300
|
+
|
|
9301
|
+
/**
|
|
9302
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
9303
|
+
* given reader into the given message object.
|
|
9304
|
+
* @param {!proto.pulumirpc.ListResponse.Continuation} msg The message object to deserialize into.
|
|
9305
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
9306
|
+
* @return {!proto.pulumirpc.ListResponse.Continuation}
|
|
9307
|
+
*/
|
|
9308
|
+
proto.pulumirpc.ListResponse.Continuation.deserializeBinaryFromReader = function(msg, reader) {
|
|
9309
|
+
while (reader.nextField()) {
|
|
9310
|
+
if (reader.isEndGroup()) {
|
|
9311
|
+
break;
|
|
9312
|
+
}
|
|
9313
|
+
var field = reader.getFieldNumber();
|
|
9314
|
+
switch (field) {
|
|
9315
|
+
case 1:
|
|
9316
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9317
|
+
msg.setContinuationToken(value);
|
|
9318
|
+
break;
|
|
9319
|
+
default:
|
|
9320
|
+
reader.skipField();
|
|
9321
|
+
break;
|
|
9322
|
+
}
|
|
9323
|
+
}
|
|
9324
|
+
return msg;
|
|
9325
|
+
};
|
|
9326
|
+
|
|
9327
|
+
|
|
9328
|
+
/**
|
|
9329
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
9330
|
+
* @return {!Uint8Array}
|
|
9331
|
+
*/
|
|
9332
|
+
proto.pulumirpc.ListResponse.Continuation.prototype.serializeBinary = function() {
|
|
9333
|
+
var writer = new jspb.BinaryWriter();
|
|
9334
|
+
proto.pulumirpc.ListResponse.Continuation.serializeBinaryToWriter(this, writer);
|
|
9335
|
+
return writer.getResultBuffer();
|
|
9336
|
+
};
|
|
9337
|
+
|
|
9338
|
+
|
|
9339
|
+
/**
|
|
9340
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
9341
|
+
* format), writing to the given BinaryWriter.
|
|
9342
|
+
* @param {!proto.pulumirpc.ListResponse.Continuation} message
|
|
9343
|
+
* @param {!jspb.BinaryWriter} writer
|
|
9344
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9345
|
+
*/
|
|
9346
|
+
proto.pulumirpc.ListResponse.Continuation.serializeBinaryToWriter = function(message, writer) {
|
|
9347
|
+
var f = undefined;
|
|
9348
|
+
f = message.getContinuationToken();
|
|
9349
|
+
if (f.length > 0) {
|
|
9350
|
+
writer.writeString(
|
|
9351
|
+
1,
|
|
9352
|
+
f
|
|
9353
|
+
);
|
|
9354
|
+
}
|
|
9355
|
+
};
|
|
9356
|
+
|
|
9357
|
+
|
|
9358
|
+
/**
|
|
9359
|
+
* optional string continuation_token = 1;
|
|
9360
|
+
* @return {string}
|
|
9361
|
+
*/
|
|
9362
|
+
proto.pulumirpc.ListResponse.Continuation.prototype.getContinuationToken = function() {
|
|
9363
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
9364
|
+
};
|
|
9365
|
+
|
|
9366
|
+
|
|
9367
|
+
/**
|
|
9368
|
+
* @param {string} value
|
|
9369
|
+
* @return {!proto.pulumirpc.ListResponse.Continuation} returns this
|
|
9370
|
+
*/
|
|
9371
|
+
proto.pulumirpc.ListResponse.Continuation.prototype.setContinuationToken = function(value) {
|
|
9372
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
9373
|
+
};
|
|
9374
|
+
|
|
9375
|
+
|
|
9376
|
+
/**
|
|
9377
|
+
* optional Computed computed = 1;
|
|
9378
|
+
* @return {?proto.pulumirpc.ListResponse.Computed}
|
|
9379
|
+
*/
|
|
9380
|
+
proto.pulumirpc.ListResponse.prototype.getComputed = function() {
|
|
9381
|
+
return /** @type{?proto.pulumirpc.ListResponse.Computed} */ (
|
|
9382
|
+
jspb.Message.getWrapperField(this, proto.pulumirpc.ListResponse.Computed, 1));
|
|
9383
|
+
};
|
|
9384
|
+
|
|
9385
|
+
|
|
9386
|
+
/**
|
|
9387
|
+
* @param {?proto.pulumirpc.ListResponse.Computed|undefined} value
|
|
9388
|
+
* @return {!proto.pulumirpc.ListResponse} returns this
|
|
9389
|
+
*/
|
|
9390
|
+
proto.pulumirpc.ListResponse.prototype.setComputed = function(value) {
|
|
9391
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.pulumirpc.ListResponse.oneofGroups_[0], value);
|
|
9392
|
+
};
|
|
9393
|
+
|
|
9394
|
+
|
|
9395
|
+
/**
|
|
9396
|
+
* Clears the message field making it undefined.
|
|
9397
|
+
* @return {!proto.pulumirpc.ListResponse} returns this
|
|
9398
|
+
*/
|
|
9399
|
+
proto.pulumirpc.ListResponse.prototype.clearComputed = function() {
|
|
9400
|
+
return this.setComputed(undefined);
|
|
9401
|
+
};
|
|
9402
|
+
|
|
9403
|
+
|
|
9404
|
+
/**
|
|
9405
|
+
* Returns whether this field is set.
|
|
9406
|
+
* @return {boolean}
|
|
9407
|
+
*/
|
|
9408
|
+
proto.pulumirpc.ListResponse.prototype.hasComputed = function() {
|
|
9409
|
+
return jspb.Message.getField(this, 1) != null;
|
|
9410
|
+
};
|
|
9411
|
+
|
|
9412
|
+
|
|
9413
|
+
/**
|
|
9414
|
+
* optional Result result = 2;
|
|
9415
|
+
* @return {?proto.pulumirpc.ListResponse.Result}
|
|
9416
|
+
*/
|
|
9417
|
+
proto.pulumirpc.ListResponse.prototype.getResult = function() {
|
|
9418
|
+
return /** @type{?proto.pulumirpc.ListResponse.Result} */ (
|
|
9419
|
+
jspb.Message.getWrapperField(this, proto.pulumirpc.ListResponse.Result, 2));
|
|
9420
|
+
};
|
|
9421
|
+
|
|
9422
|
+
|
|
9423
|
+
/**
|
|
9424
|
+
* @param {?proto.pulumirpc.ListResponse.Result|undefined} value
|
|
9425
|
+
* @return {!proto.pulumirpc.ListResponse} returns this
|
|
9426
|
+
*/
|
|
9427
|
+
proto.pulumirpc.ListResponse.prototype.setResult = function(value) {
|
|
9428
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.pulumirpc.ListResponse.oneofGroups_[0], value);
|
|
9429
|
+
};
|
|
9430
|
+
|
|
9431
|
+
|
|
9432
|
+
/**
|
|
9433
|
+
* Clears the message field making it undefined.
|
|
9434
|
+
* @return {!proto.pulumirpc.ListResponse} returns this
|
|
9435
|
+
*/
|
|
9436
|
+
proto.pulumirpc.ListResponse.prototype.clearResult = function() {
|
|
9437
|
+
return this.setResult(undefined);
|
|
9438
|
+
};
|
|
9439
|
+
|
|
9440
|
+
|
|
9441
|
+
/**
|
|
9442
|
+
* Returns whether this field is set.
|
|
9443
|
+
* @return {boolean}
|
|
9444
|
+
*/
|
|
9445
|
+
proto.pulumirpc.ListResponse.prototype.hasResult = function() {
|
|
9446
|
+
return jspb.Message.getField(this, 2) != null;
|
|
9447
|
+
};
|
|
9448
|
+
|
|
9449
|
+
|
|
9450
|
+
/**
|
|
9451
|
+
* optional Continuation continuation = 3;
|
|
9452
|
+
* @return {?proto.pulumirpc.ListResponse.Continuation}
|
|
9453
|
+
*/
|
|
9454
|
+
proto.pulumirpc.ListResponse.prototype.getContinuation = function() {
|
|
9455
|
+
return /** @type{?proto.pulumirpc.ListResponse.Continuation} */ (
|
|
9456
|
+
jspb.Message.getWrapperField(this, proto.pulumirpc.ListResponse.Continuation, 3));
|
|
9457
|
+
};
|
|
9458
|
+
|
|
9459
|
+
|
|
9460
|
+
/**
|
|
9461
|
+
* @param {?proto.pulumirpc.ListResponse.Continuation|undefined} value
|
|
9462
|
+
* @return {!proto.pulumirpc.ListResponse} returns this
|
|
9463
|
+
*/
|
|
9464
|
+
proto.pulumirpc.ListResponse.prototype.setContinuation = function(value) {
|
|
9465
|
+
return jspb.Message.setOneofWrapperField(this, 3, proto.pulumirpc.ListResponse.oneofGroups_[0], value);
|
|
9466
|
+
};
|
|
9467
|
+
|
|
9468
|
+
|
|
9469
|
+
/**
|
|
9470
|
+
* Clears the message field making it undefined.
|
|
9471
|
+
* @return {!proto.pulumirpc.ListResponse} returns this
|
|
9472
|
+
*/
|
|
9473
|
+
proto.pulumirpc.ListResponse.prototype.clearContinuation = function() {
|
|
9474
|
+
return this.setContinuation(undefined);
|
|
9475
|
+
};
|
|
9476
|
+
|
|
9477
|
+
|
|
9478
|
+
/**
|
|
9479
|
+
* Returns whether this field is set.
|
|
9480
|
+
* @return {boolean}
|
|
9481
|
+
*/
|
|
9482
|
+
proto.pulumirpc.ListResponse.prototype.hasContinuation = function() {
|
|
9483
|
+
return jspb.Message.getField(this, 3) != null;
|
|
9484
|
+
};
|
|
9485
|
+
|
|
9486
|
+
|
|
9487
|
+
|
|
8435
9488
|
/**
|
|
8436
9489
|
* List of repeated fields within this message type.
|
|
8437
9490
|
* @private {!Array<number>}
|