Skip to content

Commit

Permalink
DATA-3662 Add recent data SKUs to proto (#620)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
vijayvuyyuru and github-actions[bot] authored Feb 12, 2025
1 parent be07dec commit e097749
Show file tree
Hide file tree
Showing 6 changed files with 135 additions and 83 deletions.
174 changes: 93 additions & 81 deletions app/v1/billing.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions gen/js/app/v1/billing_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,8 @@ export interface UsageCostTypeMap {
USAGE_COST_TYPE_TABULAR_DATA_EGRESS: 19;
USAGE_COST_TYPE_LOGS_EGRESS: 20;
USAGE_COST_TYPE_TRAINING_LOGS_EGRESS: 21;
USAGE_COST_TYPE_TABULAR_DATA_DATABASE_CLOUD_STORAGE: 22;
USAGE_COST_TYPE_TABULAR_DATA_DATABASE_COMPUTE: 23;
}

export const UsageCostType: UsageCostTypeMap;
Expand Down
4 changes: 3 additions & 1 deletion gen/js/app/v1/billing_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -3543,7 +3543,9 @@ proto.viam.app.v1.UsageCostType = {
USAGE_COST_TYPE_BINARY_DATA_EGRESS: 18,
USAGE_COST_TYPE_TABULAR_DATA_EGRESS: 19,
USAGE_COST_TYPE_LOGS_EGRESS: 20,
USAGE_COST_TYPE_TRAINING_LOGS_EGRESS: 21
USAGE_COST_TYPE_TRAINING_LOGS_EGRESS: 21,
USAGE_COST_TYPE_TABULAR_DATA_DATABASE_CLOUD_STORAGE: 22,
USAGE_COST_TYPE_TABULAR_DATA_DATABASE_COMPUTE: 23
};

/**
Expand Down
4 changes: 4 additions & 0 deletions gen/js/google/api/client_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,9 @@ export namespace PythonSettings {
getProtobufPythonicTypesEnabled(): boolean;
setProtobufPythonicTypesEnabled(value: boolean): void;

getUnversionedPackageDisabled(): boolean;
setUnversionedPackageDisabled(value: boolean): void;

serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ExperimentalFeatures.AsObject;
static toObject(includeInstance: boolean, msg: ExperimentalFeatures): ExperimentalFeatures.AsObject;
Expand All @@ -301,6 +304,7 @@ export namespace PythonSettings {
export type AsObject = {
restAsyncIoEnabled: boolean,
protobufPythonicTypesEnabled: boolean,
unversionedPackageDisabled: boolean,
}
}
}
Expand Down
32 changes: 31 additions & 1 deletion gen/js/google/api/client_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -2373,7 +2373,8 @@ proto.google.api.PythonSettings.ExperimentalFeatures.prototype.toObject = functi
proto.google.api.PythonSettings.ExperimentalFeatures.toObject = function(includeInstance, msg) {
var f, obj = {
restAsyncIoEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
protobufPythonicTypesEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
protobufPythonicTypesEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
unversionedPackageDisabled: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
};

if (includeInstance) {
Expand Down Expand Up @@ -2418,6 +2419,10 @@ proto.google.api.PythonSettings.ExperimentalFeatures.deserializeBinaryFromReader
var value = /** @type {boolean} */ (reader.readBool());
msg.setProtobufPythonicTypesEnabled(value);
break;
case 3:
var value = /** @type {boolean} */ (reader.readBool());
msg.setUnversionedPackageDisabled(value);
break;
default:
reader.skipField();
break;
Expand Down Expand Up @@ -2461,6 +2466,13 @@ proto.google.api.PythonSettings.ExperimentalFeatures.serializeBinaryToWriter = f
f
);
}
f = message.getUnversionedPackageDisabled();
if (f) {
writer.writeBool(
3,
f
);
}
};


Expand Down Expand Up @@ -2500,6 +2512,24 @@ proto.google.api.PythonSettings.ExperimentalFeatures.prototype.setProtobufPython
};


/**
* optional bool unversioned_package_disabled = 3;
* @return {boolean}
*/
proto.google.api.PythonSettings.ExperimentalFeatures.prototype.getUnversionedPackageDisabled = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
};


/**
* @param {boolean} value
* @return {!proto.google.api.PythonSettings.ExperimentalFeatures} returns this
*/
proto.google.api.PythonSettings.ExperimentalFeatures.prototype.setUnversionedPackageDisabled = function(value) {
return jspb.Message.setProto3BooleanField(this, 3, value);
};


/**
* optional CommonLanguageSettings common = 1;
* @return {?proto.google.api.CommonLanguageSettings}
Expand Down
2 changes: 2 additions & 0 deletions proto/viam/app/v1/billing.proto
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ enum UsageCostType {
USAGE_COST_TYPE_TABULAR_DATA_EGRESS = 19;
USAGE_COST_TYPE_LOGS_EGRESS = 20;
USAGE_COST_TYPE_TRAINING_LOGS_EGRESS = 21;
USAGE_COST_TYPE_TABULAR_DATA_DATABASE_CLOUD_STORAGE = 22;
USAGE_COST_TYPE_TABULAR_DATA_DATABASE_COMPUTE = 23;
}

enum SourceType {
Expand Down

0 comments on commit e097749

Please sign in to comment.