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

ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerRequest 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.GetDividendsForeignIssuerRequest}
 */
public final class GetDividendsForeignIssuerRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:tinkoff.public.invest.api.contract.v1.GetDividendsForeignIssuerRequest)
    GetDividendsForeignIssuerRequestOrBuilder {
private static final long serialVersionUID = 0L;
  // Use GetDividendsForeignIssuerRequest.newBuilder() to construct.
  private GetDividendsForeignIssuerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private GetDividendsForeignIssuerRequest() {
  }

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

  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return ru.tinkoff.piapi.contract.v1.Operations.internal_static_tinkoff_public_invest_api_contract_v1_GetDividendsForeignIssuerRequest_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_GetDividendsForeignIssuerRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerRequest.class, ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerRequest.Builder.class);
  }

  private int payloadCase_ = 0;
  @SuppressWarnings("serial")
  private java.lang.Object payload_;
  public enum PayloadCase
      implements com.google.protobuf.Internal.EnumLite,
          com.google.protobuf.AbstractMessage.InternalOneOfEnum {
    GENERATE_DIV_FOREIGN_ISSUER_REPORT(1),
    GET_DIV_FOREIGN_ISSUER_REPORT(2),
    PAYLOAD_NOT_SET(0);
    private final int value;
    private PayloadCase(int value) {
      this.value = value;
    }
    /**
     * @param value The number of the enum to look for.
     * @return The enum associated with the given number.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static PayloadCase valueOf(int value) {
      return forNumber(value);
    }

    public static PayloadCase forNumber(int value) {
      switch (value) {
        case 1: return GENERATE_DIV_FOREIGN_ISSUER_REPORT;
        case 2: return GET_DIV_FOREIGN_ISSUER_REPORT;
        case 0: return PAYLOAD_NOT_SET;
        default: return null;
      }
    }
    public int getNumber() {
      return this.value;
    }
  };

  public PayloadCase
  getPayloadCase() {
    return PayloadCase.forNumber(
        payloadCase_);
  }

  public static final int GENERATE_DIV_FOREIGN_ISSUER_REPORT_FIELD_NUMBER = 1;
  /**
   * 
   *Объект запроса формирования отчёта.
   * 
* * .tinkoff.public.invest.api.contract.v1.GenerateDividendsForeignIssuerReportRequest generate_div_foreign_issuer_report = 1; * @return Whether the generateDivForeignIssuerReport field is set. */ @java.lang.Override public boolean hasGenerateDivForeignIssuerReport() { return payloadCase_ == 1; } /** *
   *Объект запроса формирования отчёта.
   * 
* * .tinkoff.public.invest.api.contract.v1.GenerateDividendsForeignIssuerReportRequest generate_div_foreign_issuer_report = 1; * @return The generateDivForeignIssuerReport. */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.GenerateDividendsForeignIssuerReportRequest getGenerateDivForeignIssuerReport() { if (payloadCase_ == 1) { return (ru.tinkoff.piapi.contract.v1.GenerateDividendsForeignIssuerReportRequest) payload_; } return ru.tinkoff.piapi.contract.v1.GenerateDividendsForeignIssuerReportRequest.getDefaultInstance(); } /** *
   *Объект запроса формирования отчёта.
   * 
* * .tinkoff.public.invest.api.contract.v1.GenerateDividendsForeignIssuerReportRequest generate_div_foreign_issuer_report = 1; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.GenerateDividendsForeignIssuerReportRequestOrBuilder getGenerateDivForeignIssuerReportOrBuilder() { if (payloadCase_ == 1) { return (ru.tinkoff.piapi.contract.v1.GenerateDividendsForeignIssuerReportRequest) payload_; } return ru.tinkoff.piapi.contract.v1.GenerateDividendsForeignIssuerReportRequest.getDefaultInstance(); } public static final int GET_DIV_FOREIGN_ISSUER_REPORT_FIELD_NUMBER = 2; /** *
   *Объект запроса сформированного отчёта.
   * 
* * .tinkoff.public.invest.api.contract.v1.GetDividendsForeignIssuerReportRequest get_div_foreign_issuer_report = 2; * @return Whether the getDivForeignIssuerReport field is set. */ @java.lang.Override public boolean hasGetDivForeignIssuerReport() { return payloadCase_ == 2; } /** *
   *Объект запроса сформированного отчёта.
   * 
* * .tinkoff.public.invest.api.contract.v1.GetDividendsForeignIssuerReportRequest get_div_foreign_issuer_report = 2; * @return The getDivForeignIssuerReport. */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportRequest getGetDivForeignIssuerReport() { if (payloadCase_ == 2) { return (ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportRequest) payload_; } return ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportRequest.getDefaultInstance(); } /** *
   *Объект запроса сформированного отчёта.
   * 
* * .tinkoff.public.invest.api.contract.v1.GetDividendsForeignIssuerReportRequest get_div_foreign_issuer_report = 2; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportRequestOrBuilder getGetDivForeignIssuerReportOrBuilder() { if (payloadCase_ == 2) { return (ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportRequest) payload_; } return ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportRequest.getDefaultInstance(); } 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 { if (payloadCase_ == 1) { output.writeMessage(1, (ru.tinkoff.piapi.contract.v1.GenerateDividendsForeignIssuerReportRequest) payload_); } if (payloadCase_ == 2) { output.writeMessage(2, (ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportRequest) payload_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (payloadCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, (ru.tinkoff.piapi.contract.v1.GenerateDividendsForeignIssuerReportRequest) payload_); } if (payloadCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportRequest) payload_); } 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.GetDividendsForeignIssuerRequest)) { return super.equals(obj); } ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerRequest other = (ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerRequest) obj; if (!getPayloadCase().equals(other.getPayloadCase())) return false; switch (payloadCase_) { case 1: if (!getGenerateDivForeignIssuerReport() .equals(other.getGenerateDivForeignIssuerReport())) return false; break; case 2: if (!getGetDivForeignIssuerReport() .equals(other.getGetDivForeignIssuerReport())) return false; break; case 0: default: } 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(); switch (payloadCase_) { case 1: hash = (37 * hash) + GENERATE_DIV_FOREIGN_ISSUER_REPORT_FIELD_NUMBER; hash = (53 * hash) + getGenerateDivForeignIssuerReport().hashCode(); break; case 2: hash = (37 * hash) + GET_DIV_FOREIGN_ISSUER_REPORT_FIELD_NUMBER; hash = (53 * hash) + getGetDivForeignIssuerReport().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerRequest 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.GetDividendsForeignIssuerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerRequest 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.GetDividendsForeignIssuerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerRequest 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.GetDividendsForeignIssuerRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerRequest 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.GetDividendsForeignIssuerRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerRequest 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.GetDividendsForeignIssuerRequest 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.GetDividendsForeignIssuerRequest 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.GetDividendsForeignIssuerRequest 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.GetDividendsForeignIssuerRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tinkoff.public.invest.api.contract.v1.GetDividendsForeignIssuerRequest) ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return ru.tinkoff.piapi.contract.v1.Operations.internal_static_tinkoff_public_invest_api_contract_v1_GetDividendsForeignIssuerRequest_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_GetDividendsForeignIssuerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerRequest.class, ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerRequest.Builder.class); } // Construct using ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerRequest.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (generateDivForeignIssuerReportBuilder_ != null) { generateDivForeignIssuerReportBuilder_.clear(); } if (getDivForeignIssuerReportBuilder_ != null) { getDivForeignIssuerReportBuilder_.clear(); } payloadCase_ = 0; payload_ = null; 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_GetDividendsForeignIssuerRequest_descriptor; } @java.lang.Override public ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerRequest getDefaultInstanceForType() { return ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerRequest.getDefaultInstance(); } @java.lang.Override public ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerRequest build() { ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerRequest buildPartial() { ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerRequest result = new ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerRequest(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerRequest result) { int from_bitField0_ = bitField0_; } private void buildPartialOneofs(ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerRequest result) { result.payloadCase_ = payloadCase_; result.payload_ = this.payload_; if (payloadCase_ == 1 && generateDivForeignIssuerReportBuilder_ != null) { result.payload_ = generateDivForeignIssuerReportBuilder_.build(); } if (payloadCase_ == 2 && getDivForeignIssuerReportBuilder_ != null) { result.payload_ = getDivForeignIssuerReportBuilder_.build(); } } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerRequest) { return mergeFrom((ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerRequest other) { if (other == ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerRequest.getDefaultInstance()) return this; switch (other.getPayloadCase()) { case GENERATE_DIV_FOREIGN_ISSUER_REPORT: { mergeGenerateDivForeignIssuerReport(other.getGenerateDivForeignIssuerReport()); break; } case GET_DIV_FOREIGN_ISSUER_REPORT: { mergeGetDivForeignIssuerReport(other.getGetDivForeignIssuerReport()); break; } case PAYLOAD_NOT_SET: { break; } } 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: { input.readMessage( getGenerateDivForeignIssuerReportFieldBuilder().getBuilder(), extensionRegistry); payloadCase_ = 1; break; } // case 10 case 18: { input.readMessage( getGetDivForeignIssuerReportFieldBuilder().getBuilder(), extensionRegistry); payloadCase_ = 2; break; } // case 18 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 payloadCase_ = 0; private java.lang.Object payload_; public PayloadCase getPayloadCase() { return PayloadCase.forNumber( payloadCase_); } public Builder clearPayload() { payloadCase_ = 0; payload_ = null; onChanged(); return this; } private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.GenerateDividendsForeignIssuerReportRequest, ru.tinkoff.piapi.contract.v1.GenerateDividendsForeignIssuerReportRequest.Builder, ru.tinkoff.piapi.contract.v1.GenerateDividendsForeignIssuerReportRequestOrBuilder> generateDivForeignIssuerReportBuilder_; /** *
     *Объект запроса формирования отчёта.
     * 
* * .tinkoff.public.invest.api.contract.v1.GenerateDividendsForeignIssuerReportRequest generate_div_foreign_issuer_report = 1; * @return Whether the generateDivForeignIssuerReport field is set. */ @java.lang.Override public boolean hasGenerateDivForeignIssuerReport() { return payloadCase_ == 1; } /** *
     *Объект запроса формирования отчёта.
     * 
* * .tinkoff.public.invest.api.contract.v1.GenerateDividendsForeignIssuerReportRequest generate_div_foreign_issuer_report = 1; * @return The generateDivForeignIssuerReport. */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.GenerateDividendsForeignIssuerReportRequest getGenerateDivForeignIssuerReport() { if (generateDivForeignIssuerReportBuilder_ == null) { if (payloadCase_ == 1) { return (ru.tinkoff.piapi.contract.v1.GenerateDividendsForeignIssuerReportRequest) payload_; } return ru.tinkoff.piapi.contract.v1.GenerateDividendsForeignIssuerReportRequest.getDefaultInstance(); } else { if (payloadCase_ == 1) { return generateDivForeignIssuerReportBuilder_.getMessage(); } return ru.tinkoff.piapi.contract.v1.GenerateDividendsForeignIssuerReportRequest.getDefaultInstance(); } } /** *
     *Объект запроса формирования отчёта.
     * 
* * .tinkoff.public.invest.api.contract.v1.GenerateDividendsForeignIssuerReportRequest generate_div_foreign_issuer_report = 1; */ public Builder setGenerateDivForeignIssuerReport(ru.tinkoff.piapi.contract.v1.GenerateDividendsForeignIssuerReportRequest value) { if (generateDivForeignIssuerReportBuilder_ == null) { if (value == null) { throw new NullPointerException(); } payload_ = value; onChanged(); } else { generateDivForeignIssuerReportBuilder_.setMessage(value); } payloadCase_ = 1; return this; } /** *
     *Объект запроса формирования отчёта.
     * 
* * .tinkoff.public.invest.api.contract.v1.GenerateDividendsForeignIssuerReportRequest generate_div_foreign_issuer_report = 1; */ public Builder setGenerateDivForeignIssuerReport( ru.tinkoff.piapi.contract.v1.GenerateDividendsForeignIssuerReportRequest.Builder builderForValue) { if (generateDivForeignIssuerReportBuilder_ == null) { payload_ = builderForValue.build(); onChanged(); } else { generateDivForeignIssuerReportBuilder_.setMessage(builderForValue.build()); } payloadCase_ = 1; return this; } /** *
     *Объект запроса формирования отчёта.
     * 
* * .tinkoff.public.invest.api.contract.v1.GenerateDividendsForeignIssuerReportRequest generate_div_foreign_issuer_report = 1; */ public Builder mergeGenerateDivForeignIssuerReport(ru.tinkoff.piapi.contract.v1.GenerateDividendsForeignIssuerReportRequest value) { if (generateDivForeignIssuerReportBuilder_ == null) { if (payloadCase_ == 1 && payload_ != ru.tinkoff.piapi.contract.v1.GenerateDividendsForeignIssuerReportRequest.getDefaultInstance()) { payload_ = ru.tinkoff.piapi.contract.v1.GenerateDividendsForeignIssuerReportRequest.newBuilder((ru.tinkoff.piapi.contract.v1.GenerateDividendsForeignIssuerReportRequest) payload_) .mergeFrom(value).buildPartial(); } else { payload_ = value; } onChanged(); } else { if (payloadCase_ == 1) { generateDivForeignIssuerReportBuilder_.mergeFrom(value); } else { generateDivForeignIssuerReportBuilder_.setMessage(value); } } payloadCase_ = 1; return this; } /** *
     *Объект запроса формирования отчёта.
     * 
* * .tinkoff.public.invest.api.contract.v1.GenerateDividendsForeignIssuerReportRequest generate_div_foreign_issuer_report = 1; */ public Builder clearGenerateDivForeignIssuerReport() { if (generateDivForeignIssuerReportBuilder_ == null) { if (payloadCase_ == 1) { payloadCase_ = 0; payload_ = null; onChanged(); } } else { if (payloadCase_ == 1) { payloadCase_ = 0; payload_ = null; } generateDivForeignIssuerReportBuilder_.clear(); } return this; } /** *
     *Объект запроса формирования отчёта.
     * 
* * .tinkoff.public.invest.api.contract.v1.GenerateDividendsForeignIssuerReportRequest generate_div_foreign_issuer_report = 1; */ public ru.tinkoff.piapi.contract.v1.GenerateDividendsForeignIssuerReportRequest.Builder getGenerateDivForeignIssuerReportBuilder() { return getGenerateDivForeignIssuerReportFieldBuilder().getBuilder(); } /** *
     *Объект запроса формирования отчёта.
     * 
* * .tinkoff.public.invest.api.contract.v1.GenerateDividendsForeignIssuerReportRequest generate_div_foreign_issuer_report = 1; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.GenerateDividendsForeignIssuerReportRequestOrBuilder getGenerateDivForeignIssuerReportOrBuilder() { if ((payloadCase_ == 1) && (generateDivForeignIssuerReportBuilder_ != null)) { return generateDivForeignIssuerReportBuilder_.getMessageOrBuilder(); } else { if (payloadCase_ == 1) { return (ru.tinkoff.piapi.contract.v1.GenerateDividendsForeignIssuerReportRequest) payload_; } return ru.tinkoff.piapi.contract.v1.GenerateDividendsForeignIssuerReportRequest.getDefaultInstance(); } } /** *
     *Объект запроса формирования отчёта.
     * 
* * .tinkoff.public.invest.api.contract.v1.GenerateDividendsForeignIssuerReportRequest generate_div_foreign_issuer_report = 1; */ private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.GenerateDividendsForeignIssuerReportRequest, ru.tinkoff.piapi.contract.v1.GenerateDividendsForeignIssuerReportRequest.Builder, ru.tinkoff.piapi.contract.v1.GenerateDividendsForeignIssuerReportRequestOrBuilder> getGenerateDivForeignIssuerReportFieldBuilder() { if (generateDivForeignIssuerReportBuilder_ == null) { if (!(payloadCase_ == 1)) { payload_ = ru.tinkoff.piapi.contract.v1.GenerateDividendsForeignIssuerReportRequest.getDefaultInstance(); } generateDivForeignIssuerReportBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.GenerateDividendsForeignIssuerReportRequest, ru.tinkoff.piapi.contract.v1.GenerateDividendsForeignIssuerReportRequest.Builder, ru.tinkoff.piapi.contract.v1.GenerateDividendsForeignIssuerReportRequestOrBuilder>( (ru.tinkoff.piapi.contract.v1.GenerateDividendsForeignIssuerReportRequest) payload_, getParentForChildren(), isClean()); payload_ = null; } payloadCase_ = 1; onChanged(); return generateDivForeignIssuerReportBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportRequest, ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportRequest.Builder, ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportRequestOrBuilder> getDivForeignIssuerReportBuilder_; /** *
     *Объект запроса сформированного отчёта.
     * 
* * .tinkoff.public.invest.api.contract.v1.GetDividendsForeignIssuerReportRequest get_div_foreign_issuer_report = 2; * @return Whether the getDivForeignIssuerReport field is set. */ @java.lang.Override public boolean hasGetDivForeignIssuerReport() { return payloadCase_ == 2; } /** *
     *Объект запроса сформированного отчёта.
     * 
* * .tinkoff.public.invest.api.contract.v1.GetDividendsForeignIssuerReportRequest get_div_foreign_issuer_report = 2; * @return The getDivForeignIssuerReport. */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportRequest getGetDivForeignIssuerReport() { if (getDivForeignIssuerReportBuilder_ == null) { if (payloadCase_ == 2) { return (ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportRequest) payload_; } return ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportRequest.getDefaultInstance(); } else { if (payloadCase_ == 2) { return getDivForeignIssuerReportBuilder_.getMessage(); } return ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportRequest.getDefaultInstance(); } } /** *
     *Объект запроса сформированного отчёта.
     * 
* * .tinkoff.public.invest.api.contract.v1.GetDividendsForeignIssuerReportRequest get_div_foreign_issuer_report = 2; */ public Builder setGetDivForeignIssuerReport(ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportRequest value) { if (getDivForeignIssuerReportBuilder_ == null) { if (value == null) { throw new NullPointerException(); } payload_ = value; onChanged(); } else { getDivForeignIssuerReportBuilder_.setMessage(value); } payloadCase_ = 2; return this; } /** *
     *Объект запроса сформированного отчёта.
     * 
* * .tinkoff.public.invest.api.contract.v1.GetDividendsForeignIssuerReportRequest get_div_foreign_issuer_report = 2; */ public Builder setGetDivForeignIssuerReport( ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportRequest.Builder builderForValue) { if (getDivForeignIssuerReportBuilder_ == null) { payload_ = builderForValue.build(); onChanged(); } else { getDivForeignIssuerReportBuilder_.setMessage(builderForValue.build()); } payloadCase_ = 2; return this; } /** *
     *Объект запроса сформированного отчёта.
     * 
* * .tinkoff.public.invest.api.contract.v1.GetDividendsForeignIssuerReportRequest get_div_foreign_issuer_report = 2; */ public Builder mergeGetDivForeignIssuerReport(ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportRequest value) { if (getDivForeignIssuerReportBuilder_ == null) { if (payloadCase_ == 2 && payload_ != ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportRequest.getDefaultInstance()) { payload_ = ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportRequest.newBuilder((ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportRequest) payload_) .mergeFrom(value).buildPartial(); } else { payload_ = value; } onChanged(); } else { if (payloadCase_ == 2) { getDivForeignIssuerReportBuilder_.mergeFrom(value); } else { getDivForeignIssuerReportBuilder_.setMessage(value); } } payloadCase_ = 2; return this; } /** *
     *Объект запроса сформированного отчёта.
     * 
* * .tinkoff.public.invest.api.contract.v1.GetDividendsForeignIssuerReportRequest get_div_foreign_issuer_report = 2; */ public Builder clearGetDivForeignIssuerReport() { if (getDivForeignIssuerReportBuilder_ == null) { if (payloadCase_ == 2) { payloadCase_ = 0; payload_ = null; onChanged(); } } else { if (payloadCase_ == 2) { payloadCase_ = 0; payload_ = null; } getDivForeignIssuerReportBuilder_.clear(); } return this; } /** *
     *Объект запроса сформированного отчёта.
     * 
* * .tinkoff.public.invest.api.contract.v1.GetDividendsForeignIssuerReportRequest get_div_foreign_issuer_report = 2; */ public ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportRequest.Builder getGetDivForeignIssuerReportBuilder() { return getGetDivForeignIssuerReportFieldBuilder().getBuilder(); } /** *
     *Объект запроса сформированного отчёта.
     * 
* * .tinkoff.public.invest.api.contract.v1.GetDividendsForeignIssuerReportRequest get_div_foreign_issuer_report = 2; */ @java.lang.Override public ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportRequestOrBuilder getGetDivForeignIssuerReportOrBuilder() { if ((payloadCase_ == 2) && (getDivForeignIssuerReportBuilder_ != null)) { return getDivForeignIssuerReportBuilder_.getMessageOrBuilder(); } else { if (payloadCase_ == 2) { return (ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportRequest) payload_; } return ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportRequest.getDefaultInstance(); } } /** *
     *Объект запроса сформированного отчёта.
     * 
* * .tinkoff.public.invest.api.contract.v1.GetDividendsForeignIssuerReportRequest get_div_foreign_issuer_report = 2; */ private com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportRequest, ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportRequest.Builder, ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportRequestOrBuilder> getGetDivForeignIssuerReportFieldBuilder() { if (getDivForeignIssuerReportBuilder_ == null) { if (!(payloadCase_ == 2)) { payload_ = ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportRequest.getDefaultInstance(); } getDivForeignIssuerReportBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportRequest, ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportRequest.Builder, ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportRequestOrBuilder>( (ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerReportRequest) payload_, getParentForChildren(), isClean()); payload_ = null; } payloadCase_ = 2; onChanged(); return getDivForeignIssuerReportBuilder_; } @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.GetDividendsForeignIssuerRequest) } // @@protoc_insertion_point(class_scope:tinkoff.public.invest.api.contract.v1.GetDividendsForeignIssuerRequest) private static final ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerRequest(); } public static ru.tinkoff.piapi.contract.v1.GetDividendsForeignIssuerRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetDividendsForeignIssuerRequest 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.GetDividendsForeignIssuerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy