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

org.openfeed.DividendsIncomeDistributions Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: openfeed.proto
// Protobuf Java Version: 4.28.3

package org.openfeed;

/**
 * 
 * / Dividends and Income Distributions
 * 
* * Protobuf type {@code org.openfeed.DividendsIncomeDistributions} */ public final class DividendsIncomeDistributions extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:org.openfeed.DividendsIncomeDistributions) DividendsIncomeDistributionsOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 28, /* patch= */ 3, /* suffix= */ "", DividendsIncomeDistributions.class.getName()); } // Use DividendsIncomeDistributions.newBuilder() to construct. private DividendsIncomeDistributions(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private DividendsIncomeDistributions() { instrumentType_ = ""; corporateAction_ = ""; distributionType_ = ""; currencyCode_ = ""; notes_ = com.google.protobuf.LazyStringArrayList.emptyList(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.openfeed.Openfeed.internal_static_org_openfeed_DividendsIncomeDistributions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.openfeed.Openfeed.internal_static_org_openfeed_DividendsIncomeDistributions_fieldAccessorTable .ensureFieldAccessorsInitialized( org.openfeed.DividendsIncomeDistributions.class, org.openfeed.DividendsIncomeDistributions.Builder.class); } public static final int TRANSACTIONTIME_FIELD_NUMBER = 6; private long transactionTime_ = 0L; /** * sint64 transactionTime = 6; * @return The transactionTime. */ @java.lang.Override public long getTransactionTime() { return transactionTime_; } public static final int INSTRUMENTTYPE_FIELD_NUMBER = 7; @SuppressWarnings("serial") private volatile java.lang.Object instrumentType_ = ""; /** * string instrumentType = 7; * @return The instrumentType. */ @java.lang.Override public java.lang.String getInstrumentType() { java.lang.Object ref = instrumentType_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instrumentType_ = s; return s; } } /** * string instrumentType = 7; * @return The bytes for instrumentType. */ @java.lang.Override public com.google.protobuf.ByteString getInstrumentTypeBytes() { java.lang.Object ref = instrumentType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instrumentType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CORPORATEACTION_FIELD_NUMBER = 8; @SuppressWarnings("serial") private volatile java.lang.Object corporateAction_ = ""; /** *
   * Corporate Action
   * 
* * string corporateAction = 8; * @return The corporateAction. */ @java.lang.Override public java.lang.String getCorporateAction() { java.lang.Object ref = corporateAction_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); corporateAction_ = s; return s; } } /** *
   * Corporate Action
   * 
* * string corporateAction = 8; * @return The bytes for corporateAction. */ @java.lang.Override public com.google.protobuf.ByteString getCorporateActionBytes() { java.lang.Object ref = corporateAction_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); corporateAction_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DISTRIBUTIONTYPE_FIELD_NUMBER = 9; @SuppressWarnings("serial") private volatile java.lang.Object distributionType_ = ""; /** *
   * Distribution Type
   * 
* * string distributionType = 9; * @return The distributionType. */ @java.lang.Override public java.lang.String getDistributionType() { java.lang.Object ref = distributionType_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); distributionType_ = s; return s; } } /** *
   * Distribution Type
   * 
* * string distributionType = 9; * @return The bytes for distributionType. */ @java.lang.Override public com.google.protobuf.ByteString getDistributionTypeBytes() { java.lang.Object ref = distributionType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); distributionType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PAYABLEDATE_FIELD_NUMBER = 10; private int payableDate_ = 0; /** *
   * Date only, format 2012-07-04 -> 20120704
   * 
* * sint32 payableDate = 10; * @return The payableDate. */ @java.lang.Override public int getPayableDate() { return payableDate_; } public static final int RECORDDATE_FIELD_NUMBER = 11; private int recordDate_ = 0; /** * sint32 recordDate = 11; * @return The recordDate. */ @java.lang.Override public int getRecordDate() { return recordDate_; } public static final int EXDIVIDENDDATE_FIELD_NUMBER = 12; private int exDividendDate_ = 0; /** * sint32 exDividendDate = 12; * @return The exDividendDate. */ @java.lang.Override public int getExDividendDate() { return exDividendDate_; } public static final int AMOUNT_FIELD_NUMBER = 13; private long amount_ = 0L; /** *
   * Cash amount of distribution
   * 
* * sint64 amount = 13; * @return The amount. */ @java.lang.Override public long getAmount() { return amount_; } public static final int CURRENCYCODE_FIELD_NUMBER = 14; @SuppressWarnings("serial") private volatile java.lang.Object currencyCode_ = ""; /** * string currencyCode = 14; * @return The currencyCode. */ @java.lang.Override public java.lang.String getCurrencyCode() { java.lang.Object ref = currencyCode_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currencyCode_ = s; return s; } } /** * string currencyCode = 14; * @return The bytes for currencyCode. */ @java.lang.Override public com.google.protobuf.ByteString getCurrencyCodeBytes() { java.lang.Object ref = currencyCode_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); currencyCode_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NOTES_FIELD_NUMBER = 15; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList notes_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * repeated string notes = 15; * @return A list containing the notes. */ public com.google.protobuf.ProtocolStringList getNotesList() { return notes_; } /** * repeated string notes = 15; * @return The count of notes. */ public int getNotesCount() { return notes_.size(); } /** * repeated string notes = 15; * @param index The index of the element to return. * @return The notes at the given index. */ public java.lang.String getNotes(int index) { return notes_.get(index); } /** * repeated string notes = 15; * @param index The index of the value to return. * @return The bytes of the notes at the given index. */ public com.google.protobuf.ByteString getNotesBytes(int index) { return notes_.getByteString(index); } public static final int TOTALCASHDISTRIBUTION_FIELD_NUMBER = 16; private long totalCashDistribution_ = 0L; /** *
   * 
* * sint64 totalCashDistribution = 16; * @return The totalCashDistribution. */ @java.lang.Override public long getTotalCashDistribution() { return totalCashDistribution_; } public static final int NONQUALIFIEDCASHDISTRIBUTION_FIELD_NUMBER = 17; private long nonQualifiedCashDistribution_ = 0L; /** * sint64 nonQualifiedCashDistribution = 17; * @return The nonQualifiedCashDistribution. */ @java.lang.Override public long getNonQualifiedCashDistribution() { return nonQualifiedCashDistribution_; } public static final int QUALIFIEDCASHDISTRIBUTION_FIELD_NUMBER = 18; private long qualifiedCashDistribution_ = 0L; /** * sint64 qualifiedCashDistribution = 18; * @return The qualifiedCashDistribution. */ @java.lang.Override public long getQualifiedCashDistribution() { return qualifiedCashDistribution_; } public static final int TAXFREECASHDISTRIBUTION_FIELD_NUMBER = 19; private long taxFreeCashDistribution_ = 0L; /** * sint64 taxFreeCashDistribution = 19; * @return The taxFreeCashDistribution. */ @java.lang.Override public long getTaxFreeCashDistribution() { return taxFreeCashDistribution_; } public static final int ORDINARYFOREIGNTAXCREDIT_FIELD_NUMBER = 20; private long ordinaryForeignTaxCredit_ = 0L; /** * sint64 ordinaryForeignTaxCredit = 20; * @return The ordinaryForeignTaxCredit. */ @java.lang.Override public long getOrdinaryForeignTaxCredit() { return ordinaryForeignTaxCredit_; } public static final int QUALIFIEDFOREIGNTAXCREDIT_FIELD_NUMBER = 21; private long qualifiedForeignTaxCredit_ = 0L; /** * sint64 qualifiedForeignTaxCredit = 21; * @return The qualifiedForeignTaxCredit. */ @java.lang.Override public long getQualifiedForeignTaxCredit() { return qualifiedForeignTaxCredit_; } public static final int STOCKDIVIDENDRATIO_FIELD_NUMBER = 22; private long stockDividendRatio_ = 0L; /** * sint64 stockDividendRatio = 22; * @return The stockDividendRatio. */ @java.lang.Override public long getStockDividendRatio() { return stockDividendRatio_; } public static final int REINVESTDATE_FIELD_NUMBER = 23; private int reinvestDate_ = 0; /** *
   * 
* * sint32 reinvestDate = 23; * @return The reinvestDate. */ @java.lang.Override public int getReinvestDate() { return reinvestDate_; } 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 (transactionTime_ != 0L) { output.writeSInt64(6, transactionTime_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(instrumentType_)) { com.google.protobuf.GeneratedMessage.writeString(output, 7, instrumentType_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(corporateAction_)) { com.google.protobuf.GeneratedMessage.writeString(output, 8, corporateAction_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(distributionType_)) { com.google.protobuf.GeneratedMessage.writeString(output, 9, distributionType_); } if (payableDate_ != 0) { output.writeSInt32(10, payableDate_); } if (recordDate_ != 0) { output.writeSInt32(11, recordDate_); } if (exDividendDate_ != 0) { output.writeSInt32(12, exDividendDate_); } if (amount_ != 0L) { output.writeSInt64(13, amount_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(currencyCode_)) { com.google.protobuf.GeneratedMessage.writeString(output, 14, currencyCode_); } for (int i = 0; i < notes_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 15, notes_.getRaw(i)); } if (totalCashDistribution_ != 0L) { output.writeSInt64(16, totalCashDistribution_); } if (nonQualifiedCashDistribution_ != 0L) { output.writeSInt64(17, nonQualifiedCashDistribution_); } if (qualifiedCashDistribution_ != 0L) { output.writeSInt64(18, qualifiedCashDistribution_); } if (taxFreeCashDistribution_ != 0L) { output.writeSInt64(19, taxFreeCashDistribution_); } if (ordinaryForeignTaxCredit_ != 0L) { output.writeSInt64(20, ordinaryForeignTaxCredit_); } if (qualifiedForeignTaxCredit_ != 0L) { output.writeSInt64(21, qualifiedForeignTaxCredit_); } if (stockDividendRatio_ != 0L) { output.writeSInt64(22, stockDividendRatio_); } if (reinvestDate_ != 0) { output.writeSInt32(23, reinvestDate_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (transactionTime_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeSInt64Size(6, transactionTime_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(instrumentType_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(7, instrumentType_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(corporateAction_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(8, corporateAction_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(distributionType_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(9, distributionType_); } if (payableDate_ != 0) { size += com.google.protobuf.CodedOutputStream .computeSInt32Size(10, payableDate_); } if (recordDate_ != 0) { size += com.google.protobuf.CodedOutputStream .computeSInt32Size(11, recordDate_); } if (exDividendDate_ != 0) { size += com.google.protobuf.CodedOutputStream .computeSInt32Size(12, exDividendDate_); } if (amount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeSInt64Size(13, amount_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(currencyCode_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(14, currencyCode_); } { int dataSize = 0; for (int i = 0; i < notes_.size(); i++) { dataSize += computeStringSizeNoTag(notes_.getRaw(i)); } size += dataSize; size += 1 * getNotesList().size(); } if (totalCashDistribution_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeSInt64Size(16, totalCashDistribution_); } if (nonQualifiedCashDistribution_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeSInt64Size(17, nonQualifiedCashDistribution_); } if (qualifiedCashDistribution_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeSInt64Size(18, qualifiedCashDistribution_); } if (taxFreeCashDistribution_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeSInt64Size(19, taxFreeCashDistribution_); } if (ordinaryForeignTaxCredit_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeSInt64Size(20, ordinaryForeignTaxCredit_); } if (qualifiedForeignTaxCredit_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeSInt64Size(21, qualifiedForeignTaxCredit_); } if (stockDividendRatio_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeSInt64Size(22, stockDividendRatio_); } if (reinvestDate_ != 0) { size += com.google.protobuf.CodedOutputStream .computeSInt32Size(23, reinvestDate_); } 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 org.openfeed.DividendsIncomeDistributions)) { return super.equals(obj); } org.openfeed.DividendsIncomeDistributions other = (org.openfeed.DividendsIncomeDistributions) obj; if (getTransactionTime() != other.getTransactionTime()) return false; if (!getInstrumentType() .equals(other.getInstrumentType())) return false; if (!getCorporateAction() .equals(other.getCorporateAction())) return false; if (!getDistributionType() .equals(other.getDistributionType())) return false; if (getPayableDate() != other.getPayableDate()) return false; if (getRecordDate() != other.getRecordDate()) return false; if (getExDividendDate() != other.getExDividendDate()) return false; if (getAmount() != other.getAmount()) return false; if (!getCurrencyCode() .equals(other.getCurrencyCode())) return false; if (!getNotesList() .equals(other.getNotesList())) return false; if (getTotalCashDistribution() != other.getTotalCashDistribution()) return false; if (getNonQualifiedCashDistribution() != other.getNonQualifiedCashDistribution()) return false; if (getQualifiedCashDistribution() != other.getQualifiedCashDistribution()) return false; if (getTaxFreeCashDistribution() != other.getTaxFreeCashDistribution()) return false; if (getOrdinaryForeignTaxCredit() != other.getOrdinaryForeignTaxCredit()) return false; if (getQualifiedForeignTaxCredit() != other.getQualifiedForeignTaxCredit()) return false; if (getStockDividendRatio() != other.getStockDividendRatio()) return false; if (getReinvestDate() != other.getReinvestDate()) 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(); hash = (37 * hash) + TRANSACTIONTIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTransactionTime()); hash = (37 * hash) + INSTRUMENTTYPE_FIELD_NUMBER; hash = (53 * hash) + getInstrumentType().hashCode(); hash = (37 * hash) + CORPORATEACTION_FIELD_NUMBER; hash = (53 * hash) + getCorporateAction().hashCode(); hash = (37 * hash) + DISTRIBUTIONTYPE_FIELD_NUMBER; hash = (53 * hash) + getDistributionType().hashCode(); hash = (37 * hash) + PAYABLEDATE_FIELD_NUMBER; hash = (53 * hash) + getPayableDate(); hash = (37 * hash) + RECORDDATE_FIELD_NUMBER; hash = (53 * hash) + getRecordDate(); hash = (37 * hash) + EXDIVIDENDDATE_FIELD_NUMBER; hash = (53 * hash) + getExDividendDate(); hash = (37 * hash) + AMOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getAmount()); hash = (37 * hash) + CURRENCYCODE_FIELD_NUMBER; hash = (53 * hash) + getCurrencyCode().hashCode(); if (getNotesCount() > 0) { hash = (37 * hash) + NOTES_FIELD_NUMBER; hash = (53 * hash) + getNotesList().hashCode(); } hash = (37 * hash) + TOTALCASHDISTRIBUTION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTotalCashDistribution()); hash = (37 * hash) + NONQUALIFIEDCASHDISTRIBUTION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getNonQualifiedCashDistribution()); hash = (37 * hash) + QUALIFIEDCASHDISTRIBUTION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getQualifiedCashDistribution()); hash = (37 * hash) + TAXFREECASHDISTRIBUTION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTaxFreeCashDistribution()); hash = (37 * hash) + ORDINARYFOREIGNTAXCREDIT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getOrdinaryForeignTaxCredit()); hash = (37 * hash) + QUALIFIEDFOREIGNTAXCREDIT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getQualifiedForeignTaxCredit()); hash = (37 * hash) + STOCKDIVIDENDRATIO_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getStockDividendRatio()); hash = (37 * hash) + REINVESTDATE_FIELD_NUMBER; hash = (53 * hash) + getReinvestDate(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.openfeed.DividendsIncomeDistributions parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.openfeed.DividendsIncomeDistributions parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.openfeed.DividendsIncomeDistributions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.openfeed.DividendsIncomeDistributions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.openfeed.DividendsIncomeDistributions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.openfeed.DividendsIncomeDistributions parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.openfeed.DividendsIncomeDistributions parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static org.openfeed.DividendsIncomeDistributions parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public static org.openfeed.DividendsIncomeDistributions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static org.openfeed.DividendsIncomeDistributions parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.openfeed.DividendsIncomeDistributions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static org.openfeed.DividendsIncomeDistributions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.openfeed.DividendsIncomeDistributions 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.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * / Dividends and Income Distributions
   * 
* * Protobuf type {@code org.openfeed.DividendsIncomeDistributions} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:org.openfeed.DividendsIncomeDistributions) org.openfeed.DividendsIncomeDistributionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.openfeed.Openfeed.internal_static_org_openfeed_DividendsIncomeDistributions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.openfeed.Openfeed.internal_static_org_openfeed_DividendsIncomeDistributions_fieldAccessorTable .ensureFieldAccessorsInitialized( org.openfeed.DividendsIncomeDistributions.class, org.openfeed.DividendsIncomeDistributions.Builder.class); } // Construct using org.openfeed.DividendsIncomeDistributions.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; transactionTime_ = 0L; instrumentType_ = ""; corporateAction_ = ""; distributionType_ = ""; payableDate_ = 0; recordDate_ = 0; exDividendDate_ = 0; amount_ = 0L; currencyCode_ = ""; notes_ = com.google.protobuf.LazyStringArrayList.emptyList(); totalCashDistribution_ = 0L; nonQualifiedCashDistribution_ = 0L; qualifiedCashDistribution_ = 0L; taxFreeCashDistribution_ = 0L; ordinaryForeignTaxCredit_ = 0L; qualifiedForeignTaxCredit_ = 0L; stockDividendRatio_ = 0L; reinvestDate_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.openfeed.Openfeed.internal_static_org_openfeed_DividendsIncomeDistributions_descriptor; } @java.lang.Override public org.openfeed.DividendsIncomeDistributions getDefaultInstanceForType() { return org.openfeed.DividendsIncomeDistributions.getDefaultInstance(); } @java.lang.Override public org.openfeed.DividendsIncomeDistributions build() { org.openfeed.DividendsIncomeDistributions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.openfeed.DividendsIncomeDistributions buildPartial() { org.openfeed.DividendsIncomeDistributions result = new org.openfeed.DividendsIncomeDistributions(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(org.openfeed.DividendsIncomeDistributions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.transactionTime_ = transactionTime_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.instrumentType_ = instrumentType_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.corporateAction_ = corporateAction_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.distributionType_ = distributionType_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.payableDate_ = payableDate_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.recordDate_ = recordDate_; } if (((from_bitField0_ & 0x00000040) != 0)) { result.exDividendDate_ = exDividendDate_; } if (((from_bitField0_ & 0x00000080) != 0)) { result.amount_ = amount_; } if (((from_bitField0_ & 0x00000100) != 0)) { result.currencyCode_ = currencyCode_; } if (((from_bitField0_ & 0x00000200) != 0)) { notes_.makeImmutable(); result.notes_ = notes_; } if (((from_bitField0_ & 0x00000400) != 0)) { result.totalCashDistribution_ = totalCashDistribution_; } if (((from_bitField0_ & 0x00000800) != 0)) { result.nonQualifiedCashDistribution_ = nonQualifiedCashDistribution_; } if (((from_bitField0_ & 0x00001000) != 0)) { result.qualifiedCashDistribution_ = qualifiedCashDistribution_; } if (((from_bitField0_ & 0x00002000) != 0)) { result.taxFreeCashDistribution_ = taxFreeCashDistribution_; } if (((from_bitField0_ & 0x00004000) != 0)) { result.ordinaryForeignTaxCredit_ = ordinaryForeignTaxCredit_; } if (((from_bitField0_ & 0x00008000) != 0)) { result.qualifiedForeignTaxCredit_ = qualifiedForeignTaxCredit_; } if (((from_bitField0_ & 0x00010000) != 0)) { result.stockDividendRatio_ = stockDividendRatio_; } if (((from_bitField0_ & 0x00020000) != 0)) { result.reinvestDate_ = reinvestDate_; } } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.openfeed.DividendsIncomeDistributions) { return mergeFrom((org.openfeed.DividendsIncomeDistributions)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.openfeed.DividendsIncomeDistributions other) { if (other == org.openfeed.DividendsIncomeDistributions.getDefaultInstance()) return this; if (other.getTransactionTime() != 0L) { setTransactionTime(other.getTransactionTime()); } if (!other.getInstrumentType().isEmpty()) { instrumentType_ = other.instrumentType_; bitField0_ |= 0x00000002; onChanged(); } if (!other.getCorporateAction().isEmpty()) { corporateAction_ = other.corporateAction_; bitField0_ |= 0x00000004; onChanged(); } if (!other.getDistributionType().isEmpty()) { distributionType_ = other.distributionType_; bitField0_ |= 0x00000008; onChanged(); } if (other.getPayableDate() != 0) { setPayableDate(other.getPayableDate()); } if (other.getRecordDate() != 0) { setRecordDate(other.getRecordDate()); } if (other.getExDividendDate() != 0) { setExDividendDate(other.getExDividendDate()); } if (other.getAmount() != 0L) { setAmount(other.getAmount()); } if (!other.getCurrencyCode().isEmpty()) { currencyCode_ = other.currencyCode_; bitField0_ |= 0x00000100; onChanged(); } if (!other.notes_.isEmpty()) { if (notes_.isEmpty()) { notes_ = other.notes_; bitField0_ |= 0x00000200; } else { ensureNotesIsMutable(); notes_.addAll(other.notes_); } onChanged(); } if (other.getTotalCashDistribution() != 0L) { setTotalCashDistribution(other.getTotalCashDistribution()); } if (other.getNonQualifiedCashDistribution() != 0L) { setNonQualifiedCashDistribution(other.getNonQualifiedCashDistribution()); } if (other.getQualifiedCashDistribution() != 0L) { setQualifiedCashDistribution(other.getQualifiedCashDistribution()); } if (other.getTaxFreeCashDistribution() != 0L) { setTaxFreeCashDistribution(other.getTaxFreeCashDistribution()); } if (other.getOrdinaryForeignTaxCredit() != 0L) { setOrdinaryForeignTaxCredit(other.getOrdinaryForeignTaxCredit()); } if (other.getQualifiedForeignTaxCredit() != 0L) { setQualifiedForeignTaxCredit(other.getQualifiedForeignTaxCredit()); } if (other.getStockDividendRatio() != 0L) { setStockDividendRatio(other.getStockDividendRatio()); } if (other.getReinvestDate() != 0) { setReinvestDate(other.getReinvestDate()); } 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 48: { transactionTime_ = input.readSInt64(); bitField0_ |= 0x00000001; break; } // case 48 case 58: { instrumentType_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 58 case 66: { corporateAction_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 66 case 74: { distributionType_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000008; break; } // case 74 case 80: { payableDate_ = input.readSInt32(); bitField0_ |= 0x00000010; break; } // case 80 case 88: { recordDate_ = input.readSInt32(); bitField0_ |= 0x00000020; break; } // case 88 case 96: { exDividendDate_ = input.readSInt32(); bitField0_ |= 0x00000040; break; } // case 96 case 104: { amount_ = input.readSInt64(); bitField0_ |= 0x00000080; break; } // case 104 case 114: { currencyCode_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000100; break; } // case 114 case 122: { java.lang.String s = input.readStringRequireUtf8(); ensureNotesIsMutable(); notes_.add(s); break; } // case 122 case 128: { totalCashDistribution_ = input.readSInt64(); bitField0_ |= 0x00000400; break; } // case 128 case 136: { nonQualifiedCashDistribution_ = input.readSInt64(); bitField0_ |= 0x00000800; break; } // case 136 case 144: { qualifiedCashDistribution_ = input.readSInt64(); bitField0_ |= 0x00001000; break; } // case 144 case 152: { taxFreeCashDistribution_ = input.readSInt64(); bitField0_ |= 0x00002000; break; } // case 152 case 160: { ordinaryForeignTaxCredit_ = input.readSInt64(); bitField0_ |= 0x00004000; break; } // case 160 case 168: { qualifiedForeignTaxCredit_ = input.readSInt64(); bitField0_ |= 0x00008000; break; } // case 168 case 176: { stockDividendRatio_ = input.readSInt64(); bitField0_ |= 0x00010000; break; } // case 176 case 184: { reinvestDate_ = input.readSInt32(); bitField0_ |= 0x00020000; break; } // case 184 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 long transactionTime_ ; /** * sint64 transactionTime = 6; * @return The transactionTime. */ @java.lang.Override public long getTransactionTime() { return transactionTime_; } /** * sint64 transactionTime = 6; * @param value The transactionTime to set. * @return This builder for chaining. */ public Builder setTransactionTime(long value) { transactionTime_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * sint64 transactionTime = 6; * @return This builder for chaining. */ public Builder clearTransactionTime() { bitField0_ = (bitField0_ & ~0x00000001); transactionTime_ = 0L; onChanged(); return this; } private java.lang.Object instrumentType_ = ""; /** * string instrumentType = 7; * @return The instrumentType. */ public java.lang.String getInstrumentType() { java.lang.Object ref = instrumentType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instrumentType_ = s; return s; } else { return (java.lang.String) ref; } } /** * string instrumentType = 7; * @return The bytes for instrumentType. */ public com.google.protobuf.ByteString getInstrumentTypeBytes() { java.lang.Object ref = instrumentType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instrumentType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string instrumentType = 7; * @param value The instrumentType to set. * @return This builder for chaining. */ public Builder setInstrumentType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } instrumentType_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * string instrumentType = 7; * @return This builder for chaining. */ public Builder clearInstrumentType() { instrumentType_ = getDefaultInstance().getInstrumentType(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * string instrumentType = 7; * @param value The bytes for instrumentType to set. * @return This builder for chaining. */ public Builder setInstrumentTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instrumentType_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.lang.Object corporateAction_ = ""; /** *
     * Corporate Action
     * 
* * string corporateAction = 8; * @return The corporateAction. */ public java.lang.String getCorporateAction() { java.lang.Object ref = corporateAction_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); corporateAction_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Corporate Action
     * 
* * string corporateAction = 8; * @return The bytes for corporateAction. */ public com.google.protobuf.ByteString getCorporateActionBytes() { java.lang.Object ref = corporateAction_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); corporateAction_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Corporate Action
     * 
* * string corporateAction = 8; * @param value The corporateAction to set. * @return This builder for chaining. */ public Builder setCorporateAction( java.lang.String value) { if (value == null) { throw new NullPointerException(); } corporateAction_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * Corporate Action
     * 
* * string corporateAction = 8; * @return This builder for chaining. */ public Builder clearCorporateAction() { corporateAction_ = getDefaultInstance().getCorporateAction(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** *
     * Corporate Action
     * 
* * string corporateAction = 8; * @param value The bytes for corporateAction to set. * @return This builder for chaining. */ public Builder setCorporateActionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); corporateAction_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private java.lang.Object distributionType_ = ""; /** *
     * Distribution Type
     * 
* * string distributionType = 9; * @return The distributionType. */ public java.lang.String getDistributionType() { java.lang.Object ref = distributionType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); distributionType_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Distribution Type
     * 
* * string distributionType = 9; * @return The bytes for distributionType. */ public com.google.protobuf.ByteString getDistributionTypeBytes() { java.lang.Object ref = distributionType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); distributionType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Distribution Type
     * 
* * string distributionType = 9; * @param value The distributionType to set. * @return This builder for chaining. */ public Builder setDistributionType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } distributionType_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * Distribution Type
     * 
* * string distributionType = 9; * @return This builder for chaining. */ public Builder clearDistributionType() { distributionType_ = getDefaultInstance().getDistributionType(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** *
     * Distribution Type
     * 
* * string distributionType = 9; * @param value The bytes for distributionType to set. * @return This builder for chaining. */ public Builder setDistributionTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); distributionType_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } private int payableDate_ ; /** *
     * Date only, format 2012-07-04 -> 20120704
     * 
* * sint32 payableDate = 10; * @return The payableDate. */ @java.lang.Override public int getPayableDate() { return payableDate_; } /** *
     * Date only, format 2012-07-04 -> 20120704
     * 
* * sint32 payableDate = 10; * @param value The payableDate to set. * @return This builder for chaining. */ public Builder setPayableDate(int value) { payableDate_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     * Date only, format 2012-07-04 -> 20120704
     * 
* * sint32 payableDate = 10; * @return This builder for chaining. */ public Builder clearPayableDate() { bitField0_ = (bitField0_ & ~0x00000010); payableDate_ = 0; onChanged(); return this; } private int recordDate_ ; /** * sint32 recordDate = 11; * @return The recordDate. */ @java.lang.Override public int getRecordDate() { return recordDate_; } /** * sint32 recordDate = 11; * @param value The recordDate to set. * @return This builder for chaining. */ public Builder setRecordDate(int value) { recordDate_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** * sint32 recordDate = 11; * @return This builder for chaining. */ public Builder clearRecordDate() { bitField0_ = (bitField0_ & ~0x00000020); recordDate_ = 0; onChanged(); return this; } private int exDividendDate_ ; /** * sint32 exDividendDate = 12; * @return The exDividendDate. */ @java.lang.Override public int getExDividendDate() { return exDividendDate_; } /** * sint32 exDividendDate = 12; * @param value The exDividendDate to set. * @return This builder for chaining. */ public Builder setExDividendDate(int value) { exDividendDate_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** * sint32 exDividendDate = 12; * @return This builder for chaining. */ public Builder clearExDividendDate() { bitField0_ = (bitField0_ & ~0x00000040); exDividendDate_ = 0; onChanged(); return this; } private long amount_ ; /** *
     * Cash amount of distribution
     * 
* * sint64 amount = 13; * @return The amount. */ @java.lang.Override public long getAmount() { return amount_; } /** *
     * Cash amount of distribution
     * 
* * sint64 amount = 13; * @param value The amount to set. * @return This builder for chaining. */ public Builder setAmount(long value) { amount_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** *
     * Cash amount of distribution
     * 
* * sint64 amount = 13; * @return This builder for chaining. */ public Builder clearAmount() { bitField0_ = (bitField0_ & ~0x00000080); amount_ = 0L; onChanged(); return this; } private java.lang.Object currencyCode_ = ""; /** * string currencyCode = 14; * @return The currencyCode. */ public java.lang.String getCurrencyCode() { java.lang.Object ref = currencyCode_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currencyCode_ = s; return s; } else { return (java.lang.String) ref; } } /** * string currencyCode = 14; * @return The bytes for currencyCode. */ public com.google.protobuf.ByteString getCurrencyCodeBytes() { java.lang.Object ref = currencyCode_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); currencyCode_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string currencyCode = 14; * @param value The currencyCode to set. * @return This builder for chaining. */ public Builder setCurrencyCode( java.lang.String value) { if (value == null) { throw new NullPointerException(); } currencyCode_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** * string currencyCode = 14; * @return This builder for chaining. */ public Builder clearCurrencyCode() { currencyCode_ = getDefaultInstance().getCurrencyCode(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); return this; } /** * string currencyCode = 14; * @param value The bytes for currencyCode to set. * @return This builder for chaining. */ public Builder setCurrencyCodeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); currencyCode_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList notes_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureNotesIsMutable() { if (!notes_.isModifiable()) { notes_ = new com.google.protobuf.LazyStringArrayList(notes_); } bitField0_ |= 0x00000200; } /** * repeated string notes = 15; * @return A list containing the notes. */ public com.google.protobuf.ProtocolStringList getNotesList() { notes_.makeImmutable(); return notes_; } /** * repeated string notes = 15; * @return The count of notes. */ public int getNotesCount() { return notes_.size(); } /** * repeated string notes = 15; * @param index The index of the element to return. * @return The notes at the given index. */ public java.lang.String getNotes(int index) { return notes_.get(index); } /** * repeated string notes = 15; * @param index The index of the value to return. * @return The bytes of the notes at the given index. */ public com.google.protobuf.ByteString getNotesBytes(int index) { return notes_.getByteString(index); } /** * repeated string notes = 15; * @param index The index to set the value at. * @param value The notes to set. * @return This builder for chaining. */ public Builder setNotes( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureNotesIsMutable(); notes_.set(index, value); bitField0_ |= 0x00000200; onChanged(); return this; } /** * repeated string notes = 15; * @param value The notes to add. * @return This builder for chaining. */ public Builder addNotes( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureNotesIsMutable(); notes_.add(value); bitField0_ |= 0x00000200; onChanged(); return this; } /** * repeated string notes = 15; * @param values The notes to add. * @return This builder for chaining. */ public Builder addAllNotes( java.lang.Iterable values) { ensureNotesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, notes_); bitField0_ |= 0x00000200; onChanged(); return this; } /** * repeated string notes = 15; * @return This builder for chaining. */ public Builder clearNotes() { notes_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000200);; onChanged(); return this; } /** * repeated string notes = 15; * @param value The bytes of the notes to add. * @return This builder for chaining. */ public Builder addNotesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureNotesIsMutable(); notes_.add(value); bitField0_ |= 0x00000200; onChanged(); return this; } private long totalCashDistribution_ ; /** *
     * 
* * sint64 totalCashDistribution = 16; * @return The totalCashDistribution. */ @java.lang.Override public long getTotalCashDistribution() { return totalCashDistribution_; } /** *
     * 
* * sint64 totalCashDistribution = 16; * @param value The totalCashDistribution to set. * @return This builder for chaining. */ public Builder setTotalCashDistribution(long value) { totalCashDistribution_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** *
     * 
* * sint64 totalCashDistribution = 16; * @return This builder for chaining. */ public Builder clearTotalCashDistribution() { bitField0_ = (bitField0_ & ~0x00000400); totalCashDistribution_ = 0L; onChanged(); return this; } private long nonQualifiedCashDistribution_ ; /** * sint64 nonQualifiedCashDistribution = 17; * @return The nonQualifiedCashDistribution. */ @java.lang.Override public long getNonQualifiedCashDistribution() { return nonQualifiedCashDistribution_; } /** * sint64 nonQualifiedCashDistribution = 17; * @param value The nonQualifiedCashDistribution to set. * @return This builder for chaining. */ public Builder setNonQualifiedCashDistribution(long value) { nonQualifiedCashDistribution_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** * sint64 nonQualifiedCashDistribution = 17; * @return This builder for chaining. */ public Builder clearNonQualifiedCashDistribution() { bitField0_ = (bitField0_ & ~0x00000800); nonQualifiedCashDistribution_ = 0L; onChanged(); return this; } private long qualifiedCashDistribution_ ; /** * sint64 qualifiedCashDistribution = 18; * @return The qualifiedCashDistribution. */ @java.lang.Override public long getQualifiedCashDistribution() { return qualifiedCashDistribution_; } /** * sint64 qualifiedCashDistribution = 18; * @param value The qualifiedCashDistribution to set. * @return This builder for chaining. */ public Builder setQualifiedCashDistribution(long value) { qualifiedCashDistribution_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** * sint64 qualifiedCashDistribution = 18; * @return This builder for chaining. */ public Builder clearQualifiedCashDistribution() { bitField0_ = (bitField0_ & ~0x00001000); qualifiedCashDistribution_ = 0L; onChanged(); return this; } private long taxFreeCashDistribution_ ; /** * sint64 taxFreeCashDistribution = 19; * @return The taxFreeCashDistribution. */ @java.lang.Override public long getTaxFreeCashDistribution() { return taxFreeCashDistribution_; } /** * sint64 taxFreeCashDistribution = 19; * @param value The taxFreeCashDistribution to set. * @return This builder for chaining. */ public Builder setTaxFreeCashDistribution(long value) { taxFreeCashDistribution_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** * sint64 taxFreeCashDistribution = 19; * @return This builder for chaining. */ public Builder clearTaxFreeCashDistribution() { bitField0_ = (bitField0_ & ~0x00002000); taxFreeCashDistribution_ = 0L; onChanged(); return this; } private long ordinaryForeignTaxCredit_ ; /** * sint64 ordinaryForeignTaxCredit = 20; * @return The ordinaryForeignTaxCredit. */ @java.lang.Override public long getOrdinaryForeignTaxCredit() { return ordinaryForeignTaxCredit_; } /** * sint64 ordinaryForeignTaxCredit = 20; * @param value The ordinaryForeignTaxCredit to set. * @return This builder for chaining. */ public Builder setOrdinaryForeignTaxCredit(long value) { ordinaryForeignTaxCredit_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** * sint64 ordinaryForeignTaxCredit = 20; * @return This builder for chaining. */ public Builder clearOrdinaryForeignTaxCredit() { bitField0_ = (bitField0_ & ~0x00004000); ordinaryForeignTaxCredit_ = 0L; onChanged(); return this; } private long qualifiedForeignTaxCredit_ ; /** * sint64 qualifiedForeignTaxCredit = 21; * @return The qualifiedForeignTaxCredit. */ @java.lang.Override public long getQualifiedForeignTaxCredit() { return qualifiedForeignTaxCredit_; } /** * sint64 qualifiedForeignTaxCredit = 21; * @param value The qualifiedForeignTaxCredit to set. * @return This builder for chaining. */ public Builder setQualifiedForeignTaxCredit(long value) { qualifiedForeignTaxCredit_ = value; bitField0_ |= 0x00008000; onChanged(); return this; } /** * sint64 qualifiedForeignTaxCredit = 21; * @return This builder for chaining. */ public Builder clearQualifiedForeignTaxCredit() { bitField0_ = (bitField0_ & ~0x00008000); qualifiedForeignTaxCredit_ = 0L; onChanged(); return this; } private long stockDividendRatio_ ; /** * sint64 stockDividendRatio = 22; * @return The stockDividendRatio. */ @java.lang.Override public long getStockDividendRatio() { return stockDividendRatio_; } /** * sint64 stockDividendRatio = 22; * @param value The stockDividendRatio to set. * @return This builder for chaining. */ public Builder setStockDividendRatio(long value) { stockDividendRatio_ = value; bitField0_ |= 0x00010000; onChanged(); return this; } /** * sint64 stockDividendRatio = 22; * @return This builder for chaining. */ public Builder clearStockDividendRatio() { bitField0_ = (bitField0_ & ~0x00010000); stockDividendRatio_ = 0L; onChanged(); return this; } private int reinvestDate_ ; /** *
     * 
* * sint32 reinvestDate = 23; * @return The reinvestDate. */ @java.lang.Override public int getReinvestDate() { return reinvestDate_; } /** *
     * 
* * sint32 reinvestDate = 23; * @param value The reinvestDate to set. * @return This builder for chaining. */ public Builder setReinvestDate(int value) { reinvestDate_ = value; bitField0_ |= 0x00020000; onChanged(); return this; } /** *
     * 
* * sint32 reinvestDate = 23; * @return This builder for chaining. */ public Builder clearReinvestDate() { bitField0_ = (bitField0_ & ~0x00020000); reinvestDate_ = 0; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:org.openfeed.DividendsIncomeDistributions) } // @@protoc_insertion_point(class_scope:org.openfeed.DividendsIncomeDistributions) private static final org.openfeed.DividendsIncomeDistributions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.openfeed.DividendsIncomeDistributions(); } public static org.openfeed.DividendsIncomeDistributions getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DividendsIncomeDistributions 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 org.openfeed.DividendsIncomeDistributions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy