diff --git a/src/app/modules/admin/settings/domain/components/list.component.html b/src/app/modules/admin/settings/domain/components/list.component.html
index 4c842f0..601946d 100644
--- a/src/app/modules/admin/settings/domain/components/list.component.html
+++ b/src/app/modules/admin/settings/domain/components/list.component.html
@@ -58,7 +58,7 @@
- {{ info.designFolder }}
+ {{ info.getPath() }}
|
@@ -74,7 +74,7 @@
- {{ info.siteName }}
+ {{ info.getName() }}
|
@@ -90,7 +90,7 @@
- {{ info.expiryDate }}
+ {{ info.getExpiresAt() }}
|
diff --git a/src/app/modules/protobuf/c2se/backend/site_pb.d.ts b/src/app/modules/protobuf/c2se/backend/site_pb.d.ts
index a8f0c96..c32b1d3 100644
--- a/src/app/modules/protobuf/c2se/backend/site_pb.d.ts
+++ b/src/app/modules/protobuf/c2se/backend/site_pb.d.ts
@@ -143,9 +143,13 @@ export class CreateSiteRequest extends jspb.Message {
getUrl(): string;
setUrl(value: string): void;
+ hasName(): boolean;
+ clearName(): void;
getName(): string;
setName(value: string): void;
+ hasPath(): boolean;
+ clearPath(): void;
getPath(): string;
setPath(value: string): void;
@@ -155,6 +159,13 @@ export class CreateSiteRequest extends jspb.Message {
getCanUse(): boolean;
setCanUse(value: boolean): void;
+ hasMemo(): boolean;
+ clearMemo(): void;
+ getMemo(): string;
+ setMemo(value: string): void;
+
+ hasExpiresAt(): boolean;
+ clearExpiresAt(): void;
getExpiresAt(): number;
setExpiresAt(value: number): void;
@@ -186,6 +197,7 @@ export namespace CreateSiteRequest {
path: string;
show: boolean;
canUse: boolean;
+ memo: string;
expiresAt: number;
};
}
@@ -266,9 +278,13 @@ export class UpdateSiteRequest extends jspb.Message {
getUrl(): string;
setUrl(value: string): void;
+ hasName(): boolean;
+ clearName(): void;
getName(): string;
setName(value: string): void;
+ hasPath(): boolean;
+ clearPath(): void;
getPath(): string;
setPath(value: string): void;
@@ -278,6 +294,13 @@ export class UpdateSiteRequest extends jspb.Message {
getCanUse(): boolean;
setCanUse(value: boolean): void;
+ hasMemo(): boolean;
+ clearMemo(): void;
+ getMemo(): string;
+ setMemo(value: string): void;
+
+ hasExpiresAt(): boolean;
+ clearExpiresAt(): void;
getExpiresAt(): number;
setExpiresAt(value: number): void;
@@ -310,6 +333,7 @@ export namespace UpdateSiteRequest {
path: string;
show: boolean;
canUse: boolean;
+ memo: string;
expiresAt: number;
};
}
diff --git a/src/app/modules/protobuf/c2se/backend/site_pb.js b/src/app/modules/protobuf/c2se/backend/site_pb.js
index f6e2cc0..131abd4 100644
--- a/src/app/modules/protobuf/c2se/backend/site_pb.js
+++ b/src/app/modules/protobuf/c2se/backend/site_pb.js
@@ -1202,7 +1202,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
path: jspb.Message.getFieldWithDefault(msg, 3, ""),
show: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
canUse: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
- expiresAt: jspb.Message.getFieldWithDefault(msg, 6, 0),
+ memo: jspb.Message.getFieldWithDefault(msg, 6, ""),
+ expiresAt: jspb.Message.getFieldWithDefault(msg, 7, 0),
};
if (includeInstance) {
@@ -1263,6 +1264,10 @@ proto.bet.beteran.c2se.backend.site.CreateSiteRequest.deserializeBinaryFromReade
msg.setCanUse(value);
break;
case 6:
+ var value = /** @type {string} */ (reader.readString());
+ msg.setMemo(value);
+ break;
+ case 7:
var value = /** @type {number} */ (reader.readUint64());
msg.setExpiresAt(value);
break;
@@ -1302,12 +1307,12 @@ proto.bet.beteran.c2se.backend.site.CreateSiteRequest.serializeBinaryToWriter =
if (f.length > 0) {
writer.writeString(1, f);
}
- f = message.getName();
- if (f.length > 0) {
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
+ if (f != null) {
writer.writeString(2, f);
}
- f = message.getPath();
- if (f.length > 0) {
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
+ if (f != null) {
writer.writeString(3, f);
}
f = message.getShow();
@@ -1318,9 +1323,13 @@ proto.bet.beteran.c2se.backend.site.CreateSiteRequest.serializeBinaryToWriter =
if (f) {
writer.writeBool(5, f);
}
- f = message.getExpiresAt();
- if (f !== 0) {
- writer.writeUint64(6, f);
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
+ if (f != null) {
+ writer.writeString(6, f);
+ }
+ f = /** @type {number} */ (jspb.Message.getField(message, 7));
+ if (f != null) {
+ writer.writeUint64(7, f);
}
};
@@ -1361,7 +1370,25 @@ proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.getName =
*/
proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.setName =
function (value) {
- return jspb.Message.setProto3StringField(this, 2, value);
+ return jspb.Message.setField(this, 2, value);
+ };
+
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.bet.beteran.c2se.backend.site.CreateSiteRequest} returns this
+ */
+proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.clearName =
+ function () {
+ return jspb.Message.setField(this, 2, undefined);
+ };
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.hasName =
+ function () {
+ return jspb.Message.getField(this, 2) != null;
};
/**
@@ -1381,7 +1408,25 @@ proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.getPath =
*/
proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.setPath =
function (value) {
- return jspb.Message.setProto3StringField(this, 3, value);
+ return jspb.Message.setField(this, 3, value);
+ };
+
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.bet.beteran.c2se.backend.site.CreateSiteRequest} returns this
+ */
+proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.clearPath =
+ function () {
+ return jspb.Message.setField(this, 3, undefined);
+ };
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.hasPath =
+ function () {
+ return jspb.Message.getField(this, 3) != null;
};
/**
@@ -1425,12 +1470,50 @@ proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.setCanUse =
};
/**
- * optional uint64 expires_at = 6;
+ * optional string memo = 6;
+ * @return {string}
+ */
+proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.getMemo =
+ function () {
+ return /** @type {string} */ (
+ jspb.Message.getFieldWithDefault(this, 6, "")
+ );
+ };
+
+/**
+ * @param {string} value
+ * @return {!proto.bet.beteran.c2se.backend.site.CreateSiteRequest} returns this
+ */
+proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.setMemo =
+ function (value) {
+ return jspb.Message.setField(this, 6, value);
+ };
+
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.bet.beteran.c2se.backend.site.CreateSiteRequest} returns this
+ */
+proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.clearMemo =
+ function () {
+ return jspb.Message.setField(this, 6, undefined);
+ };
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.hasMemo =
+ function () {
+ return jspb.Message.getField(this, 6) != null;
+ };
+
+/**
+ * optional uint64 expires_at = 7;
* @return {number}
*/
proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.getExpiresAt =
function () {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
};
/**
@@ -1439,7 +1522,25 @@ proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.getExpiresAt =
*/
proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.setExpiresAt =
function (value) {
- return jspb.Message.setProto3IntField(this, 6, value);
+ return jspb.Message.setField(this, 7, value);
+ };
+
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.bet.beteran.c2se.backend.site.CreateSiteRequest} returns this
+ */
+proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.clearExpiresAt =
+ function () {
+ return jspb.Message.setField(this, 7, undefined);
+ };
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.hasExpiresAt =
+ function () {
+ return jspb.Message.getField(this, 7) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -1882,7 +1983,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
path: jspb.Message.getFieldWithDefault(msg, 4, ""),
show: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
canUse: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
- expiresAt: jspb.Message.getFieldWithDefault(msg, 7, 0),
+ memo: jspb.Message.getFieldWithDefault(msg, 7, ""),
+ expiresAt: jspb.Message.getFieldWithDefault(msg, 8, 0),
};
if (includeInstance) {
@@ -1947,6 +2049,10 @@ proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.deserializeBinaryFromReade
msg.setCanUse(value);
break;
case 7:
+ var value = /** @type {string} */ (reader.readString());
+ msg.setMemo(value);
+ break;
+ case 8:
var value = /** @type {number} */ (reader.readUint64());
msg.setExpiresAt(value);
break;
@@ -1990,12 +2096,12 @@ proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.serializeBinaryToWriter =
if (f.length > 0) {
writer.writeString(2, f);
}
- f = message.getName();
- if (f.length > 0) {
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
+ if (f != null) {
writer.writeString(3, f);
}
- f = message.getPath();
- if (f.length > 0) {
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
+ if (f != null) {
writer.writeString(4, f);
}
f = message.getShow();
@@ -2006,9 +2112,13 @@ proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.serializeBinaryToWriter =
if (f) {
writer.writeBool(6, f);
}
- f = message.getExpiresAt();
- if (f !== 0) {
- writer.writeUint64(7, f);
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
+ if (f != null) {
+ writer.writeString(7, f);
+ }
+ f = /** @type {number} */ (jspb.Message.getField(message, 8));
+ if (f != null) {
+ writer.writeUint64(8, f);
}
};
@@ -2069,7 +2179,25 @@ proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.getName =
*/
proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.setName =
function (value) {
- return jspb.Message.setProto3StringField(this, 3, value);
+ return jspb.Message.setField(this, 3, value);
+ };
+
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.bet.beteran.c2se.backend.site.UpdateSiteRequest} returns this
+ */
+proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.clearName =
+ function () {
+ return jspb.Message.setField(this, 3, undefined);
+ };
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.hasName =
+ function () {
+ return jspb.Message.getField(this, 3) != null;
};
/**
@@ -2089,7 +2217,25 @@ proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.getPath =
*/
proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.setPath =
function (value) {
- return jspb.Message.setProto3StringField(this, 4, value);
+ return jspb.Message.setField(this, 4, value);
+ };
+
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.bet.beteran.c2se.backend.site.UpdateSiteRequest} returns this
+ */
+proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.clearPath =
+ function () {
+ return jspb.Message.setField(this, 4, undefined);
+ };
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.hasPath =
+ function () {
+ return jspb.Message.getField(this, 4) != null;
};
/**
@@ -2133,12 +2279,50 @@ proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.setCanUse =
};
/**
- * optional uint64 expires_at = 7;
+ * optional string memo = 7;
+ * @return {string}
+ */
+proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.getMemo =
+ function () {
+ return /** @type {string} */ (
+ jspb.Message.getFieldWithDefault(this, 7, "")
+ );
+ };
+
+/**
+ * @param {string} value
+ * @return {!proto.bet.beteran.c2se.backend.site.UpdateSiteRequest} returns this
+ */
+proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.setMemo =
+ function (value) {
+ return jspb.Message.setField(this, 7, value);
+ };
+
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.bet.beteran.c2se.backend.site.UpdateSiteRequest} returns this
+ */
+proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.clearMemo =
+ function () {
+ return jspb.Message.setField(this, 7, undefined);
+ };
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.hasMemo =
+ function () {
+ return jspb.Message.getField(this, 7) != null;
+ };
+
+/**
+ * optional uint64 expires_at = 8;
* @return {number}
*/
proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.getExpiresAt =
function () {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
};
/**
@@ -2147,7 +2331,25 @@ proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.getExpiresAt =
*/
proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.setExpiresAt =
function (value) {
- return jspb.Message.setProto3IntField(this, 7, value);
+ return jspb.Message.setField(this, 8, value);
+ };
+
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.bet.beteran.c2se.backend.site.UpdateSiteRequest} returns this
+ */
+proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.clearExpiresAt =
+ function () {
+ return jspb.Message.setField(this, 8, undefined);
+ };
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.hasExpiresAt =
+ function () {
+ return jspb.Message.getField(this, 8) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
diff --git a/src/app/modules/protobuf/models/domain/site_pb.d.ts b/src/app/modules/protobuf/models/domain/site_pb.d.ts
index bb1a825..9d090cf 100644
--- a/src/app/modules/protobuf/models/domain/site_pb.d.ts
+++ b/src/app/modules/protobuf/models/domain/site_pb.d.ts
@@ -10,9 +10,13 @@ export class Site extends jspb.Message {
getUrl(): string;
setUrl(value: string): void;
+ hasName(): boolean;
+ clearName(): void;
getName(): string;
setName(value: string): void;
+ hasPath(): boolean;
+ clearPath(): void;
getPath(): string;
setPath(value: string): void;
@@ -22,6 +26,13 @@ export class Site extends jspb.Message {
getCanUse(): boolean;
setCanUse(value: boolean): void;
+ hasMemo(): boolean;
+ clearMemo(): void;
+ getMemo(): string;
+ setMemo(value: string): void;
+
+ hasExpiresAt(): boolean;
+ clearExpiresAt(): void;
getExpiresAt(): number;
setExpiresAt(value: number): void;
@@ -57,6 +68,7 @@ export namespace Site {
path: string;
show: boolean;
canUse: boolean;
+ memo: string;
expiresAt: number;
createdAt: number;
updatedAt: number;
diff --git a/src/app/modules/protobuf/models/domain/site_pb.js b/src/app/modules/protobuf/models/domain/site_pb.js
index 7b7fdf8..bf9aa6d 100644
--- a/src/app/modules/protobuf/models/domain/site_pb.js
+++ b/src/app/modules/protobuf/models/domain/site_pb.js
@@ -77,9 +77,10 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
path: jspb.Message.getFieldWithDefault(msg, 4, ""),
show: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
canUse: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
- expiresAt: jspb.Message.getFieldWithDefault(msg, 7, 0),
- createdAt: jspb.Message.getFieldWithDefault(msg, 8, 0),
- updatedAt: jspb.Message.getFieldWithDefault(msg, 9, 0),
+ memo: jspb.Message.getFieldWithDefault(msg, 7, ""),
+ expiresAt: jspb.Message.getFieldWithDefault(msg, 8, 0),
+ createdAt: jspb.Message.getFieldWithDefault(msg, 9, 0),
+ updatedAt: jspb.Message.getFieldWithDefault(msg, 10, 0),
};
if (includeInstance) {
@@ -142,14 +143,18 @@ proto.bet.beteran.domain.Site.deserializeBinaryFromReader = function (
msg.setCanUse(value);
break;
case 7:
- var value = /** @type {number} */ (reader.readUint64());
- msg.setExpiresAt(value);
+ var value = /** @type {string} */ (reader.readString());
+ msg.setMemo(value);
break;
case 8:
var value = /** @type {number} */ (reader.readUint64());
- msg.setCreatedAt(value);
+ msg.setExpiresAt(value);
break;
case 9:
+ var value = /** @type {number} */ (reader.readUint64());
+ msg.setCreatedAt(value);
+ break;
+ case 10:
var value = /** @type {number} */ (reader.readUint64());
msg.setUpdatedAt(value);
break;
@@ -191,12 +196,12 @@ proto.bet.beteran.domain.Site.serializeBinaryToWriter = function (
if (f.length > 0) {
writer.writeString(2, f);
}
- f = message.getName();
- if (f.length > 0) {
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
+ if (f != null) {
writer.writeString(3, f);
}
- f = message.getPath();
- if (f.length > 0) {
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
+ if (f != null) {
writer.writeString(4, f);
}
f = message.getShow();
@@ -207,17 +212,21 @@ proto.bet.beteran.domain.Site.serializeBinaryToWriter = function (
if (f) {
writer.writeBool(6, f);
}
- f = message.getExpiresAt();
- if (f !== 0) {
- writer.writeUint64(7, f);
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
+ if (f != null) {
+ writer.writeString(7, f);
+ }
+ f = /** @type {number} */ (jspb.Message.getField(message, 8));
+ if (f != null) {
+ writer.writeUint64(8, f);
}
f = message.getCreatedAt();
if (f !== 0) {
- writer.writeUint64(8, f);
+ writer.writeUint64(9, f);
}
f = message.getUpdatedAt();
if (f !== 0) {
- writer.writeUint64(9, f);
+ writer.writeUint64(10, f);
}
};
@@ -266,7 +275,23 @@ proto.bet.beteran.domain.Site.prototype.getName = function () {
* @return {!proto.bet.beteran.domain.Site} returns this
*/
proto.bet.beteran.domain.Site.prototype.setName = function (value) {
- return jspb.Message.setProto3StringField(this, 3, value);
+ return jspb.Message.setField(this, 3, value);
+};
+
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.bet.beteran.domain.Site} returns this
+ */
+proto.bet.beteran.domain.Site.prototype.clearName = function () {
+ return jspb.Message.setField(this, 3, undefined);
+};
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.bet.beteran.domain.Site.prototype.hasName = function () {
+ return jspb.Message.getField(this, 3) != null;
};
/**
@@ -282,7 +307,23 @@ proto.bet.beteran.domain.Site.prototype.getPath = function () {
* @return {!proto.bet.beteran.domain.Site} returns this
*/
proto.bet.beteran.domain.Site.prototype.setPath = function (value) {
- return jspb.Message.setProto3StringField(this, 4, value);
+ return jspb.Message.setField(this, 4, value);
+};
+
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.bet.beteran.domain.Site} returns this
+ */
+proto.bet.beteran.domain.Site.prototype.clearPath = function () {
+ return jspb.Message.setField(this, 4, undefined);
+};
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.bet.beteran.domain.Site.prototype.hasPath = function () {
+ return jspb.Message.getField(this, 4) != null;
};
/**
@@ -322,26 +363,42 @@ proto.bet.beteran.domain.Site.prototype.setCanUse = function (value) {
};
/**
- * optional uint64 expires_at = 7;
+ * optional string memo = 7;
+ * @return {string}
+ */
+proto.bet.beteran.domain.Site.prototype.getMemo = function () {
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
+};
+
+/**
+ * @param {string} value
+ * @return {!proto.bet.beteran.domain.Site} returns this
+ */
+proto.bet.beteran.domain.Site.prototype.setMemo = function (value) {
+ return jspb.Message.setField(this, 7, value);
+};
+
+/**
+ * Clears the field making it undefined.
+ * @return {!proto.bet.beteran.domain.Site} returns this
+ */
+proto.bet.beteran.domain.Site.prototype.clearMemo = function () {
+ return jspb.Message.setField(this, 7, undefined);
+};
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.bet.beteran.domain.Site.prototype.hasMemo = function () {
+ return jspb.Message.getField(this, 7) != null;
+};
+
+/**
+ * optional uint64 expires_at = 8;
* @return {number}
*/
proto.bet.beteran.domain.Site.prototype.getExpiresAt = function () {
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
-};
-
-/**
- * @param {number} value
- * @return {!proto.bet.beteran.domain.Site} returns this
- */
-proto.bet.beteran.domain.Site.prototype.setExpiresAt = function (value) {
- return jspb.Message.setProto3IntField(this, 7, value);
-};
-
-/**
- * optional uint64 created_at = 8;
- * @return {number}
- */
-proto.bet.beteran.domain.Site.prototype.getCreatedAt = function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
};
@@ -349,15 +406,31 @@ proto.bet.beteran.domain.Site.prototype.getCreatedAt = function () {
* @param {number} value
* @return {!proto.bet.beteran.domain.Site} returns this
*/
-proto.bet.beteran.domain.Site.prototype.setCreatedAt = function (value) {
- return jspb.Message.setProto3IntField(this, 8, value);
+proto.bet.beteran.domain.Site.prototype.setExpiresAt = function (value) {
+ return jspb.Message.setField(this, 8, value);
};
/**
- * optional uint64 updated_at = 9;
+ * Clears the field making it undefined.
+ * @return {!proto.bet.beteran.domain.Site} returns this
+ */
+proto.bet.beteran.domain.Site.prototype.clearExpiresAt = function () {
+ return jspb.Message.setField(this, 8, undefined);
+};
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.bet.beteran.domain.Site.prototype.hasExpiresAt = function () {
+ return jspb.Message.getField(this, 8) != null;
+};
+
+/**
+ * optional uint64 created_at = 9;
* @return {number}
*/
-proto.bet.beteran.domain.Site.prototype.getUpdatedAt = function () {
+proto.bet.beteran.domain.Site.prototype.getCreatedAt = function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
};
@@ -365,8 +438,24 @@ proto.bet.beteran.domain.Site.prototype.getUpdatedAt = function () {
* @param {number} value
* @return {!proto.bet.beteran.domain.Site} returns this
*/
-proto.bet.beteran.domain.Site.prototype.setUpdatedAt = function (value) {
+proto.bet.beteran.domain.Site.prototype.setCreatedAt = function (value) {
return jspb.Message.setProto3IntField(this, 9, value);
};
+/**
+ * optional uint64 updated_at = 10;
+ * @return {number}
+ */
+proto.bet.beteran.domain.Site.prototype.getUpdatedAt = function () {
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
+};
+
+/**
+ * @param {number} value
+ * @return {!proto.bet.beteran.domain.Site} returns this
+ */
+proto.bet.beteran.domain.Site.prototype.setUpdatedAt = function (value) {
+ return jspb.Message.setProto3IntField(this, 10, value);
+};
+
goog.object.extend(exports, proto.bet.beteran.domain);