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


Java CodedOutputByteBufferNano.writeMessage方法代码示例

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


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

示例1: writeTo

import com.google.protobuf.nano.CodedOutputByteBufferNano; //导入方法依赖的package包/类
public final void writeTo(CodedOutputByteBufferNano paramCodedOutputByteBufferNano)
  throws IOException
{
  if (this.doc != null) {
    paramCodedOutputByteBufferNano.writeMessage(1, this.doc);
  }
  if ((this.offer != null) && (this.offer.length > 0)) {
    for (int i = 0; i < this.offer.length; i++)
    {
      Common.Offer localOffer = this.offer[i];
      if (localOffer != null) {
        paramCodedOutputByteBufferNano.writeMessage(2, localOffer);
      }
    }
  }
  super.writeTo(paramCodedOutputByteBufferNano);
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:18,代码来源:VoucherInfo.java

示例2: writeTo

import com.google.protobuf.nano.CodedOutputByteBufferNano; //导入方法依赖的package包/类
public final void writeTo(CodedOutputByteBufferNano paramCodedOutputByteBufferNano)
  throws IOException
{
  if (this.creditCard != null) {
    paramCodedOutputByteBufferNano.writeMessage(1, this.creditCard);
  }
  if (this.dcbVerifyAssociation != null) {
    paramCodedOutputByteBufferNano.writeMessage(4, this.dcbVerifyAssociation);
  }
  if (this.usernamePassword != null) {
    paramCodedOutputByteBufferNano.writeMessage(6, this.usernamePassword);
  }
  if (this.simpleForm != null) {
    paramCodedOutputByteBufferNano.writeMessage(11, this.simpleForm);
  }
  if (this.card != null) {
    paramCodedOutputByteBufferNano.writeMessage(12, this.card);
  }
  if (this.redirect != null) {
    paramCodedOutputByteBufferNano.writeMessage(13, this.redirect);
  }
  super.writeTo(paramCodedOutputByteBufferNano);
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:24,代码来源:InstrumentFormOuterClass.java

示例3: writeTo

import com.google.protobuf.nano.CodedOutputByteBufferNano; //导入方法依赖的package包/类
public final void writeTo(CodedOutputByteBufferNano paramCodedOutputByteBufferNano)
  throws IOException
{
  if ((this.fileType != 0) || (this.hasFileType)) {
    paramCodedOutputByteBufferNano.writeInt32(1, this.fileType);
  }
  if ((this.hasVersionCode) || (this.versionCode != 0)) {
    paramCodedOutputByteBufferNano.writeInt32(2, this.versionCode);
  }
  if ((this.hasSize) || (this.size != 0L)) {
    paramCodedOutputByteBufferNano.writeInt64(3, this.size);
  }
  if ((this.hasDownloadUrl) || (!this.downloadUrl.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(4, this.downloadUrl);
  }
  if (this.patchData != null) {
    paramCodedOutputByteBufferNano.writeMessage(5, this.patchData);
  }
  if ((this.hasCompressedSize) || (this.compressedSize != 0L)) {
    paramCodedOutputByteBufferNano.writeInt64(6, this.compressedSize);
  }
  if ((this.hasCompressedDownloadUrl) || (!this.compressedDownloadUrl.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(7, this.compressedDownloadUrl);
  }
  super.writeTo(paramCodedOutputByteBufferNano);
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:27,代码来源:AppFileMetadata.java

示例4: 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.button != null) {
    paramCodedOutputByteBufferNano.writeMessage(2, this.button);
  }
  if (!this.otpSenderNumberRegex.equals("")) {
    paramCodedOutputByteBufferNano.writeString(3, this.otpSenderNumberRegex);
  }
  if (!this.otpFromSmsRetrievalRegex.equals("")) {
    paramCodedOutputByteBufferNano.writeString(4, this.otpFromSmsRetrievalRegex);
  }
  super.writeTo(paramCodedOutputByteBufferNano);
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:18,代码来源:OtpFieldOuterClass.java

示例5: writeTo

import com.google.protobuf.nano.CodedOutputByteBufferNano; //导入方法依赖的package包/类
public final void writeTo(CodedOutputByteBufferNano paramCodedOutputByteBufferNano)
  throws IOException
{
  if (this.newMonth != 0) {
    paramCodedOutputByteBufferNano.writeInt32(1, this.newMonth);
  }
  if (this.newYear != 0) {
    paramCodedOutputByteBufferNano.writeInt32(2, this.newYear);
  }
  if (!this.cvc.equals("")) {
    paramCodedOutputByteBufferNano.writeString(3, this.cvc);
  }
  if (this.billingAddress != null) {
    paramCodedOutputByteBufferNano.writeMessage(5, this.billingAddress);
  }
  if (!this.legalDocData.equals("")) {
    paramCodedOutputByteBufferNano.writeString(6, this.legalDocData);
  }
  if (!this.cardholderName.equals("")) {
    paramCodedOutputByteBufferNano.writeString(7, this.cardholderName);
  }
  super.writeTo(paramCodedOutputByteBufferNano);
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:24,代码来源:CreditCard.java

示例6: writeTo

import com.google.protobuf.nano.CodedOutputByteBufferNano; //导入方法依赖的package包/类
public final void writeTo(CodedOutputByteBufferNano paramCodedOutputByteBufferNano)
  throws IOException
{
  if ((this.qosTierConfiguration != null) && (this.qosTierConfiguration.length > 0)) {
    for (int i = 0; i < this.qosTierConfiguration.length; i++)
    {
      ClientAnalytics.QosTierConfiguration localQosTierConfiguration = this.qosTierConfiguration[i];
      if (localQosTierConfiguration != null) {
        paramCodedOutputByteBufferNano.writeMessage(1, localQosTierConfiguration);
      }
    }
  }
  if ((this.hasQosTierFingerprint) || (this.qosTierFingerprint != 0L)) {
    paramCodedOutputByteBufferNano.writeInt64(2, this.qosTierFingerprint);
  }
  super.writeTo(paramCodedOutputByteBufferNano);
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:18,代码来源:ClientAnalytics.java

示例7: writeTo

import com.google.protobuf.nano.CodedOutputByteBufferNano; //导入方法依赖的package包/类
public final void writeTo(CodedOutputByteBufferNano paramCodedOutputByteBufferNano)
  throws IOException
{
  if ((this.type != 0) || (this.hasType)) {
    paramCodedOutputByteBufferNano.writeInt32(1, this.type);
  }
  if ((this.hasServerLogsCookie) || (!Arrays.equals(this.serverLogsCookie, WireFormatNano.EMPTY_BYTES))) {
    paramCodedOutputByteBufferNano.writeBytes(2, this.serverLogsCookie);
  }
  if (this.clientLogsCookie != null) {
    paramCodedOutputByteBufferNano.writeMessage(3, this.clientLogsCookie);
  }
  if ((this.child != null) && (this.child.length > 0)) {
    for (int i = 0; i < this.child.length; i++)
    {
      PlayStoreUiElement localPlayStoreUiElement = this.child[i];
      if (localPlayStoreUiElement != null) {
        paramCodedOutputByteBufferNano.writeMessage(4, localPlayStoreUiElement);
      }
    }
  }
  super.writeTo(paramCodedOutputByteBufferNano);
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:24,代码来源:PlayStore.java

示例8: writeTo

import com.google.protobuf.nano.CodedOutputByteBufferNano; //导入方法依赖的package包/类
public final void writeTo(CodedOutputByteBufferNano paramCodedOutputByteBufferNano)
  throws IOException
{
  if ((this.type != 1) || (this.hasType)) {
    paramCodedOutputByteBufferNano.writeInt32(1, this.type);
  }
  if ((this.hasButtonText) || (!this.buttonText.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(2, this.buttonText);
  }
  if (this.buttonIcon != null) {
    paramCodedOutputByteBufferNano.writeMessage(3, this.buttonIcon);
  }
  if ((this.hasDismissalUrl) || (!this.dismissalUrl.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(4, this.dismissalUrl);
  }
  if (this.link != null) {
    paramCodedOutputByteBufferNano.writeMessage(5, this.link);
  }
  super.writeTo(paramCodedOutputByteBufferNano);
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:21,代码来源:CallToAction.java

示例9: writeTo

import com.google.protobuf.nano.CodedOutputByteBufferNano; //导入方法依赖的package包/类
public final void writeTo(CodedOutputByteBufferNano paramCodedOutputByteBufferNano)
  throws IOException
{
  if (this.newCustomer != null) {
    paramCodedOutputByteBufferNano.writeMessage(1, this.newCustomer);
  }
  if (this.newInstrument != null) {
    paramCodedOutputByteBufferNano.writeMessage(2, this.newInstrument);
  }
  if (this.creditCardUpdateFormValue != null) {
    paramCodedOutputByteBufferNano.writeMessage(3, this.creditCardUpdateFormValue);
  }
  if (!Arrays.equals(this.dependencyGraphRequestToken, WireFormatNano.EMPTY_BYTES)) {
    paramCodedOutputByteBufferNano.writeBytes(6, this.dependencyGraphRequestToken);
  }
  super.writeTo(paramCodedOutputByteBufferNano);
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:18,代码来源:Api.java

示例10: writeTo

import com.google.protobuf.nano.CodedOutputByteBufferNano; //导入方法依赖的package包/类
public final void writeTo(CodedOutputByteBufferNano paramCodedOutputByteBufferNano)
  throws IOException
{
  if (this.uiField != null) {
    paramCodedOutputByteBufferNano.writeMessage(1, this.uiField);
  }
  if (this.addressForm != null) {
    paramCodedOutputByteBufferNano.writeMessage(2, this.addressForm);
  }
  if (this.infoMessage != null) {
    paramCodedOutputByteBufferNano.writeMessage(3, this.infoMessage);
  }
  if (this.otpField != null) {
    paramCodedOutputByteBufferNano.writeMessage(4, this.otpField);
  }
  if (this.hideFieldsBelow) {
    paramCodedOutputByteBufferNano.writeBool(6, this.hideFieldsBelow);
  }
  if (this.countrySelector != null) {
    paramCodedOutputByteBufferNano.writeMessage(8, this.countrySelector);
  }
  super.writeTo(paramCodedOutputByteBufferNano);
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:24,代码来源:SimpleFormOuterClass.java

示例11: writeTo

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

示例12: writeTo

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

示例13: writeTo

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

示例14: writeTo

import com.google.protobuf.nano.CodedOutputByteBufferNano; //导入方法依赖的package包/类
public final void writeTo(CodedOutputByteBufferNano paramCodedOutputByteBufferNano)
  throws IOException
{
  if ((this.onboarding != null) && (this.onboarding.length > 0)) {
    for (int i = 0; i < this.onboarding.length; i++)
    {
      Onboarding localOnboarding = this.onboarding[i];
      if (localOnboarding != null) {
        paramCodedOutputByteBufferNano.writeMessage(1, localOnboarding);
      }
    }
  }
  super.writeTo(paramCodedOutputByteBufferNano);
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:15,代码来源:Onboardings.java

示例15: writeTo

import com.google.protobuf.nano.CodedOutputByteBufferNano; //导入方法依赖的package包/类
public final void writeTo(CodedOutputByteBufferNano paramCodedOutputByteBufferNano)
  throws IOException
{
  if (this.docid != null) {
    paramCodedOutputByteBufferNano.writeMessage(1, this.docid);
  }
  if ((this.hasDocidStr) || (!this.docidStr.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(2, this.docidStr);
  }
  if ((this.hasTitle) || (!this.title.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(3, this.title);
  }
  if ((this.hasSubtitle) || (!this.subtitle.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(4, this.subtitle);
  }
  if ((this.image != null) && (this.image.length > 0)) {
    for (int i = 0; i < this.image.length; i++)
    {
      Common.Image localImage = this.image[i];
      if (localImage != null) {
        paramCodedOutputByteBufferNano.writeMessage(5, localImage);
      }
    }
  }
  if ((this.hasDetailsUrl) || (!this.detailsUrl.equals(""))) {
    paramCodedOutputByteBufferNano.writeString(6, this.detailsUrl);
  }
  super.writeTo(paramCodedOutputByteBufferNano);
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:30,代码来源:PlayDocument.java


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