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

com.hederahashgraph.api.proto.java.AccountPendingAirdrop Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: state/token/account_pending_airdrop.proto

package com.hederahashgraph.api.proto.java;

/**
 * 
 **
 * A node within a doubly linked list of pending airdrop references.<br/>
 * This internal state message forms the entries in a doubly-linked list
 * of references to pending airdrop entries that are "owed" by a particular
 * account as "sender".
 * Each entry in this list MUST refer to an existing pending airdrop.<br/>
 * The pending airdrop MUST NOT be claimed.<br/>
 * The pending airdrop MUST NOT be canceled.<br/>
 * The pending airdrop `sender` account's `head_pending_airdrop_id` field
 * MUST match the `pending_airdrop_id` field in this message.
 * ### Record Stream Effects
 * This value is not currently published in the record stream.
 * 
* * Protobuf type {@code proto.AccountPendingAirdrop} */ public final class AccountPendingAirdrop extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:proto.AccountPendingAirdrop) AccountPendingAirdropOrBuilder { private static final long serialVersionUID = 0L; // Use AccountPendingAirdrop.newBuilder() to construct. private AccountPendingAirdrop(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AccountPendingAirdrop() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AccountPendingAirdrop(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AccountPendingAirdrop( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.hederahashgraph.api.proto.java.PendingAirdropValue.Builder subBuilder = null; if (pendingAirdropValue_ != null) { subBuilder = pendingAirdropValue_.toBuilder(); } pendingAirdropValue_ = input.readMessage(com.hederahashgraph.api.proto.java.PendingAirdropValue.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(pendingAirdropValue_); pendingAirdropValue_ = subBuilder.buildPartial(); } break; } case 18: { com.hederahashgraph.api.proto.java.PendingAirdropId.Builder subBuilder = null; if (previousAirdrop_ != null) { subBuilder = previousAirdrop_.toBuilder(); } previousAirdrop_ = input.readMessage(com.hederahashgraph.api.proto.java.PendingAirdropId.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(previousAirdrop_); previousAirdrop_ = subBuilder.buildPartial(); } break; } case 26: { com.hederahashgraph.api.proto.java.PendingAirdropId.Builder subBuilder = null; if (nextAirdrop_ != null) { subBuilder = nextAirdrop_.toBuilder(); } nextAirdrop_ = input.readMessage(com.hederahashgraph.api.proto.java.PendingAirdropId.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(nextAirdrop_); nextAirdrop_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.hederahashgraph.api.proto.java.AccountPendingAirdropOuterClass.internal_static_proto_AccountPendingAirdrop_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.hederahashgraph.api.proto.java.AccountPendingAirdropOuterClass.internal_static_proto_AccountPendingAirdrop_fieldAccessorTable .ensureFieldAccessorsInitialized( com.hederahashgraph.api.proto.java.AccountPendingAirdrop.class, com.hederahashgraph.api.proto.java.AccountPendingAirdrop.Builder.class); } public static final int PENDING_AIRDROP_VALUE_FIELD_NUMBER = 1; private com.hederahashgraph.api.proto.java.PendingAirdropValue pendingAirdropValue_; /** *
   **
   * The value of the current airdrop id. SHALL NOT be set for non fungible tokens
   * 
* * .proto.PendingAirdropValue pending_airdrop_value = 1; * @return Whether the pendingAirdropValue field is set. */ @java.lang.Override public boolean hasPendingAirdropValue() { return pendingAirdropValue_ != null; } /** *
   **
   * The value of the current airdrop id. SHALL NOT be set for non fungible tokens
   * 
* * .proto.PendingAirdropValue pending_airdrop_value = 1; * @return The pendingAirdropValue. */ @java.lang.Override public com.hederahashgraph.api.proto.java.PendingAirdropValue getPendingAirdropValue() { return pendingAirdropValue_ == null ? com.hederahashgraph.api.proto.java.PendingAirdropValue.getDefaultInstance() : pendingAirdropValue_; } /** *
   **
   * The value of the current airdrop id. SHALL NOT be set for non fungible tokens
   * 
* * .proto.PendingAirdropValue pending_airdrop_value = 1; */ @java.lang.Override public com.hederahashgraph.api.proto.java.PendingAirdropValueOrBuilder getPendingAirdropValueOrBuilder() { return getPendingAirdropValue(); } public static final int PREVIOUS_AIRDROP_FIELD_NUMBER = 2; private com.hederahashgraph.api.proto.java.PendingAirdropId previousAirdrop_; /** *
   **
   * A pending airdrop identifier.<br/>
   * This identifies the specific pending airdrop that precedes this position
   * within the doubly linked list of pending airdrops "owed" by the sending
   * account associated with this account airdrop "list".
   * <p>
   * This SHALL match `pending_airdrop_id` if this is the only entry
   * in the "list".
   * 
* * .proto.PendingAirdropId previous_airdrop = 2; * @return Whether the previousAirdrop field is set. */ @java.lang.Override public boolean hasPreviousAirdrop() { return previousAirdrop_ != null; } /** *
   **
   * A pending airdrop identifier.<br/>
   * This identifies the specific pending airdrop that precedes this position
   * within the doubly linked list of pending airdrops "owed" by the sending
   * account associated with this account airdrop "list".
   * <p>
   * This SHALL match `pending_airdrop_id` if this is the only entry
   * in the "list".
   * 
* * .proto.PendingAirdropId previous_airdrop = 2; * @return The previousAirdrop. */ @java.lang.Override public com.hederahashgraph.api.proto.java.PendingAirdropId getPreviousAirdrop() { return previousAirdrop_ == null ? com.hederahashgraph.api.proto.java.PendingAirdropId.getDefaultInstance() : previousAirdrop_; } /** *
   **
   * A pending airdrop identifier.<br/>
   * This identifies the specific pending airdrop that precedes this position
   * within the doubly linked list of pending airdrops "owed" by the sending
   * account associated with this account airdrop "list".
   * <p>
   * This SHALL match `pending_airdrop_id` if this is the only entry
   * in the "list".
   * 
* * .proto.PendingAirdropId previous_airdrop = 2; */ @java.lang.Override public com.hederahashgraph.api.proto.java.PendingAirdropIdOrBuilder getPreviousAirdropOrBuilder() { return getPreviousAirdrop(); } public static final int NEXT_AIRDROP_FIELD_NUMBER = 3; private com.hederahashgraph.api.proto.java.PendingAirdropId nextAirdrop_; /** *
   **
   * A pending airdrop identifier.<br/>
   * This identifies the specific pending airdrop that follows this position
   * within the doubly linked list of pending airdrops "owed" by the sending
   * account associated with this account airdrop "list".
   * <p>
   * This SHALL match `pending_airdrop_id` if this is the only entry
   * in the "list".
   * 
* * .proto.PendingAirdropId next_airdrop = 3; * @return Whether the nextAirdrop field is set. */ @java.lang.Override public boolean hasNextAirdrop() { return nextAirdrop_ != null; } /** *
   **
   * A pending airdrop identifier.<br/>
   * This identifies the specific pending airdrop that follows this position
   * within the doubly linked list of pending airdrops "owed" by the sending
   * account associated with this account airdrop "list".
   * <p>
   * This SHALL match `pending_airdrop_id` if this is the only entry
   * in the "list".
   * 
* * .proto.PendingAirdropId next_airdrop = 3; * @return The nextAirdrop. */ @java.lang.Override public com.hederahashgraph.api.proto.java.PendingAirdropId getNextAirdrop() { return nextAirdrop_ == null ? com.hederahashgraph.api.proto.java.PendingAirdropId.getDefaultInstance() : nextAirdrop_; } /** *
   **
   * A pending airdrop identifier.<br/>
   * This identifies the specific pending airdrop that follows this position
   * within the doubly linked list of pending airdrops "owed" by the sending
   * account associated with this account airdrop "list".
   * <p>
   * This SHALL match `pending_airdrop_id` if this is the only entry
   * in the "list".
   * 
* * .proto.PendingAirdropId next_airdrop = 3; */ @java.lang.Override public com.hederahashgraph.api.proto.java.PendingAirdropIdOrBuilder getNextAirdropOrBuilder() { return getNextAirdrop(); } 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 (pendingAirdropValue_ != null) { output.writeMessage(1, getPendingAirdropValue()); } if (previousAirdrop_ != null) { output.writeMessage(2, getPreviousAirdrop()); } if (nextAirdrop_ != null) { output.writeMessage(3, getNextAirdrop()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (pendingAirdropValue_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getPendingAirdropValue()); } if (previousAirdrop_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getPreviousAirdrop()); } if (nextAirdrop_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getNextAirdrop()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.hederahashgraph.api.proto.java.AccountPendingAirdrop)) { return super.equals(obj); } com.hederahashgraph.api.proto.java.AccountPendingAirdrop other = (com.hederahashgraph.api.proto.java.AccountPendingAirdrop) obj; if (hasPendingAirdropValue() != other.hasPendingAirdropValue()) return false; if (hasPendingAirdropValue()) { if (!getPendingAirdropValue() .equals(other.getPendingAirdropValue())) return false; } if (hasPreviousAirdrop() != other.hasPreviousAirdrop()) return false; if (hasPreviousAirdrop()) { if (!getPreviousAirdrop() .equals(other.getPreviousAirdrop())) return false; } if (hasNextAirdrop() != other.hasNextAirdrop()) return false; if (hasNextAirdrop()) { if (!getNextAirdrop() .equals(other.getNextAirdrop())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasPendingAirdropValue()) { hash = (37 * hash) + PENDING_AIRDROP_VALUE_FIELD_NUMBER; hash = (53 * hash) + getPendingAirdropValue().hashCode(); } if (hasPreviousAirdrop()) { hash = (37 * hash) + PREVIOUS_AIRDROP_FIELD_NUMBER; hash = (53 * hash) + getPreviousAirdrop().hashCode(); } if (hasNextAirdrop()) { hash = (37 * hash) + NEXT_AIRDROP_FIELD_NUMBER; hash = (53 * hash) + getNextAirdrop().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.hederahashgraph.api.proto.java.AccountPendingAirdrop parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hederahashgraph.api.proto.java.AccountPendingAirdrop parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.hederahashgraph.api.proto.java.AccountPendingAirdrop parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hederahashgraph.api.proto.java.AccountPendingAirdrop parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.hederahashgraph.api.proto.java.AccountPendingAirdrop parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hederahashgraph.api.proto.java.AccountPendingAirdrop parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.hederahashgraph.api.proto.java.AccountPendingAirdrop parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.hederahashgraph.api.proto.java.AccountPendingAirdrop parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.hederahashgraph.api.proto.java.AccountPendingAirdrop parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.hederahashgraph.api.proto.java.AccountPendingAirdrop parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.hederahashgraph.api.proto.java.AccountPendingAirdrop parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.hederahashgraph.api.proto.java.AccountPendingAirdrop parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.hederahashgraph.api.proto.java.AccountPendingAirdrop prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   **
   * A node within a doubly linked list of pending airdrop references.<br/>
   * This internal state message forms the entries in a doubly-linked list
   * of references to pending airdrop entries that are "owed" by a particular
   * account as "sender".
   * Each entry in this list MUST refer to an existing pending airdrop.<br/>
   * The pending airdrop MUST NOT be claimed.<br/>
   * The pending airdrop MUST NOT be canceled.<br/>
   * The pending airdrop `sender` account's `head_pending_airdrop_id` field
   * MUST match the `pending_airdrop_id` field in this message.
   * ### Record Stream Effects
   * This value is not currently published in the record stream.
   * 
* * Protobuf type {@code proto.AccountPendingAirdrop} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:proto.AccountPendingAirdrop) com.hederahashgraph.api.proto.java.AccountPendingAirdropOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.hederahashgraph.api.proto.java.AccountPendingAirdropOuterClass.internal_static_proto_AccountPendingAirdrop_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.hederahashgraph.api.proto.java.AccountPendingAirdropOuterClass.internal_static_proto_AccountPendingAirdrop_fieldAccessorTable .ensureFieldAccessorsInitialized( com.hederahashgraph.api.proto.java.AccountPendingAirdrop.class, com.hederahashgraph.api.proto.java.AccountPendingAirdrop.Builder.class); } // Construct using com.hederahashgraph.api.proto.java.AccountPendingAirdrop.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (pendingAirdropValueBuilder_ == null) { pendingAirdropValue_ = null; } else { pendingAirdropValue_ = null; pendingAirdropValueBuilder_ = null; } if (previousAirdropBuilder_ == null) { previousAirdrop_ = null; } else { previousAirdrop_ = null; previousAirdropBuilder_ = null; } if (nextAirdropBuilder_ == null) { nextAirdrop_ = null; } else { nextAirdrop_ = null; nextAirdropBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.hederahashgraph.api.proto.java.AccountPendingAirdropOuterClass.internal_static_proto_AccountPendingAirdrop_descriptor; } @java.lang.Override public com.hederahashgraph.api.proto.java.AccountPendingAirdrop getDefaultInstanceForType() { return com.hederahashgraph.api.proto.java.AccountPendingAirdrop.getDefaultInstance(); } @java.lang.Override public com.hederahashgraph.api.proto.java.AccountPendingAirdrop build() { com.hederahashgraph.api.proto.java.AccountPendingAirdrop result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.hederahashgraph.api.proto.java.AccountPendingAirdrop buildPartial() { com.hederahashgraph.api.proto.java.AccountPendingAirdrop result = new com.hederahashgraph.api.proto.java.AccountPendingAirdrop(this); if (pendingAirdropValueBuilder_ == null) { result.pendingAirdropValue_ = pendingAirdropValue_; } else { result.pendingAirdropValue_ = pendingAirdropValueBuilder_.build(); } if (previousAirdropBuilder_ == null) { result.previousAirdrop_ = previousAirdrop_; } else { result.previousAirdrop_ = previousAirdropBuilder_.build(); } if (nextAirdropBuilder_ == null) { result.nextAirdrop_ = nextAirdrop_; } else { result.nextAirdrop_ = nextAirdropBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.hederahashgraph.api.proto.java.AccountPendingAirdrop) { return mergeFrom((com.hederahashgraph.api.proto.java.AccountPendingAirdrop)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.hederahashgraph.api.proto.java.AccountPendingAirdrop other) { if (other == com.hederahashgraph.api.proto.java.AccountPendingAirdrop.getDefaultInstance()) return this; if (other.hasPendingAirdropValue()) { mergePendingAirdropValue(other.getPendingAirdropValue()); } if (other.hasPreviousAirdrop()) { mergePreviousAirdrop(other.getPreviousAirdrop()); } if (other.hasNextAirdrop()) { mergeNextAirdrop(other.getNextAirdrop()); } this.mergeUnknownFields(other.unknownFields); 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 { com.hederahashgraph.api.proto.java.AccountPendingAirdrop parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.hederahashgraph.api.proto.java.AccountPendingAirdrop) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.hederahashgraph.api.proto.java.PendingAirdropValue pendingAirdropValue_; private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.PendingAirdropValue, com.hederahashgraph.api.proto.java.PendingAirdropValue.Builder, com.hederahashgraph.api.proto.java.PendingAirdropValueOrBuilder> pendingAirdropValueBuilder_; /** *
     **
     * The value of the current airdrop id. SHALL NOT be set for non fungible tokens
     * 
* * .proto.PendingAirdropValue pending_airdrop_value = 1; * @return Whether the pendingAirdropValue field is set. */ public boolean hasPendingAirdropValue() { return pendingAirdropValueBuilder_ != null || pendingAirdropValue_ != null; } /** *
     **
     * The value of the current airdrop id. SHALL NOT be set for non fungible tokens
     * 
* * .proto.PendingAirdropValue pending_airdrop_value = 1; * @return The pendingAirdropValue. */ public com.hederahashgraph.api.proto.java.PendingAirdropValue getPendingAirdropValue() { if (pendingAirdropValueBuilder_ == null) { return pendingAirdropValue_ == null ? com.hederahashgraph.api.proto.java.PendingAirdropValue.getDefaultInstance() : pendingAirdropValue_; } else { return pendingAirdropValueBuilder_.getMessage(); } } /** *
     **
     * The value of the current airdrop id. SHALL NOT be set for non fungible tokens
     * 
* * .proto.PendingAirdropValue pending_airdrop_value = 1; */ public Builder setPendingAirdropValue(com.hederahashgraph.api.proto.java.PendingAirdropValue value) { if (pendingAirdropValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } pendingAirdropValue_ = value; onChanged(); } else { pendingAirdropValueBuilder_.setMessage(value); } return this; } /** *
     **
     * The value of the current airdrop id. SHALL NOT be set for non fungible tokens
     * 
* * .proto.PendingAirdropValue pending_airdrop_value = 1; */ public Builder setPendingAirdropValue( com.hederahashgraph.api.proto.java.PendingAirdropValue.Builder builderForValue) { if (pendingAirdropValueBuilder_ == null) { pendingAirdropValue_ = builderForValue.build(); onChanged(); } else { pendingAirdropValueBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     **
     * The value of the current airdrop id. SHALL NOT be set for non fungible tokens
     * 
* * .proto.PendingAirdropValue pending_airdrop_value = 1; */ public Builder mergePendingAirdropValue(com.hederahashgraph.api.proto.java.PendingAirdropValue value) { if (pendingAirdropValueBuilder_ == null) { if (pendingAirdropValue_ != null) { pendingAirdropValue_ = com.hederahashgraph.api.proto.java.PendingAirdropValue.newBuilder(pendingAirdropValue_).mergeFrom(value).buildPartial(); } else { pendingAirdropValue_ = value; } onChanged(); } else { pendingAirdropValueBuilder_.mergeFrom(value); } return this; } /** *
     **
     * The value of the current airdrop id. SHALL NOT be set for non fungible tokens
     * 
* * .proto.PendingAirdropValue pending_airdrop_value = 1; */ public Builder clearPendingAirdropValue() { if (pendingAirdropValueBuilder_ == null) { pendingAirdropValue_ = null; onChanged(); } else { pendingAirdropValue_ = null; pendingAirdropValueBuilder_ = null; } return this; } /** *
     **
     * The value of the current airdrop id. SHALL NOT be set for non fungible tokens
     * 
* * .proto.PendingAirdropValue pending_airdrop_value = 1; */ public com.hederahashgraph.api.proto.java.PendingAirdropValue.Builder getPendingAirdropValueBuilder() { onChanged(); return getPendingAirdropValueFieldBuilder().getBuilder(); } /** *
     **
     * The value of the current airdrop id. SHALL NOT be set for non fungible tokens
     * 
* * .proto.PendingAirdropValue pending_airdrop_value = 1; */ public com.hederahashgraph.api.proto.java.PendingAirdropValueOrBuilder getPendingAirdropValueOrBuilder() { if (pendingAirdropValueBuilder_ != null) { return pendingAirdropValueBuilder_.getMessageOrBuilder(); } else { return pendingAirdropValue_ == null ? com.hederahashgraph.api.proto.java.PendingAirdropValue.getDefaultInstance() : pendingAirdropValue_; } } /** *
     **
     * The value of the current airdrop id. SHALL NOT be set for non fungible tokens
     * 
* * .proto.PendingAirdropValue pending_airdrop_value = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.PendingAirdropValue, com.hederahashgraph.api.proto.java.PendingAirdropValue.Builder, com.hederahashgraph.api.proto.java.PendingAirdropValueOrBuilder> getPendingAirdropValueFieldBuilder() { if (pendingAirdropValueBuilder_ == null) { pendingAirdropValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.PendingAirdropValue, com.hederahashgraph.api.proto.java.PendingAirdropValue.Builder, com.hederahashgraph.api.proto.java.PendingAirdropValueOrBuilder>( getPendingAirdropValue(), getParentForChildren(), isClean()); pendingAirdropValue_ = null; } return pendingAirdropValueBuilder_; } private com.hederahashgraph.api.proto.java.PendingAirdropId previousAirdrop_; private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.PendingAirdropId, com.hederahashgraph.api.proto.java.PendingAirdropId.Builder, com.hederahashgraph.api.proto.java.PendingAirdropIdOrBuilder> previousAirdropBuilder_; /** *
     **
     * A pending airdrop identifier.<br/>
     * This identifies the specific pending airdrop that precedes this position
     * within the doubly linked list of pending airdrops "owed" by the sending
     * account associated with this account airdrop "list".
     * <p>
     * This SHALL match `pending_airdrop_id` if this is the only entry
     * in the "list".
     * 
* * .proto.PendingAirdropId previous_airdrop = 2; * @return Whether the previousAirdrop field is set. */ public boolean hasPreviousAirdrop() { return previousAirdropBuilder_ != null || previousAirdrop_ != null; } /** *
     **
     * A pending airdrop identifier.<br/>
     * This identifies the specific pending airdrop that precedes this position
     * within the doubly linked list of pending airdrops "owed" by the sending
     * account associated with this account airdrop "list".
     * <p>
     * This SHALL match `pending_airdrop_id` if this is the only entry
     * in the "list".
     * 
* * .proto.PendingAirdropId previous_airdrop = 2; * @return The previousAirdrop. */ public com.hederahashgraph.api.proto.java.PendingAirdropId getPreviousAirdrop() { if (previousAirdropBuilder_ == null) { return previousAirdrop_ == null ? com.hederahashgraph.api.proto.java.PendingAirdropId.getDefaultInstance() : previousAirdrop_; } else { return previousAirdropBuilder_.getMessage(); } } /** *
     **
     * A pending airdrop identifier.<br/>
     * This identifies the specific pending airdrop that precedes this position
     * within the doubly linked list of pending airdrops "owed" by the sending
     * account associated with this account airdrop "list".
     * <p>
     * This SHALL match `pending_airdrop_id` if this is the only entry
     * in the "list".
     * 
* * .proto.PendingAirdropId previous_airdrop = 2; */ public Builder setPreviousAirdrop(com.hederahashgraph.api.proto.java.PendingAirdropId value) { if (previousAirdropBuilder_ == null) { if (value == null) { throw new NullPointerException(); } previousAirdrop_ = value; onChanged(); } else { previousAirdropBuilder_.setMessage(value); } return this; } /** *
     **
     * A pending airdrop identifier.<br/>
     * This identifies the specific pending airdrop that precedes this position
     * within the doubly linked list of pending airdrops "owed" by the sending
     * account associated with this account airdrop "list".
     * <p>
     * This SHALL match `pending_airdrop_id` if this is the only entry
     * in the "list".
     * 
* * .proto.PendingAirdropId previous_airdrop = 2; */ public Builder setPreviousAirdrop( com.hederahashgraph.api.proto.java.PendingAirdropId.Builder builderForValue) { if (previousAirdropBuilder_ == null) { previousAirdrop_ = builderForValue.build(); onChanged(); } else { previousAirdropBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     **
     * A pending airdrop identifier.<br/>
     * This identifies the specific pending airdrop that precedes this position
     * within the doubly linked list of pending airdrops "owed" by the sending
     * account associated with this account airdrop "list".
     * <p>
     * This SHALL match `pending_airdrop_id` if this is the only entry
     * in the "list".
     * 
* * .proto.PendingAirdropId previous_airdrop = 2; */ public Builder mergePreviousAirdrop(com.hederahashgraph.api.proto.java.PendingAirdropId value) { if (previousAirdropBuilder_ == null) { if (previousAirdrop_ != null) { previousAirdrop_ = com.hederahashgraph.api.proto.java.PendingAirdropId.newBuilder(previousAirdrop_).mergeFrom(value).buildPartial(); } else { previousAirdrop_ = value; } onChanged(); } else { previousAirdropBuilder_.mergeFrom(value); } return this; } /** *
     **
     * A pending airdrop identifier.<br/>
     * This identifies the specific pending airdrop that precedes this position
     * within the doubly linked list of pending airdrops "owed" by the sending
     * account associated with this account airdrop "list".
     * <p>
     * This SHALL match `pending_airdrop_id` if this is the only entry
     * in the "list".
     * 
* * .proto.PendingAirdropId previous_airdrop = 2; */ public Builder clearPreviousAirdrop() { if (previousAirdropBuilder_ == null) { previousAirdrop_ = null; onChanged(); } else { previousAirdrop_ = null; previousAirdropBuilder_ = null; } return this; } /** *
     **
     * A pending airdrop identifier.<br/>
     * This identifies the specific pending airdrop that precedes this position
     * within the doubly linked list of pending airdrops "owed" by the sending
     * account associated with this account airdrop "list".
     * <p>
     * This SHALL match `pending_airdrop_id` if this is the only entry
     * in the "list".
     * 
* * .proto.PendingAirdropId previous_airdrop = 2; */ public com.hederahashgraph.api.proto.java.PendingAirdropId.Builder getPreviousAirdropBuilder() { onChanged(); return getPreviousAirdropFieldBuilder().getBuilder(); } /** *
     **
     * A pending airdrop identifier.<br/>
     * This identifies the specific pending airdrop that precedes this position
     * within the doubly linked list of pending airdrops "owed" by the sending
     * account associated with this account airdrop "list".
     * <p>
     * This SHALL match `pending_airdrop_id` if this is the only entry
     * in the "list".
     * 
* * .proto.PendingAirdropId previous_airdrop = 2; */ public com.hederahashgraph.api.proto.java.PendingAirdropIdOrBuilder getPreviousAirdropOrBuilder() { if (previousAirdropBuilder_ != null) { return previousAirdropBuilder_.getMessageOrBuilder(); } else { return previousAirdrop_ == null ? com.hederahashgraph.api.proto.java.PendingAirdropId.getDefaultInstance() : previousAirdrop_; } } /** *
     **
     * A pending airdrop identifier.<br/>
     * This identifies the specific pending airdrop that precedes this position
     * within the doubly linked list of pending airdrops "owed" by the sending
     * account associated with this account airdrop "list".
     * <p>
     * This SHALL match `pending_airdrop_id` if this is the only entry
     * in the "list".
     * 
* * .proto.PendingAirdropId previous_airdrop = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.PendingAirdropId, com.hederahashgraph.api.proto.java.PendingAirdropId.Builder, com.hederahashgraph.api.proto.java.PendingAirdropIdOrBuilder> getPreviousAirdropFieldBuilder() { if (previousAirdropBuilder_ == null) { previousAirdropBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.PendingAirdropId, com.hederahashgraph.api.proto.java.PendingAirdropId.Builder, com.hederahashgraph.api.proto.java.PendingAirdropIdOrBuilder>( getPreviousAirdrop(), getParentForChildren(), isClean()); previousAirdrop_ = null; } return previousAirdropBuilder_; } private com.hederahashgraph.api.proto.java.PendingAirdropId nextAirdrop_; private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.PendingAirdropId, com.hederahashgraph.api.proto.java.PendingAirdropId.Builder, com.hederahashgraph.api.proto.java.PendingAirdropIdOrBuilder> nextAirdropBuilder_; /** *
     **
     * A pending airdrop identifier.<br/>
     * This identifies the specific pending airdrop that follows this position
     * within the doubly linked list of pending airdrops "owed" by the sending
     * account associated with this account airdrop "list".
     * <p>
     * This SHALL match `pending_airdrop_id` if this is the only entry
     * in the "list".
     * 
* * .proto.PendingAirdropId next_airdrop = 3; * @return Whether the nextAirdrop field is set. */ public boolean hasNextAirdrop() { return nextAirdropBuilder_ != null || nextAirdrop_ != null; } /** *
     **
     * A pending airdrop identifier.<br/>
     * This identifies the specific pending airdrop that follows this position
     * within the doubly linked list of pending airdrops "owed" by the sending
     * account associated with this account airdrop "list".
     * <p>
     * This SHALL match `pending_airdrop_id` if this is the only entry
     * in the "list".
     * 
* * .proto.PendingAirdropId next_airdrop = 3; * @return The nextAirdrop. */ public com.hederahashgraph.api.proto.java.PendingAirdropId getNextAirdrop() { if (nextAirdropBuilder_ == null) { return nextAirdrop_ == null ? com.hederahashgraph.api.proto.java.PendingAirdropId.getDefaultInstance() : nextAirdrop_; } else { return nextAirdropBuilder_.getMessage(); } } /** *
     **
     * A pending airdrop identifier.<br/>
     * This identifies the specific pending airdrop that follows this position
     * within the doubly linked list of pending airdrops "owed" by the sending
     * account associated with this account airdrop "list".
     * <p>
     * This SHALL match `pending_airdrop_id` if this is the only entry
     * in the "list".
     * 
* * .proto.PendingAirdropId next_airdrop = 3; */ public Builder setNextAirdrop(com.hederahashgraph.api.proto.java.PendingAirdropId value) { if (nextAirdropBuilder_ == null) { if (value == null) { throw new NullPointerException(); } nextAirdrop_ = value; onChanged(); } else { nextAirdropBuilder_.setMessage(value); } return this; } /** *
     **
     * A pending airdrop identifier.<br/>
     * This identifies the specific pending airdrop that follows this position
     * within the doubly linked list of pending airdrops "owed" by the sending
     * account associated with this account airdrop "list".
     * <p>
     * This SHALL match `pending_airdrop_id` if this is the only entry
     * in the "list".
     * 
* * .proto.PendingAirdropId next_airdrop = 3; */ public Builder setNextAirdrop( com.hederahashgraph.api.proto.java.PendingAirdropId.Builder builderForValue) { if (nextAirdropBuilder_ == null) { nextAirdrop_ = builderForValue.build(); onChanged(); } else { nextAirdropBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     **
     * A pending airdrop identifier.<br/>
     * This identifies the specific pending airdrop that follows this position
     * within the doubly linked list of pending airdrops "owed" by the sending
     * account associated with this account airdrop "list".
     * <p>
     * This SHALL match `pending_airdrop_id` if this is the only entry
     * in the "list".
     * 
* * .proto.PendingAirdropId next_airdrop = 3; */ public Builder mergeNextAirdrop(com.hederahashgraph.api.proto.java.PendingAirdropId value) { if (nextAirdropBuilder_ == null) { if (nextAirdrop_ != null) { nextAirdrop_ = com.hederahashgraph.api.proto.java.PendingAirdropId.newBuilder(nextAirdrop_).mergeFrom(value).buildPartial(); } else { nextAirdrop_ = value; } onChanged(); } else { nextAirdropBuilder_.mergeFrom(value); } return this; } /** *
     **
     * A pending airdrop identifier.<br/>
     * This identifies the specific pending airdrop that follows this position
     * within the doubly linked list of pending airdrops "owed" by the sending
     * account associated with this account airdrop "list".
     * <p>
     * This SHALL match `pending_airdrop_id` if this is the only entry
     * in the "list".
     * 
* * .proto.PendingAirdropId next_airdrop = 3; */ public Builder clearNextAirdrop() { if (nextAirdropBuilder_ == null) { nextAirdrop_ = null; onChanged(); } else { nextAirdrop_ = null; nextAirdropBuilder_ = null; } return this; } /** *
     **
     * A pending airdrop identifier.<br/>
     * This identifies the specific pending airdrop that follows this position
     * within the doubly linked list of pending airdrops "owed" by the sending
     * account associated with this account airdrop "list".
     * <p>
     * This SHALL match `pending_airdrop_id` if this is the only entry
     * in the "list".
     * 
* * .proto.PendingAirdropId next_airdrop = 3; */ public com.hederahashgraph.api.proto.java.PendingAirdropId.Builder getNextAirdropBuilder() { onChanged(); return getNextAirdropFieldBuilder().getBuilder(); } /** *
     **
     * A pending airdrop identifier.<br/>
     * This identifies the specific pending airdrop that follows this position
     * within the doubly linked list of pending airdrops "owed" by the sending
     * account associated with this account airdrop "list".
     * <p>
     * This SHALL match `pending_airdrop_id` if this is the only entry
     * in the "list".
     * 
* * .proto.PendingAirdropId next_airdrop = 3; */ public com.hederahashgraph.api.proto.java.PendingAirdropIdOrBuilder getNextAirdropOrBuilder() { if (nextAirdropBuilder_ != null) { return nextAirdropBuilder_.getMessageOrBuilder(); } else { return nextAirdrop_ == null ? com.hederahashgraph.api.proto.java.PendingAirdropId.getDefaultInstance() : nextAirdrop_; } } /** *
     **
     * A pending airdrop identifier.<br/>
     * This identifies the specific pending airdrop that follows this position
     * within the doubly linked list of pending airdrops "owed" by the sending
     * account associated with this account airdrop "list".
     * <p>
     * This SHALL match `pending_airdrop_id` if this is the only entry
     * in the "list".
     * 
* * .proto.PendingAirdropId next_airdrop = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.PendingAirdropId, com.hederahashgraph.api.proto.java.PendingAirdropId.Builder, com.hederahashgraph.api.proto.java.PendingAirdropIdOrBuilder> getNextAirdropFieldBuilder() { if (nextAirdropBuilder_ == null) { nextAirdropBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.PendingAirdropId, com.hederahashgraph.api.proto.java.PendingAirdropId.Builder, com.hederahashgraph.api.proto.java.PendingAirdropIdOrBuilder>( getNextAirdrop(), getParentForChildren(), isClean()); nextAirdrop_ = null; } return nextAirdropBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:proto.AccountPendingAirdrop) } // @@protoc_insertion_point(class_scope:proto.AccountPendingAirdrop) private static final com.hederahashgraph.api.proto.java.AccountPendingAirdrop DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.hederahashgraph.api.proto.java.AccountPendingAirdrop(); } public static com.hederahashgraph.api.proto.java.AccountPendingAirdrop getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AccountPendingAirdrop parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AccountPendingAirdrop(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.hederahashgraph.api.proto.java.AccountPendingAirdrop getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy