本文整理汇总了Java中com.google.protobuf.nano.CodedOutputByteBufferNano.writeFixed64方法的典型用法代码示例。如果您正苦于以下问题:Java CodedOutputByteBufferNano.writeFixed64方法的具体用法?Java CodedOutputByteBufferNano.writeFixed64怎么用?Java CodedOutputByteBufferNano.writeFixed64使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.google.protobuf.nano.CodedOutputByteBufferNano
的用法示例。
在下文中一共展示了CodedOutputByteBufferNano.writeFixed64方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: writeTo
import com.google.protobuf.nano.CodedOutputByteBufferNano; //导入方法依赖的package包/类
public final void writeTo(CodedOutputByteBufferNano paramCodedOutputByteBufferNano)
throws IOException
{
if ((this.hasDasherCustomerId) || (this.dasherCustomerId != 0L)) {
paramCodedOutputByteBufferNano.writeFixed64(1, this.dasherCustomerId);
}
if (this.docid != null) {
paramCodedOutputByteBufferNano.writeMessage(2, this.docid);
}
if ((this.licensedOfferType != 1) || (this.hasLicensedOfferType)) {
paramCodedOutputByteBufferNano.writeInt32(3, this.licensedOfferType);
}
if ((this.type != 0) || (this.hasType)) {
paramCodedOutputByteBufferNano.writeInt32(4, this.type);
}
if ((this.hasRentalPeriodDays) || (this.rentalPeriodDays != 0)) {
paramCodedOutputByteBufferNano.writeInt32(5, this.rentalPeriodDays);
}
super.writeTo(paramCodedOutputByteBufferNano);
}
示例2: writeTo
import com.google.protobuf.nano.CodedOutputByteBufferNano; //导入方法依赖的package包/类
public final void writeTo(CodedOutputByteBufferNano paramCodedOutputByteBufferNano)
throws IOException
{
if ((this.hasAndroidId) || (this.androidId != 0L)) {
paramCodedOutputByteBufferNano.writeFixed64(10, this.androidId);
}
if ((this.deviceRestriction != 1) || (this.hasDeviceRestriction)) {
paramCodedOutputByteBufferNano.writeInt32(11, this.deviceRestriction);
}
if ((this.hasChannelId) || (this.channelId != 0L)) {
paramCodedOutputByteBufferNano.writeInt64(12, this.channelId);
}
if (this.filterInfo != null) {
paramCodedOutputByteBufferNano.writeMessage(15, this.filterInfo);
}
if ((this.hasAvailableIfOwned) || (this.availableIfOwned)) {
paramCodedOutputByteBufferNano.writeBool(22, this.availableIfOwned);
}
super.writeTo(paramCodedOutputByteBufferNano);
}
示例3: writeTo
import com.google.protobuf.nano.CodedOutputByteBufferNano; //导入方法依赖的package包/类
public final void writeTo(CodedOutputByteBufferNano paramCodedOutputByteBufferNano)
throws IOException
{
if ((this.hasFamilyId) || (this.familyId != 0L)) {
paramCodedOutputByteBufferNano.writeFixed64(1, this.familyId);
}
if ((this.hasAskToBuy) || (this.askToBuy)) {
paramCodedOutputByteBufferNano.writeBool(2, this.askToBuy);
}
if ((this.hasHohObfuscatedGaiaId) || (!this.hohObfuscatedGaiaId.equals(""))) {
paramCodedOutputByteBufferNano.writeString(3, this.hohObfuscatedGaiaId);
}
if ((this.hasHohEmailAddress) || (!this.hohEmailAddress.equals(""))) {
paramCodedOutputByteBufferNano.writeString(4, this.hohEmailAddress);
}
super.writeTo(paramCodedOutputByteBufferNano);
}
示例4: writeTo
import com.google.protobuf.nano.CodedOutputByteBufferNano; //导入方法依赖的package包/类
public final void writeTo(CodedOutputByteBufferNano paramCodedOutputByteBufferNano)
throws IOException
{
if ((this.licensedOfferType != 1) || (this.hasLicensedOfferType)) {
paramCodedOutputByteBufferNano.writeInt32(1, this.licensedOfferType);
}
if ((this.hasGaiaGroupId) || (this.gaiaGroupId != 0L)) {
paramCodedOutputByteBufferNano.writeFixed64(2, this.gaiaGroupId);
}
if (this.groupLicenseKey != null) {
paramCodedOutputByteBufferNano.writeMessage(3, this.groupLicenseKey);
}
super.writeTo(paramCodedOutputByteBufferNano);
}