@googlemaps/fleetengine 0.4.0 → 0.5.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 +8 -0
- package/README.md +2 -0
- package/build/protos/google/geo/type/viewport.proto +1 -1
- package/build/protos/google/maps/fleetengine/v1/fleetengine.proto +2 -1
- package/build/protos/google/maps/fleetengine/v1/header.proto +1 -1
- package/build/protos/google/maps/fleetengine/v1/traffic.proto +1 -1
- package/build/protos/google/maps/fleetengine/v1/trip_api.proto +35 -1
- package/build/protos/google/maps/fleetengine/v1/trips.proto +1 -1
- package/build/protos/google/maps/fleetengine/v1/vehicle_api.proto +37 -1
- package/build/protos/google/maps/fleetengine/v1/vehicles.proto +9 -1
- package/build/protos/protos.d.ts +536 -282
- package/build/protos/protos.js +1857 -1283
- package/build/protos/protos.json +179 -77
- package/build/src/v1/trip_service_client.d.ts +32 -1
- package/build/src/v1/trip_service_client.js +31 -2
- package/build/src/v1/trip_service_client.js.map +1 -1
- package/build/src/v1/trip_service_client_config.json +4 -0
- package/build/src/v1/vehicle_service_client.d.ts +33 -1
- package/build/src/v1/vehicle_service_client.js +31 -2
- package/build/src/v1/vehicle_service_client.js.map +1 -1
- package/build/src/v1/vehicle_service_client_config.json +4 -0
- package/package.json +2 -2
package/build/protos/protos.d.ts
CHANGED
|
@@ -1281,6 +1281,20 @@ export namespace maps {
|
|
|
1281
1281
|
*/
|
|
1282
1282
|
public getTrip(request: maps.fleetengine.v1.IGetTripRequest): Promise<maps.fleetengine.v1.Trip>;
|
|
1283
1283
|
|
|
1284
|
+
/**
|
|
1285
|
+
* Calls DeleteTrip.
|
|
1286
|
+
* @param request DeleteTripRequest message or plain object
|
|
1287
|
+
* @param callback Node-style callback called with the error, if any, and Empty
|
|
1288
|
+
*/
|
|
1289
|
+
public deleteTrip(request: maps.fleetengine.v1.IDeleteTripRequest, callback: maps.fleetengine.v1.TripService.DeleteTripCallback): void;
|
|
1290
|
+
|
|
1291
|
+
/**
|
|
1292
|
+
* Calls DeleteTrip.
|
|
1293
|
+
* @param request DeleteTripRequest message or plain object
|
|
1294
|
+
* @returns Promise
|
|
1295
|
+
*/
|
|
1296
|
+
public deleteTrip(request: maps.fleetengine.v1.IDeleteTripRequest): Promise<google.protobuf.Empty>;
|
|
1297
|
+
|
|
1284
1298
|
/**
|
|
1285
1299
|
* Calls ReportBillableTrip.
|
|
1286
1300
|
* @param request ReportBillableTripRequest message or plain object
|
|
@@ -1340,6 +1354,13 @@ export namespace maps {
|
|
|
1340
1354
|
*/
|
|
1341
1355
|
type GetTripCallback = (error: (Error|null), response?: maps.fleetengine.v1.Trip) => void;
|
|
1342
1356
|
|
|
1357
|
+
/**
|
|
1358
|
+
* Callback as used by {@link maps.fleetengine.v1.TripService|deleteTrip}.
|
|
1359
|
+
* @param error Error, if any
|
|
1360
|
+
* @param [response] Empty
|
|
1361
|
+
*/
|
|
1362
|
+
type DeleteTripCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
|
|
1363
|
+
|
|
1343
1364
|
/**
|
|
1344
1365
|
* Callback as used by {@link maps.fleetengine.v1.TripService|reportBillableTrip}.
|
|
1345
1366
|
* @param error Error, if any
|
|
@@ -1616,6 +1637,109 @@ export namespace maps {
|
|
|
1616
1637
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1617
1638
|
}
|
|
1618
1639
|
|
|
1640
|
+
/** Properties of a DeleteTripRequest. */
|
|
1641
|
+
interface IDeleteTripRequest {
|
|
1642
|
+
|
|
1643
|
+
/** DeleteTripRequest header */
|
|
1644
|
+
header?: (maps.fleetengine.v1.IRequestHeader|null);
|
|
1645
|
+
|
|
1646
|
+
/** DeleteTripRequest name */
|
|
1647
|
+
name?: (string|null);
|
|
1648
|
+
}
|
|
1649
|
+
|
|
1650
|
+
/** Represents a DeleteTripRequest. */
|
|
1651
|
+
class DeleteTripRequest implements IDeleteTripRequest {
|
|
1652
|
+
|
|
1653
|
+
/**
|
|
1654
|
+
* Constructs a new DeleteTripRequest.
|
|
1655
|
+
* @param [properties] Properties to set
|
|
1656
|
+
*/
|
|
1657
|
+
constructor(properties?: maps.fleetengine.v1.IDeleteTripRequest);
|
|
1658
|
+
|
|
1659
|
+
/** DeleteTripRequest header. */
|
|
1660
|
+
public header?: (maps.fleetengine.v1.IRequestHeader|null);
|
|
1661
|
+
|
|
1662
|
+
/** DeleteTripRequest name. */
|
|
1663
|
+
public name: string;
|
|
1664
|
+
|
|
1665
|
+
/**
|
|
1666
|
+
* Creates a new DeleteTripRequest instance using the specified properties.
|
|
1667
|
+
* @param [properties] Properties to set
|
|
1668
|
+
* @returns DeleteTripRequest instance
|
|
1669
|
+
*/
|
|
1670
|
+
public static create(properties?: maps.fleetengine.v1.IDeleteTripRequest): maps.fleetengine.v1.DeleteTripRequest;
|
|
1671
|
+
|
|
1672
|
+
/**
|
|
1673
|
+
* Encodes the specified DeleteTripRequest message. Does not implicitly {@link maps.fleetengine.v1.DeleteTripRequest.verify|verify} messages.
|
|
1674
|
+
* @param message DeleteTripRequest message or plain object to encode
|
|
1675
|
+
* @param [writer] Writer to encode to
|
|
1676
|
+
* @returns Writer
|
|
1677
|
+
*/
|
|
1678
|
+
public static encode(message: maps.fleetengine.v1.IDeleteTripRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1679
|
+
|
|
1680
|
+
/**
|
|
1681
|
+
* Encodes the specified DeleteTripRequest message, length delimited. Does not implicitly {@link maps.fleetengine.v1.DeleteTripRequest.verify|verify} messages.
|
|
1682
|
+
* @param message DeleteTripRequest message or plain object to encode
|
|
1683
|
+
* @param [writer] Writer to encode to
|
|
1684
|
+
* @returns Writer
|
|
1685
|
+
*/
|
|
1686
|
+
public static encodeDelimited(message: maps.fleetengine.v1.IDeleteTripRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1687
|
+
|
|
1688
|
+
/**
|
|
1689
|
+
* Decodes a DeleteTripRequest message from the specified reader or buffer.
|
|
1690
|
+
* @param reader Reader or buffer to decode from
|
|
1691
|
+
* @param [length] Message length if known beforehand
|
|
1692
|
+
* @returns DeleteTripRequest
|
|
1693
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1694
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1695
|
+
*/
|
|
1696
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): maps.fleetengine.v1.DeleteTripRequest;
|
|
1697
|
+
|
|
1698
|
+
/**
|
|
1699
|
+
* Decodes a DeleteTripRequest message from the specified reader or buffer, length delimited.
|
|
1700
|
+
* @param reader Reader or buffer to decode from
|
|
1701
|
+
* @returns DeleteTripRequest
|
|
1702
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1703
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1704
|
+
*/
|
|
1705
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): maps.fleetengine.v1.DeleteTripRequest;
|
|
1706
|
+
|
|
1707
|
+
/**
|
|
1708
|
+
* Verifies a DeleteTripRequest message.
|
|
1709
|
+
* @param message Plain object to verify
|
|
1710
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1711
|
+
*/
|
|
1712
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1713
|
+
|
|
1714
|
+
/**
|
|
1715
|
+
* Creates a DeleteTripRequest message from a plain object. Also converts values to their respective internal types.
|
|
1716
|
+
* @param object Plain object
|
|
1717
|
+
* @returns DeleteTripRequest
|
|
1718
|
+
*/
|
|
1719
|
+
public static fromObject(object: { [k: string]: any }): maps.fleetengine.v1.DeleteTripRequest;
|
|
1720
|
+
|
|
1721
|
+
/**
|
|
1722
|
+
* Creates a plain object from a DeleteTripRequest message. Also converts values to other types if specified.
|
|
1723
|
+
* @param message DeleteTripRequest
|
|
1724
|
+
* @param [options] Conversion options
|
|
1725
|
+
* @returns Plain object
|
|
1726
|
+
*/
|
|
1727
|
+
public static toObject(message: maps.fleetengine.v1.DeleteTripRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1728
|
+
|
|
1729
|
+
/**
|
|
1730
|
+
* Converts this DeleteTripRequest to JSON.
|
|
1731
|
+
* @returns JSON object
|
|
1732
|
+
*/
|
|
1733
|
+
public toJSON(): { [k: string]: any };
|
|
1734
|
+
|
|
1735
|
+
/**
|
|
1736
|
+
* Gets the default type url for DeleteTripRequest
|
|
1737
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1738
|
+
* @returns The default type url
|
|
1739
|
+
*/
|
|
1740
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1741
|
+
}
|
|
1742
|
+
|
|
1619
1743
|
/** Properties of a ReportBillableTripRequest. */
|
|
1620
1744
|
interface IReportBillableTripRequest {
|
|
1621
1745
|
|
|
@@ -2573,6 +2697,20 @@ export namespace maps {
|
|
|
2573
2697
|
*/
|
|
2574
2698
|
public getVehicle(request: maps.fleetengine.v1.IGetVehicleRequest): Promise<maps.fleetengine.v1.Vehicle>;
|
|
2575
2699
|
|
|
2700
|
+
/**
|
|
2701
|
+
* Calls DeleteVehicle.
|
|
2702
|
+
* @param request DeleteVehicleRequest message or plain object
|
|
2703
|
+
* @param callback Node-style callback called with the error, if any, and Empty
|
|
2704
|
+
*/
|
|
2705
|
+
public deleteVehicle(request: maps.fleetengine.v1.IDeleteVehicleRequest, callback: maps.fleetengine.v1.VehicleService.DeleteVehicleCallback): void;
|
|
2706
|
+
|
|
2707
|
+
/**
|
|
2708
|
+
* Calls DeleteVehicle.
|
|
2709
|
+
* @param request DeleteVehicleRequest message or plain object
|
|
2710
|
+
* @returns Promise
|
|
2711
|
+
*/
|
|
2712
|
+
public deleteVehicle(request: maps.fleetengine.v1.IDeleteVehicleRequest): Promise<google.protobuf.Empty>;
|
|
2713
|
+
|
|
2576
2714
|
/**
|
|
2577
2715
|
* Calls UpdateVehicle.
|
|
2578
2716
|
* @param request UpdateVehicleRequest message or plain object
|
|
@@ -2646,6 +2784,13 @@ export namespace maps {
|
|
|
2646
2784
|
*/
|
|
2647
2785
|
type GetVehicleCallback = (error: (Error|null), response?: maps.fleetengine.v1.Vehicle) => void;
|
|
2648
2786
|
|
|
2787
|
+
/**
|
|
2788
|
+
* Callback as used by {@link maps.fleetengine.v1.VehicleService|deleteVehicle}.
|
|
2789
|
+
* @param error Error, if any
|
|
2790
|
+
* @param [response] Empty
|
|
2791
|
+
*/
|
|
2792
|
+
type DeleteVehicleCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
|
|
2793
|
+
|
|
2649
2794
|
/**
|
|
2650
2795
|
* Callback as used by {@link maps.fleetengine.v1.VehicleService|updateVehicle}.
|
|
2651
2796
|
* @param error Error, if any
|
|
@@ -2905,6 +3050,109 @@ export namespace maps {
|
|
|
2905
3050
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2906
3051
|
}
|
|
2907
3052
|
|
|
3053
|
+
/** Properties of a DeleteVehicleRequest. */
|
|
3054
|
+
interface IDeleteVehicleRequest {
|
|
3055
|
+
|
|
3056
|
+
/** DeleteVehicleRequest header */
|
|
3057
|
+
header?: (maps.fleetengine.v1.IRequestHeader|null);
|
|
3058
|
+
|
|
3059
|
+
/** DeleteVehicleRequest name */
|
|
3060
|
+
name?: (string|null);
|
|
3061
|
+
}
|
|
3062
|
+
|
|
3063
|
+
/** Represents a DeleteVehicleRequest. */
|
|
3064
|
+
class DeleteVehicleRequest implements IDeleteVehicleRequest {
|
|
3065
|
+
|
|
3066
|
+
/**
|
|
3067
|
+
* Constructs a new DeleteVehicleRequest.
|
|
3068
|
+
* @param [properties] Properties to set
|
|
3069
|
+
*/
|
|
3070
|
+
constructor(properties?: maps.fleetengine.v1.IDeleteVehicleRequest);
|
|
3071
|
+
|
|
3072
|
+
/** DeleteVehicleRequest header. */
|
|
3073
|
+
public header?: (maps.fleetengine.v1.IRequestHeader|null);
|
|
3074
|
+
|
|
3075
|
+
/** DeleteVehicleRequest name. */
|
|
3076
|
+
public name: string;
|
|
3077
|
+
|
|
3078
|
+
/**
|
|
3079
|
+
* Creates a new DeleteVehicleRequest instance using the specified properties.
|
|
3080
|
+
* @param [properties] Properties to set
|
|
3081
|
+
* @returns DeleteVehicleRequest instance
|
|
3082
|
+
*/
|
|
3083
|
+
public static create(properties?: maps.fleetengine.v1.IDeleteVehicleRequest): maps.fleetengine.v1.DeleteVehicleRequest;
|
|
3084
|
+
|
|
3085
|
+
/**
|
|
3086
|
+
* Encodes the specified DeleteVehicleRequest message. Does not implicitly {@link maps.fleetengine.v1.DeleteVehicleRequest.verify|verify} messages.
|
|
3087
|
+
* @param message DeleteVehicleRequest message or plain object to encode
|
|
3088
|
+
* @param [writer] Writer to encode to
|
|
3089
|
+
* @returns Writer
|
|
3090
|
+
*/
|
|
3091
|
+
public static encode(message: maps.fleetengine.v1.IDeleteVehicleRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3092
|
+
|
|
3093
|
+
/**
|
|
3094
|
+
* Encodes the specified DeleteVehicleRequest message, length delimited. Does not implicitly {@link maps.fleetengine.v1.DeleteVehicleRequest.verify|verify} messages.
|
|
3095
|
+
* @param message DeleteVehicleRequest message or plain object to encode
|
|
3096
|
+
* @param [writer] Writer to encode to
|
|
3097
|
+
* @returns Writer
|
|
3098
|
+
*/
|
|
3099
|
+
public static encodeDelimited(message: maps.fleetengine.v1.IDeleteVehicleRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3100
|
+
|
|
3101
|
+
/**
|
|
3102
|
+
* Decodes a DeleteVehicleRequest message from the specified reader or buffer.
|
|
3103
|
+
* @param reader Reader or buffer to decode from
|
|
3104
|
+
* @param [length] Message length if known beforehand
|
|
3105
|
+
* @returns DeleteVehicleRequest
|
|
3106
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3107
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3108
|
+
*/
|
|
3109
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): maps.fleetengine.v1.DeleteVehicleRequest;
|
|
3110
|
+
|
|
3111
|
+
/**
|
|
3112
|
+
* Decodes a DeleteVehicleRequest message from the specified reader or buffer, length delimited.
|
|
3113
|
+
* @param reader Reader or buffer to decode from
|
|
3114
|
+
* @returns DeleteVehicleRequest
|
|
3115
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3116
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3117
|
+
*/
|
|
3118
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): maps.fleetengine.v1.DeleteVehicleRequest;
|
|
3119
|
+
|
|
3120
|
+
/**
|
|
3121
|
+
* Verifies a DeleteVehicleRequest message.
|
|
3122
|
+
* @param message Plain object to verify
|
|
3123
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3124
|
+
*/
|
|
3125
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3126
|
+
|
|
3127
|
+
/**
|
|
3128
|
+
* Creates a DeleteVehicleRequest message from a plain object. Also converts values to their respective internal types.
|
|
3129
|
+
* @param object Plain object
|
|
3130
|
+
* @returns DeleteVehicleRequest
|
|
3131
|
+
*/
|
|
3132
|
+
public static fromObject(object: { [k: string]: any }): maps.fleetengine.v1.DeleteVehicleRequest;
|
|
3133
|
+
|
|
3134
|
+
/**
|
|
3135
|
+
* Creates a plain object from a DeleteVehicleRequest message. Also converts values to other types if specified.
|
|
3136
|
+
* @param message DeleteVehicleRequest
|
|
3137
|
+
* @param [options] Conversion options
|
|
3138
|
+
* @returns Plain object
|
|
3139
|
+
*/
|
|
3140
|
+
public static toObject(message: maps.fleetengine.v1.DeleteVehicleRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3141
|
+
|
|
3142
|
+
/**
|
|
3143
|
+
* Converts this DeleteVehicleRequest to JSON.
|
|
3144
|
+
* @returns JSON object
|
|
3145
|
+
*/
|
|
3146
|
+
public toJSON(): { [k: string]: any };
|
|
3147
|
+
|
|
3148
|
+
/**
|
|
3149
|
+
* Gets the default type url for DeleteVehicleRequest
|
|
3150
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3151
|
+
* @returns The default type url
|
|
3152
|
+
*/
|
|
3153
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3154
|
+
}
|
|
3155
|
+
|
|
2908
3156
|
/** Properties of an UpdateVehicleRequest. */
|
|
2909
3157
|
interface IUpdateVehicleRequest {
|
|
2910
3158
|
|
|
@@ -4219,6 +4467,9 @@ export namespace maps {
|
|
|
4219
4467
|
/** Vehicle lastLocation */
|
|
4220
4468
|
lastLocation?: (maps.fleetengine.v1.IVehicleLocation|null);
|
|
4221
4469
|
|
|
4470
|
+
/** Vehicle pastLocations */
|
|
4471
|
+
pastLocations?: (maps.fleetengine.v1.IVehicleLocation[]|null);
|
|
4472
|
+
|
|
4222
4473
|
/** Vehicle maximumCapacity */
|
|
4223
4474
|
maximumCapacity?: (number|null);
|
|
4224
4475
|
|
|
@@ -4295,6 +4546,9 @@ export namespace maps {
|
|
|
4295
4546
|
/** Vehicle lastLocation. */
|
|
4296
4547
|
public lastLocation?: (maps.fleetengine.v1.IVehicleLocation|null);
|
|
4297
4548
|
|
|
4549
|
+
/** Vehicle pastLocations. */
|
|
4550
|
+
public pastLocations: maps.fleetengine.v1.IVehicleLocation[];
|
|
4551
|
+
|
|
4298
4552
|
/** Vehicle maximumCapacity. */
|
|
4299
4553
|
public maximumCapacity: number;
|
|
4300
4554
|
|
|
@@ -5457,75 +5711,327 @@ export namespace google {
|
|
|
5457
5711
|
IDENTIFIER = 8
|
|
5458
5712
|
}
|
|
5459
5713
|
|
|
5460
|
-
/** Properties of a
|
|
5461
|
-
interface
|
|
5714
|
+
/** Properties of a ResourceDescriptor. */
|
|
5715
|
+
interface IResourceDescriptor {
|
|
5462
5716
|
|
|
5463
|
-
/**
|
|
5464
|
-
|
|
5717
|
+
/** ResourceDescriptor type */
|
|
5718
|
+
type?: (string|null);
|
|
5465
5719
|
|
|
5466
|
-
/**
|
|
5467
|
-
|
|
5720
|
+
/** ResourceDescriptor pattern */
|
|
5721
|
+
pattern?: (string[]|null);
|
|
5722
|
+
|
|
5723
|
+
/** ResourceDescriptor nameField */
|
|
5724
|
+
nameField?: (string|null);
|
|
5725
|
+
|
|
5726
|
+
/** ResourceDescriptor history */
|
|
5727
|
+
history?: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History|null);
|
|
5728
|
+
|
|
5729
|
+
/** ResourceDescriptor plural */
|
|
5730
|
+
plural?: (string|null);
|
|
5731
|
+
|
|
5732
|
+
/** ResourceDescriptor singular */
|
|
5733
|
+
singular?: (string|null);
|
|
5734
|
+
|
|
5735
|
+
/** ResourceDescriptor style */
|
|
5736
|
+
style?: (google.api.ResourceDescriptor.Style[]|null);
|
|
5468
5737
|
}
|
|
5469
5738
|
|
|
5470
|
-
/** Represents a
|
|
5471
|
-
class
|
|
5739
|
+
/** Represents a ResourceDescriptor. */
|
|
5740
|
+
class ResourceDescriptor implements IResourceDescriptor {
|
|
5472
5741
|
|
|
5473
5742
|
/**
|
|
5474
|
-
* Constructs a new
|
|
5743
|
+
* Constructs a new ResourceDescriptor.
|
|
5475
5744
|
* @param [properties] Properties to set
|
|
5476
5745
|
*/
|
|
5477
|
-
constructor(properties?: google.api.
|
|
5746
|
+
constructor(properties?: google.api.IResourceDescriptor);
|
|
5478
5747
|
|
|
5479
|
-
/**
|
|
5480
|
-
public
|
|
5748
|
+
/** ResourceDescriptor type. */
|
|
5749
|
+
public type: string;
|
|
5481
5750
|
|
|
5482
|
-
/**
|
|
5483
|
-
public
|
|
5751
|
+
/** ResourceDescriptor pattern. */
|
|
5752
|
+
public pattern: string[];
|
|
5753
|
+
|
|
5754
|
+
/** ResourceDescriptor nameField. */
|
|
5755
|
+
public nameField: string;
|
|
5756
|
+
|
|
5757
|
+
/** ResourceDescriptor history. */
|
|
5758
|
+
public history: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History);
|
|
5759
|
+
|
|
5760
|
+
/** ResourceDescriptor plural. */
|
|
5761
|
+
public plural: string;
|
|
5762
|
+
|
|
5763
|
+
/** ResourceDescriptor singular. */
|
|
5764
|
+
public singular: string;
|
|
5765
|
+
|
|
5766
|
+
/** ResourceDescriptor style. */
|
|
5767
|
+
public style: google.api.ResourceDescriptor.Style[];
|
|
5484
5768
|
|
|
5485
5769
|
/**
|
|
5486
|
-
* Creates a new
|
|
5770
|
+
* Creates a new ResourceDescriptor instance using the specified properties.
|
|
5487
5771
|
* @param [properties] Properties to set
|
|
5488
|
-
* @returns
|
|
5772
|
+
* @returns ResourceDescriptor instance
|
|
5489
5773
|
*/
|
|
5490
|
-
public static create(properties?: google.api.
|
|
5774
|
+
public static create(properties?: google.api.IResourceDescriptor): google.api.ResourceDescriptor;
|
|
5491
5775
|
|
|
5492
5776
|
/**
|
|
5493
|
-
* Encodes the specified
|
|
5494
|
-
* @param message
|
|
5777
|
+
* Encodes the specified ResourceDescriptor message. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages.
|
|
5778
|
+
* @param message ResourceDescriptor message or plain object to encode
|
|
5495
5779
|
* @param [writer] Writer to encode to
|
|
5496
5780
|
* @returns Writer
|
|
5497
5781
|
*/
|
|
5498
|
-
public static encode(message: google.api.
|
|
5782
|
+
public static encode(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5499
5783
|
|
|
5500
5784
|
/**
|
|
5501
|
-
* Encodes the specified
|
|
5502
|
-
* @param message
|
|
5785
|
+
* Encodes the specified ResourceDescriptor message, length delimited. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages.
|
|
5786
|
+
* @param message ResourceDescriptor message or plain object to encode
|
|
5503
5787
|
* @param [writer] Writer to encode to
|
|
5504
5788
|
* @returns Writer
|
|
5505
5789
|
*/
|
|
5506
|
-
public static encodeDelimited(message: google.api.
|
|
5790
|
+
public static encodeDelimited(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5507
5791
|
|
|
5508
5792
|
/**
|
|
5509
|
-
* Decodes a
|
|
5793
|
+
* Decodes a ResourceDescriptor message from the specified reader or buffer.
|
|
5510
5794
|
* @param reader Reader or buffer to decode from
|
|
5511
5795
|
* @param [length] Message length if known beforehand
|
|
5512
|
-
* @returns
|
|
5796
|
+
* @returns ResourceDescriptor
|
|
5513
5797
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5514
5798
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5515
5799
|
*/
|
|
5516
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.
|
|
5800
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceDescriptor;
|
|
5517
5801
|
|
|
5518
5802
|
/**
|
|
5519
|
-
* Decodes a
|
|
5803
|
+
* Decodes a ResourceDescriptor message from the specified reader or buffer, length delimited.
|
|
5520
5804
|
* @param reader Reader or buffer to decode from
|
|
5521
|
-
* @returns
|
|
5805
|
+
* @returns ResourceDescriptor
|
|
5522
5806
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5523
5807
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5524
5808
|
*/
|
|
5525
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.
|
|
5809
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceDescriptor;
|
|
5526
5810
|
|
|
5527
5811
|
/**
|
|
5528
|
-
* Verifies a
|
|
5812
|
+
* Verifies a ResourceDescriptor message.
|
|
5813
|
+
* @param message Plain object to verify
|
|
5814
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
5815
|
+
*/
|
|
5816
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5817
|
+
|
|
5818
|
+
/**
|
|
5819
|
+
* Creates a ResourceDescriptor message from a plain object. Also converts values to their respective internal types.
|
|
5820
|
+
* @param object Plain object
|
|
5821
|
+
* @returns ResourceDescriptor
|
|
5822
|
+
*/
|
|
5823
|
+
public static fromObject(object: { [k: string]: any }): google.api.ResourceDescriptor;
|
|
5824
|
+
|
|
5825
|
+
/**
|
|
5826
|
+
* Creates a plain object from a ResourceDescriptor message. Also converts values to other types if specified.
|
|
5827
|
+
* @param message ResourceDescriptor
|
|
5828
|
+
* @param [options] Conversion options
|
|
5829
|
+
* @returns Plain object
|
|
5830
|
+
*/
|
|
5831
|
+
public static toObject(message: google.api.ResourceDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5832
|
+
|
|
5833
|
+
/**
|
|
5834
|
+
* Converts this ResourceDescriptor to JSON.
|
|
5835
|
+
* @returns JSON object
|
|
5836
|
+
*/
|
|
5837
|
+
public toJSON(): { [k: string]: any };
|
|
5838
|
+
|
|
5839
|
+
/**
|
|
5840
|
+
* Gets the default type url for ResourceDescriptor
|
|
5841
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5842
|
+
* @returns The default type url
|
|
5843
|
+
*/
|
|
5844
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5845
|
+
}
|
|
5846
|
+
|
|
5847
|
+
namespace ResourceDescriptor {
|
|
5848
|
+
|
|
5849
|
+
/** History enum. */
|
|
5850
|
+
enum History {
|
|
5851
|
+
HISTORY_UNSPECIFIED = 0,
|
|
5852
|
+
ORIGINALLY_SINGLE_PATTERN = 1,
|
|
5853
|
+
FUTURE_MULTI_PATTERN = 2
|
|
5854
|
+
}
|
|
5855
|
+
|
|
5856
|
+
/** Style enum. */
|
|
5857
|
+
enum Style {
|
|
5858
|
+
STYLE_UNSPECIFIED = 0,
|
|
5859
|
+
DECLARATIVE_FRIENDLY = 1
|
|
5860
|
+
}
|
|
5861
|
+
}
|
|
5862
|
+
|
|
5863
|
+
/** Properties of a ResourceReference. */
|
|
5864
|
+
interface IResourceReference {
|
|
5865
|
+
|
|
5866
|
+
/** ResourceReference type */
|
|
5867
|
+
type?: (string|null);
|
|
5868
|
+
|
|
5869
|
+
/** ResourceReference childType */
|
|
5870
|
+
childType?: (string|null);
|
|
5871
|
+
}
|
|
5872
|
+
|
|
5873
|
+
/** Represents a ResourceReference. */
|
|
5874
|
+
class ResourceReference implements IResourceReference {
|
|
5875
|
+
|
|
5876
|
+
/**
|
|
5877
|
+
* Constructs a new ResourceReference.
|
|
5878
|
+
* @param [properties] Properties to set
|
|
5879
|
+
*/
|
|
5880
|
+
constructor(properties?: google.api.IResourceReference);
|
|
5881
|
+
|
|
5882
|
+
/** ResourceReference type. */
|
|
5883
|
+
public type: string;
|
|
5884
|
+
|
|
5885
|
+
/** ResourceReference childType. */
|
|
5886
|
+
public childType: string;
|
|
5887
|
+
|
|
5888
|
+
/**
|
|
5889
|
+
* Creates a new ResourceReference instance using the specified properties.
|
|
5890
|
+
* @param [properties] Properties to set
|
|
5891
|
+
* @returns ResourceReference instance
|
|
5892
|
+
*/
|
|
5893
|
+
public static create(properties?: google.api.IResourceReference): google.api.ResourceReference;
|
|
5894
|
+
|
|
5895
|
+
/**
|
|
5896
|
+
* Encodes the specified ResourceReference message. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages.
|
|
5897
|
+
* @param message ResourceReference message or plain object to encode
|
|
5898
|
+
* @param [writer] Writer to encode to
|
|
5899
|
+
* @returns Writer
|
|
5900
|
+
*/
|
|
5901
|
+
public static encode(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5902
|
+
|
|
5903
|
+
/**
|
|
5904
|
+
* Encodes the specified ResourceReference message, length delimited. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages.
|
|
5905
|
+
* @param message ResourceReference message or plain object to encode
|
|
5906
|
+
* @param [writer] Writer to encode to
|
|
5907
|
+
* @returns Writer
|
|
5908
|
+
*/
|
|
5909
|
+
public static encodeDelimited(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5910
|
+
|
|
5911
|
+
/**
|
|
5912
|
+
* Decodes a ResourceReference message from the specified reader or buffer.
|
|
5913
|
+
* @param reader Reader or buffer to decode from
|
|
5914
|
+
* @param [length] Message length if known beforehand
|
|
5915
|
+
* @returns ResourceReference
|
|
5916
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5917
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5918
|
+
*/
|
|
5919
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceReference;
|
|
5920
|
+
|
|
5921
|
+
/**
|
|
5922
|
+
* Decodes a ResourceReference message from the specified reader or buffer, length delimited.
|
|
5923
|
+
* @param reader Reader or buffer to decode from
|
|
5924
|
+
* @returns ResourceReference
|
|
5925
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5926
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5927
|
+
*/
|
|
5928
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceReference;
|
|
5929
|
+
|
|
5930
|
+
/**
|
|
5931
|
+
* Verifies a ResourceReference message.
|
|
5932
|
+
* @param message Plain object to verify
|
|
5933
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
5934
|
+
*/
|
|
5935
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5936
|
+
|
|
5937
|
+
/**
|
|
5938
|
+
* Creates a ResourceReference message from a plain object. Also converts values to their respective internal types.
|
|
5939
|
+
* @param object Plain object
|
|
5940
|
+
* @returns ResourceReference
|
|
5941
|
+
*/
|
|
5942
|
+
public static fromObject(object: { [k: string]: any }): google.api.ResourceReference;
|
|
5943
|
+
|
|
5944
|
+
/**
|
|
5945
|
+
* Creates a plain object from a ResourceReference message. Also converts values to other types if specified.
|
|
5946
|
+
* @param message ResourceReference
|
|
5947
|
+
* @param [options] Conversion options
|
|
5948
|
+
* @returns Plain object
|
|
5949
|
+
*/
|
|
5950
|
+
public static toObject(message: google.api.ResourceReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5951
|
+
|
|
5952
|
+
/**
|
|
5953
|
+
* Converts this ResourceReference to JSON.
|
|
5954
|
+
* @returns JSON object
|
|
5955
|
+
*/
|
|
5956
|
+
public toJSON(): { [k: string]: any };
|
|
5957
|
+
|
|
5958
|
+
/**
|
|
5959
|
+
* Gets the default type url for ResourceReference
|
|
5960
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5961
|
+
* @returns The default type url
|
|
5962
|
+
*/
|
|
5963
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5964
|
+
}
|
|
5965
|
+
|
|
5966
|
+
/** Properties of a Http. */
|
|
5967
|
+
interface IHttp {
|
|
5968
|
+
|
|
5969
|
+
/** Http rules */
|
|
5970
|
+
rules?: (google.api.IHttpRule[]|null);
|
|
5971
|
+
|
|
5972
|
+
/** Http fullyDecodeReservedExpansion */
|
|
5973
|
+
fullyDecodeReservedExpansion?: (boolean|null);
|
|
5974
|
+
}
|
|
5975
|
+
|
|
5976
|
+
/** Represents a Http. */
|
|
5977
|
+
class Http implements IHttp {
|
|
5978
|
+
|
|
5979
|
+
/**
|
|
5980
|
+
* Constructs a new Http.
|
|
5981
|
+
* @param [properties] Properties to set
|
|
5982
|
+
*/
|
|
5983
|
+
constructor(properties?: google.api.IHttp);
|
|
5984
|
+
|
|
5985
|
+
/** Http rules. */
|
|
5986
|
+
public rules: google.api.IHttpRule[];
|
|
5987
|
+
|
|
5988
|
+
/** Http fullyDecodeReservedExpansion. */
|
|
5989
|
+
public fullyDecodeReservedExpansion: boolean;
|
|
5990
|
+
|
|
5991
|
+
/**
|
|
5992
|
+
* Creates a new Http instance using the specified properties.
|
|
5993
|
+
* @param [properties] Properties to set
|
|
5994
|
+
* @returns Http instance
|
|
5995
|
+
*/
|
|
5996
|
+
public static create(properties?: google.api.IHttp): google.api.Http;
|
|
5997
|
+
|
|
5998
|
+
/**
|
|
5999
|
+
* Encodes the specified Http message. Does not implicitly {@link google.api.Http.verify|verify} messages.
|
|
6000
|
+
* @param message Http message or plain object to encode
|
|
6001
|
+
* @param [writer] Writer to encode to
|
|
6002
|
+
* @returns Writer
|
|
6003
|
+
*/
|
|
6004
|
+
public static encode(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6005
|
+
|
|
6006
|
+
/**
|
|
6007
|
+
* Encodes the specified Http message, length delimited. Does not implicitly {@link google.api.Http.verify|verify} messages.
|
|
6008
|
+
* @param message Http message or plain object to encode
|
|
6009
|
+
* @param [writer] Writer to encode to
|
|
6010
|
+
* @returns Writer
|
|
6011
|
+
*/
|
|
6012
|
+
public static encodeDelimited(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6013
|
+
|
|
6014
|
+
/**
|
|
6015
|
+
* Decodes a Http message from the specified reader or buffer.
|
|
6016
|
+
* @param reader Reader or buffer to decode from
|
|
6017
|
+
* @param [length] Message length if known beforehand
|
|
6018
|
+
* @returns Http
|
|
6019
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6020
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6021
|
+
*/
|
|
6022
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Http;
|
|
6023
|
+
|
|
6024
|
+
/**
|
|
6025
|
+
* Decodes a Http message from the specified reader or buffer, length delimited.
|
|
6026
|
+
* @param reader Reader or buffer to decode from
|
|
6027
|
+
* @returns Http
|
|
6028
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6029
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6030
|
+
*/
|
|
6031
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Http;
|
|
6032
|
+
|
|
6033
|
+
/**
|
|
6034
|
+
* Verifies a Http message.
|
|
5529
6035
|
* @param message Plain object to verify
|
|
5530
6036
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
5531
6037
|
*/
|
|
@@ -7304,258 +7810,6 @@ export namespace google {
|
|
|
7304
7810
|
DEPRECATED = 5
|
|
7305
7811
|
}
|
|
7306
7812
|
|
|
7307
|
-
/** Properties of a ResourceDescriptor. */
|
|
7308
|
-
interface IResourceDescriptor {
|
|
7309
|
-
|
|
7310
|
-
/** ResourceDescriptor type */
|
|
7311
|
-
type?: (string|null);
|
|
7312
|
-
|
|
7313
|
-
/** ResourceDescriptor pattern */
|
|
7314
|
-
pattern?: (string[]|null);
|
|
7315
|
-
|
|
7316
|
-
/** ResourceDescriptor nameField */
|
|
7317
|
-
nameField?: (string|null);
|
|
7318
|
-
|
|
7319
|
-
/** ResourceDescriptor history */
|
|
7320
|
-
history?: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History|null);
|
|
7321
|
-
|
|
7322
|
-
/** ResourceDescriptor plural */
|
|
7323
|
-
plural?: (string|null);
|
|
7324
|
-
|
|
7325
|
-
/** ResourceDescriptor singular */
|
|
7326
|
-
singular?: (string|null);
|
|
7327
|
-
|
|
7328
|
-
/** ResourceDescriptor style */
|
|
7329
|
-
style?: (google.api.ResourceDescriptor.Style[]|null);
|
|
7330
|
-
}
|
|
7331
|
-
|
|
7332
|
-
/** Represents a ResourceDescriptor. */
|
|
7333
|
-
class ResourceDescriptor implements IResourceDescriptor {
|
|
7334
|
-
|
|
7335
|
-
/**
|
|
7336
|
-
* Constructs a new ResourceDescriptor.
|
|
7337
|
-
* @param [properties] Properties to set
|
|
7338
|
-
*/
|
|
7339
|
-
constructor(properties?: google.api.IResourceDescriptor);
|
|
7340
|
-
|
|
7341
|
-
/** ResourceDescriptor type. */
|
|
7342
|
-
public type: string;
|
|
7343
|
-
|
|
7344
|
-
/** ResourceDescriptor pattern. */
|
|
7345
|
-
public pattern: string[];
|
|
7346
|
-
|
|
7347
|
-
/** ResourceDescriptor nameField. */
|
|
7348
|
-
public nameField: string;
|
|
7349
|
-
|
|
7350
|
-
/** ResourceDescriptor history. */
|
|
7351
|
-
public history: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History);
|
|
7352
|
-
|
|
7353
|
-
/** ResourceDescriptor plural. */
|
|
7354
|
-
public plural: string;
|
|
7355
|
-
|
|
7356
|
-
/** ResourceDescriptor singular. */
|
|
7357
|
-
public singular: string;
|
|
7358
|
-
|
|
7359
|
-
/** ResourceDescriptor style. */
|
|
7360
|
-
public style: google.api.ResourceDescriptor.Style[];
|
|
7361
|
-
|
|
7362
|
-
/**
|
|
7363
|
-
* Creates a new ResourceDescriptor instance using the specified properties.
|
|
7364
|
-
* @param [properties] Properties to set
|
|
7365
|
-
* @returns ResourceDescriptor instance
|
|
7366
|
-
*/
|
|
7367
|
-
public static create(properties?: google.api.IResourceDescriptor): google.api.ResourceDescriptor;
|
|
7368
|
-
|
|
7369
|
-
/**
|
|
7370
|
-
* Encodes the specified ResourceDescriptor message. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages.
|
|
7371
|
-
* @param message ResourceDescriptor message or plain object to encode
|
|
7372
|
-
* @param [writer] Writer to encode to
|
|
7373
|
-
* @returns Writer
|
|
7374
|
-
*/
|
|
7375
|
-
public static encode(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7376
|
-
|
|
7377
|
-
/**
|
|
7378
|
-
* Encodes the specified ResourceDescriptor message, length delimited. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages.
|
|
7379
|
-
* @param message ResourceDescriptor message or plain object to encode
|
|
7380
|
-
* @param [writer] Writer to encode to
|
|
7381
|
-
* @returns Writer
|
|
7382
|
-
*/
|
|
7383
|
-
public static encodeDelimited(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7384
|
-
|
|
7385
|
-
/**
|
|
7386
|
-
* Decodes a ResourceDescriptor message from the specified reader or buffer.
|
|
7387
|
-
* @param reader Reader or buffer to decode from
|
|
7388
|
-
* @param [length] Message length if known beforehand
|
|
7389
|
-
* @returns ResourceDescriptor
|
|
7390
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7391
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7392
|
-
*/
|
|
7393
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceDescriptor;
|
|
7394
|
-
|
|
7395
|
-
/**
|
|
7396
|
-
* Decodes a ResourceDescriptor message from the specified reader or buffer, length delimited.
|
|
7397
|
-
* @param reader Reader or buffer to decode from
|
|
7398
|
-
* @returns ResourceDescriptor
|
|
7399
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7400
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7401
|
-
*/
|
|
7402
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceDescriptor;
|
|
7403
|
-
|
|
7404
|
-
/**
|
|
7405
|
-
* Verifies a ResourceDescriptor message.
|
|
7406
|
-
* @param message Plain object to verify
|
|
7407
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
7408
|
-
*/
|
|
7409
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
7410
|
-
|
|
7411
|
-
/**
|
|
7412
|
-
* Creates a ResourceDescriptor message from a plain object. Also converts values to their respective internal types.
|
|
7413
|
-
* @param object Plain object
|
|
7414
|
-
* @returns ResourceDescriptor
|
|
7415
|
-
*/
|
|
7416
|
-
public static fromObject(object: { [k: string]: any }): google.api.ResourceDescriptor;
|
|
7417
|
-
|
|
7418
|
-
/**
|
|
7419
|
-
* Creates a plain object from a ResourceDescriptor message. Also converts values to other types if specified.
|
|
7420
|
-
* @param message ResourceDescriptor
|
|
7421
|
-
* @param [options] Conversion options
|
|
7422
|
-
* @returns Plain object
|
|
7423
|
-
*/
|
|
7424
|
-
public static toObject(message: google.api.ResourceDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
7425
|
-
|
|
7426
|
-
/**
|
|
7427
|
-
* Converts this ResourceDescriptor to JSON.
|
|
7428
|
-
* @returns JSON object
|
|
7429
|
-
*/
|
|
7430
|
-
public toJSON(): { [k: string]: any };
|
|
7431
|
-
|
|
7432
|
-
/**
|
|
7433
|
-
* Gets the default type url for ResourceDescriptor
|
|
7434
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
7435
|
-
* @returns The default type url
|
|
7436
|
-
*/
|
|
7437
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
7438
|
-
}
|
|
7439
|
-
|
|
7440
|
-
namespace ResourceDescriptor {
|
|
7441
|
-
|
|
7442
|
-
/** History enum. */
|
|
7443
|
-
enum History {
|
|
7444
|
-
HISTORY_UNSPECIFIED = 0,
|
|
7445
|
-
ORIGINALLY_SINGLE_PATTERN = 1,
|
|
7446
|
-
FUTURE_MULTI_PATTERN = 2
|
|
7447
|
-
}
|
|
7448
|
-
|
|
7449
|
-
/** Style enum. */
|
|
7450
|
-
enum Style {
|
|
7451
|
-
STYLE_UNSPECIFIED = 0,
|
|
7452
|
-
DECLARATIVE_FRIENDLY = 1
|
|
7453
|
-
}
|
|
7454
|
-
}
|
|
7455
|
-
|
|
7456
|
-
/** Properties of a ResourceReference. */
|
|
7457
|
-
interface IResourceReference {
|
|
7458
|
-
|
|
7459
|
-
/** ResourceReference type */
|
|
7460
|
-
type?: (string|null);
|
|
7461
|
-
|
|
7462
|
-
/** ResourceReference childType */
|
|
7463
|
-
childType?: (string|null);
|
|
7464
|
-
}
|
|
7465
|
-
|
|
7466
|
-
/** Represents a ResourceReference. */
|
|
7467
|
-
class ResourceReference implements IResourceReference {
|
|
7468
|
-
|
|
7469
|
-
/**
|
|
7470
|
-
* Constructs a new ResourceReference.
|
|
7471
|
-
* @param [properties] Properties to set
|
|
7472
|
-
*/
|
|
7473
|
-
constructor(properties?: google.api.IResourceReference);
|
|
7474
|
-
|
|
7475
|
-
/** ResourceReference type. */
|
|
7476
|
-
public type: string;
|
|
7477
|
-
|
|
7478
|
-
/** ResourceReference childType. */
|
|
7479
|
-
public childType: string;
|
|
7480
|
-
|
|
7481
|
-
/**
|
|
7482
|
-
* Creates a new ResourceReference instance using the specified properties.
|
|
7483
|
-
* @param [properties] Properties to set
|
|
7484
|
-
* @returns ResourceReference instance
|
|
7485
|
-
*/
|
|
7486
|
-
public static create(properties?: google.api.IResourceReference): google.api.ResourceReference;
|
|
7487
|
-
|
|
7488
|
-
/**
|
|
7489
|
-
* Encodes the specified ResourceReference message. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages.
|
|
7490
|
-
* @param message ResourceReference message or plain object to encode
|
|
7491
|
-
* @param [writer] Writer to encode to
|
|
7492
|
-
* @returns Writer
|
|
7493
|
-
*/
|
|
7494
|
-
public static encode(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7495
|
-
|
|
7496
|
-
/**
|
|
7497
|
-
* Encodes the specified ResourceReference message, length delimited. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages.
|
|
7498
|
-
* @param message ResourceReference message or plain object to encode
|
|
7499
|
-
* @param [writer] Writer to encode to
|
|
7500
|
-
* @returns Writer
|
|
7501
|
-
*/
|
|
7502
|
-
public static encodeDelimited(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7503
|
-
|
|
7504
|
-
/**
|
|
7505
|
-
* Decodes a ResourceReference message from the specified reader or buffer.
|
|
7506
|
-
* @param reader Reader or buffer to decode from
|
|
7507
|
-
* @param [length] Message length if known beforehand
|
|
7508
|
-
* @returns ResourceReference
|
|
7509
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7510
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7511
|
-
*/
|
|
7512
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceReference;
|
|
7513
|
-
|
|
7514
|
-
/**
|
|
7515
|
-
* Decodes a ResourceReference message from the specified reader or buffer, length delimited.
|
|
7516
|
-
* @param reader Reader or buffer to decode from
|
|
7517
|
-
* @returns ResourceReference
|
|
7518
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7519
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7520
|
-
*/
|
|
7521
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceReference;
|
|
7522
|
-
|
|
7523
|
-
/**
|
|
7524
|
-
* Verifies a ResourceReference message.
|
|
7525
|
-
* @param message Plain object to verify
|
|
7526
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
7527
|
-
*/
|
|
7528
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
7529
|
-
|
|
7530
|
-
/**
|
|
7531
|
-
* Creates a ResourceReference message from a plain object. Also converts values to their respective internal types.
|
|
7532
|
-
* @param object Plain object
|
|
7533
|
-
* @returns ResourceReference
|
|
7534
|
-
*/
|
|
7535
|
-
public static fromObject(object: { [k: string]: any }): google.api.ResourceReference;
|
|
7536
|
-
|
|
7537
|
-
/**
|
|
7538
|
-
* Creates a plain object from a ResourceReference message. Also converts values to other types if specified.
|
|
7539
|
-
* @param message ResourceReference
|
|
7540
|
-
* @param [options] Conversion options
|
|
7541
|
-
* @returns Plain object
|
|
7542
|
-
*/
|
|
7543
|
-
public static toObject(message: google.api.ResourceReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
7544
|
-
|
|
7545
|
-
/**
|
|
7546
|
-
* Converts this ResourceReference to JSON.
|
|
7547
|
-
* @returns JSON object
|
|
7548
|
-
*/
|
|
7549
|
-
public toJSON(): { [k: string]: any };
|
|
7550
|
-
|
|
7551
|
-
/**
|
|
7552
|
-
* Gets the default type url for ResourceReference
|
|
7553
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
7554
|
-
* @returns The default type url
|
|
7555
|
-
*/
|
|
7556
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
7557
|
-
}
|
|
7558
|
-
|
|
7559
7813
|
/** Properties of a RoutingRule. */
|
|
7560
7814
|
interface IRoutingRule {
|
|
7561
7815
|
|