All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse Maven / Gradle / Ivy

There is a newer version: 1.25
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: operations.proto

package ru.tinkoff.piapi.contract.v1;

/**
 * Protobuf type {@code tinkoff.public.invest.api.contract.v1.GetDividendsForeignIssuerReportResponse}
 */
public final class GetDividendsForeignIssuerReportResponse extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:tinkoff.public.invest.api.contract.v1.GetDividendsForeignIssuerReportResponse)
    GetDividendsForeignIssuerReportResponseOrBuilder {
private static final long serialVersionUID = 0L;
  // Use GetDividendsForeignIssuerReportResponse.newBuilder() to construct.
  private GetDividendsForeignIssuerReportResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private GetDividendsForeignIssuerReportResponse() {
    dividendsForeignIssuerReport_ = java.util.Collections.emptyList();
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new GetDividendsForeignIssuerReportResponse();
  }

  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return ru.tinkoff.piapi.contract.v1.Operations.internal_static_tinkoff_public_invest_api_contract_v1_GetDividendsForeignIssuerReportResponse_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return ru.tinkoff.piapi.contract.v1.Operations.internal_static_tinkoff_public_invest_api_contract_v1_GetDividendsForeignIssuerReportResponse_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse.class, ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse.Builder.class);
  }

  public static final int DIVIDENDS_FOREIGN_ISSUER_REPORT_FIELD_NUMBER = 1;
  @SuppressWarnings("serial")
  private java.util.List dividendsForeignIssuerReport_;
  /**
   * repeated .tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport dividends_foreign_issuer_report = 1;
   */
  @java.lang.Override
  public java.util.List getDividendsForeignIssuerReportList() {
    return dividendsForeignIssuerReport_;
  }
  /**
   * repeated .tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport dividends_foreign_issuer_report = 1;
   */
  @java.lang.Override
  public java.util.List 
      getDividendsForeignIssuerReportOrBuilderList() {
    return dividendsForeignIssuerReport_;
  }
  /**
   * repeated .tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport dividends_foreign_issuer_report = 1;
   */
  @java.lang.Override
  public int getDividendsForeignIssuerReportCount() {
    return dividendsForeignIssuerReport_.size();
  }
  /**
   * repeated .tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport dividends_foreign_issuer_report = 1;
   */
  @java.lang.Override
  public ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport getDividendsForeignIssuerReport(int index) {
    return dividendsForeignIssuerReport_.get(index);
  }
  /**
   * repeated .tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport dividends_foreign_issuer_report = 1;
   */
  @java.lang.Override
  public ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReportOrBuilder getDividendsForeignIssuerReportOrBuilder(
      int index) {
    return dividendsForeignIssuerReport_.get(index);
  }

  public static final int ITEMSCOUNT_FIELD_NUMBER = 2;
  private int itemsCount_ = 0;
  /**
   * 
   *Количество записей в отчете.
   * 
* * int32 itemsCount = 2; * @return The itemsCount. */ @java.lang.Override public int getItemsCount() { return itemsCount_; } public static final int PAGESCOUNT_FIELD_NUMBER = 3; private int pagesCount_ = 0; /** *
   *Количество страниц с данными отчета (начинается с 0).
   * 
* * int32 pagesCount = 3; * @return The pagesCount. */ @java.lang.Override public int getPagesCount() { return pagesCount_; } public static final int PAGE_FIELD_NUMBER = 4; private int page_ = 0; /** *
   *Текущая страница (начинается с 0).
   * 
* * int32 page = 4; * @return The page. */ @java.lang.Override public int getPage() { return page_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < dividendsForeignIssuerReport_.size(); i++) { output.writeMessage(1, dividendsForeignIssuerReport_.get(i)); } if (itemsCount_ != 0) { output.writeInt32(2, itemsCount_); } if (pagesCount_ != 0) { output.writeInt32(3, pagesCount_); } if (page_ != 0) { output.writeInt32(4, page_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < dividendsForeignIssuerReport_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, dividendsForeignIssuerReport_.get(i)); } if (itemsCount_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, itemsCount_); } if (pagesCount_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, pagesCount_); } if (page_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, page_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse)) { return super.equals(obj); } ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse other = (ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse) obj; if (!getDividendsForeignIssuerReportList() .equals(other.getDividendsForeignIssuerReportList())) return false; if (getItemsCount() != other.getItemsCount()) return false; if (getPagesCount() != other.getPagesCount()) return false; if (getPage() != other.getPage()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getDividendsForeignIssuerReportCount() > 0) { hash = (37 * hash) + DIVIDENDS_FOREIGN_ISSUER_REPORT_FIELD_NUMBER; hash = (53 * hash) + getDividendsForeignIssuerReportList().hashCode(); } hash = (37 * hash) + ITEMSCOUNT_FIELD_NUMBER; hash = (53 * hash) + getItemsCount(); hash = (37 * hash) + PAGESCOUNT_FIELD_NUMBER; hash = (53 * hash) + getPagesCount(); hash = (37 * hash) + PAGE_FIELD_NUMBER; hash = (53 * hash) + getPage(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code tinkoff.public.invest.api.contract.v1.GetDividendsForeignIssuerReportResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tinkoff.public.invest.api.contract.v1.GetDividendsForeignIssuerReportResponse) ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ru.tinkoff.piapi.contract.v1.Operations.internal_static_tinkoff_public_invest_api_contract_v1_GetDividendsForeignIssuerReportResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return ru.tinkoff.piapi.contract.v1.Operations.internal_static_tinkoff_public_invest_api_contract_v1_GetDividendsForeignIssuerReportResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse.class, ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse.Builder.class); } // Construct using ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (dividendsForeignIssuerReportBuilder_ == null) { dividendsForeignIssuerReport_ = java.util.Collections.emptyList(); } else { dividendsForeignIssuerReport_ = null; dividendsForeignIssuerReportBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); itemsCount_ = 0; pagesCount_ = 0; page_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return ru.tinkoff.piapi.contract.v1.Operations.internal_static_tinkoff_public_invest_api_contract_v1_GetDividendsForeignIssuerReportResponse_descriptor; } @java.lang.Override public ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse getDefaultInstanceForType() { return ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse.getDefaultInstance(); } @java.lang.Override public ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse build() { ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse buildPartial() { ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse result = new ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse result) { if (dividendsForeignIssuerReportBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { dividendsForeignIssuerReport_ = java.util.Collections.unmodifiableList(dividendsForeignIssuerReport_); bitField0_ = (bitField0_ & ~0x00000001); } result.dividendsForeignIssuerReport_ = dividendsForeignIssuerReport_; } else { result.dividendsForeignIssuerReport_ = dividendsForeignIssuerReportBuilder_.build(); } } private void buildPartial0(ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.itemsCount_ = itemsCount_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.pagesCount_ = pagesCount_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.page_ = page_; } } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse) { return mergeFrom((ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse other) { if (other == ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse.getDefaultInstance()) return this; if (dividendsForeignIssuerReportBuilder_ == null) { if (!other.dividendsForeignIssuerReport_.isEmpty()) { if (dividendsForeignIssuerReport_.isEmpty()) { dividendsForeignIssuerReport_ = other.dividendsForeignIssuerReport_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureDividendsForeignIssuerReportIsMutable(); dividendsForeignIssuerReport_.addAll(other.dividendsForeignIssuerReport_); } onChanged(); } } else { if (!other.dividendsForeignIssuerReport_.isEmpty()) { if (dividendsForeignIssuerReportBuilder_.isEmpty()) { dividendsForeignIssuerReportBuilder_.dispose(); dividendsForeignIssuerReportBuilder_ = null; dividendsForeignIssuerReport_ = other.dividendsForeignIssuerReport_; bitField0_ = (bitField0_ & ~0x00000001); dividendsForeignIssuerReportBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDividendsForeignIssuerReportFieldBuilder() : null; } else { dividendsForeignIssuerReportBuilder_.addAllMessages(other.dividendsForeignIssuerReport_); } } } if (other.getItemsCount() != 0) { setItemsCount(other.getItemsCount()); } if (other.getPagesCount() != 0) { setPagesCount(other.getPagesCount()); } if (other.getPage() != 0) { setPage(other.getPage()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport m = input.readMessage( ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport.parser(), extensionRegistry); if (dividendsForeignIssuerReportBuilder_ == null) { ensureDividendsForeignIssuerReportIsMutable(); dividendsForeignIssuerReport_.add(m); } else { dividendsForeignIssuerReportBuilder_.addMessage(m); } break; } // case 10 case 16: { itemsCount_ = input.readInt32(); bitField0_ |= 0x00000002; break; } // case 16 case 24: { pagesCount_ = input.readInt32(); bitField0_ |= 0x00000004; break; } // case 24 case 32: { page_ = input.readInt32(); bitField0_ |= 0x00000008; break; } // case 32 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.util.List dividendsForeignIssuerReport_ = java.util.Collections.emptyList(); private void ensureDividendsForeignIssuerReportIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { dividendsForeignIssuerReport_ = new java.util.ArrayList(dividendsForeignIssuerReport_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport, ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport.Builder, ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReportOrBuilder> dividendsForeignIssuerReportBuilder_; /** * repeated .tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport dividends_foreign_issuer_report = 1; */ public java.util.List getDividendsForeignIssuerReportList() { if (dividendsForeignIssuerReportBuilder_ == null) { return java.util.Collections.unmodifiableList(dividendsForeignIssuerReport_); } else { return dividendsForeignIssuerReportBuilder_.getMessageList(); } } /** * repeated .tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport dividends_foreign_issuer_report = 1; */ public int getDividendsForeignIssuerReportCount() { if (dividendsForeignIssuerReportBuilder_ == null) { return dividendsForeignIssuerReport_.size(); } else { return dividendsForeignIssuerReportBuilder_.getCount(); } } /** * repeated .tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport dividends_foreign_issuer_report = 1; */ public ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport getDividendsForeignIssuerReport(int index) { if (dividendsForeignIssuerReportBuilder_ == null) { return dividendsForeignIssuerReport_.get(index); } else { return dividendsForeignIssuerReportBuilder_.getMessage(index); } } /** * repeated .tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport dividends_foreign_issuer_report = 1; */ public Builder setDividendsForeignIssuerReport( int index, ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport value) { if (dividendsForeignIssuerReportBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDividendsForeignIssuerReportIsMutable(); dividendsForeignIssuerReport_.set(index, value); onChanged(); } else { dividendsForeignIssuerReportBuilder_.setMessage(index, value); } return this; } /** * repeated .tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport dividends_foreign_issuer_report = 1; */ public Builder setDividendsForeignIssuerReport( int index, ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport.Builder builderForValue) { if (dividendsForeignIssuerReportBuilder_ == null) { ensureDividendsForeignIssuerReportIsMutable(); dividendsForeignIssuerReport_.set(index, builderForValue.build()); onChanged(); } else { dividendsForeignIssuerReportBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport dividends_foreign_issuer_report = 1; */ public Builder addDividendsForeignIssuerReport(ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport value) { if (dividendsForeignIssuerReportBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDividendsForeignIssuerReportIsMutable(); dividendsForeignIssuerReport_.add(value); onChanged(); } else { dividendsForeignIssuerReportBuilder_.addMessage(value); } return this; } /** * repeated .tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport dividends_foreign_issuer_report = 1; */ public Builder addDividendsForeignIssuerReport( int index, ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport value) { if (dividendsForeignIssuerReportBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDividendsForeignIssuerReportIsMutable(); dividendsForeignIssuerReport_.add(index, value); onChanged(); } else { dividendsForeignIssuerReportBuilder_.addMessage(index, value); } return this; } /** * repeated .tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport dividends_foreign_issuer_report = 1; */ public Builder addDividendsForeignIssuerReport( ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport.Builder builderForValue) { if (dividendsForeignIssuerReportBuilder_ == null) { ensureDividendsForeignIssuerReportIsMutable(); dividendsForeignIssuerReport_.add(builderForValue.build()); onChanged(); } else { dividendsForeignIssuerReportBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport dividends_foreign_issuer_report = 1; */ public Builder addDividendsForeignIssuerReport( int index, ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport.Builder builderForValue) { if (dividendsForeignIssuerReportBuilder_ == null) { ensureDividendsForeignIssuerReportIsMutable(); dividendsForeignIssuerReport_.add(index, builderForValue.build()); onChanged(); } else { dividendsForeignIssuerReportBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport dividends_foreign_issuer_report = 1; */ public Builder addAllDividendsForeignIssuerReport( java.lang.Iterable values) { if (dividendsForeignIssuerReportBuilder_ == null) { ensureDividendsForeignIssuerReportIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, dividendsForeignIssuerReport_); onChanged(); } else { dividendsForeignIssuerReportBuilder_.addAllMessages(values); } return this; } /** * repeated .tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport dividends_foreign_issuer_report = 1; */ public Builder clearDividendsForeignIssuerReport() { if (dividendsForeignIssuerReportBuilder_ == null) { dividendsForeignIssuerReport_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { dividendsForeignIssuerReportBuilder_.clear(); } return this; } /** * repeated .tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport dividends_foreign_issuer_report = 1; */ public Builder removeDividendsForeignIssuerReport(int index) { if (dividendsForeignIssuerReportBuilder_ == null) { ensureDividendsForeignIssuerReportIsMutable(); dividendsForeignIssuerReport_.remove(index); onChanged(); } else { dividendsForeignIssuerReportBuilder_.remove(index); } return this; } /** * repeated .tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport dividends_foreign_issuer_report = 1; */ public ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport.Builder getDividendsForeignIssuerReportBuilder( int index) { return getDividendsForeignIssuerReportFieldBuilder().getBuilder(index); } /** * repeated .tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport dividends_foreign_issuer_report = 1; */ public ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReportOrBuilder getDividendsForeignIssuerReportOrBuilder( int index) { if (dividendsForeignIssuerReportBuilder_ == null) { return dividendsForeignIssuerReport_.get(index); } else { return dividendsForeignIssuerReportBuilder_.getMessageOrBuilder(index); } } /** * repeated .tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport dividends_foreign_issuer_report = 1; */ public java.util.List getDividendsForeignIssuerReportOrBuilderList() { if (dividendsForeignIssuerReportBuilder_ != null) { return dividendsForeignIssuerReportBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(dividendsForeignIssuerReport_); } } /** * repeated .tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport dividends_foreign_issuer_report = 1; */ public ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport.Builder addDividendsForeignIssuerReportBuilder() { return getDividendsForeignIssuerReportFieldBuilder().addBuilder( ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport.getDefaultInstance()); } /** * repeated .tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport dividends_foreign_issuer_report = 1; */ public ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport.Builder addDividendsForeignIssuerReportBuilder( int index) { return getDividendsForeignIssuerReportFieldBuilder().addBuilder( index, ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport.getDefaultInstance()); } /** * repeated .tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport dividends_foreign_issuer_report = 1; */ public java.util.List getDividendsForeignIssuerReportBuilderList() { return getDividendsForeignIssuerReportFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport, ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport.Builder, ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReportOrBuilder> getDividendsForeignIssuerReportFieldBuilder() { if (dividendsForeignIssuerReportBuilder_ == null) { dividendsForeignIssuerReportBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport, ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReport.Builder, ru.tinkoff.piapi.contract.v1.DividendsForeignIssuerReportOrBuilder>( dividendsForeignIssuerReport_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); dividendsForeignIssuerReport_ = null; } return dividendsForeignIssuerReportBuilder_; } private int itemsCount_ ; /** *
     *Количество записей в отчете.
     * 
* * int32 itemsCount = 2; * @return The itemsCount. */ @java.lang.Override public int getItemsCount() { return itemsCount_; } /** *
     *Количество записей в отчете.
     * 
* * int32 itemsCount = 2; * @param value The itemsCount to set. * @return This builder for chaining. */ public Builder setItemsCount(int value) { itemsCount_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     *Количество записей в отчете.
     * 
* * int32 itemsCount = 2; * @return This builder for chaining. */ public Builder clearItemsCount() { bitField0_ = (bitField0_ & ~0x00000002); itemsCount_ = 0; onChanged(); return this; } private int pagesCount_ ; /** *
     *Количество страниц с данными отчета (начинается с 0).
     * 
* * int32 pagesCount = 3; * @return The pagesCount. */ @java.lang.Override public int getPagesCount() { return pagesCount_; } /** *
     *Количество страниц с данными отчета (начинается с 0).
     * 
* * int32 pagesCount = 3; * @param value The pagesCount to set. * @return This builder for chaining. */ public Builder setPagesCount(int value) { pagesCount_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     *Количество страниц с данными отчета (начинается с 0).
     * 
* * int32 pagesCount = 3; * @return This builder for chaining. */ public Builder clearPagesCount() { bitField0_ = (bitField0_ & ~0x00000004); pagesCount_ = 0; onChanged(); return this; } private int page_ ; /** *
     *Текущая страница (начинается с 0).
     * 
* * int32 page = 4; * @return The page. */ @java.lang.Override public int getPage() { return page_; } /** *
     *Текущая страница (начинается с 0).
     * 
* * int32 page = 4; * @param value The page to set. * @return This builder for chaining. */ public Builder setPage(int value) { page_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     *Текущая страница (начинается с 0).
     * 
* * int32 page = 4; * @return This builder for chaining. */ public Builder clearPage() { bitField0_ = (bitField0_ & ~0x00000008); page_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tinkoff.public.invest.api.contract.v1.GetDividendsForeignIssuerReportResponse) } // @@protoc_insertion_point(class_scope:tinkoff.public.invest.api.contract.v1.GetDividendsForeignIssuerReportResponse) private static final ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse(); } public static ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetDividendsForeignIssuerReportResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy