Package ru.tinkoff.piapi.contract.v1
Class Coupon.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Coupon.Builder>
ru.tinkoff.piapi.contract.v1.Coupon.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,CouponOrBuilder
- Enclosing class:
Coupon
public static final class Coupon.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Coupon.Builder>
implements CouponOrBuilder
Объект передачи информации о купоне облигации.Protobuf type
tinkoff.public.invest.api.contract.v1.Coupon-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Дата выплаты купона.Окончание купонного периода.Номер купона.Купонный период в днях.Начало купонного периода.Тип купона.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Figi-идентификатор инструмента.(Опционально) Дата фиксации реестра для выплаты купона.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Выплата на одну облигацию.clone()com.google.protobuf.TimestampДата выплаты купона.com.google.protobuf.Timestamp.BuilderДата выплаты купона.com.google.protobuf.TimestampOrBuilderДата выплаты купона.com.google.protobuf.TimestampОкончание купонного периода.com.google.protobuf.Timestamp.BuilderОкончание купонного периода.com.google.protobuf.TimestampOrBuilderОкончание купонного периода.longНомер купона.intКупонный период в днях.com.google.protobuf.TimestampНачало купонного периода.com.google.protobuf.Timestamp.BuilderНачало купонного периода.com.google.protobuf.TimestampOrBuilderНачало купонного периода.Тип купона.intТип купона.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFigi()Figi-идентификатор инструмента.com.google.protobuf.ByteStringFigi-идентификатор инструмента.com.google.protobuf.Timestamp(Опционально) Дата фиксации реестра для выплаты купона.com.google.protobuf.Timestamp.Builder(Опционально) Дата фиксации реестра для выплаты купона.com.google.protobuf.TimestampOrBuilder(Опционально) Дата фиксации реестра для выплаты купона.Выплата на одну облигацию.Выплата на одну облигацию.Выплата на одну облигацию.booleanДата выплаты купона.booleanОкончание купонного периода.booleanНачало купонного периода.boolean(Опционально) Дата фиксации реестра для выплаты купона.booleanВыплата на одну облигацию.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeCouponDate(com.google.protobuf.Timestamp value) Дата выплаты купона.mergeCouponEndDate(com.google.protobuf.Timestamp value) Окончание купонного периода.mergeCouponStartDate(com.google.protobuf.Timestamp value) Начало купонного периода.mergeFixDate(com.google.protobuf.Timestamp value) (Опционально) Дата фиксации реестра для выплаты купона.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergePayOneBond(MoneyValue value) Выплата на одну облигацию.final Coupon.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setCouponDate(com.google.protobuf.Timestamp value) Дата выплаты купона.setCouponDate(com.google.protobuf.Timestamp.Builder builderForValue) Дата выплаты купона.setCouponEndDate(com.google.protobuf.Timestamp value) Окончание купонного периода.setCouponEndDate(com.google.protobuf.Timestamp.Builder builderForValue) Окончание купонного периода.setCouponNumber(long value) Номер купона.setCouponPeriod(int value) Купонный период в днях.setCouponStartDate(com.google.protobuf.Timestamp value) Начало купонного периода.setCouponStartDate(com.google.protobuf.Timestamp.Builder builderForValue) Начало купонного периода.setCouponType(CouponType value) Тип купона.setCouponTypeValue(int value) Тип купона.Figi-идентификатор инструмента.setFigiBytes(com.google.protobuf.ByteString value) Figi-идентификатор инструмента.setFixDate(com.google.protobuf.Timestamp value) (Опционально) Дата фиксации реестра для выплаты купона.setFixDate(com.google.protobuf.Timestamp.Builder builderForValue) (Опционально) Дата фиксации реестра для выплаты купона.setPayOneBond(MoneyValue value) Выплата на одну облигацию.setPayOneBond(MoneyValue.Builder builderForValue) Выплата на одну облигацию.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final Coupon.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<Coupon.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Coupon.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Coupon.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Coupon.Builder>
-
setField
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Coupon.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Coupon.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Coupon.Builder>
-
setRepeatedField
public Coupon.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Coupon.Builder>
-
addRepeatedField
public Coupon.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Coupon.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Coupon.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Coupon.Builder>
-
mergeFrom
public Coupon.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Coupon.Builder>- Throws:
IOException
-
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.
-
setFigi
Figi-идентификатор инструмента.
string figi = 1;- Parameters:
value- The figi to set.- Returns:
- This builder for chaining.
-
clearFigi
Figi-идентификатор инструмента.
string figi = 1;- Returns:
- This builder for chaining.
-
setFigiBytes
Figi-идентификатор инструмента.
string figi = 1;- Parameters:
value- The bytes for figi to set.- Returns:
- This builder for chaining.
-
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.
-
setCouponDate
Дата выплаты купона.
.google.protobuf.Timestamp coupon_date = 2; -
setCouponDate
Дата выплаты купона.
.google.protobuf.Timestamp coupon_date = 2; -
mergeCouponDate
Дата выплаты купона.
.google.protobuf.Timestamp coupon_date = 2; -
clearCouponDate
Дата выплаты купона.
.google.protobuf.Timestamp coupon_date = 2; -
getCouponDateBuilder
public com.google.protobuf.Timestamp.Builder getCouponDateBuilder()Дата выплаты купона.
.google.protobuf.Timestamp coupon_date = 2; -
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.
-
setCouponNumber
Номер купона.
int64 coupon_number = 3;- Parameters:
value- The couponNumber to set.- Returns:
- This builder for chaining.
-
clearCouponNumber
Номер купона.
int64 coupon_number = 3;- Returns:
- This builder for chaining.
-
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.
-
setFixDate
(Опционально) Дата фиксации реестра для выплаты купона.
.google.protobuf.Timestamp fix_date = 4; -
setFixDate
(Опционально) Дата фиксации реестра для выплаты купона.
.google.protobuf.Timestamp fix_date = 4; -
mergeFixDate
(Опционально) Дата фиксации реестра для выплаты купона.
.google.protobuf.Timestamp fix_date = 4; -
clearFixDate
(Опционально) Дата фиксации реестра для выплаты купона.
.google.protobuf.Timestamp fix_date = 4; -
getFixDateBuilder
public com.google.protobuf.Timestamp.Builder getFixDateBuilder()(Опционально) Дата фиксации реестра для выплаты купона.
.google.protobuf.Timestamp fix_date = 4; -
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.
-
setPayOneBond
Выплата на одну облигацию.
.tinkoff.public.invest.api.contract.v1.MoneyValue pay_one_bond = 5; -
setPayOneBond
Выплата на одну облигацию.
.tinkoff.public.invest.api.contract.v1.MoneyValue pay_one_bond = 5; -
mergePayOneBond
Выплата на одну облигацию.
.tinkoff.public.invest.api.contract.v1.MoneyValue pay_one_bond = 5; -
clearPayOneBond
Выплата на одну облигацию.
.tinkoff.public.invest.api.contract.v1.MoneyValue pay_one_bond = 5; -
getPayOneBondBuilder
Выплата на одну облигацию.
.tinkoff.public.invest.api.contract.v1.MoneyValue pay_one_bond = 5; -
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.
-
setCouponTypeValue
Тип купона.
.tinkoff.public.invest.api.contract.v1.CouponType coupon_type = 6;- Parameters:
value- The enum numeric value on the wire for couponType to set.- Returns:
- This builder for chaining.
-
getCouponType
Тип купона.
.tinkoff.public.invest.api.contract.v1.CouponType coupon_type = 6;- Specified by:
getCouponTypein interfaceCouponOrBuilder- Returns:
- The couponType.
-
setCouponType
Тип купона.
.tinkoff.public.invest.api.contract.v1.CouponType coupon_type = 6;- Parameters:
value- The couponType to set.- Returns:
- This builder for chaining.
-
clearCouponType
Тип купона.
.tinkoff.public.invest.api.contract.v1.CouponType coupon_type = 6;- Returns:
- This builder for chaining.
-
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.
-
setCouponStartDate
Начало купонного периода.
.google.protobuf.Timestamp coupon_start_date = 7; -
setCouponStartDate
Начало купонного периода.
.google.protobuf.Timestamp coupon_start_date = 7; -
mergeCouponStartDate
Начало купонного периода.
.google.protobuf.Timestamp coupon_start_date = 7; -
clearCouponStartDate
Начало купонного периода.
.google.protobuf.Timestamp coupon_start_date = 7; -
getCouponStartDateBuilder
public com.google.protobuf.Timestamp.Builder getCouponStartDateBuilder()Начало купонного периода.
.google.protobuf.Timestamp coupon_start_date = 7; -
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.
-
setCouponEndDate
Окончание купонного периода.
.google.protobuf.Timestamp coupon_end_date = 8; -
setCouponEndDate
Окончание купонного периода.
.google.protobuf.Timestamp coupon_end_date = 8; -
mergeCouponEndDate
Окончание купонного периода.
.google.protobuf.Timestamp coupon_end_date = 8; -
clearCouponEndDate
Окончание купонного периода.
.google.protobuf.Timestamp coupon_end_date = 8; -
getCouponEndDateBuilder
public com.google.protobuf.Timestamp.Builder getCouponEndDateBuilder()Окончание купонного периода.
.google.protobuf.Timestamp coupon_end_date = 8; -
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.
-
setCouponPeriod
Купонный период в днях.
int32 coupon_period = 9;- Parameters:
value- The couponPeriod to set.- Returns:
- This builder for chaining.
-
clearCouponPeriod
Купонный период в днях.
int32 coupon_period = 9;- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Coupon.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Coupon.Builder>
-