site is changed

This commit is contained in:
병준 박 2022-08-10 02:36:13 +00:00
parent b395ef01b5
commit 06d8d250e0
5 changed files with 395 additions and 68 deletions

View File

@ -58,7 +58,7 @@
</th> </th>
<td mat-cell *matCellDef="let info" style="text-align: center"> <td mat-cell *matCellDef="let info" style="text-align: center">
<span class="font-medium text-right"> <span class="font-medium text-right">
{{ info.designFolder }} {{ info.getPath() }}
</span> </span>
</td> </td>
</ng-container> </ng-container>
@ -74,7 +74,7 @@
</th> </th>
<td mat-cell *matCellDef="let info" style="text-align: center"> <td mat-cell *matCellDef="let info" style="text-align: center">
<span class="font-medium text-right"> <span class="font-medium text-right">
{{ info.siteName }} {{ info.getName() }}
</span> </span>
</td> </td>
</ng-container> </ng-container>
@ -90,7 +90,7 @@
</th> </th>
<td mat-cell *matCellDef="let info" style="text-align: center"> <td mat-cell *matCellDef="let info" style="text-align: center">
<span class="font-medium text-right"> <span class="font-medium text-right">
{{ info.expiryDate }} {{ info.getExpiresAt() }}
</span> </span>
</td> </td>
</ng-container> </ng-container>

View File

@ -143,9 +143,13 @@ export class CreateSiteRequest extends jspb.Message {
getUrl(): string; getUrl(): string;
setUrl(value: string): void; setUrl(value: string): void;
hasName(): boolean;
clearName(): void;
getName(): string; getName(): string;
setName(value: string): void; setName(value: string): void;
hasPath(): boolean;
clearPath(): void;
getPath(): string; getPath(): string;
setPath(value: string): void; setPath(value: string): void;
@ -155,6 +159,13 @@ export class CreateSiteRequest extends jspb.Message {
getCanUse(): boolean; getCanUse(): boolean;
setCanUse(value: boolean): void; setCanUse(value: boolean): void;
hasMemo(): boolean;
clearMemo(): void;
getMemo(): string;
setMemo(value: string): void;
hasExpiresAt(): boolean;
clearExpiresAt(): void;
getExpiresAt(): number; getExpiresAt(): number;
setExpiresAt(value: number): void; setExpiresAt(value: number): void;
@ -186,6 +197,7 @@ export namespace CreateSiteRequest {
path: string; path: string;
show: boolean; show: boolean;
canUse: boolean; canUse: boolean;
memo: string;
expiresAt: number; expiresAt: number;
}; };
} }
@ -266,9 +278,13 @@ export class UpdateSiteRequest extends jspb.Message {
getUrl(): string; getUrl(): string;
setUrl(value: string): void; setUrl(value: string): void;
hasName(): boolean;
clearName(): void;
getName(): string; getName(): string;
setName(value: string): void; setName(value: string): void;
hasPath(): boolean;
clearPath(): void;
getPath(): string; getPath(): string;
setPath(value: string): void; setPath(value: string): void;
@ -278,6 +294,13 @@ export class UpdateSiteRequest extends jspb.Message {
getCanUse(): boolean; getCanUse(): boolean;
setCanUse(value: boolean): void; setCanUse(value: boolean): void;
hasMemo(): boolean;
clearMemo(): void;
getMemo(): string;
setMemo(value: string): void;
hasExpiresAt(): boolean;
clearExpiresAt(): void;
getExpiresAt(): number; getExpiresAt(): number;
setExpiresAt(value: number): void; setExpiresAt(value: number): void;
@ -310,6 +333,7 @@ export namespace UpdateSiteRequest {
path: string; path: string;
show: boolean; show: boolean;
canUse: boolean; canUse: boolean;
memo: string;
expiresAt: number; expiresAt: number;
}; };
} }

View File

@ -1202,7 +1202,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
path: jspb.Message.getFieldWithDefault(msg, 3, ""), path: jspb.Message.getFieldWithDefault(msg, 3, ""),
show: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), show: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
canUse: jspb.Message.getBooleanFieldWithDefault(msg, 5, 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) { if (includeInstance) {
@ -1263,6 +1264,10 @@ proto.bet.beteran.c2se.backend.site.CreateSiteRequest.deserializeBinaryFromReade
msg.setCanUse(value); msg.setCanUse(value);
break; break;
case 6: case 6:
var value = /** @type {string} */ (reader.readString());
msg.setMemo(value);
break;
case 7:
var value = /** @type {number} */ (reader.readUint64()); var value = /** @type {number} */ (reader.readUint64());
msg.setExpiresAt(value); msg.setExpiresAt(value);
break; break;
@ -1302,12 +1307,12 @@ proto.bet.beteran.c2se.backend.site.CreateSiteRequest.serializeBinaryToWriter =
if (f.length > 0) { if (f.length > 0) {
writer.writeString(1, f); writer.writeString(1, f);
} }
f = message.getName(); f = /** @type {string} */ (jspb.Message.getField(message, 2));
if (f.length > 0) { if (f != null) {
writer.writeString(2, f); writer.writeString(2, f);
} }
f = message.getPath(); f = /** @type {string} */ (jspb.Message.getField(message, 3));
if (f.length > 0) { if (f != null) {
writer.writeString(3, f); writer.writeString(3, f);
} }
f = message.getShow(); f = message.getShow();
@ -1318,9 +1323,13 @@ proto.bet.beteran.c2se.backend.site.CreateSiteRequest.serializeBinaryToWriter =
if (f) { if (f) {
writer.writeBool(5, f); writer.writeBool(5, f);
} }
f = message.getExpiresAt(); f = /** @type {string} */ (jspb.Message.getField(message, 6));
if (f !== 0) { if (f != null) {
writer.writeUint64(6, f); 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 = proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.setName =
function (value) { 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 = proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.setPath =
function (value) { 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} * @return {number}
*/ */
proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.getExpiresAt = proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.getExpiresAt =
function () { 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 = proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.setExpiresAt =
function (value) { 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) { if (jspb.Message.GENERATE_TO_OBJECT) {
@ -1882,7 +1983,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
path: jspb.Message.getFieldWithDefault(msg, 4, ""), path: jspb.Message.getFieldWithDefault(msg, 4, ""),
show: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), show: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
canUse: jspb.Message.getBooleanFieldWithDefault(msg, 6, 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) { if (includeInstance) {
@ -1947,6 +2049,10 @@ proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.deserializeBinaryFromReade
msg.setCanUse(value); msg.setCanUse(value);
break; break;
case 7: case 7:
var value = /** @type {string} */ (reader.readString());
msg.setMemo(value);
break;
case 8:
var value = /** @type {number} */ (reader.readUint64()); var value = /** @type {number} */ (reader.readUint64());
msg.setExpiresAt(value); msg.setExpiresAt(value);
break; break;
@ -1990,12 +2096,12 @@ proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.serializeBinaryToWriter =
if (f.length > 0) { if (f.length > 0) {
writer.writeString(2, f); writer.writeString(2, f);
} }
f = message.getName(); f = /** @type {string} */ (jspb.Message.getField(message, 3));
if (f.length > 0) { if (f != null) {
writer.writeString(3, f); writer.writeString(3, f);
} }
f = message.getPath(); f = /** @type {string} */ (jspb.Message.getField(message, 4));
if (f.length > 0) { if (f != null) {
writer.writeString(4, f); writer.writeString(4, f);
} }
f = message.getShow(); f = message.getShow();
@ -2006,9 +2112,13 @@ proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.serializeBinaryToWriter =
if (f) { if (f) {
writer.writeBool(6, f); writer.writeBool(6, f);
} }
f = message.getExpiresAt(); f = /** @type {string} */ (jspb.Message.getField(message, 7));
if (f !== 0) { if (f != null) {
writer.writeUint64(7, f); 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 = proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.setName =
function (value) { 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 = proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.setPath =
function (value) { 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} * @return {number}
*/ */
proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.getExpiresAt = proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.getExpiresAt =
function () { 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 = proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.setExpiresAt =
function (value) { 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) { if (jspb.Message.GENERATE_TO_OBJECT) {

View File

@ -10,9 +10,13 @@ export class Site extends jspb.Message {
getUrl(): string; getUrl(): string;
setUrl(value: string): void; setUrl(value: string): void;
hasName(): boolean;
clearName(): void;
getName(): string; getName(): string;
setName(value: string): void; setName(value: string): void;
hasPath(): boolean;
clearPath(): void;
getPath(): string; getPath(): string;
setPath(value: string): void; setPath(value: string): void;
@ -22,6 +26,13 @@ export class Site extends jspb.Message {
getCanUse(): boolean; getCanUse(): boolean;
setCanUse(value: boolean): void; setCanUse(value: boolean): void;
hasMemo(): boolean;
clearMemo(): void;
getMemo(): string;
setMemo(value: string): void;
hasExpiresAt(): boolean;
clearExpiresAt(): void;
getExpiresAt(): number; getExpiresAt(): number;
setExpiresAt(value: number): void; setExpiresAt(value: number): void;
@ -57,6 +68,7 @@ export namespace Site {
path: string; path: string;
show: boolean; show: boolean;
canUse: boolean; canUse: boolean;
memo: string;
expiresAt: number; expiresAt: number;
createdAt: number; createdAt: number;
updatedAt: number; updatedAt: number;

View File

@ -77,9 +77,10 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
path: jspb.Message.getFieldWithDefault(msg, 4, ""), path: jspb.Message.getFieldWithDefault(msg, 4, ""),
show: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), show: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
canUse: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), canUse: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
expiresAt: jspb.Message.getFieldWithDefault(msg, 7, 0), memo: jspb.Message.getFieldWithDefault(msg, 7, ""),
createdAt: jspb.Message.getFieldWithDefault(msg, 8, 0), expiresAt: jspb.Message.getFieldWithDefault(msg, 8, 0),
updatedAt: jspb.Message.getFieldWithDefault(msg, 9, 0), createdAt: jspb.Message.getFieldWithDefault(msg, 9, 0),
updatedAt: jspb.Message.getFieldWithDefault(msg, 10, 0),
}; };
if (includeInstance) { if (includeInstance) {
@ -142,14 +143,18 @@ proto.bet.beteran.domain.Site.deserializeBinaryFromReader = function (
msg.setCanUse(value); msg.setCanUse(value);
break; break;
case 7: case 7:
var value = /** @type {number} */ (reader.readUint64()); var value = /** @type {string} */ (reader.readString());
msg.setExpiresAt(value); msg.setMemo(value);
break; break;
case 8: case 8:
var value = /** @type {number} */ (reader.readUint64()); var value = /** @type {number} */ (reader.readUint64());
msg.setCreatedAt(value); msg.setExpiresAt(value);
break; break;
case 9: case 9:
var value = /** @type {number} */ (reader.readUint64());
msg.setCreatedAt(value);
break;
case 10:
var value = /** @type {number} */ (reader.readUint64()); var value = /** @type {number} */ (reader.readUint64());
msg.setUpdatedAt(value); msg.setUpdatedAt(value);
break; break;
@ -191,12 +196,12 @@ proto.bet.beteran.domain.Site.serializeBinaryToWriter = function (
if (f.length > 0) { if (f.length > 0) {
writer.writeString(2, f); writer.writeString(2, f);
} }
f = message.getName(); f = /** @type {string} */ (jspb.Message.getField(message, 3));
if (f.length > 0) { if (f != null) {
writer.writeString(3, f); writer.writeString(3, f);
} }
f = message.getPath(); f = /** @type {string} */ (jspb.Message.getField(message, 4));
if (f.length > 0) { if (f != null) {
writer.writeString(4, f); writer.writeString(4, f);
} }
f = message.getShow(); f = message.getShow();
@ -207,17 +212,21 @@ proto.bet.beteran.domain.Site.serializeBinaryToWriter = function (
if (f) { if (f) {
writer.writeBool(6, f); writer.writeBool(6, f);
} }
f = message.getExpiresAt(); f = /** @type {string} */ (jspb.Message.getField(message, 7));
if (f !== 0) { if (f != null) {
writer.writeUint64(7, f); writer.writeString(7, f);
}
f = /** @type {number} */ (jspb.Message.getField(message, 8));
if (f != null) {
writer.writeUint64(8, f);
} }
f = message.getCreatedAt(); f = message.getCreatedAt();
if (f !== 0) { if (f !== 0) {
writer.writeUint64(8, f); writer.writeUint64(9, f);
} }
f = message.getUpdatedAt(); f = message.getUpdatedAt();
if (f !== 0) { 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 * @return {!proto.bet.beteran.domain.Site} returns this
*/ */
proto.bet.beteran.domain.Site.prototype.setName = function (value) { 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 * @return {!proto.bet.beteran.domain.Site} returns this
*/ */
proto.bet.beteran.domain.Site.prototype.setPath = function (value) { 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} * @return {number}
*/ */
proto.bet.beteran.domain.Site.prototype.getExpiresAt = function () { 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)); return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
}; };
@ -349,15 +406,31 @@ proto.bet.beteran.domain.Site.prototype.getCreatedAt = function () {
* @param {number} value * @param {number} value
* @return {!proto.bet.beteran.domain.Site} returns this * @return {!proto.bet.beteran.domain.Site} returns this
*/ */
proto.bet.beteran.domain.Site.prototype.setCreatedAt = function (value) { proto.bet.beteran.domain.Site.prototype.setExpiresAt = function (value) {
return jspb.Message.setProto3IntField(this, 8, 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} * @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)); return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
}; };
@ -365,8 +438,24 @@ proto.bet.beteran.domain.Site.prototype.getUpdatedAt = function () {
* @param {number} value * @param {number} value
* @return {!proto.bet.beteran.domain.Site} returns this * @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); 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); goog.object.extend(exports, proto.bet.beteran.domain);