Package ru.tinkoff.piapi.contract.v1
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
Объект передачи информации о купоне облигации.Protobuf type
tinkoff.public.invest.api.contract.v1.Coupon- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic 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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.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 Couponstatic final com.google.protobuf.Descriptors.DescriptorgetFigi()Figi-идентификатор инструмента.com.google.protobuf.ByteStringFigi-идентификатор инструмента.com.google.protobuf.Timestamp(Опционально) Дата фиксации реестра для выплаты купона.com.google.protobuf.TimestampOrBuilder(Опционально) Дата фиксации реестра для выплаты купона.com.google.protobuf.Parser<Coupon>Выплата на одну облигацию.Выплата на одну облигацию.intfinal com.google.protobuf.UnknownFieldSetbooleanДата выплаты купона.booleanОкончание купонного периода.booleanНачало купонного периода.boolean(Опционально) Дата фиксации реестра для выплаты купона.inthashCode()booleanВыплата на одну облигацию.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Coupon.Builderstatic Coupon.BuildernewBuilder(Coupon prototype) protected Coupon.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static CouponparseDelimitedFrom(InputStream input) static CouponparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CouponparseFrom(byte[] data) static CouponparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CouponparseFrom(com.google.protobuf.ByteString data) static CouponparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CouponparseFrom(com.google.protobuf.CodedInputStream input) static CouponparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CouponparseFrom(InputStream input) static CouponparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CouponparseFrom(ByteBuffer data) static CouponparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Coupon>parser()voidwriteTo(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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods 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
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getFigi
Figi-идентификатор инструмента.
string figi = 1;- Specified by:
getFigiin interfaceCouponOrBuilder- Returns:
- The figi.
-
getFigiBytes
public com.google.protobuf.ByteString getFigiBytes()Figi-идентификатор инструмента.
string figi = 1;- Specified by:
getFigiBytesin interfaceCouponOrBuilder- Returns:
- The bytes for figi.
-
hasCouponDate
public boolean hasCouponDate()Дата выплаты купона.
.google.protobuf.Timestamp coupon_date = 2;- Specified by:
hasCouponDatein interfaceCouponOrBuilder- Returns:
- Whether the couponDate field is set.
-
getCouponDate
public com.google.protobuf.Timestamp getCouponDate()Дата выплаты купона.
.google.protobuf.Timestamp coupon_date = 2;- Specified by:
getCouponDatein interfaceCouponOrBuilder- Returns:
- The couponDate.
-
getCouponDateOrBuilder
public com.google.protobuf.TimestampOrBuilder getCouponDateOrBuilder()Дата выплаты купона.
.google.protobuf.Timestamp coupon_date = 2;- Specified by:
getCouponDateOrBuilderin interfaceCouponOrBuilder
-
getCouponNumber
public long getCouponNumber()Номер купона.
int64 coupon_number = 3;- Specified by:
getCouponNumberin interfaceCouponOrBuilder- Returns:
- The couponNumber.
-
hasFixDate
public boolean hasFixDate()(Опционально) Дата фиксации реестра для выплаты купона.
.google.protobuf.Timestamp fix_date = 4;- Specified by:
hasFixDatein interfaceCouponOrBuilder- Returns:
- Whether the fixDate field is set.
-
getFixDate
public com.google.protobuf.Timestamp getFixDate()(Опционально) Дата фиксации реестра для выплаты купона.
.google.protobuf.Timestamp fix_date = 4;- Specified by:
getFixDatein interfaceCouponOrBuilder- Returns:
- The fixDate.
-
getFixDateOrBuilder
public com.google.protobuf.TimestampOrBuilder getFixDateOrBuilder()(Опционально) Дата фиксации реестра для выплаты купона.
.google.protobuf.Timestamp fix_date = 4;- Specified by:
getFixDateOrBuilderin interfaceCouponOrBuilder
-
hasPayOneBond
public boolean hasPayOneBond()Выплата на одну облигацию.
.tinkoff.public.invest.api.contract.v1.MoneyValue pay_one_bond = 5;- Specified by:
hasPayOneBondin interfaceCouponOrBuilder- Returns:
- Whether the payOneBond field is set.
-
getPayOneBond
Выплата на одну облигацию.
.tinkoff.public.invest.api.contract.v1.MoneyValue pay_one_bond = 5;- Specified by:
getPayOneBondin interfaceCouponOrBuilder- Returns:
- The payOneBond.
-
getPayOneBondOrBuilder
Выплата на одну облигацию.
.tinkoff.public.invest.api.contract.v1.MoneyValue pay_one_bond = 5;- Specified by:
getPayOneBondOrBuilderin interfaceCouponOrBuilder
-
getCouponTypeValue
public int getCouponTypeValue()Тип купона.
.tinkoff.public.invest.api.contract.v1.CouponType coupon_type = 6;- Specified by:
getCouponTypeValuein interfaceCouponOrBuilder- Returns:
- The enum numeric value on the wire for couponType.
-
getCouponType
Тип купона.
.tinkoff.public.invest.api.contract.v1.CouponType coupon_type = 6;- Specified by:
getCouponTypein interfaceCouponOrBuilder- Returns:
- The couponType.
-
hasCouponStartDate
public boolean hasCouponStartDate()Начало купонного периода.
.google.protobuf.Timestamp coupon_start_date = 7;- Specified by:
hasCouponStartDatein interfaceCouponOrBuilder- Returns:
- Whether the couponStartDate field is set.
-
getCouponStartDate
public com.google.protobuf.Timestamp getCouponStartDate()Начало купонного периода.
.google.protobuf.Timestamp coupon_start_date = 7;- Specified by:
getCouponStartDatein interfaceCouponOrBuilder- Returns:
- The couponStartDate.
-
getCouponStartDateOrBuilder
public com.google.protobuf.TimestampOrBuilder getCouponStartDateOrBuilder()Начало купонного периода.
.google.protobuf.Timestamp coupon_start_date = 7;- Specified by:
getCouponStartDateOrBuilderin interfaceCouponOrBuilder
-
hasCouponEndDate
public boolean hasCouponEndDate()Окончание купонного периода.
.google.protobuf.Timestamp coupon_end_date = 8;- Specified by:
hasCouponEndDatein interfaceCouponOrBuilder- Returns:
- Whether the couponEndDate field is set.
-
getCouponEndDate
public com.google.protobuf.Timestamp getCouponEndDate()Окончание купонного периода.
.google.protobuf.Timestamp coupon_end_date = 8;- Specified by:
getCouponEndDatein interfaceCouponOrBuilder- Returns:
- The couponEndDate.
-
getCouponEndDateOrBuilder
public com.google.protobuf.TimestampOrBuilder getCouponEndDateOrBuilder()Окончание купонного периода.
.google.protobuf.Timestamp coupon_end_date = 8;- Specified by:
getCouponEndDateOrBuilderin interfaceCouponOrBuilder
-
getCouponPeriod
public int getCouponPeriod()Купонный период в днях.
int32 coupon_period = 9;- Specified by:
getCouponPeriodin interfaceCouponOrBuilder- Returns:
- The couponPeriod.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static Coupon parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Coupon parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Coupon parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Coupon.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-