当前位置: 首页>>代码示例>>Java>>正文


Java CodedOutputByteBufferNano.writeBool方法代码示例

本文整理汇总了Java中com.google.protobuf.nano.CodedOutputByteBufferNano.writeBool方法的典型用法代码示例。如果您正苦于以下问题:Java CodedOutputByteBufferNano.writeBool方法的具体用法?Java CodedOutputByteBufferNano.writeBool怎么用?Java CodedOutputByteBufferNano.writeBool使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.google.protobuf.nano.CodedOutputByteBufferNano的用法示例。


在下文中一共展示了CodedOutputByteBufferNano.writeBool方法的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: writeTo

import com.google.protobuf.nano.CodedOutputByteBufferNano; //导入方法依赖的package包/类
public final void writeTo(CodedOutputByteBufferNano paramCodedOutputByteBufferNano)
  throws IOException
{
  if (this.instrumentInfo != null) {
    paramCodedOutputByteBufferNano.writeMessage(1, this.instrumentInfo);
  }
  if ((this.hasSerialDocid) || (!this.serialDocid.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(2, this.serialDocid);
  }
  if ((this.hasHost) || (!this.host.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(3, this.host);
  }
  if ((this.hasDocument) || (!this.document.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(4, this.document);
  }
  if ((this.hasOfferType) || (this.offerType != 0)) {
    paramCodedOutputByteBufferNano.writeInt32(5, this.offerType);
  }
  if ((this.hasIsImeAction) || (this.isImeAction)) {
    paramCodedOutputByteBufferNano.writeBool(6, this.isImeAction);
  }
  if (this.authContext != null) {
    paramCodedOutputByteBufferNano.writeMessage(7, this.authContext);
  }
  super.writeTo(paramCodedOutputByteBufferNano);
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:27,代码来源:PlayStore.java

示例2: writeTo

import com.google.protobuf.nano.CodedOutputByteBufferNano; //导入方法依赖的package包/类
public final void writeTo(CodedOutputByteBufferNano paramCodedOutputByteBufferNano)
  throws IOException
{
  if ((this.hasCertificate) || (!Arrays.equals(this.certificate, WireFormatNano.EMPTY_BYTES))) {
    paramCodedOutputByteBufferNano.writeBytes(1, this.certificate);
  }
  if ((this.hasParsedSuccessfully) || (this.parsedSuccessfully)) {
    paramCodedOutputByteBufferNano.writeBool(2, this.parsedSuccessfully);
  }
  if ((this.hasSubject) || (!Arrays.equals(this.subject, WireFormatNano.EMPTY_BYTES))) {
    paramCodedOutputByteBufferNano.writeBytes(3, this.subject);
  }
  if ((this.hasIssuer) || (!Arrays.equals(this.issuer, WireFormatNano.EMPTY_BYTES))) {
    paramCodedOutputByteBufferNano.writeBytes(4, this.issuer);
  }
  if ((this.hasFingerprint) || (!Arrays.equals(this.fingerprint, WireFormatNano.EMPTY_BYTES))) {
    paramCodedOutputByteBufferNano.writeBytes(5, this.fingerprint);
  }
  if ((this.hasExpiryTime) || (this.expiryTime != 0L)) {
    paramCodedOutputByteBufferNano.writeInt64(6, this.expiryTime);
  }
  if ((this.hasStartTime) || (this.startTime != 0L)) {
    paramCodedOutputByteBufferNano.writeInt64(7, this.startTime);
  }
  super.writeTo(paramCodedOutputByteBufferNano);
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:27,代码来源:CsdClient.java

示例3: writeTo

import com.google.protobuf.nano.CodedOutputByteBufferNano; //导入方法依赖的package包/类
public final void writeTo(CodedOutputByteBufferNano paramCodedOutputByteBufferNano)
  throws IOException
{
  if ((this.hasSelected) || (this.selected)) {
    paramCodedOutputByteBufferNano.writeBool(1, this.selected);
  }
  if ((this.hasTitle) || (!this.title.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(2, this.title);
  }
  if ((this.hasListUrl) || (!this.listUrl.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(3, this.listUrl);
  }
  if ((this.hasServerLogsCookie) || (!Arrays.equals(this.serverLogsCookie, WireFormatNano.EMPTY_BYTES))) {
    paramCodedOutputByteBufferNano.writeBytes(4, this.serverLogsCookie);
  }
  super.writeTo(paramCodedOutputByteBufferNano);
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:18,代码来源:Containers.java

示例4: writeTo

import com.google.protobuf.nano.CodedOutputByteBufferNano; //导入方法依赖的package包/类
public final void writeTo(CodedOutputByteBufferNano paramCodedOutputByteBufferNano)
  throws IOException
{
  if ((this.hasInitiationTimestampMsec) || (this.initiationTimestampMsec != 0L)) {
    paramCodedOutputByteBufferNano.writeInt64(1, this.initiationTimestampMsec);
  }
  if ((this.hasDeprecatedValidUntilTimestampMsec) || (this.deprecatedValidUntilTimestampMsec != 0L)) {
    paramCodedOutputByteBufferNano.writeInt64(2, this.deprecatedValidUntilTimestampMsec);
  }
  if ((this.hasAutoRenewing) || (this.autoRenewing)) {
    paramCodedOutputByteBufferNano.writeBool(3, this.autoRenewing);
  }
  if ((this.hasTrialUntilTimestampMsec) || (this.trialUntilTimestampMsec != 0L)) {
    paramCodedOutputByteBufferNano.writeInt64(4, this.trialUntilTimestampMsec);
  }
  if ((this.hasSignedPurchaseData) || (!this.signedPurchaseData.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(5, this.signedPurchaseData);
  }
  if ((this.hasSignature) || (!this.signature.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(6, this.signature);
  }
  super.writeTo(paramCodedOutputByteBufferNano);
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:24,代码来源:LibraryUpdateProto.java

示例5: writeTo

import com.google.protobuf.nano.CodedOutputByteBufferNano; //导入方法依赖的package包/类
public final void writeTo(CodedOutputByteBufferNano paramCodedOutputByteBufferNano)
  throws IOException
{
  if (this.periodStart != null) {
    paramCodedOutputByteBufferNano.writeMessage(1, this.periodStart);
  }
  if (this.periodEnd != null) {
    paramCodedOutputByteBufferNano.writeMessage(2, this.periodEnd);
  }
  if ((this.midSeasonPricingStrategy != 0) || (this.hasMidSeasonPricingStrategy)) {
    paramCodedOutputByteBufferNano.writeInt32(3, this.midSeasonPricingStrategy);
  }
  if ((this.hasProrated) || (this.prorated)) {
    paramCodedOutputByteBufferNano.writeBool(4, this.prorated);
  }
  super.writeTo(paramCodedOutputByteBufferNano);
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:18,代码来源:Common.java

示例6: writeTo

import com.google.protobuf.nano.CodedOutputByteBufferNano; //导入方法依赖的package包/类
public final void writeTo(CodedOutputByteBufferNano paramCodedOutputByteBufferNano)
  throws IOException
{
  if ((this.docid != null) && (this.docid.length > 0)) {
    for (int j = 0; j < this.docid.length; j++)
    {
      String str = this.docid[j];
      if (str != null) {
        paramCodedOutputByteBufferNano.writeString(1, str);
      }
    }
  }
  if ((this.hasIncludeChildDocs) || (this.includeChildDocs != true)) {
    paramCodedOutputByteBufferNano.writeBool(2, this.includeChildDocs);
  }
  if ((this.hasIncludeDetails) || (this.includeDetails)) {
    paramCodedOutputByteBufferNano.writeBool(3, this.includeDetails);
  }
  if ((this.hasSourcePackageName) || (!this.sourcePackageName.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(4, this.sourcePackageName);
  }
  if ((this.installedVersionCode != null) && (this.installedVersionCode.length > 0)) {
    for (int i = 0; i < this.installedVersionCode.length; i++) {
      paramCodedOutputByteBufferNano.writeInt32(7, this.installedVersionCode[i]);
    }
  }
  super.writeTo(paramCodedOutputByteBufferNano);
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:29,代码来源:Details.java

示例7: writeTo

import com.google.protobuf.nano.CodedOutputByteBufferNano; //导入方法依赖的package包/类
public final void writeTo(CodedOutputByteBufferNano paramCodedOutputByteBufferNano)
  throws IOException
{
  if (this.otp != null) {
    paramCodedOutputByteBufferNano.writeMessage(1, this.otp);
  }
  if (this.buttonPressed) {
    paramCodedOutputByteBufferNano.writeBool(2, this.buttonPressed);
  }
  super.writeTo(paramCodedOutputByteBufferNano);
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:12,代码来源:OtpFieldOuterClass.java

示例8: writeTo

import com.google.protobuf.nano.CodedOutputByteBufferNano; //导入方法依赖的package包/类
public final void writeTo(CodedOutputByteBufferNano paramCodedOutputByteBufferNano)
  throws IOException
{
  if ((this.hasInitiationTimestampMsec) || (this.initiationTimestampMsec != 0L)) {
    paramCodedOutputByteBufferNano.writeInt64(1, this.initiationTimestampMsec);
  }
  if ((this.hasValidUntilTimestampMsec) || (this.validUntilTimestampMsec != 0L)) {
    paramCodedOutputByteBufferNano.writeInt64(2, this.validUntilTimestampMsec);
  }
  if ((this.hasAutoRenewing) || (this.autoRenewing)) {
    paramCodedOutputByteBufferNano.writeBool(3, this.autoRenewing);
  }
  if ((this.hasRefundTimeoutTimestampMsec) || (this.refundTimeoutTimestampMsec != 0L)) {
    paramCodedOutputByteBufferNano.writeInt64(4, this.refundTimeoutTimestampMsec);
  }
  if ((this.hasPostDeliveryRefundWindowMsec) || (this.postDeliveryRefundWindowMsec != 0L)) {
    paramCodedOutputByteBufferNano.writeInt64(5, this.postDeliveryRefundWindowMsec);
  }
  if (this.developerPurchaseInfo != null) {
    paramCodedOutputByteBufferNano.writeMessage(6, this.developerPurchaseInfo);
  }
  if ((this.hasPreordered) || (this.preordered)) {
    paramCodedOutputByteBufferNano.writeBool(7, this.preordered);
  }
  if ((this.hasHidden) || (this.hidden)) {
    paramCodedOutputByteBufferNano.writeBool(8, this.hidden);
  }
  if (this.rentalTerms != null) {
    paramCodedOutputByteBufferNano.writeMessage(9, this.rentalTerms);
  }
  if (this.groupLicenseInfo != null) {
    paramCodedOutputByteBufferNano.writeMessage(10, this.groupLicenseInfo);
  }
  if (this.licensedDocumentInfo != null) {
    paramCodedOutputByteBufferNano.writeMessage(11, this.licensedDocumentInfo);
  }
  if ((this.hasQuantity) || (this.quantity != 1)) {
    paramCodedOutputByteBufferNano.writeInt32(12, this.quantity);
  }
  if ((this.hasLibraryExpirationTimestampMsec) || (this.libraryExpirationTimestampMsec != 0L)) {
    paramCodedOutputByteBufferNano.writeInt64(14, this.libraryExpirationTimestampMsec);
  }
  if (this.libraryVoucher != null) {
    paramCodedOutputByteBufferNano.writeMessage(15, this.libraryVoucher);
  }
  if (this.bundleDocid != null) {
    paramCodedOutputByteBufferNano.writeMessage(16, this.bundleDocid);
  }
  if ((this.hasBonus) || (this.bonus)) {
    paramCodedOutputByteBufferNano.writeBool(17, this.bonus);
  }
  if ((this.hasStoredValidUntilTimestampMsec) || (this.storedValidUntilTimestampMsec != 0L)) {
    paramCodedOutputByteBufferNano.writeInt64(18, this.storedValidUntilTimestampMsec);
  }
  super.writeTo(paramCodedOutputByteBufferNano);
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:57,代码来源:Ownership.java

示例9: writeTo

import com.google.protobuf.nano.CodedOutputByteBufferNano; //导入方法依赖的package包/类
public final void writeTo(CodedOutputByteBufferNano paramCodedOutputByteBufferNano)
  throws IOException
{
  if ((this.corpus != null) && (this.corpus.length > 0)) {
    for (int i = 0; i < this.corpus.length; i++)
    {
      Toc.CorpusMetadata localCorpusMetadata = this.corpus[i];
      if (localCorpusMetadata != null) {
        paramCodedOutputByteBufferNano.writeMessage(1, localCorpusMetadata);
      }
    }
  }
  if ((this.hasTosVersionDeprecated) || (this.tosVersionDeprecated != 0)) {
    paramCodedOutputByteBufferNano.writeInt32(2, this.tosVersionDeprecated);
  }
  if ((this.hasTosContent) || (!this.tosContent.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(3, this.tosContent);
  }
  if ((this.hasHomeUrl) || (!this.homeUrl.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(4, this.homeUrl);
  }
  if (this.experiments != null) {
    paramCodedOutputByteBufferNano.writeMessage(5, this.experiments);
  }
  if ((this.hasTosCheckboxTextMarketingEmails) || (!this.tosCheckboxTextMarketingEmails.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(6, this.tosCheckboxTextMarketingEmails);
  }
  if ((this.hasTosToken) || (!this.tosToken.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(7, this.tosToken);
  }
  if (this.userSettings != null) {
    paramCodedOutputByteBufferNano.writeMessage(8, this.userSettings);
  }
  if ((this.hasIconOverrideUrl) || (!this.iconOverrideUrl.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(9, this.iconOverrideUrl);
  }
  if (this.selfUpdateConfig != null) {
    paramCodedOutputByteBufferNano.writeMessage(10, this.selfUpdateConfig);
  }
  if ((this.hasRequiresUploadDeviceConfig) || (this.requiresUploadDeviceConfig)) {
    paramCodedOutputByteBufferNano.writeBool(11, this.requiresUploadDeviceConfig);
  }
  if (this.billingConfig != null) {
    paramCodedOutputByteBufferNano.writeMessage(12, this.billingConfig);
  }
  if ((this.hasRecsWidgetUrl) || (!this.recsWidgetUrl.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(13, this.recsWidgetUrl);
  }
  if ((this.hasSocialHomeUrl) || (!this.socialHomeUrl.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(15, this.socialHomeUrl);
  }
  if ((this.hasAgeVerificationRequired) || (this.ageVerificationRequired)) {
    paramCodedOutputByteBufferNano.writeBool(16, this.ageVerificationRequired);
  }
  if ((this.hasGplusSignupEnabled) || (this.gplusSignupEnabled)) {
    paramCodedOutputByteBufferNano.writeBool(17, this.gplusSignupEnabled);
  }
  if ((this.hasRedeemEnabled) || (this.redeemEnabled)) {
    paramCodedOutputByteBufferNano.writeBool(18, this.redeemEnabled);
  }
  if ((this.hasHelpUrl) || (!this.helpUrl.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(19, this.helpUrl);
  }
  if ((this.themeId != 0) || (this.hasThemeId)) {
    paramCodedOutputByteBufferNano.writeInt32(20, this.themeId);
  }
  if ((this.hasEntertainmentHomeUrl) || (!this.entertainmentHomeUrl.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(21, this.entertainmentHomeUrl);
  }
  if ((this.hasCookie) || (!this.cookie.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(22, this.cookie);
  }
  super.writeTo(paramCodedOutputByteBufferNano);
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:75,代码来源:Toc.java

示例10: writeTo

import com.google.protobuf.nano.CodedOutputByteBufferNano; //导入方法依赖的package包/类
public final void writeTo(CodedOutputByteBufferNano paramCodedOutputByteBufferNano)
  throws IOException
{
  if ((this.hasFormOfPayment) || (!this.formOfPayment.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(6, this.formOfPayment);
  }
  if ((this.hasEncodedAdjustedCart) || (!this.encodedAdjustedCart.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(7, this.encodedAdjustedCart);
  }
  if ((this.hasInstrumentId) || (!this.instrumentId.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(15, this.instrumentId);
  }
  if ((this.item != null) && (this.item.length > 0)) {
    for (int n = 0; n < this.item.length; n++)
    {
      Buy.LineItem localLineItem2 = this.item[n];
      if (localLineItem2 != null) {
        paramCodedOutputByteBufferNano.writeMessage(16, localLineItem2);
      }
    }
  }
  if ((this.subItem != null) && (this.subItem.length > 0)) {
    for (int m = 0; m < this.subItem.length; m++)
    {
      Buy.LineItem localLineItem1 = this.subItem[m];
      if (localLineItem1 != null) {
        paramCodedOutputByteBufferNano.writeMessage(17, localLineItem1);
      }
    }
  }
  if (this.total != null) {
    paramCodedOutputByteBufferNano.writeMessage(18, this.total);
  }
  if ((this.footerHtml != null) && (this.footerHtml.length > 0)) {
    for (int k = 0; k < this.footerHtml.length; k++)
    {
      String str3 = this.footerHtml[k];
      if (str3 != null) {
        paramCodedOutputByteBufferNano.writeString(19, str3);
      }
    }
  }
  if ((this.instrumentFamily != 0) || (this.hasInstrumentFamily)) {
    paramCodedOutputByteBufferNano.writeInt32(29, this.instrumentFamily);
  }
  if ((this.hasSelectedInstrument) || (this.selectedInstrument)) {
    paramCodedOutputByteBufferNano.writeBool(32, this.selectedInstrument);
  }
  if (this.summary != null) {
    paramCodedOutputByteBufferNano.writeMessage(33, this.summary);
  }
  if ((this.footnoteHtml != null) && (this.footnoteHtml.length > 0)) {
    for (int j = 0; j < this.footnoteHtml.length; j++)
    {
      String str2 = this.footnoteHtml[j];
      if (str2 != null) {
        paramCodedOutputByteBufferNano.writeString(35, str2);
      }
    }
  }
  if (this.instrument != null) {
    paramCodedOutputByteBufferNano.writeMessage(43, this.instrument);
  }
  if ((this.hasPurchaseCookie) || (!this.purchaseCookie.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(45, this.purchaseCookie);
  }
  if ((this.disabledReason != null) && (this.disabledReason.length > 0)) {
    for (int i = 0; i < this.disabledReason.length; i++)
    {
      String str1 = this.disabledReason[i];
      if (str1 != null) {
        paramCodedOutputByteBufferNano.writeString(48, str1);
      }
    }
  }
  super.writeTo(paramCodedOutputByteBufferNano);
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:78,代码来源:Buy.java

示例11: writeTo

import com.google.protobuf.nano.CodedOutputByteBufferNano; //导入方法依赖的package包/类
public final void writeTo(CodedOutputByteBufferNano paramCodedOutputByteBufferNano)
  throws IOException
{
  if ((this.hasCode) || (!this.code.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(1, this.code);
  }
  if ((this.hasHasUserConfirmation) || (this.hasUserConfirmation)) {
    paramCodedOutputByteBufferNano.writeBool(2, this.hasUserConfirmation);
  }
  if (this.address != null) {
    paramCodedOutputByteBufferNano.writeMessage(3, this.address);
  }
  if ((this.addressCheckedCheckboxId != null) && (this.addressCheckedCheckboxId.length > 0)) {
    for (int i = 0; i < this.addressCheckedCheckboxId.length; i++)
    {
      String str = this.addressCheckedCheckboxId[i];
      if (str != null) {
        paramCodedOutputByteBufferNano.writeString(4, str);
      }
    }
  }
  if ((this.hasToken) || (!this.token.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(5, this.token);
  }
  if ((this.redemptionContext != 1) || (this.hasRedemptionContext)) {
    paramCodedOutputByteBufferNano.writeInt32(6, this.redemptionContext);
  }
  if ((this.hasPartnerPayload) || (!this.partnerPayload.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(7, this.partnerPayload);
  }
  if (this.docid != null) {
    paramCodedOutputByteBufferNano.writeMessage(8, this.docid);
  }
  if ((this.offerType != 1) || (this.hasOfferType)) {
    paramCodedOutputByteBufferNano.writeInt32(9, this.offerType);
  }
  if ((this.hasConsumptionAppVersionCode) || (this.consumptionAppVersionCode != 0L)) {
    paramCodedOutputByteBufferNano.writeInt64(10, this.consumptionAppVersionCode);
  }
  if ((this.hasPaymentsIntegratorClientContextToken) || (!Arrays.equals(this.paymentsIntegratorClientContextToken, WireFormatNano.EMPTY_BYTES))) {
    paramCodedOutputByteBufferNano.writeBytes(11, this.paymentsIntegratorClientContextToken);
  }
  super.writeTo(paramCodedOutputByteBufferNano);
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:45,代码来源:PromoCode.java

示例12: writeTo

import com.google.protobuf.nano.CodedOutputByteBufferNano; //导入方法依赖的package包/类
public final void writeTo(CodedOutputByteBufferNano paramCodedOutputByteBufferNano)
  throws IOException
{
  if ((this.document != null) && (this.document.length > 0)) {
    for (int i = 0; i < this.document.length; i++)
    {
      DocV1 localDocV1 = this.document[i];
      if (localDocV1 != null) {
        paramCodedOutputByteBufferNano.writeMessage(1, localDocV1);
      }
    }
  }
  if ((this.hasMultiCorpus) || (this.multiCorpus)) {
    paramCodedOutputByteBufferNano.writeBool(2, this.multiCorpus);
  }
  if ((this.hasTitle) || (!this.title.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(3, this.title);
  }
  if ((this.hasIconUrl) || (!this.iconUrl.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(4, this.iconUrl);
  }
  if ((this.hasFullContentsUrl) || (!this.fullContentsUrl.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(5, this.fullContentsUrl);
  }
  if ((this.hasRelevance) || (Double.doubleToLongBits(this.relevance) != Double.doubleToLongBits(0.0D))) {
    paramCodedOutputByteBufferNano.writeDouble(6, this.relevance);
  }
  if ((this.hasEstimatedResults) || (this.estimatedResults != 0L)) {
    paramCodedOutputByteBufferNano.writeInt64(7, this.estimatedResults);
  }
  if ((this.hasAnalyticsCookie) || (!this.analyticsCookie.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(8, this.analyticsCookie);
  }
  if ((this.hasFullContentsListUrl) || (!this.fullContentsListUrl.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(9, this.fullContentsListUrl);
  }
  if ((this.hasNextPageUrl) || (!this.nextPageUrl.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(10, this.nextPageUrl);
  }
  if ((this.hasOrdered) || (this.ordered)) {
    paramCodedOutputByteBufferNano.writeBool(11, this.ordered);
  }
  super.writeTo(paramCodedOutputByteBufferNano);
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:45,代码来源:Bucket.java

示例13: writeTo

import com.google.protobuf.nano.CodedOutputByteBufferNano; //导入方法依赖的package包/类
public final void writeTo(CodedOutputByteBufferNano paramCodedOutputByteBufferNano)
  throws IOException
{
  if (!this.name.equals("")) {
    paramCodedOutputByteBufferNano.writeString(1, this.name);
  }
  if (this.isSecure) {
    paramCodedOutputByteBufferNano.writeBool(2, this.isSecure);
  }
  if (this.isOptional) {
    paramCodedOutputByteBufferNano.writeBool(3, this.isOptional);
  }
  if (!this.label.equals("")) {
    paramCodedOutputByteBufferNano.writeString(4, this.label);
  }
  if (this.textField != null) {
    paramCodedOutputByteBufferNano.writeMessage(6, this.textField);
  }
  if (this.selectField != null) {
    paramCodedOutputByteBufferNano.writeMessage(7, this.selectField);
  }
  if (this.tooltip != null) {
    paramCodedOutputByteBufferNano.writeMessage(9, this.tooltip);
  }
  if (this.isDisabled) {
    paramCodedOutputByteBufferNano.writeBool(11, this.isDisabled);
  }
  if (!Arrays.equals(this.dataToken, WireFormatNano.EMPTY_BYTES)) {
    paramCodedOutputByteBufferNano.writeBytes(14, this.dataToken);
  }
  if (this.uiReference != 0) {
    paramCodedOutputByteBufferNano.writeInt32(15, this.uiReference);
  }
  if (this.dateField != null) {
    paramCodedOutputByteBufferNano.writeMessage(16, this.dateField);
  }
  if (this.semanticHint != 0) {
    paramCodedOutputByteBufferNano.writeInt32(18, this.semanticHint);
  }
  super.writeTo(paramCodedOutputByteBufferNano);
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:42,代码来源:UiFieldOuterClass.java

示例14: writeTo

import com.google.protobuf.nano.CodedOutputByteBufferNano; //导入方法依赖的package包/类
public final void writeTo(CodedOutputByteBufferNano paramCodedOutputByteBufferNano)
  throws IOException
{
  if ((this.hasAndroidId) || (this.androidId != 0L)) {
    paramCodedOutputByteBufferNano.writeInt64(1, this.androidId);
  }
  if ((this.hasLoggingId) || (!this.loggingId.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(2, this.loggingId);
  }
  if ((this.hasSdkVersion) || (this.sdkVersion != 0)) {
    paramCodedOutputByteBufferNano.writeInt32(3, this.sdkVersion);
  }
  if ((this.hasModel) || (!this.model.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(4, this.model);
  }
  if ((this.hasProduct) || (!this.product.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(5, this.product);
  }
  if ((this.hasOsBuild) || (!this.osBuild.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(6, this.osBuild);
  }
  if ((this.hasApplicationBuild) || (!this.applicationBuild.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(7, this.applicationBuild);
  }
  if ((this.hasHardware) || (!this.hardware.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(8, this.hardware);
  }
  if ((this.hasDevice) || (!this.device.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(9, this.device);
  }
  if ((this.hasMccMnc) || (!this.mccMnc.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(10, this.mccMnc);
  }
  if ((this.hasLocale) || (!this.locale.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(11, this.locale);
  }
  if ((this.hasCountry) || (!this.country.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(12, this.country);
  }
  if ((this.hasManufacturer) || (!this.manufacturer.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(13, this.manufacturer);
  }
  if ((this.hasBrand) || (!this.brand.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(14, this.brand);
  }
  if ((this.hasBoard) || (!this.board.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(15, this.board);
  }
  if ((this.hasRadioVersion) || (!this.radioVersion.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(16, this.radioVersion);
  }
  if ((this.hasFingerprint) || (!this.fingerprint.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(17, this.fingerprint);
  }
  if ((this.hasDeviceId) || (this.deviceId != 0L)) {
    paramCodedOutputByteBufferNano.writeInt64(18, this.deviceId);
  }
  if ((this.hasGmsCoreVersionCode) || (this.gmsCoreVersionCode != 0)) {
    paramCodedOutputByteBufferNano.writeInt32(19, this.gmsCoreVersionCode);
  }
  if ((this.hasIsSidewinderDevice) || (this.isSidewinderDevice)) {
    paramCodedOutputByteBufferNano.writeBool(20, this.isSidewinderDevice);
  }
  super.writeTo(paramCodedOutputByteBufferNano);
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:66,代码来源:ClientAnalytics.java


注:本文中的com.google.protobuf.nano.CodedOutputByteBufferNano.writeBool方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。