@google-cloud/pubsub 4.7.2 → 4.9.0
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/CHANGELOG.md +20 -0
- package/README.md +4 -2
- package/build/protos/google/pubsub/v1/pubsub.proto +198 -1
- package/build/protos/protos.d.ts +1081 -1
- package/build/protos/protos.js +2675 -97
- package/build/protos/protos.json +250 -1
- package/build/src/index.d.ts +1 -1
- package/build/src/index.js +2 -1
- package/build/src/index.js.map +1 -1
- package/build/src/message-queues.d.ts +3 -0
- package/build/src/message-queues.js +1 -1
- package/build/src/message-queues.js.map +1 -1
- package/build/src/message-stream.js +3 -2
- package/build/src/message-stream.js.map +1 -1
- package/build/src/subscriber.d.ts +3 -2
- package/build/src/subscriber.js +3 -1
- package/build/src/subscriber.js.map +1 -1
- package/build/src/v1/subscriber_client.d.ts +4 -1
- package/build/src/v1/subscriber_client.js.map +1 -1
- package/package.json +9 -5
package/build/protos/protos.d.ts
CHANGED
|
@@ -459,6 +459,12 @@ export namespace google {
|
|
|
459
459
|
|
|
460
460
|
/** IngestionDataSourceSettings awsKinesis */
|
|
461
461
|
awsKinesis?: (google.pubsub.v1.IngestionDataSourceSettings.IAwsKinesis|null);
|
|
462
|
+
|
|
463
|
+
/** IngestionDataSourceSettings cloudStorage */
|
|
464
|
+
cloudStorage?: (google.pubsub.v1.IngestionDataSourceSettings.ICloudStorage|null);
|
|
465
|
+
|
|
466
|
+
/** IngestionDataSourceSettings platformLogsSettings */
|
|
467
|
+
platformLogsSettings?: (google.pubsub.v1.IPlatformLogsSettings|null);
|
|
462
468
|
}
|
|
463
469
|
|
|
464
470
|
/** Represents an IngestionDataSourceSettings. */
|
|
@@ -473,8 +479,14 @@ export namespace google {
|
|
|
473
479
|
/** IngestionDataSourceSettings awsKinesis. */
|
|
474
480
|
public awsKinesis?: (google.pubsub.v1.IngestionDataSourceSettings.IAwsKinesis|null);
|
|
475
481
|
|
|
482
|
+
/** IngestionDataSourceSettings cloudStorage. */
|
|
483
|
+
public cloudStorage?: (google.pubsub.v1.IngestionDataSourceSettings.ICloudStorage|null);
|
|
484
|
+
|
|
485
|
+
/** IngestionDataSourceSettings platformLogsSettings. */
|
|
486
|
+
public platformLogsSettings?: (google.pubsub.v1.IPlatformLogsSettings|null);
|
|
487
|
+
|
|
476
488
|
/** IngestionDataSourceSettings source. */
|
|
477
|
-
public source?: "awsKinesis";
|
|
489
|
+
public source?: ("awsKinesis"|"cloudStorage");
|
|
478
490
|
|
|
479
491
|
/**
|
|
480
492
|
* Creates a new IngestionDataSourceSettings instance using the specified properties.
|
|
@@ -689,6 +701,965 @@ export namespace google {
|
|
|
689
701
|
CONSUMER_NOT_FOUND = 5
|
|
690
702
|
}
|
|
691
703
|
}
|
|
704
|
+
|
|
705
|
+
/** Properties of a CloudStorage. */
|
|
706
|
+
interface ICloudStorage {
|
|
707
|
+
|
|
708
|
+
/** CloudStorage state */
|
|
709
|
+
state?: (google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State|keyof typeof google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State|null);
|
|
710
|
+
|
|
711
|
+
/** CloudStorage bucket */
|
|
712
|
+
bucket?: (string|null);
|
|
713
|
+
|
|
714
|
+
/** CloudStorage textFormat */
|
|
715
|
+
textFormat?: (google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.ITextFormat|null);
|
|
716
|
+
|
|
717
|
+
/** CloudStorage avroFormat */
|
|
718
|
+
avroFormat?: (google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.IAvroFormat|null);
|
|
719
|
+
|
|
720
|
+
/** CloudStorage pubsubAvroFormat */
|
|
721
|
+
pubsubAvroFormat?: (google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.IPubSubAvroFormat|null);
|
|
722
|
+
|
|
723
|
+
/** CloudStorage minimumObjectCreateTime */
|
|
724
|
+
minimumObjectCreateTime?: (google.protobuf.ITimestamp|null);
|
|
725
|
+
|
|
726
|
+
/** CloudStorage matchGlob */
|
|
727
|
+
matchGlob?: (string|null);
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
/** Represents a CloudStorage. */
|
|
731
|
+
class CloudStorage implements ICloudStorage {
|
|
732
|
+
|
|
733
|
+
/**
|
|
734
|
+
* Constructs a new CloudStorage.
|
|
735
|
+
* @param [properties] Properties to set
|
|
736
|
+
*/
|
|
737
|
+
constructor(properties?: google.pubsub.v1.IngestionDataSourceSettings.ICloudStorage);
|
|
738
|
+
|
|
739
|
+
/** CloudStorage state. */
|
|
740
|
+
public state: (google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State|keyof typeof google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State);
|
|
741
|
+
|
|
742
|
+
/** CloudStorage bucket. */
|
|
743
|
+
public bucket: string;
|
|
744
|
+
|
|
745
|
+
/** CloudStorage textFormat. */
|
|
746
|
+
public textFormat?: (google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.ITextFormat|null);
|
|
747
|
+
|
|
748
|
+
/** CloudStorage avroFormat. */
|
|
749
|
+
public avroFormat?: (google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.IAvroFormat|null);
|
|
750
|
+
|
|
751
|
+
/** CloudStorage pubsubAvroFormat. */
|
|
752
|
+
public pubsubAvroFormat?: (google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.IPubSubAvroFormat|null);
|
|
753
|
+
|
|
754
|
+
/** CloudStorage minimumObjectCreateTime. */
|
|
755
|
+
public minimumObjectCreateTime?: (google.protobuf.ITimestamp|null);
|
|
756
|
+
|
|
757
|
+
/** CloudStorage matchGlob. */
|
|
758
|
+
public matchGlob: string;
|
|
759
|
+
|
|
760
|
+
/** CloudStorage inputFormat. */
|
|
761
|
+
public inputFormat?: ("textFormat"|"avroFormat"|"pubsubAvroFormat");
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* Creates a new CloudStorage instance using the specified properties.
|
|
765
|
+
* @param [properties] Properties to set
|
|
766
|
+
* @returns CloudStorage instance
|
|
767
|
+
*/
|
|
768
|
+
public static create(properties?: google.pubsub.v1.IngestionDataSourceSettings.ICloudStorage): google.pubsub.v1.IngestionDataSourceSettings.CloudStorage;
|
|
769
|
+
|
|
770
|
+
/**
|
|
771
|
+
* Encodes the specified CloudStorage message. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.verify|verify} messages.
|
|
772
|
+
* @param message CloudStorage message or plain object to encode
|
|
773
|
+
* @param [writer] Writer to encode to
|
|
774
|
+
* @returns Writer
|
|
775
|
+
*/
|
|
776
|
+
public static encode(message: google.pubsub.v1.IngestionDataSourceSettings.ICloudStorage, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
777
|
+
|
|
778
|
+
/**
|
|
779
|
+
* Encodes the specified CloudStorage message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.verify|verify} messages.
|
|
780
|
+
* @param message CloudStorage message or plain object to encode
|
|
781
|
+
* @param [writer] Writer to encode to
|
|
782
|
+
* @returns Writer
|
|
783
|
+
*/
|
|
784
|
+
public static encodeDelimited(message: google.pubsub.v1.IngestionDataSourceSettings.ICloudStorage, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
785
|
+
|
|
786
|
+
/**
|
|
787
|
+
* Decodes a CloudStorage message from the specified reader or buffer.
|
|
788
|
+
* @param reader Reader or buffer to decode from
|
|
789
|
+
* @param [length] Message length if known beforehand
|
|
790
|
+
* @returns CloudStorage
|
|
791
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
792
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
793
|
+
*/
|
|
794
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionDataSourceSettings.CloudStorage;
|
|
795
|
+
|
|
796
|
+
/**
|
|
797
|
+
* Decodes a CloudStorage message from the specified reader or buffer, length delimited.
|
|
798
|
+
* @param reader Reader or buffer to decode from
|
|
799
|
+
* @returns CloudStorage
|
|
800
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
801
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
802
|
+
*/
|
|
803
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionDataSourceSettings.CloudStorage;
|
|
804
|
+
|
|
805
|
+
/**
|
|
806
|
+
* Verifies a CloudStorage message.
|
|
807
|
+
* @param message Plain object to verify
|
|
808
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
809
|
+
*/
|
|
810
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
811
|
+
|
|
812
|
+
/**
|
|
813
|
+
* Creates a CloudStorage message from a plain object. Also converts values to their respective internal types.
|
|
814
|
+
* @param object Plain object
|
|
815
|
+
* @returns CloudStorage
|
|
816
|
+
*/
|
|
817
|
+
public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionDataSourceSettings.CloudStorage;
|
|
818
|
+
|
|
819
|
+
/**
|
|
820
|
+
* Creates a plain object from a CloudStorage message. Also converts values to other types if specified.
|
|
821
|
+
* @param message CloudStorage
|
|
822
|
+
* @param [options] Conversion options
|
|
823
|
+
* @returns Plain object
|
|
824
|
+
*/
|
|
825
|
+
public static toObject(message: google.pubsub.v1.IngestionDataSourceSettings.CloudStorage, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
826
|
+
|
|
827
|
+
/**
|
|
828
|
+
* Converts this CloudStorage to JSON.
|
|
829
|
+
* @returns JSON object
|
|
830
|
+
*/
|
|
831
|
+
public toJSON(): { [k: string]: any };
|
|
832
|
+
|
|
833
|
+
/**
|
|
834
|
+
* Gets the default type url for CloudStorage
|
|
835
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
836
|
+
* @returns The default type url
|
|
837
|
+
*/
|
|
838
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
namespace CloudStorage {
|
|
842
|
+
|
|
843
|
+
/** State enum. */
|
|
844
|
+
enum State {
|
|
845
|
+
STATE_UNSPECIFIED = 0,
|
|
846
|
+
ACTIVE = 1,
|
|
847
|
+
CLOUD_STORAGE_PERMISSION_DENIED = 2,
|
|
848
|
+
PUBLISH_PERMISSION_DENIED = 3,
|
|
849
|
+
BUCKET_NOT_FOUND = 4,
|
|
850
|
+
TOO_MANY_OBJECTS = 5
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
/** Properties of a TextFormat. */
|
|
854
|
+
interface ITextFormat {
|
|
855
|
+
|
|
856
|
+
/** TextFormat delimiter */
|
|
857
|
+
delimiter?: (string|null);
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
/** Represents a TextFormat. */
|
|
861
|
+
class TextFormat implements ITextFormat {
|
|
862
|
+
|
|
863
|
+
/**
|
|
864
|
+
* Constructs a new TextFormat.
|
|
865
|
+
* @param [properties] Properties to set
|
|
866
|
+
*/
|
|
867
|
+
constructor(properties?: google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.ITextFormat);
|
|
868
|
+
|
|
869
|
+
/** TextFormat delimiter. */
|
|
870
|
+
public delimiter?: (string|null);
|
|
871
|
+
|
|
872
|
+
/**
|
|
873
|
+
* Creates a new TextFormat instance using the specified properties.
|
|
874
|
+
* @param [properties] Properties to set
|
|
875
|
+
* @returns TextFormat instance
|
|
876
|
+
*/
|
|
877
|
+
public static create(properties?: google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.ITextFormat): google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat;
|
|
878
|
+
|
|
879
|
+
/**
|
|
880
|
+
* Encodes the specified TextFormat message. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat.verify|verify} messages.
|
|
881
|
+
* @param message TextFormat message or plain object to encode
|
|
882
|
+
* @param [writer] Writer to encode to
|
|
883
|
+
* @returns Writer
|
|
884
|
+
*/
|
|
885
|
+
public static encode(message: google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.ITextFormat, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
886
|
+
|
|
887
|
+
/**
|
|
888
|
+
* Encodes the specified TextFormat message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat.verify|verify} messages.
|
|
889
|
+
* @param message TextFormat message or plain object to encode
|
|
890
|
+
* @param [writer] Writer to encode to
|
|
891
|
+
* @returns Writer
|
|
892
|
+
*/
|
|
893
|
+
public static encodeDelimited(message: google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.ITextFormat, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
894
|
+
|
|
895
|
+
/**
|
|
896
|
+
* Decodes a TextFormat message from the specified reader or buffer.
|
|
897
|
+
* @param reader Reader or buffer to decode from
|
|
898
|
+
* @param [length] Message length if known beforehand
|
|
899
|
+
* @returns TextFormat
|
|
900
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
901
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
902
|
+
*/
|
|
903
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat;
|
|
904
|
+
|
|
905
|
+
/**
|
|
906
|
+
* Decodes a TextFormat message from the specified reader or buffer, length delimited.
|
|
907
|
+
* @param reader Reader or buffer to decode from
|
|
908
|
+
* @returns TextFormat
|
|
909
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
910
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
911
|
+
*/
|
|
912
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat;
|
|
913
|
+
|
|
914
|
+
/**
|
|
915
|
+
* Verifies a TextFormat message.
|
|
916
|
+
* @param message Plain object to verify
|
|
917
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
918
|
+
*/
|
|
919
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
920
|
+
|
|
921
|
+
/**
|
|
922
|
+
* Creates a TextFormat message from a plain object. Also converts values to their respective internal types.
|
|
923
|
+
* @param object Plain object
|
|
924
|
+
* @returns TextFormat
|
|
925
|
+
*/
|
|
926
|
+
public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat;
|
|
927
|
+
|
|
928
|
+
/**
|
|
929
|
+
* Creates a plain object from a TextFormat message. Also converts values to other types if specified.
|
|
930
|
+
* @param message TextFormat
|
|
931
|
+
* @param [options] Conversion options
|
|
932
|
+
* @returns Plain object
|
|
933
|
+
*/
|
|
934
|
+
public static toObject(message: google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
935
|
+
|
|
936
|
+
/**
|
|
937
|
+
* Converts this TextFormat to JSON.
|
|
938
|
+
* @returns JSON object
|
|
939
|
+
*/
|
|
940
|
+
public toJSON(): { [k: string]: any };
|
|
941
|
+
|
|
942
|
+
/**
|
|
943
|
+
* Gets the default type url for TextFormat
|
|
944
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
945
|
+
* @returns The default type url
|
|
946
|
+
*/
|
|
947
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
/** Properties of an AvroFormat. */
|
|
951
|
+
interface IAvroFormat {
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
/** Represents an AvroFormat. */
|
|
955
|
+
class AvroFormat implements IAvroFormat {
|
|
956
|
+
|
|
957
|
+
/**
|
|
958
|
+
* Constructs a new AvroFormat.
|
|
959
|
+
* @param [properties] Properties to set
|
|
960
|
+
*/
|
|
961
|
+
constructor(properties?: google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.IAvroFormat);
|
|
962
|
+
|
|
963
|
+
/**
|
|
964
|
+
* Creates a new AvroFormat instance using the specified properties.
|
|
965
|
+
* @param [properties] Properties to set
|
|
966
|
+
* @returns AvroFormat instance
|
|
967
|
+
*/
|
|
968
|
+
public static create(properties?: google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.IAvroFormat): google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat;
|
|
969
|
+
|
|
970
|
+
/**
|
|
971
|
+
* Encodes the specified AvroFormat message. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat.verify|verify} messages.
|
|
972
|
+
* @param message AvroFormat message or plain object to encode
|
|
973
|
+
* @param [writer] Writer to encode to
|
|
974
|
+
* @returns Writer
|
|
975
|
+
*/
|
|
976
|
+
public static encode(message: google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.IAvroFormat, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
977
|
+
|
|
978
|
+
/**
|
|
979
|
+
* Encodes the specified AvroFormat message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat.verify|verify} messages.
|
|
980
|
+
* @param message AvroFormat message or plain object to encode
|
|
981
|
+
* @param [writer] Writer to encode to
|
|
982
|
+
* @returns Writer
|
|
983
|
+
*/
|
|
984
|
+
public static encodeDelimited(message: google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.IAvroFormat, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
985
|
+
|
|
986
|
+
/**
|
|
987
|
+
* Decodes an AvroFormat message from the specified reader or buffer.
|
|
988
|
+
* @param reader Reader or buffer to decode from
|
|
989
|
+
* @param [length] Message length if known beforehand
|
|
990
|
+
* @returns AvroFormat
|
|
991
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
992
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
993
|
+
*/
|
|
994
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat;
|
|
995
|
+
|
|
996
|
+
/**
|
|
997
|
+
* Decodes an AvroFormat message from the specified reader or buffer, length delimited.
|
|
998
|
+
* @param reader Reader or buffer to decode from
|
|
999
|
+
* @returns AvroFormat
|
|
1000
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1001
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1002
|
+
*/
|
|
1003
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat;
|
|
1004
|
+
|
|
1005
|
+
/**
|
|
1006
|
+
* Verifies an AvroFormat message.
|
|
1007
|
+
* @param message Plain object to verify
|
|
1008
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1009
|
+
*/
|
|
1010
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1011
|
+
|
|
1012
|
+
/**
|
|
1013
|
+
* Creates an AvroFormat message from a plain object. Also converts values to their respective internal types.
|
|
1014
|
+
* @param object Plain object
|
|
1015
|
+
* @returns AvroFormat
|
|
1016
|
+
*/
|
|
1017
|
+
public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat;
|
|
1018
|
+
|
|
1019
|
+
/**
|
|
1020
|
+
* Creates a plain object from an AvroFormat message. Also converts values to other types if specified.
|
|
1021
|
+
* @param message AvroFormat
|
|
1022
|
+
* @param [options] Conversion options
|
|
1023
|
+
* @returns Plain object
|
|
1024
|
+
*/
|
|
1025
|
+
public static toObject(message: google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1026
|
+
|
|
1027
|
+
/**
|
|
1028
|
+
* Converts this AvroFormat to JSON.
|
|
1029
|
+
* @returns JSON object
|
|
1030
|
+
*/
|
|
1031
|
+
public toJSON(): { [k: string]: any };
|
|
1032
|
+
|
|
1033
|
+
/**
|
|
1034
|
+
* Gets the default type url for AvroFormat
|
|
1035
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1036
|
+
* @returns The default type url
|
|
1037
|
+
*/
|
|
1038
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
/** Properties of a PubSubAvroFormat. */
|
|
1042
|
+
interface IPubSubAvroFormat {
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
/** Represents a PubSubAvroFormat. */
|
|
1046
|
+
class PubSubAvroFormat implements IPubSubAvroFormat {
|
|
1047
|
+
|
|
1048
|
+
/**
|
|
1049
|
+
* Constructs a new PubSubAvroFormat.
|
|
1050
|
+
* @param [properties] Properties to set
|
|
1051
|
+
*/
|
|
1052
|
+
constructor(properties?: google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.IPubSubAvroFormat);
|
|
1053
|
+
|
|
1054
|
+
/**
|
|
1055
|
+
* Creates a new PubSubAvroFormat instance using the specified properties.
|
|
1056
|
+
* @param [properties] Properties to set
|
|
1057
|
+
* @returns PubSubAvroFormat instance
|
|
1058
|
+
*/
|
|
1059
|
+
public static create(properties?: google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.IPubSubAvroFormat): google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat;
|
|
1060
|
+
|
|
1061
|
+
/**
|
|
1062
|
+
* Encodes the specified PubSubAvroFormat message. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat.verify|verify} messages.
|
|
1063
|
+
* @param message PubSubAvroFormat message or plain object to encode
|
|
1064
|
+
* @param [writer] Writer to encode to
|
|
1065
|
+
* @returns Writer
|
|
1066
|
+
*/
|
|
1067
|
+
public static encode(message: google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.IPubSubAvroFormat, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1068
|
+
|
|
1069
|
+
/**
|
|
1070
|
+
* Encodes the specified PubSubAvroFormat message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat.verify|verify} messages.
|
|
1071
|
+
* @param message PubSubAvroFormat message or plain object to encode
|
|
1072
|
+
* @param [writer] Writer to encode to
|
|
1073
|
+
* @returns Writer
|
|
1074
|
+
*/
|
|
1075
|
+
public static encodeDelimited(message: google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.IPubSubAvroFormat, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1076
|
+
|
|
1077
|
+
/**
|
|
1078
|
+
* Decodes a PubSubAvroFormat message from the specified reader or buffer.
|
|
1079
|
+
* @param reader Reader or buffer to decode from
|
|
1080
|
+
* @param [length] Message length if known beforehand
|
|
1081
|
+
* @returns PubSubAvroFormat
|
|
1082
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1083
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1084
|
+
*/
|
|
1085
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat;
|
|
1086
|
+
|
|
1087
|
+
/**
|
|
1088
|
+
* Decodes a PubSubAvroFormat message from the specified reader or buffer, length delimited.
|
|
1089
|
+
* @param reader Reader or buffer to decode from
|
|
1090
|
+
* @returns PubSubAvroFormat
|
|
1091
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1092
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1093
|
+
*/
|
|
1094
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat;
|
|
1095
|
+
|
|
1096
|
+
/**
|
|
1097
|
+
* Verifies a PubSubAvroFormat message.
|
|
1098
|
+
* @param message Plain object to verify
|
|
1099
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1100
|
+
*/
|
|
1101
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1102
|
+
|
|
1103
|
+
/**
|
|
1104
|
+
* Creates a PubSubAvroFormat message from a plain object. Also converts values to their respective internal types.
|
|
1105
|
+
* @param object Plain object
|
|
1106
|
+
* @returns PubSubAvroFormat
|
|
1107
|
+
*/
|
|
1108
|
+
public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat;
|
|
1109
|
+
|
|
1110
|
+
/**
|
|
1111
|
+
* Creates a plain object from a PubSubAvroFormat message. Also converts values to other types if specified.
|
|
1112
|
+
* @param message PubSubAvroFormat
|
|
1113
|
+
* @param [options] Conversion options
|
|
1114
|
+
* @returns Plain object
|
|
1115
|
+
*/
|
|
1116
|
+
public static toObject(message: google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1117
|
+
|
|
1118
|
+
/**
|
|
1119
|
+
* Converts this PubSubAvroFormat to JSON.
|
|
1120
|
+
* @returns JSON object
|
|
1121
|
+
*/
|
|
1122
|
+
public toJSON(): { [k: string]: any };
|
|
1123
|
+
|
|
1124
|
+
/**
|
|
1125
|
+
* Gets the default type url for PubSubAvroFormat
|
|
1126
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1127
|
+
* @returns The default type url
|
|
1128
|
+
*/
|
|
1129
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1132
|
+
}
|
|
1133
|
+
|
|
1134
|
+
/** Properties of a PlatformLogsSettings. */
|
|
1135
|
+
interface IPlatformLogsSettings {
|
|
1136
|
+
|
|
1137
|
+
/** PlatformLogsSettings severity */
|
|
1138
|
+
severity?: (google.pubsub.v1.PlatformLogsSettings.Severity|keyof typeof google.pubsub.v1.PlatformLogsSettings.Severity|null);
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
/** Represents a PlatformLogsSettings. */
|
|
1142
|
+
class PlatformLogsSettings implements IPlatformLogsSettings {
|
|
1143
|
+
|
|
1144
|
+
/**
|
|
1145
|
+
* Constructs a new PlatformLogsSettings.
|
|
1146
|
+
* @param [properties] Properties to set
|
|
1147
|
+
*/
|
|
1148
|
+
constructor(properties?: google.pubsub.v1.IPlatformLogsSettings);
|
|
1149
|
+
|
|
1150
|
+
/** PlatformLogsSettings severity. */
|
|
1151
|
+
public severity: (google.pubsub.v1.PlatformLogsSettings.Severity|keyof typeof google.pubsub.v1.PlatformLogsSettings.Severity);
|
|
1152
|
+
|
|
1153
|
+
/**
|
|
1154
|
+
* Creates a new PlatformLogsSettings instance using the specified properties.
|
|
1155
|
+
* @param [properties] Properties to set
|
|
1156
|
+
* @returns PlatformLogsSettings instance
|
|
1157
|
+
*/
|
|
1158
|
+
public static create(properties?: google.pubsub.v1.IPlatformLogsSettings): google.pubsub.v1.PlatformLogsSettings;
|
|
1159
|
+
|
|
1160
|
+
/**
|
|
1161
|
+
* Encodes the specified PlatformLogsSettings message. Does not implicitly {@link google.pubsub.v1.PlatformLogsSettings.verify|verify} messages.
|
|
1162
|
+
* @param message PlatformLogsSettings message or plain object to encode
|
|
1163
|
+
* @param [writer] Writer to encode to
|
|
1164
|
+
* @returns Writer
|
|
1165
|
+
*/
|
|
1166
|
+
public static encode(message: google.pubsub.v1.IPlatformLogsSettings, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1167
|
+
|
|
1168
|
+
/**
|
|
1169
|
+
* Encodes the specified PlatformLogsSettings message, length delimited. Does not implicitly {@link google.pubsub.v1.PlatformLogsSettings.verify|verify} messages.
|
|
1170
|
+
* @param message PlatformLogsSettings message or plain object to encode
|
|
1171
|
+
* @param [writer] Writer to encode to
|
|
1172
|
+
* @returns Writer
|
|
1173
|
+
*/
|
|
1174
|
+
public static encodeDelimited(message: google.pubsub.v1.IPlatformLogsSettings, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1175
|
+
|
|
1176
|
+
/**
|
|
1177
|
+
* Decodes a PlatformLogsSettings message from the specified reader or buffer.
|
|
1178
|
+
* @param reader Reader or buffer to decode from
|
|
1179
|
+
* @param [length] Message length if known beforehand
|
|
1180
|
+
* @returns PlatformLogsSettings
|
|
1181
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1182
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1183
|
+
*/
|
|
1184
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.PlatformLogsSettings;
|
|
1185
|
+
|
|
1186
|
+
/**
|
|
1187
|
+
* Decodes a PlatformLogsSettings message from the specified reader or buffer, length delimited.
|
|
1188
|
+
* @param reader Reader or buffer to decode from
|
|
1189
|
+
* @returns PlatformLogsSettings
|
|
1190
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1191
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1192
|
+
*/
|
|
1193
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.PlatformLogsSettings;
|
|
1194
|
+
|
|
1195
|
+
/**
|
|
1196
|
+
* Verifies a PlatformLogsSettings message.
|
|
1197
|
+
* @param message Plain object to verify
|
|
1198
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1199
|
+
*/
|
|
1200
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1201
|
+
|
|
1202
|
+
/**
|
|
1203
|
+
* Creates a PlatformLogsSettings message from a plain object. Also converts values to their respective internal types.
|
|
1204
|
+
* @param object Plain object
|
|
1205
|
+
* @returns PlatformLogsSettings
|
|
1206
|
+
*/
|
|
1207
|
+
public static fromObject(object: { [k: string]: any }): google.pubsub.v1.PlatformLogsSettings;
|
|
1208
|
+
|
|
1209
|
+
/**
|
|
1210
|
+
* Creates a plain object from a PlatformLogsSettings message. Also converts values to other types if specified.
|
|
1211
|
+
* @param message PlatformLogsSettings
|
|
1212
|
+
* @param [options] Conversion options
|
|
1213
|
+
* @returns Plain object
|
|
1214
|
+
*/
|
|
1215
|
+
public static toObject(message: google.pubsub.v1.PlatformLogsSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1216
|
+
|
|
1217
|
+
/**
|
|
1218
|
+
* Converts this PlatformLogsSettings to JSON.
|
|
1219
|
+
* @returns JSON object
|
|
1220
|
+
*/
|
|
1221
|
+
public toJSON(): { [k: string]: any };
|
|
1222
|
+
|
|
1223
|
+
/**
|
|
1224
|
+
* Gets the default type url for PlatformLogsSettings
|
|
1225
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1226
|
+
* @returns The default type url
|
|
1227
|
+
*/
|
|
1228
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
namespace PlatformLogsSettings {
|
|
1232
|
+
|
|
1233
|
+
/** Severity enum. */
|
|
1234
|
+
enum Severity {
|
|
1235
|
+
SEVERITY_UNSPECIFIED = 0,
|
|
1236
|
+
DISABLED = 1,
|
|
1237
|
+
DEBUG = 2,
|
|
1238
|
+
INFO = 3,
|
|
1239
|
+
WARNING = 4,
|
|
1240
|
+
ERROR = 5
|
|
1241
|
+
}
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
/** Properties of an IngestionFailureEvent. */
|
|
1245
|
+
interface IIngestionFailureEvent {
|
|
1246
|
+
|
|
1247
|
+
/** IngestionFailureEvent topic */
|
|
1248
|
+
topic?: (string|null);
|
|
1249
|
+
|
|
1250
|
+
/** IngestionFailureEvent errorMessage */
|
|
1251
|
+
errorMessage?: (string|null);
|
|
1252
|
+
|
|
1253
|
+
/** IngestionFailureEvent cloudStorageFailure */
|
|
1254
|
+
cloudStorageFailure?: (google.pubsub.v1.IngestionFailureEvent.ICloudStorageFailure|null);
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
/** Represents an IngestionFailureEvent. */
|
|
1258
|
+
class IngestionFailureEvent implements IIngestionFailureEvent {
|
|
1259
|
+
|
|
1260
|
+
/**
|
|
1261
|
+
* Constructs a new IngestionFailureEvent.
|
|
1262
|
+
* @param [properties] Properties to set
|
|
1263
|
+
*/
|
|
1264
|
+
constructor(properties?: google.pubsub.v1.IIngestionFailureEvent);
|
|
1265
|
+
|
|
1266
|
+
/** IngestionFailureEvent topic. */
|
|
1267
|
+
public topic: string;
|
|
1268
|
+
|
|
1269
|
+
/** IngestionFailureEvent errorMessage. */
|
|
1270
|
+
public errorMessage: string;
|
|
1271
|
+
|
|
1272
|
+
/** IngestionFailureEvent cloudStorageFailure. */
|
|
1273
|
+
public cloudStorageFailure?: (google.pubsub.v1.IngestionFailureEvent.ICloudStorageFailure|null);
|
|
1274
|
+
|
|
1275
|
+
/** IngestionFailureEvent failure. */
|
|
1276
|
+
public failure?: "cloudStorageFailure";
|
|
1277
|
+
|
|
1278
|
+
/**
|
|
1279
|
+
* Creates a new IngestionFailureEvent instance using the specified properties.
|
|
1280
|
+
* @param [properties] Properties to set
|
|
1281
|
+
* @returns IngestionFailureEvent instance
|
|
1282
|
+
*/
|
|
1283
|
+
public static create(properties?: google.pubsub.v1.IIngestionFailureEvent): google.pubsub.v1.IngestionFailureEvent;
|
|
1284
|
+
|
|
1285
|
+
/**
|
|
1286
|
+
* Encodes the specified IngestionFailureEvent message. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.verify|verify} messages.
|
|
1287
|
+
* @param message IngestionFailureEvent message or plain object to encode
|
|
1288
|
+
* @param [writer] Writer to encode to
|
|
1289
|
+
* @returns Writer
|
|
1290
|
+
*/
|
|
1291
|
+
public static encode(message: google.pubsub.v1.IIngestionFailureEvent, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1292
|
+
|
|
1293
|
+
/**
|
|
1294
|
+
* Encodes the specified IngestionFailureEvent message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.verify|verify} messages.
|
|
1295
|
+
* @param message IngestionFailureEvent message or plain object to encode
|
|
1296
|
+
* @param [writer] Writer to encode to
|
|
1297
|
+
* @returns Writer
|
|
1298
|
+
*/
|
|
1299
|
+
public static encodeDelimited(message: google.pubsub.v1.IIngestionFailureEvent, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1300
|
+
|
|
1301
|
+
/**
|
|
1302
|
+
* Decodes an IngestionFailureEvent message from the specified reader or buffer.
|
|
1303
|
+
* @param reader Reader or buffer to decode from
|
|
1304
|
+
* @param [length] Message length if known beforehand
|
|
1305
|
+
* @returns IngestionFailureEvent
|
|
1306
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1307
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1308
|
+
*/
|
|
1309
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionFailureEvent;
|
|
1310
|
+
|
|
1311
|
+
/**
|
|
1312
|
+
* Decodes an IngestionFailureEvent message from the specified reader or buffer, length delimited.
|
|
1313
|
+
* @param reader Reader or buffer to decode from
|
|
1314
|
+
* @returns IngestionFailureEvent
|
|
1315
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1316
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1317
|
+
*/
|
|
1318
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionFailureEvent;
|
|
1319
|
+
|
|
1320
|
+
/**
|
|
1321
|
+
* Verifies an IngestionFailureEvent message.
|
|
1322
|
+
* @param message Plain object to verify
|
|
1323
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1324
|
+
*/
|
|
1325
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1326
|
+
|
|
1327
|
+
/**
|
|
1328
|
+
* Creates an IngestionFailureEvent message from a plain object. Also converts values to their respective internal types.
|
|
1329
|
+
* @param object Plain object
|
|
1330
|
+
* @returns IngestionFailureEvent
|
|
1331
|
+
*/
|
|
1332
|
+
public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionFailureEvent;
|
|
1333
|
+
|
|
1334
|
+
/**
|
|
1335
|
+
* Creates a plain object from an IngestionFailureEvent message. Also converts values to other types if specified.
|
|
1336
|
+
* @param message IngestionFailureEvent
|
|
1337
|
+
* @param [options] Conversion options
|
|
1338
|
+
* @returns Plain object
|
|
1339
|
+
*/
|
|
1340
|
+
public static toObject(message: google.pubsub.v1.IngestionFailureEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1341
|
+
|
|
1342
|
+
/**
|
|
1343
|
+
* Converts this IngestionFailureEvent to JSON.
|
|
1344
|
+
* @returns JSON object
|
|
1345
|
+
*/
|
|
1346
|
+
public toJSON(): { [k: string]: any };
|
|
1347
|
+
|
|
1348
|
+
/**
|
|
1349
|
+
* Gets the default type url for IngestionFailureEvent
|
|
1350
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1351
|
+
* @returns The default type url
|
|
1352
|
+
*/
|
|
1353
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1354
|
+
}
|
|
1355
|
+
|
|
1356
|
+
namespace IngestionFailureEvent {
|
|
1357
|
+
|
|
1358
|
+
/** Properties of an ApiViolationReason. */
|
|
1359
|
+
interface IApiViolationReason {
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
/** Represents an ApiViolationReason. */
|
|
1363
|
+
class ApiViolationReason implements IApiViolationReason {
|
|
1364
|
+
|
|
1365
|
+
/**
|
|
1366
|
+
* Constructs a new ApiViolationReason.
|
|
1367
|
+
* @param [properties] Properties to set
|
|
1368
|
+
*/
|
|
1369
|
+
constructor(properties?: google.pubsub.v1.IngestionFailureEvent.IApiViolationReason);
|
|
1370
|
+
|
|
1371
|
+
/**
|
|
1372
|
+
* Creates a new ApiViolationReason instance using the specified properties.
|
|
1373
|
+
* @param [properties] Properties to set
|
|
1374
|
+
* @returns ApiViolationReason instance
|
|
1375
|
+
*/
|
|
1376
|
+
public static create(properties?: google.pubsub.v1.IngestionFailureEvent.IApiViolationReason): google.pubsub.v1.IngestionFailureEvent.ApiViolationReason;
|
|
1377
|
+
|
|
1378
|
+
/**
|
|
1379
|
+
* Encodes the specified ApiViolationReason message. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.verify|verify} messages.
|
|
1380
|
+
* @param message ApiViolationReason message or plain object to encode
|
|
1381
|
+
* @param [writer] Writer to encode to
|
|
1382
|
+
* @returns Writer
|
|
1383
|
+
*/
|
|
1384
|
+
public static encode(message: google.pubsub.v1.IngestionFailureEvent.IApiViolationReason, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1385
|
+
|
|
1386
|
+
/**
|
|
1387
|
+
* Encodes the specified ApiViolationReason message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.verify|verify} messages.
|
|
1388
|
+
* @param message ApiViolationReason message or plain object to encode
|
|
1389
|
+
* @param [writer] Writer to encode to
|
|
1390
|
+
* @returns Writer
|
|
1391
|
+
*/
|
|
1392
|
+
public static encodeDelimited(message: google.pubsub.v1.IngestionFailureEvent.IApiViolationReason, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1393
|
+
|
|
1394
|
+
/**
|
|
1395
|
+
* Decodes an ApiViolationReason message from the specified reader or buffer.
|
|
1396
|
+
* @param reader Reader or buffer to decode from
|
|
1397
|
+
* @param [length] Message length if known beforehand
|
|
1398
|
+
* @returns ApiViolationReason
|
|
1399
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1400
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1401
|
+
*/
|
|
1402
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionFailureEvent.ApiViolationReason;
|
|
1403
|
+
|
|
1404
|
+
/**
|
|
1405
|
+
* Decodes an ApiViolationReason message from the specified reader or buffer, length delimited.
|
|
1406
|
+
* @param reader Reader or buffer to decode from
|
|
1407
|
+
* @returns ApiViolationReason
|
|
1408
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1409
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1410
|
+
*/
|
|
1411
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionFailureEvent.ApiViolationReason;
|
|
1412
|
+
|
|
1413
|
+
/**
|
|
1414
|
+
* Verifies an ApiViolationReason message.
|
|
1415
|
+
* @param message Plain object to verify
|
|
1416
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1417
|
+
*/
|
|
1418
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1419
|
+
|
|
1420
|
+
/**
|
|
1421
|
+
* Creates an ApiViolationReason message from a plain object. Also converts values to their respective internal types.
|
|
1422
|
+
* @param object Plain object
|
|
1423
|
+
* @returns ApiViolationReason
|
|
1424
|
+
*/
|
|
1425
|
+
public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionFailureEvent.ApiViolationReason;
|
|
1426
|
+
|
|
1427
|
+
/**
|
|
1428
|
+
* Creates a plain object from an ApiViolationReason message. Also converts values to other types if specified.
|
|
1429
|
+
* @param message ApiViolationReason
|
|
1430
|
+
* @param [options] Conversion options
|
|
1431
|
+
* @returns Plain object
|
|
1432
|
+
*/
|
|
1433
|
+
public static toObject(message: google.pubsub.v1.IngestionFailureEvent.ApiViolationReason, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1434
|
+
|
|
1435
|
+
/**
|
|
1436
|
+
* Converts this ApiViolationReason to JSON.
|
|
1437
|
+
* @returns JSON object
|
|
1438
|
+
*/
|
|
1439
|
+
public toJSON(): { [k: string]: any };
|
|
1440
|
+
|
|
1441
|
+
/**
|
|
1442
|
+
* Gets the default type url for ApiViolationReason
|
|
1443
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1444
|
+
* @returns The default type url
|
|
1445
|
+
*/
|
|
1446
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1449
|
+
/** Properties of an AvroFailureReason. */
|
|
1450
|
+
interface IAvroFailureReason {
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1453
|
+
/** Represents an AvroFailureReason. */
|
|
1454
|
+
class AvroFailureReason implements IAvroFailureReason {
|
|
1455
|
+
|
|
1456
|
+
/**
|
|
1457
|
+
* Constructs a new AvroFailureReason.
|
|
1458
|
+
* @param [properties] Properties to set
|
|
1459
|
+
*/
|
|
1460
|
+
constructor(properties?: google.pubsub.v1.IngestionFailureEvent.IAvroFailureReason);
|
|
1461
|
+
|
|
1462
|
+
/**
|
|
1463
|
+
* Creates a new AvroFailureReason instance using the specified properties.
|
|
1464
|
+
* @param [properties] Properties to set
|
|
1465
|
+
* @returns AvroFailureReason instance
|
|
1466
|
+
*/
|
|
1467
|
+
public static create(properties?: google.pubsub.v1.IngestionFailureEvent.IAvroFailureReason): google.pubsub.v1.IngestionFailureEvent.AvroFailureReason;
|
|
1468
|
+
|
|
1469
|
+
/**
|
|
1470
|
+
* Encodes the specified AvroFailureReason message. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.AvroFailureReason.verify|verify} messages.
|
|
1471
|
+
* @param message AvroFailureReason message or plain object to encode
|
|
1472
|
+
* @param [writer] Writer to encode to
|
|
1473
|
+
* @returns Writer
|
|
1474
|
+
*/
|
|
1475
|
+
public static encode(message: google.pubsub.v1.IngestionFailureEvent.IAvroFailureReason, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1476
|
+
|
|
1477
|
+
/**
|
|
1478
|
+
* Encodes the specified AvroFailureReason message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.AvroFailureReason.verify|verify} messages.
|
|
1479
|
+
* @param message AvroFailureReason message or plain object to encode
|
|
1480
|
+
* @param [writer] Writer to encode to
|
|
1481
|
+
* @returns Writer
|
|
1482
|
+
*/
|
|
1483
|
+
public static encodeDelimited(message: google.pubsub.v1.IngestionFailureEvent.IAvroFailureReason, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1484
|
+
|
|
1485
|
+
/**
|
|
1486
|
+
* Decodes an AvroFailureReason message from the specified reader or buffer.
|
|
1487
|
+
* @param reader Reader or buffer to decode from
|
|
1488
|
+
* @param [length] Message length if known beforehand
|
|
1489
|
+
* @returns AvroFailureReason
|
|
1490
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1491
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1492
|
+
*/
|
|
1493
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionFailureEvent.AvroFailureReason;
|
|
1494
|
+
|
|
1495
|
+
/**
|
|
1496
|
+
* Decodes an AvroFailureReason message from the specified reader or buffer, length delimited.
|
|
1497
|
+
* @param reader Reader or buffer to decode from
|
|
1498
|
+
* @returns AvroFailureReason
|
|
1499
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1500
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1501
|
+
*/
|
|
1502
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionFailureEvent.AvroFailureReason;
|
|
1503
|
+
|
|
1504
|
+
/**
|
|
1505
|
+
* Verifies an AvroFailureReason message.
|
|
1506
|
+
* @param message Plain object to verify
|
|
1507
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1508
|
+
*/
|
|
1509
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1510
|
+
|
|
1511
|
+
/**
|
|
1512
|
+
* Creates an AvroFailureReason message from a plain object. Also converts values to their respective internal types.
|
|
1513
|
+
* @param object Plain object
|
|
1514
|
+
* @returns AvroFailureReason
|
|
1515
|
+
*/
|
|
1516
|
+
public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionFailureEvent.AvroFailureReason;
|
|
1517
|
+
|
|
1518
|
+
/**
|
|
1519
|
+
* Creates a plain object from an AvroFailureReason message. Also converts values to other types if specified.
|
|
1520
|
+
* @param message AvroFailureReason
|
|
1521
|
+
* @param [options] Conversion options
|
|
1522
|
+
* @returns Plain object
|
|
1523
|
+
*/
|
|
1524
|
+
public static toObject(message: google.pubsub.v1.IngestionFailureEvent.AvroFailureReason, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1525
|
+
|
|
1526
|
+
/**
|
|
1527
|
+
* Converts this AvroFailureReason to JSON.
|
|
1528
|
+
* @returns JSON object
|
|
1529
|
+
*/
|
|
1530
|
+
public toJSON(): { [k: string]: any };
|
|
1531
|
+
|
|
1532
|
+
/**
|
|
1533
|
+
* Gets the default type url for AvroFailureReason
|
|
1534
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1535
|
+
* @returns The default type url
|
|
1536
|
+
*/
|
|
1537
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1538
|
+
}
|
|
1539
|
+
|
|
1540
|
+
/** Properties of a CloudStorageFailure. */
|
|
1541
|
+
interface ICloudStorageFailure {
|
|
1542
|
+
|
|
1543
|
+
/** CloudStorageFailure bucket */
|
|
1544
|
+
bucket?: (string|null);
|
|
1545
|
+
|
|
1546
|
+
/** CloudStorageFailure objectName */
|
|
1547
|
+
objectName?: (string|null);
|
|
1548
|
+
|
|
1549
|
+
/** CloudStorageFailure objectGeneration */
|
|
1550
|
+
objectGeneration?: (number|Long|string|null);
|
|
1551
|
+
|
|
1552
|
+
/** CloudStorageFailure avroFailureReason */
|
|
1553
|
+
avroFailureReason?: (google.pubsub.v1.IngestionFailureEvent.IAvroFailureReason|null);
|
|
1554
|
+
|
|
1555
|
+
/** CloudStorageFailure apiViolationReason */
|
|
1556
|
+
apiViolationReason?: (google.pubsub.v1.IngestionFailureEvent.IApiViolationReason|null);
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
/** Represents a CloudStorageFailure. */
|
|
1560
|
+
class CloudStorageFailure implements ICloudStorageFailure {
|
|
1561
|
+
|
|
1562
|
+
/**
|
|
1563
|
+
* Constructs a new CloudStorageFailure.
|
|
1564
|
+
* @param [properties] Properties to set
|
|
1565
|
+
*/
|
|
1566
|
+
constructor(properties?: google.pubsub.v1.IngestionFailureEvent.ICloudStorageFailure);
|
|
1567
|
+
|
|
1568
|
+
/** CloudStorageFailure bucket. */
|
|
1569
|
+
public bucket: string;
|
|
1570
|
+
|
|
1571
|
+
/** CloudStorageFailure objectName. */
|
|
1572
|
+
public objectName: string;
|
|
1573
|
+
|
|
1574
|
+
/** CloudStorageFailure objectGeneration. */
|
|
1575
|
+
public objectGeneration: (number|Long|string);
|
|
1576
|
+
|
|
1577
|
+
/** CloudStorageFailure avroFailureReason. */
|
|
1578
|
+
public avroFailureReason?: (google.pubsub.v1.IngestionFailureEvent.IAvroFailureReason|null);
|
|
1579
|
+
|
|
1580
|
+
/** CloudStorageFailure apiViolationReason. */
|
|
1581
|
+
public apiViolationReason?: (google.pubsub.v1.IngestionFailureEvent.IApiViolationReason|null);
|
|
1582
|
+
|
|
1583
|
+
/** CloudStorageFailure reason. */
|
|
1584
|
+
public reason?: ("avroFailureReason"|"apiViolationReason");
|
|
1585
|
+
|
|
1586
|
+
/**
|
|
1587
|
+
* Creates a new CloudStorageFailure instance using the specified properties.
|
|
1588
|
+
* @param [properties] Properties to set
|
|
1589
|
+
* @returns CloudStorageFailure instance
|
|
1590
|
+
*/
|
|
1591
|
+
public static create(properties?: google.pubsub.v1.IngestionFailureEvent.ICloudStorageFailure): google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure;
|
|
1592
|
+
|
|
1593
|
+
/**
|
|
1594
|
+
* Encodes the specified CloudStorageFailure message. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure.verify|verify} messages.
|
|
1595
|
+
* @param message CloudStorageFailure message or plain object to encode
|
|
1596
|
+
* @param [writer] Writer to encode to
|
|
1597
|
+
* @returns Writer
|
|
1598
|
+
*/
|
|
1599
|
+
public static encode(message: google.pubsub.v1.IngestionFailureEvent.ICloudStorageFailure, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1600
|
+
|
|
1601
|
+
/**
|
|
1602
|
+
* Encodes the specified CloudStorageFailure message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure.verify|verify} messages.
|
|
1603
|
+
* @param message CloudStorageFailure message or plain object to encode
|
|
1604
|
+
* @param [writer] Writer to encode to
|
|
1605
|
+
* @returns Writer
|
|
1606
|
+
*/
|
|
1607
|
+
public static encodeDelimited(message: google.pubsub.v1.IngestionFailureEvent.ICloudStorageFailure, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1608
|
+
|
|
1609
|
+
/**
|
|
1610
|
+
* Decodes a CloudStorageFailure message from the specified reader or buffer.
|
|
1611
|
+
* @param reader Reader or buffer to decode from
|
|
1612
|
+
* @param [length] Message length if known beforehand
|
|
1613
|
+
* @returns CloudStorageFailure
|
|
1614
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1615
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1616
|
+
*/
|
|
1617
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure;
|
|
1618
|
+
|
|
1619
|
+
/**
|
|
1620
|
+
* Decodes a CloudStorageFailure message from the specified reader or buffer, length delimited.
|
|
1621
|
+
* @param reader Reader or buffer to decode from
|
|
1622
|
+
* @returns CloudStorageFailure
|
|
1623
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1624
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1625
|
+
*/
|
|
1626
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure;
|
|
1627
|
+
|
|
1628
|
+
/**
|
|
1629
|
+
* Verifies a CloudStorageFailure message.
|
|
1630
|
+
* @param message Plain object to verify
|
|
1631
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1632
|
+
*/
|
|
1633
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1634
|
+
|
|
1635
|
+
/**
|
|
1636
|
+
* Creates a CloudStorageFailure message from a plain object. Also converts values to their respective internal types.
|
|
1637
|
+
* @param object Plain object
|
|
1638
|
+
* @returns CloudStorageFailure
|
|
1639
|
+
*/
|
|
1640
|
+
public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure;
|
|
1641
|
+
|
|
1642
|
+
/**
|
|
1643
|
+
* Creates a plain object from a CloudStorageFailure message. Also converts values to other types if specified.
|
|
1644
|
+
* @param message CloudStorageFailure
|
|
1645
|
+
* @param [options] Conversion options
|
|
1646
|
+
* @returns Plain object
|
|
1647
|
+
*/
|
|
1648
|
+
public static toObject(message: google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1649
|
+
|
|
1650
|
+
/**
|
|
1651
|
+
* Converts this CloudStorageFailure to JSON.
|
|
1652
|
+
* @returns JSON object
|
|
1653
|
+
*/
|
|
1654
|
+
public toJSON(): { [k: string]: any };
|
|
1655
|
+
|
|
1656
|
+
/**
|
|
1657
|
+
* Gets the default type url for CloudStorageFailure
|
|
1658
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1659
|
+
* @returns The default type url
|
|
1660
|
+
*/
|
|
1661
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1662
|
+
}
|
|
692
1663
|
}
|
|
693
1664
|
|
|
694
1665
|
/** Properties of a Topic. */
|
|
@@ -2704,6 +3675,9 @@ export namespace google {
|
|
|
2704
3675
|
|
|
2705
3676
|
/** Subscription state */
|
|
2706
3677
|
state?: (google.pubsub.v1.Subscription.State|keyof typeof google.pubsub.v1.Subscription.State|null);
|
|
3678
|
+
|
|
3679
|
+
/** Subscription analyticsHubSubscriptionInfo */
|
|
3680
|
+
analyticsHubSubscriptionInfo?: (google.pubsub.v1.Subscription.IAnalyticsHubSubscriptionInfo|null);
|
|
2707
3681
|
}
|
|
2708
3682
|
|
|
2709
3683
|
/** Represents a Subscription. */
|
|
@@ -2769,6 +3743,9 @@ export namespace google {
|
|
|
2769
3743
|
/** Subscription state. */
|
|
2770
3744
|
public state: (google.pubsub.v1.Subscription.State|keyof typeof google.pubsub.v1.Subscription.State);
|
|
2771
3745
|
|
|
3746
|
+
/** Subscription analyticsHubSubscriptionInfo. */
|
|
3747
|
+
public analyticsHubSubscriptionInfo?: (google.pubsub.v1.Subscription.IAnalyticsHubSubscriptionInfo|null);
|
|
3748
|
+
|
|
2772
3749
|
/**
|
|
2773
3750
|
* Creates a new Subscription instance using the specified properties.
|
|
2774
3751
|
* @param [properties] Properties to set
|
|
@@ -2855,6 +3832,109 @@ export namespace google {
|
|
|
2855
3832
|
ACTIVE = 1,
|
|
2856
3833
|
RESOURCE_ERROR = 2
|
|
2857
3834
|
}
|
|
3835
|
+
|
|
3836
|
+
/** Properties of an AnalyticsHubSubscriptionInfo. */
|
|
3837
|
+
interface IAnalyticsHubSubscriptionInfo {
|
|
3838
|
+
|
|
3839
|
+
/** AnalyticsHubSubscriptionInfo listing */
|
|
3840
|
+
listing?: (string|null);
|
|
3841
|
+
|
|
3842
|
+
/** AnalyticsHubSubscriptionInfo subscription */
|
|
3843
|
+
subscription?: (string|null);
|
|
3844
|
+
}
|
|
3845
|
+
|
|
3846
|
+
/** Represents an AnalyticsHubSubscriptionInfo. */
|
|
3847
|
+
class AnalyticsHubSubscriptionInfo implements IAnalyticsHubSubscriptionInfo {
|
|
3848
|
+
|
|
3849
|
+
/**
|
|
3850
|
+
* Constructs a new AnalyticsHubSubscriptionInfo.
|
|
3851
|
+
* @param [properties] Properties to set
|
|
3852
|
+
*/
|
|
3853
|
+
constructor(properties?: google.pubsub.v1.Subscription.IAnalyticsHubSubscriptionInfo);
|
|
3854
|
+
|
|
3855
|
+
/** AnalyticsHubSubscriptionInfo listing. */
|
|
3856
|
+
public listing: string;
|
|
3857
|
+
|
|
3858
|
+
/** AnalyticsHubSubscriptionInfo subscription. */
|
|
3859
|
+
public subscription: string;
|
|
3860
|
+
|
|
3861
|
+
/**
|
|
3862
|
+
* Creates a new AnalyticsHubSubscriptionInfo instance using the specified properties.
|
|
3863
|
+
* @param [properties] Properties to set
|
|
3864
|
+
* @returns AnalyticsHubSubscriptionInfo instance
|
|
3865
|
+
*/
|
|
3866
|
+
public static create(properties?: google.pubsub.v1.Subscription.IAnalyticsHubSubscriptionInfo): google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo;
|
|
3867
|
+
|
|
3868
|
+
/**
|
|
3869
|
+
* Encodes the specified AnalyticsHubSubscriptionInfo message. Does not implicitly {@link google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo.verify|verify} messages.
|
|
3870
|
+
* @param message AnalyticsHubSubscriptionInfo message or plain object to encode
|
|
3871
|
+
* @param [writer] Writer to encode to
|
|
3872
|
+
* @returns Writer
|
|
3873
|
+
*/
|
|
3874
|
+
public static encode(message: google.pubsub.v1.Subscription.IAnalyticsHubSubscriptionInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3875
|
+
|
|
3876
|
+
/**
|
|
3877
|
+
* Encodes the specified AnalyticsHubSubscriptionInfo message, length delimited. Does not implicitly {@link google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo.verify|verify} messages.
|
|
3878
|
+
* @param message AnalyticsHubSubscriptionInfo message or plain object to encode
|
|
3879
|
+
* @param [writer] Writer to encode to
|
|
3880
|
+
* @returns Writer
|
|
3881
|
+
*/
|
|
3882
|
+
public static encodeDelimited(message: google.pubsub.v1.Subscription.IAnalyticsHubSubscriptionInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3883
|
+
|
|
3884
|
+
/**
|
|
3885
|
+
* Decodes an AnalyticsHubSubscriptionInfo message from the specified reader or buffer.
|
|
3886
|
+
* @param reader Reader or buffer to decode from
|
|
3887
|
+
* @param [length] Message length if known beforehand
|
|
3888
|
+
* @returns AnalyticsHubSubscriptionInfo
|
|
3889
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3890
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3891
|
+
*/
|
|
3892
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo;
|
|
3893
|
+
|
|
3894
|
+
/**
|
|
3895
|
+
* Decodes an AnalyticsHubSubscriptionInfo message from the specified reader or buffer, length delimited.
|
|
3896
|
+
* @param reader Reader or buffer to decode from
|
|
3897
|
+
* @returns AnalyticsHubSubscriptionInfo
|
|
3898
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3899
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3900
|
+
*/
|
|
3901
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo;
|
|
3902
|
+
|
|
3903
|
+
/**
|
|
3904
|
+
* Verifies an AnalyticsHubSubscriptionInfo message.
|
|
3905
|
+
* @param message Plain object to verify
|
|
3906
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3907
|
+
*/
|
|
3908
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3909
|
+
|
|
3910
|
+
/**
|
|
3911
|
+
* Creates an AnalyticsHubSubscriptionInfo message from a plain object. Also converts values to their respective internal types.
|
|
3912
|
+
* @param object Plain object
|
|
3913
|
+
* @returns AnalyticsHubSubscriptionInfo
|
|
3914
|
+
*/
|
|
3915
|
+
public static fromObject(object: { [k: string]: any }): google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo;
|
|
3916
|
+
|
|
3917
|
+
/**
|
|
3918
|
+
* Creates a plain object from an AnalyticsHubSubscriptionInfo message. Also converts values to other types if specified.
|
|
3919
|
+
* @param message AnalyticsHubSubscriptionInfo
|
|
3920
|
+
* @param [options] Conversion options
|
|
3921
|
+
* @returns Plain object
|
|
3922
|
+
*/
|
|
3923
|
+
public static toObject(message: google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3924
|
+
|
|
3925
|
+
/**
|
|
3926
|
+
* Converts this AnalyticsHubSubscriptionInfo to JSON.
|
|
3927
|
+
* @returns JSON object
|
|
3928
|
+
*/
|
|
3929
|
+
public toJSON(): { [k: string]: any };
|
|
3930
|
+
|
|
3931
|
+
/**
|
|
3932
|
+
* Gets the default type url for AnalyticsHubSubscriptionInfo
|
|
3933
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3934
|
+
* @returns The default type url
|
|
3935
|
+
*/
|
|
3936
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3937
|
+
}
|
|
2858
3938
|
}
|
|
2859
3939
|
|
|
2860
3940
|
/** Properties of a RetryPolicy. */
|