Class Coupon

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
ru.tinkoff.piapi.contract.v1.Coupon
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, CouponOrBuilder

public final class Coupon extends com.google.protobuf.GeneratedMessageV3 implements CouponOrBuilder
Объект передачи информации о купоне облигации.
 
Protobuf type tinkoff.public.invest.api.contract.v1.Coupon
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Объект передачи информации о купоне облигации.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

    com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    com.google.protobuf.Timestamp
    Дата выплаты купона.
    com.google.protobuf.TimestampOrBuilder
    Дата выплаты купона.
    com.google.protobuf.Timestamp
    Окончание купонного периода.
    com.google.protobuf.TimestampOrBuilder
    Окончание купонного периода.
    long
    Номер купона.
    int
    Купонный период в днях.
    com.google.protobuf.Timestamp
    Начало купонного периода.
    com.google.protobuf.TimestampOrBuilder
    Начало купонного периода.
    Тип купона.
    int
    Тип купона.
    static Coupon
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    Figi-идентификатор инструмента.
    com.google.protobuf.ByteString
    Figi-идентификатор инструмента.
    com.google.protobuf.Timestamp
    (Опционально) Дата фиксации реестра для выплаты купона.
    com.google.protobuf.TimestampOrBuilder
    (Опционально) Дата фиксации реестра для выплаты купона.
    com.google.protobuf.Parser<Coupon>
     
    Выплата на одну облигацию.
    Выплата на одну облигацию.
    int
     
    final com.google.protobuf.UnknownFieldSet
     
    boolean
    Дата выплаты купона.
    boolean
    Окончание купонного периода.
    boolean
    Начало купонного периода.
    boolean
    (Опционально) Дата фиксации реестра для выплаты купона.
    int
     
    boolean
    Выплата на одну облигацию.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(Coupon prototype)
     
     
    protected Coupon.Builder
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
    static Coupon
     
    static Coupon
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Coupon
    parseFrom(byte[] data)
     
    static Coupon
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Coupon
    parseFrom(com.google.protobuf.ByteString data)
     
    static Coupon
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Coupon
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static Coupon
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Coupon
     
    static Coupon
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Coupon
     
    static Coupon
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Coupon>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
  • Field Details

    • FIGI_FIELD_NUMBER

      public static final int FIGI_FIELD_NUMBER
      See Also:
    • COUPON_DATE_FIELD_NUMBER

      public static final int COUPON_DATE_FIELD_NUMBER
      See Also:
    • COUPON_NUMBER_FIELD_NUMBER

      public static final int COUPON_NUMBER_FIELD_NUMBER
      See Also:
    • FIX_DATE_FIELD_NUMBER

      public static final int FIX_DATE_FIELD_NUMBER
      See Also:
    • PAY_ONE_BOND_FIELD_NUMBER

      public static final int PAY_ONE_BOND_FIELD_NUMBER
      See Also:
    • COUPON_TYPE_FIELD_NUMBER

      public static final int COUPON_TYPE_FIELD_NUMBER
      See Also:
    • COUPON_START_DATE_FIELD_NUMBER

      public static final int COUPON_START_DATE_FIELD_NUMBER
      See Also:
    • COUPON_END_DATE_FIELD_NUMBER

      public static final int COUPON_END_DATE_FIELD_NUMBER
      See Also:
    • COUPON_PERIOD_FIELD_NUMBER

      public static final int COUPON_PERIOD_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getFigi

      public String getFigi()
      Figi-идентификатор инструмента.
       
      string figi = 1;
      Specified by:
      getFigi in interface CouponOrBuilder
      Returns:
      The figi.
    • getFigiBytes

      public com.google.protobuf.ByteString getFigiBytes()
      Figi-идентификатор инструмента.
       
      string figi = 1;
      Specified by:
      getFigiBytes in interface CouponOrBuilder
      Returns:
      The bytes for figi.
    • hasCouponDate

      public boolean hasCouponDate()
      Дата выплаты купона.
       
      .google.protobuf.Timestamp coupon_date = 2;
      Specified by:
      hasCouponDate in interface CouponOrBuilder
      Returns:
      Whether the couponDate field is set.
    • getCouponDate

      public com.google.protobuf.Timestamp getCouponDate()
      Дата выплаты купона.
       
      .google.protobuf.Timestamp coupon_date = 2;
      Specified by:
      getCouponDate in interface CouponOrBuilder
      Returns:
      The couponDate.
    • getCouponDateOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCouponDateOrBuilder()
      Дата выплаты купона.
       
      .google.protobuf.Timestamp coupon_date = 2;
      Specified by:
      getCouponDateOrBuilder in interface CouponOrBuilder
    • getCouponNumber

      public long getCouponNumber()
      Номер купона.
       
      int64 coupon_number = 3;
      Specified by:
      getCouponNumber in interface CouponOrBuilder
      Returns:
      The couponNumber.
    • hasFixDate

      public boolean hasFixDate()
      (Опционально) Дата фиксации реестра для выплаты купона.
       
      .google.protobuf.Timestamp fix_date = 4;
      Specified by:
      hasFixDate in interface CouponOrBuilder
      Returns:
      Whether the fixDate field is set.
    • getFixDate

      public com.google.protobuf.Timestamp getFixDate()
      (Опционально) Дата фиксации реестра для выплаты купона.
       
      .google.protobuf.Timestamp fix_date = 4;
      Specified by:
      getFixDate in interface CouponOrBuilder
      Returns:
      The fixDate.
    • getFixDateOrBuilder

      public com.google.protobuf.TimestampOrBuilder getFixDateOrBuilder()
      (Опционально) Дата фиксации реестра для выплаты купона.
       
      .google.protobuf.Timestamp fix_date = 4;
      Specified by:
      getFixDateOrBuilder in interface CouponOrBuilder
    • hasPayOneBond

      public boolean hasPayOneBond()
      Выплата на одну облигацию.
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue pay_one_bond = 5;
      Specified by:
      hasPayOneBond in interface CouponOrBuilder
      Returns:
      Whether the payOneBond field is set.
    • getPayOneBond

      public MoneyValue getPayOneBond()
      Выплата на одну облигацию.
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue pay_one_bond = 5;
      Specified by:
      getPayOneBond in interface CouponOrBuilder
      Returns:
      The payOneBond.
    • getPayOneBondOrBuilder

      public MoneyValueOrBuilder getPayOneBondOrBuilder()
      Выплата на одну облигацию.
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue pay_one_bond = 5;
      Specified by:
      getPayOneBondOrBuilder in interface CouponOrBuilder
    • getCouponTypeValue

      public int getCouponTypeValue()
      Тип купона.
       
      .tinkoff.public.invest.api.contract.v1.CouponType coupon_type = 6;
      Specified by:
      getCouponTypeValue in interface CouponOrBuilder
      Returns:
      The enum numeric value on the wire for couponType.
    • getCouponType

      public CouponType getCouponType()
      Тип купона.
       
      .tinkoff.public.invest.api.contract.v1.CouponType coupon_type = 6;
      Specified by:
      getCouponType in interface CouponOrBuilder
      Returns:
      The couponType.
    • hasCouponStartDate

      public boolean hasCouponStartDate()
      Начало купонного периода.
       
      .google.protobuf.Timestamp coupon_start_date = 7;
      Specified by:
      hasCouponStartDate in interface CouponOrBuilder
      Returns:
      Whether the couponStartDate field is set.
    • getCouponStartDate

      public com.google.protobuf.Timestamp getCouponStartDate()
      Начало купонного периода.
       
      .google.protobuf.Timestamp coupon_start_date = 7;
      Specified by:
      getCouponStartDate in interface CouponOrBuilder
      Returns:
      The couponStartDate.
    • getCouponStartDateOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCouponStartDateOrBuilder()
      Начало купонного периода.
       
      .google.protobuf.Timestamp coupon_start_date = 7;
      Specified by:
      getCouponStartDateOrBuilder in interface CouponOrBuilder
    • hasCouponEndDate

      public boolean hasCouponEndDate()
      Окончание купонного периода.
       
      .google.protobuf.Timestamp coupon_end_date = 8;
      Specified by:
      hasCouponEndDate in interface CouponOrBuilder
      Returns:
      Whether the couponEndDate field is set.
    • getCouponEndDate

      public com.google.protobuf.Timestamp getCouponEndDate()
      Окончание купонного периода.
       
      .google.protobuf.Timestamp coupon_end_date = 8;
      Specified by:
      getCouponEndDate in interface CouponOrBuilder
      Returns:
      The couponEndDate.
    • getCouponEndDateOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCouponEndDateOrBuilder()
      Окончание купонного периода.
       
      .google.protobuf.Timestamp coupon_end_date = 8;
      Specified by:
      getCouponEndDateOrBuilder in interface CouponOrBuilder
    • getCouponPeriod

      public int getCouponPeriod()
      Купонный период в днях.
       
      int32 coupon_period = 9;
      Specified by:
      getCouponPeriod in interface CouponOrBuilder
      Returns:
      The couponPeriod.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Coupon parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Coupon parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Coupon parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Coupon parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Coupon parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Coupon parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Coupon parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Coupon parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Coupon parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Coupon parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Coupon parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Coupon parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Coupon.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Coupon.Builder newBuilder()
    • newBuilder

      public static Coupon.Builder newBuilder(Coupon prototype)
    • toBuilder

      public Coupon.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Coupon.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Coupon getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Coupon> parser()
    • getParserForType

      public com.google.protobuf.Parser<Coupon> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public Coupon getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder