site is changed
This commit is contained in:
parent
f0baebd107
commit
84172273fc
|
@ -143,12 +143,21 @@ export class CreateSiteRequest extends jspb.Message {
|
|||
getUrl(): string;
|
||||
setUrl(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getPath(): string;
|
||||
setPath(value: string): void;
|
||||
|
||||
getShow(): boolean;
|
||||
setShow(value: boolean): void;
|
||||
|
||||
getCanUse(): boolean;
|
||||
setCanUse(value: boolean): void;
|
||||
|
||||
getExpiresAt(): number;
|
||||
setExpiresAt(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateSiteRequest.AsObject;
|
||||
static toObject(
|
||||
|
@ -173,8 +182,11 @@ export class CreateSiteRequest extends jspb.Message {
|
|||
export namespace CreateSiteRequest {
|
||||
export type AsObject = {
|
||||
url: string;
|
||||
name: string;
|
||||
path: string;
|
||||
show: boolean;
|
||||
canUse: boolean;
|
||||
expiresAt: number;
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -254,12 +266,21 @@ export class UpdateSiteRequest extends jspb.Message {
|
|||
getUrl(): string;
|
||||
setUrl(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getPath(): string;
|
||||
setPath(value: string): void;
|
||||
|
||||
getShow(): boolean;
|
||||
setShow(value: boolean): void;
|
||||
|
||||
getCanUse(): boolean;
|
||||
setCanUse(value: boolean): void;
|
||||
|
||||
getExpiresAt(): number;
|
||||
setExpiresAt(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateSiteRequest.AsObject;
|
||||
static toObject(
|
||||
|
@ -285,8 +306,11 @@ export namespace UpdateSiteRequest {
|
|||
export type AsObject = {
|
||||
id: string;
|
||||
url: string;
|
||||
name: string;
|
||||
path: string;
|
||||
show: boolean;
|
||||
canUse: boolean;
|
||||
expiresAt: number;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -1198,8 +1198,11 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|||
var f,
|
||||
obj = {
|
||||
url: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
show: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
||||
canUse: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
||||
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
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),
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
|
@ -1244,13 +1247,25 @@ proto.bet.beteran.c2se.backend.site.CreateSiteRequest.deserializeBinaryFromReade
|
|||
msg.setUrl(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setName(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setPath(value);
|
||||
break;
|
||||
case 4:
|
||||
var value = /** @type {boolean} */ (reader.readBool());
|
||||
msg.setShow(value);
|
||||
break;
|
||||
case 3:
|
||||
case 5:
|
||||
var value = /** @type {boolean} */ (reader.readBool());
|
||||
msg.setCanUse(value);
|
||||
break;
|
||||
case 6:
|
||||
var value = /** @type {number} */ (reader.readUint64());
|
||||
msg.setExpiresAt(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
|
@ -1287,13 +1302,25 @@ proto.bet.beteran.c2se.backend.site.CreateSiteRequest.serializeBinaryToWriter =
|
|||
if (f.length > 0) {
|
||||
writer.writeString(1, f);
|
||||
}
|
||||
f = message.getName();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(2, f);
|
||||
}
|
||||
f = message.getPath();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(3, f);
|
||||
}
|
||||
f = message.getShow();
|
||||
if (f) {
|
||||
writer.writeBool(2, f);
|
||||
writer.writeBool(4, f);
|
||||
}
|
||||
f = message.getCanUse();
|
||||
if (f) {
|
||||
writer.writeBool(3, f);
|
||||
writer.writeBool(5, f);
|
||||
}
|
||||
f = message.getExpiresAt();
|
||||
if (f !== 0) {
|
||||
writer.writeUint64(6, f);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -1318,13 +1345,53 @@ proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.setUrl =
|
|||
};
|
||||
|
||||
/**
|
||||
* optional bool show = 2;
|
||||
* optional string name = 2;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.getName =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 2, "")
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.c2se.backend.site.CreateSiteRequest} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.setName =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 2, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string path = 3;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.getPath =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 3, "")
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.c2se.backend.site.CreateSiteRequest} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.setPath =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 3, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional bool show = 4;
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.getShow =
|
||||
function () {
|
||||
return /** @type {boolean} */ (
|
||||
jspb.Message.getBooleanFieldWithDefault(this, 2, false)
|
||||
jspb.Message.getBooleanFieldWithDefault(this, 4, false)
|
||||
);
|
||||
};
|
||||
|
||||
|
@ -1334,17 +1401,17 @@ proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.getShow =
|
|||
*/
|
||||
proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.setShow =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3BooleanField(this, 2, value);
|
||||
return jspb.Message.setProto3BooleanField(this, 4, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional bool can_use = 3;
|
||||
* optional bool can_use = 5;
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.getCanUse =
|
||||
function () {
|
||||
return /** @type {boolean} */ (
|
||||
jspb.Message.getBooleanFieldWithDefault(this, 3, false)
|
||||
jspb.Message.getBooleanFieldWithDefault(this, 5, false)
|
||||
);
|
||||
};
|
||||
|
||||
|
@ -1354,7 +1421,25 @@ proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.getCanUse =
|
|||
*/
|
||||
proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.setCanUse =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3BooleanField(this, 3, value);
|
||||
return jspb.Message.setProto3BooleanField(this, 5, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional uint64 expires_at = 6;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.getExpiresAt =
|
||||
function () {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.bet.beteran.c2se.backend.site.CreateSiteRequest} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.site.CreateSiteRequest.prototype.setExpiresAt =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3IntField(this, 6, value);
|
||||
};
|
||||
|
||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
|
@ -1793,8 +1878,11 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|||
obj = {
|
||||
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
url: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
show: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
||||
canUse: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
||||
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||
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),
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
|
@ -1843,13 +1931,25 @@ proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.deserializeBinaryFromReade
|
|||
msg.setUrl(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setName(value);
|
||||
break;
|
||||
case 4:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setPath(value);
|
||||
break;
|
||||
case 5:
|
||||
var value = /** @type {boolean} */ (reader.readBool());
|
||||
msg.setShow(value);
|
||||
break;
|
||||
case 4:
|
||||
case 6:
|
||||
var value = /** @type {boolean} */ (reader.readBool());
|
||||
msg.setCanUse(value);
|
||||
break;
|
||||
case 7:
|
||||
var value = /** @type {number} */ (reader.readUint64());
|
||||
msg.setExpiresAt(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
|
@ -1890,13 +1990,25 @@ proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.serializeBinaryToWriter =
|
|||
if (f.length > 0) {
|
||||
writer.writeString(2, f);
|
||||
}
|
||||
f = message.getName();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(3, f);
|
||||
}
|
||||
f = message.getPath();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(4, f);
|
||||
}
|
||||
f = message.getShow();
|
||||
if (f) {
|
||||
writer.writeBool(3, f);
|
||||
writer.writeBool(5, f);
|
||||
}
|
||||
f = message.getCanUse();
|
||||
if (f) {
|
||||
writer.writeBool(4, f);
|
||||
writer.writeBool(6, f);
|
||||
}
|
||||
f = message.getExpiresAt();
|
||||
if (f !== 0) {
|
||||
writer.writeUint64(7, f);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -1941,13 +2053,53 @@ proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.setUrl =
|
|||
};
|
||||
|
||||
/**
|
||||
* optional bool show = 3;
|
||||
* optional string name = 3;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.getName =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 3, "")
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.c2se.backend.site.UpdateSiteRequest} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.setName =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 3, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string path = 4;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.getPath =
|
||||
function () {
|
||||
return /** @type {string} */ (
|
||||
jspb.Message.getFieldWithDefault(this, 4, "")
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.c2se.backend.site.UpdateSiteRequest} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.setPath =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 4, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional bool show = 5;
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.getShow =
|
||||
function () {
|
||||
return /** @type {boolean} */ (
|
||||
jspb.Message.getBooleanFieldWithDefault(this, 3, false)
|
||||
jspb.Message.getBooleanFieldWithDefault(this, 5, false)
|
||||
);
|
||||
};
|
||||
|
||||
|
@ -1957,17 +2109,17 @@ proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.getShow =
|
|||
*/
|
||||
proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.setShow =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3BooleanField(this, 3, value);
|
||||
return jspb.Message.setProto3BooleanField(this, 5, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional bool can_use = 4;
|
||||
* optional bool can_use = 6;
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.getCanUse =
|
||||
function () {
|
||||
return /** @type {boolean} */ (
|
||||
jspb.Message.getBooleanFieldWithDefault(this, 4, false)
|
||||
jspb.Message.getBooleanFieldWithDefault(this, 6, false)
|
||||
);
|
||||
};
|
||||
|
||||
|
@ -1977,7 +2129,25 @@ proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.getCanUse =
|
|||
*/
|
||||
proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.setCanUse =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3BooleanField(this, 4, value);
|
||||
return jspb.Message.setProto3BooleanField(this, 6, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional uint64 expires_at = 7;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.getExpiresAt =
|
||||
function () {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.bet.beteran.c2se.backend.site.UpdateSiteRequest} returns this
|
||||
*/
|
||||
proto.bet.beteran.c2se.backend.site.UpdateSiteRequest.prototype.setExpiresAt =
|
||||
function (value) {
|
||||
return jspb.Message.setProto3IntField(this, 7, value);
|
||||
};
|
||||
|
||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
|
|
|
@ -10,23 +10,27 @@ export class Site extends jspb.Message {
|
|||
getUrl(): string;
|
||||
setUrl(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getPath(): string;
|
||||
setPath(value: string): void;
|
||||
|
||||
getShow(): boolean;
|
||||
setShow(value: boolean): void;
|
||||
|
||||
getCanUse(): boolean;
|
||||
setCanUse(value: boolean): void;
|
||||
|
||||
getExpiresAt(): number;
|
||||
setExpiresAt(value: number): void;
|
||||
|
||||
getCreatedAt(): number;
|
||||
setCreatedAt(value: number): void;
|
||||
|
||||
getUpdatedAt(): number;
|
||||
setUpdatedAt(value: number): void;
|
||||
|
||||
hasDeletedAt(): boolean;
|
||||
clearDeletedAt(): void;
|
||||
getDeletedAt(): number;
|
||||
setDeletedAt(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Site.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Site): Site.AsObject;
|
||||
|
@ -49,10 +53,12 @@ export namespace Site {
|
|||
export type AsObject = {
|
||||
id: string;
|
||||
url: string;
|
||||
name: string;
|
||||
path: string;
|
||||
show: boolean;
|
||||
canUse: boolean;
|
||||
expiresAt: number;
|
||||
createdAt: number;
|
||||
updatedAt: number;
|
||||
deletedAt: number;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -73,11 +73,13 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|||
obj = {
|
||||
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
url: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
show: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
||||
canUse: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
||||
createdAt: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
||||
updatedAt: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
||||
deletedAt: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
||||
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||
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),
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
|
@ -124,25 +126,33 @@ proto.bet.beteran.domain.Site.deserializeBinaryFromReader = function (
|
|||
msg.setUrl(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setName(value);
|
||||
break;
|
||||
case 4:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setPath(value);
|
||||
break;
|
||||
case 5:
|
||||
var value = /** @type {boolean} */ (reader.readBool());
|
||||
msg.setShow(value);
|
||||
break;
|
||||
case 4:
|
||||
case 6:
|
||||
var value = /** @type {boolean} */ (reader.readBool());
|
||||
msg.setCanUse(value);
|
||||
break;
|
||||
case 5:
|
||||
case 7:
|
||||
var value = /** @type {number} */ (reader.readUint64());
|
||||
msg.setExpiresAt(value);
|
||||
break;
|
||||
case 8:
|
||||
var value = /** @type {number} */ (reader.readUint64());
|
||||
msg.setCreatedAt(value);
|
||||
break;
|
||||
case 6:
|
||||
case 9:
|
||||
var value = /** @type {number} */ (reader.readUint64());
|
||||
msg.setUpdatedAt(value);
|
||||
break;
|
||||
case 7:
|
||||
var value = /** @type {number} */ (reader.readUint64());
|
||||
msg.setDeletedAt(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
|
@ -181,25 +191,33 @@ proto.bet.beteran.domain.Site.serializeBinaryToWriter = function (
|
|||
if (f.length > 0) {
|
||||
writer.writeString(2, f);
|
||||
}
|
||||
f = message.getName();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(3, f);
|
||||
}
|
||||
f = message.getPath();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(4, f);
|
||||
}
|
||||
f = message.getShow();
|
||||
if (f) {
|
||||
writer.writeBool(3, f);
|
||||
writer.writeBool(5, f);
|
||||
}
|
||||
f = message.getCanUse();
|
||||
if (f) {
|
||||
writer.writeBool(4, f);
|
||||
writer.writeBool(6, f);
|
||||
}
|
||||
f = message.getExpiresAt();
|
||||
if (f !== 0) {
|
||||
writer.writeUint64(7, f);
|
||||
}
|
||||
f = message.getCreatedAt();
|
||||
if (f !== 0) {
|
||||
writer.writeUint64(5, f);
|
||||
writer.writeUint64(8, f);
|
||||
}
|
||||
f = message.getUpdatedAt();
|
||||
if (f !== 0) {
|
||||
writer.writeUint64(6, f);
|
||||
}
|
||||
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
||||
if (f != null) {
|
||||
writer.writeUint64(7, f);
|
||||
writer.writeUint64(9, f);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -236,12 +254,44 @@ proto.bet.beteran.domain.Site.prototype.setUrl = function (value) {
|
|||
};
|
||||
|
||||
/**
|
||||
* optional bool show = 3;
|
||||
* optional string name = 3;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.domain.Site.prototype.getName = function () {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.domain.Site} returns this
|
||||
*/
|
||||
proto.bet.beteran.domain.Site.prototype.setName = function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 3, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string path = 4;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.bet.beteran.domain.Site.prototype.getPath = function () {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.bet.beteran.domain.Site} returns this
|
||||
*/
|
||||
proto.bet.beteran.domain.Site.prototype.setPath = function (value) {
|
||||
return jspb.Message.setProto3StringField(this, 4, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional bool show = 5;
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.domain.Site.prototype.getShow = function () {
|
||||
return /** @type {boolean} */ (
|
||||
jspb.Message.getBooleanFieldWithDefault(this, 3, false)
|
||||
jspb.Message.getBooleanFieldWithDefault(this, 5, false)
|
||||
);
|
||||
};
|
||||
|
||||
|
@ -250,16 +300,16 @@ proto.bet.beteran.domain.Site.prototype.getShow = function () {
|
|||
* @return {!proto.bet.beteran.domain.Site} returns this
|
||||
*/
|
||||
proto.bet.beteran.domain.Site.prototype.setShow = function (value) {
|
||||
return jspb.Message.setProto3BooleanField(this, 3, value);
|
||||
return jspb.Message.setProto3BooleanField(this, 5, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional bool can_use = 4;
|
||||
* optional bool can_use = 6;
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.bet.beteran.domain.Site.prototype.getCanUse = function () {
|
||||
return /** @type {boolean} */ (
|
||||
jspb.Message.getBooleanFieldWithDefault(this, 4, false)
|
||||
jspb.Message.getBooleanFieldWithDefault(this, 6, false)
|
||||
);
|
||||
};
|
||||
|
||||
|
@ -268,46 +318,14 @@ proto.bet.beteran.domain.Site.prototype.getCanUse = function () {
|
|||
* @return {!proto.bet.beteran.domain.Site} returns this
|
||||
*/
|
||||
proto.bet.beteran.domain.Site.prototype.setCanUse = function (value) {
|
||||
return jspb.Message.setProto3BooleanField(this, 4, value);
|
||||
return jspb.Message.setProto3BooleanField(this, 6, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional uint64 created_at = 5;
|
||||
* optional uint64 expires_at = 7;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.bet.beteran.domain.Site.prototype.getCreatedAt = function () {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
||||
};
|
||||
|
||||
/**
|
||||
* @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, 5, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional uint64 updated_at = 6;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.bet.beteran.domain.Site.prototype.getUpdatedAt = function () {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 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, 6, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* optional uint64 deleted_at = 7;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.bet.beteran.domain.Site.prototype.getDeletedAt = function () {
|
||||
proto.bet.beteran.domain.Site.prototype.getExpiresAt = function () {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
||||
};
|
||||
|
||||
|
@ -315,24 +333,40 @@ proto.bet.beteran.domain.Site.prototype.getDeletedAt = function () {
|
|||
* @param {number} value
|
||||
* @return {!proto.bet.beteran.domain.Site} returns this
|
||||
*/
|
||||
proto.bet.beteran.domain.Site.prototype.setDeletedAt = function (value) {
|
||||
return jspb.Message.setField(this, 7, value);
|
||||
proto.bet.beteran.domain.Site.prototype.setExpiresAt = function (value) {
|
||||
return jspb.Message.setProto3IntField(this, 7, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* Clears the field making it undefined.
|
||||
* optional uint64 created_at = 8;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.bet.beteran.domain.Site.prototype.getCreatedAt = function () {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.bet.beteran.domain.Site} returns this
|
||||
*/
|
||||
proto.bet.beteran.domain.Site.prototype.clearDeletedAt = function () {
|
||||
return jspb.Message.setField(this, 7, undefined);
|
||||
proto.bet.beteran.domain.Site.prototype.setCreatedAt = function (value) {
|
||||
return jspb.Message.setProto3IntField(this, 8, value);
|
||||
};
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
* optional uint64 updated_at = 9;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.bet.beteran.domain.Site.prototype.hasDeletedAt = function () {
|
||||
return jspb.Message.getField(this, 7) != null;
|
||||
proto.bet.beteran.domain.Site.prototype.getUpdatedAt = function () {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 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, 9, value);
|
||||
};
|
||||
|
||||
goog.object.extend(exports, proto.bet.beteran.domain);
|
||||
|
|
Loading…
Reference in New Issue
Block a user