Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
**
* A unique, composite, identifier for a pending airdrop.
* This field is REQUIRED.
*
*
* .proto.PendingAirdropId pending_airdrop_id = 1;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.PendingAirdropIdOrBuilder getPendingAirdropIdOrBuilder() {
return getPendingAirdropId();
}
public static final int PENDING_AIRDROP_VALUE_FIELD_NUMBER = 2;
private com.hederahashgraph.api.proto.java.PendingAirdropValue pendingAirdropValue_;
/**
*
**
* A single pending airdrop amount.
* If the pending airdrop is for a fungible/common token this field is REQUIRED
* and SHALL be the current amount of tokens offered.
* If the pending airdrop is for a non-fungible/unique token, this field SHALL NOT
* be set.
*
*
* .proto.PendingAirdropValue pending_airdrop_value = 2;
* @return Whether the pendingAirdropValue field is set.
*/
@java.lang.Override
public boolean hasPendingAirdropValue() {
return pendingAirdropValue_ != null;
}
/**
*
**
* A single pending airdrop amount.
* If the pending airdrop is for a fungible/common token this field is REQUIRED
* and SHALL be the current amount of tokens offered.
* If the pending airdrop is for a non-fungible/unique token, this field SHALL NOT
* be set.
*
**
* A single pending airdrop amount.
* If the pending airdrop is for a fungible/common token this field is REQUIRED
* and SHALL be the current amount of tokens offered.
* If the pending airdrop is for a non-fungible/unique token, this field SHALL NOT
* be set.
*
*
* .proto.PendingAirdropValue pending_airdrop_value = 2;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.PendingAirdropValueOrBuilder getPendingAirdropValueOrBuilder() {
return getPendingAirdropValue();
}
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 (pendingAirdropId_ != null) {
output.writeMessage(1, getPendingAirdropId());
}
if (pendingAirdropValue_ != null) {
output.writeMessage(2, getPendingAirdropValue());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (pendingAirdropId_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getPendingAirdropId());
}
if (pendingAirdropValue_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getPendingAirdropValue());
}
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.PendingAirdropRecord)) {
return super.equals(obj);
}
com.hederahashgraph.api.proto.java.PendingAirdropRecord other = (com.hederahashgraph.api.proto.java.PendingAirdropRecord) obj;
if (hasPendingAirdropId() != other.hasPendingAirdropId()) return false;
if (hasPendingAirdropId()) {
if (!getPendingAirdropId()
.equals(other.getPendingAirdropId())) return false;
}
if (hasPendingAirdropValue() != other.hasPendingAirdropValue()) return false;
if (hasPendingAirdropValue()) {
if (!getPendingAirdropValue()
.equals(other.getPendingAirdropValue())) 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 (hasPendingAirdropId()) {
hash = (37 * hash) + PENDING_AIRDROP_ID_FIELD_NUMBER;
hash = (53 * hash) + getPendingAirdropId().hashCode();
}
if (hasPendingAirdropValue()) {
hash = (37 * hash) + PENDING_AIRDROP_VALUE_FIELD_NUMBER;
hash = (53 * hash) + getPendingAirdropValue().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.hederahashgraph.api.proto.java.PendingAirdropRecord parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hederahashgraph.api.proto.java.PendingAirdropRecord 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.PendingAirdropRecord parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hederahashgraph.api.proto.java.PendingAirdropRecord 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.PendingAirdropRecord parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hederahashgraph.api.proto.java.PendingAirdropRecord 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.PendingAirdropRecord parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.hederahashgraph.api.proto.java.PendingAirdropRecord 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.PendingAirdropRecord parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.hederahashgraph.api.proto.java.PendingAirdropRecord 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.PendingAirdropRecord 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.PendingAirdropRecord 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.PendingAirdropRecord 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 record of a new pending airdrop.
*
*
* Protobuf type {@code proto.PendingAirdropRecord}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:proto.PendingAirdropRecord)
com.hederahashgraph.api.proto.java.PendingAirdropRecordOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.hederahashgraph.api.proto.java.TransactionRecordOuterClass.internal_static_proto_PendingAirdropRecord_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.hederahashgraph.api.proto.java.TransactionRecordOuterClass.internal_static_proto_PendingAirdropRecord_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.hederahashgraph.api.proto.java.PendingAirdropRecord.class, com.hederahashgraph.api.proto.java.PendingAirdropRecord.Builder.class);
}
// Construct using com.hederahashgraph.api.proto.java.PendingAirdropRecord.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 (pendingAirdropIdBuilder_ == null) {
pendingAirdropId_ = null;
} else {
pendingAirdropId_ = null;
pendingAirdropIdBuilder_ = null;
}
if (pendingAirdropValueBuilder_ == null) {
pendingAirdropValue_ = null;
} else {
pendingAirdropValue_ = null;
pendingAirdropValueBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.hederahashgraph.api.proto.java.TransactionRecordOuterClass.internal_static_proto_PendingAirdropRecord_descriptor;
}
@java.lang.Override
public com.hederahashgraph.api.proto.java.PendingAirdropRecord getDefaultInstanceForType() {
return com.hederahashgraph.api.proto.java.PendingAirdropRecord.getDefaultInstance();
}
@java.lang.Override
public com.hederahashgraph.api.proto.java.PendingAirdropRecord build() {
com.hederahashgraph.api.proto.java.PendingAirdropRecord result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.hederahashgraph.api.proto.java.PendingAirdropRecord buildPartial() {
com.hederahashgraph.api.proto.java.PendingAirdropRecord result = new com.hederahashgraph.api.proto.java.PendingAirdropRecord(this);
if (pendingAirdropIdBuilder_ == null) {
result.pendingAirdropId_ = pendingAirdropId_;
} else {
result.pendingAirdropId_ = pendingAirdropIdBuilder_.build();
}
if (pendingAirdropValueBuilder_ == null) {
result.pendingAirdropValue_ = pendingAirdropValue_;
} else {
result.pendingAirdropValue_ = pendingAirdropValueBuilder_.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.PendingAirdropRecord) {
return mergeFrom((com.hederahashgraph.api.proto.java.PendingAirdropRecord)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.hederahashgraph.api.proto.java.PendingAirdropRecord other) {
if (other == com.hederahashgraph.api.proto.java.PendingAirdropRecord.getDefaultInstance()) return this;
if (other.hasPendingAirdropId()) {
mergePendingAirdropId(other.getPendingAirdropId());
}
if (other.hasPendingAirdropValue()) {
mergePendingAirdropValue(other.getPendingAirdropValue());
}
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.PendingAirdropRecord parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.hederahashgraph.api.proto.java.PendingAirdropRecord) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.hederahashgraph.api.proto.java.PendingAirdropId pendingAirdropId_;
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.PendingAirdropId, com.hederahashgraph.api.proto.java.PendingAirdropId.Builder, com.hederahashgraph.api.proto.java.PendingAirdropIdOrBuilder> pendingAirdropIdBuilder_;
/**
*
**
* A unique, composite, identifier for a pending airdrop.
* This field is REQUIRED.
*
*
* .proto.PendingAirdropId pending_airdrop_id = 1;
* @return Whether the pendingAirdropId field is set.
*/
public boolean hasPendingAirdropId() {
return pendingAirdropIdBuilder_ != null || pendingAirdropId_ != null;
}
/**
*
**
* A unique, composite, identifier for a pending airdrop.
* This field is REQUIRED.
*
**
* A single pending airdrop amount.
* If the pending airdrop is for a fungible/common token this field is REQUIRED
* and SHALL be the current amount of tokens offered.
* If the pending airdrop is for a non-fungible/unique token, this field SHALL NOT
* be set.
*
*
* .proto.PendingAirdropValue pending_airdrop_value = 2;
* @return Whether the pendingAirdropValue field is set.
*/
public boolean hasPendingAirdropValue() {
return pendingAirdropValueBuilder_ != null || pendingAirdropValue_ != null;
}
/**
*
**
* A single pending airdrop amount.
* If the pending airdrop is for a fungible/common token this field is REQUIRED
* and SHALL be the current amount of tokens offered.
* If the pending airdrop is for a non-fungible/unique token, this field SHALL NOT
* be set.
*
**
* A single pending airdrop amount.
* If the pending airdrop is for a fungible/common token this field is REQUIRED
* and SHALL be the current amount of tokens offered.
* If the pending airdrop is for a non-fungible/unique token, this field SHALL NOT
* be set.
*
*
* .proto.PendingAirdropValue pending_airdrop_value = 2;
*/
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;
}
/**
*
**
* A single pending airdrop amount.
* If the pending airdrop is for a fungible/common token this field is REQUIRED
* and SHALL be the current amount of tokens offered.
* If the pending airdrop is for a non-fungible/unique token, this field SHALL NOT
* be set.
*
**
* A single pending airdrop amount.
* If the pending airdrop is for a fungible/common token this field is REQUIRED
* and SHALL be the current amount of tokens offered.
* If the pending airdrop is for a non-fungible/unique token, this field SHALL NOT
* be set.
*
**
* A single pending airdrop amount.
* If the pending airdrop is for a fungible/common token this field is REQUIRED
* and SHALL be the current amount of tokens offered.
* If the pending airdrop is for a non-fungible/unique token, this field SHALL NOT
* be set.
*
**
* A single pending airdrop amount.
* If the pending airdrop is for a fungible/common token this field is REQUIRED
* and SHALL be the current amount of tokens offered.
* If the pending airdrop is for a non-fungible/unique token, this field SHALL NOT
* be set.
*
**
* A single pending airdrop amount.
* If the pending airdrop is for a fungible/common token this field is REQUIRED
* and SHALL be the current amount of tokens offered.
* If the pending airdrop is for a non-fungible/unique token, this field SHALL NOT
* be set.
*
**
* A single pending airdrop amount.
* If the pending airdrop is for a fungible/common token this field is REQUIRED
* and SHALL be the current amount of tokens offered.
* If the pending airdrop is for a non-fungible/unique token, this field SHALL NOT
* be set.
*
*
* .proto.PendingAirdropValue pending_airdrop_value = 2;
*/
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_;
}
@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.PendingAirdropRecord)
}
// @@protoc_insertion_point(class_scope:proto.PendingAirdropRecord)
private static final com.hederahashgraph.api.proto.java.PendingAirdropRecord DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.hederahashgraph.api.proto.java.PendingAirdropRecord();
}
public static com.hederahashgraph.api.proto.java.PendingAirdropRecord getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PendingAirdropRecord parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PendingAirdropRecord(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.PendingAirdropRecord getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}