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

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

There is a newer version: 0.57.1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: basic_types.proto

package com.hederahashgraph.api.proto.java;

/**
 * 
 **
 * This contains two Fee Schedules with expiry timestamp.
 * 
* * Protobuf type {@code proto.CurrentAndNextFeeSchedule} */ public final class CurrentAndNextFeeSchedule extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:proto.CurrentAndNextFeeSchedule) CurrentAndNextFeeScheduleOrBuilder { private static final long serialVersionUID = 0L; // Use CurrentAndNextFeeSchedule.newBuilder() to construct. private CurrentAndNextFeeSchedule(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CurrentAndNextFeeSchedule() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CurrentAndNextFeeSchedule(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CurrentAndNextFeeSchedule( 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.FeeSchedule.Builder subBuilder = null; if (currentFeeSchedule_ != null) { subBuilder = currentFeeSchedule_.toBuilder(); } currentFeeSchedule_ = input.readMessage(com.hederahashgraph.api.proto.java.FeeSchedule.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(currentFeeSchedule_); currentFeeSchedule_ = subBuilder.buildPartial(); } break; } case 18: { com.hederahashgraph.api.proto.java.FeeSchedule.Builder subBuilder = null; if (nextFeeSchedule_ != null) { subBuilder = nextFeeSchedule_.toBuilder(); } nextFeeSchedule_ = input.readMessage(com.hederahashgraph.api.proto.java.FeeSchedule.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(nextFeeSchedule_); nextFeeSchedule_ = 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.BasicTypes.internal_static_proto_CurrentAndNextFeeSchedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.hederahashgraph.api.proto.java.BasicTypes.internal_static_proto_CurrentAndNextFeeSchedule_fieldAccessorTable .ensureFieldAccessorsInitialized( com.hederahashgraph.api.proto.java.CurrentAndNextFeeSchedule.class, com.hederahashgraph.api.proto.java.CurrentAndNextFeeSchedule.Builder.class); } public static final int CURRENTFEESCHEDULE_FIELD_NUMBER = 1; private com.hederahashgraph.api.proto.java.FeeSchedule currentFeeSchedule_; /** *
   **
   * Contains current Fee Schedule
   * 
* * .proto.FeeSchedule currentFeeSchedule = 1; * @return Whether the currentFeeSchedule field is set. */ @java.lang.Override public boolean hasCurrentFeeSchedule() { return currentFeeSchedule_ != null; } /** *
   **
   * Contains current Fee Schedule
   * 
* * .proto.FeeSchedule currentFeeSchedule = 1; * @return The currentFeeSchedule. */ @java.lang.Override public com.hederahashgraph.api.proto.java.FeeSchedule getCurrentFeeSchedule() { return currentFeeSchedule_ == null ? com.hederahashgraph.api.proto.java.FeeSchedule.getDefaultInstance() : currentFeeSchedule_; } /** *
   **
   * Contains current Fee Schedule
   * 
* * .proto.FeeSchedule currentFeeSchedule = 1; */ @java.lang.Override public com.hederahashgraph.api.proto.java.FeeScheduleOrBuilder getCurrentFeeScheduleOrBuilder() { return getCurrentFeeSchedule(); } public static final int NEXTFEESCHEDULE_FIELD_NUMBER = 2; private com.hederahashgraph.api.proto.java.FeeSchedule nextFeeSchedule_; /** *
   **
   * Contains next Fee Schedule
   * 
* * .proto.FeeSchedule nextFeeSchedule = 2; * @return Whether the nextFeeSchedule field is set. */ @java.lang.Override public boolean hasNextFeeSchedule() { return nextFeeSchedule_ != null; } /** *
   **
   * Contains next Fee Schedule
   * 
* * .proto.FeeSchedule nextFeeSchedule = 2; * @return The nextFeeSchedule. */ @java.lang.Override public com.hederahashgraph.api.proto.java.FeeSchedule getNextFeeSchedule() { return nextFeeSchedule_ == null ? com.hederahashgraph.api.proto.java.FeeSchedule.getDefaultInstance() : nextFeeSchedule_; } /** *
   **
   * Contains next Fee Schedule
   * 
* * .proto.FeeSchedule nextFeeSchedule = 2; */ @java.lang.Override public com.hederahashgraph.api.proto.java.FeeScheduleOrBuilder getNextFeeScheduleOrBuilder() { return getNextFeeSchedule(); } 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 (currentFeeSchedule_ != null) { output.writeMessage(1, getCurrentFeeSchedule()); } if (nextFeeSchedule_ != null) { output.writeMessage(2, getNextFeeSchedule()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (currentFeeSchedule_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getCurrentFeeSchedule()); } if (nextFeeSchedule_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getNextFeeSchedule()); } 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.CurrentAndNextFeeSchedule)) { return super.equals(obj); } com.hederahashgraph.api.proto.java.CurrentAndNextFeeSchedule other = (com.hederahashgraph.api.proto.java.CurrentAndNextFeeSchedule) obj; if (hasCurrentFeeSchedule() != other.hasCurrentFeeSchedule()) return false; if (hasCurrentFeeSchedule()) { if (!getCurrentFeeSchedule() .equals(other.getCurrentFeeSchedule())) return false; } if (hasNextFeeSchedule() != other.hasNextFeeSchedule()) return false; if (hasNextFeeSchedule()) { if (!getNextFeeSchedule() .equals(other.getNextFeeSchedule())) 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 (hasCurrentFeeSchedule()) { hash = (37 * hash) + CURRENTFEESCHEDULE_FIELD_NUMBER; hash = (53 * hash) + getCurrentFeeSchedule().hashCode(); } if (hasNextFeeSchedule()) { hash = (37 * hash) + NEXTFEESCHEDULE_FIELD_NUMBER; hash = (53 * hash) + getNextFeeSchedule().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.hederahashgraph.api.proto.java.CurrentAndNextFeeSchedule parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hederahashgraph.api.proto.java.CurrentAndNextFeeSchedule 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.CurrentAndNextFeeSchedule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hederahashgraph.api.proto.java.CurrentAndNextFeeSchedule 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.CurrentAndNextFeeSchedule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hederahashgraph.api.proto.java.CurrentAndNextFeeSchedule 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.CurrentAndNextFeeSchedule parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.hederahashgraph.api.proto.java.CurrentAndNextFeeSchedule 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.CurrentAndNextFeeSchedule parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.hederahashgraph.api.proto.java.CurrentAndNextFeeSchedule 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.CurrentAndNextFeeSchedule 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.CurrentAndNextFeeSchedule 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.CurrentAndNextFeeSchedule 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; } /** *
   **
   * This contains two Fee Schedules with expiry timestamp.
   * 
* * Protobuf type {@code proto.CurrentAndNextFeeSchedule} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:proto.CurrentAndNextFeeSchedule) com.hederahashgraph.api.proto.java.CurrentAndNextFeeScheduleOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.hederahashgraph.api.proto.java.BasicTypes.internal_static_proto_CurrentAndNextFeeSchedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.hederahashgraph.api.proto.java.BasicTypes.internal_static_proto_CurrentAndNextFeeSchedule_fieldAccessorTable .ensureFieldAccessorsInitialized( com.hederahashgraph.api.proto.java.CurrentAndNextFeeSchedule.class, com.hederahashgraph.api.proto.java.CurrentAndNextFeeSchedule.Builder.class); } // Construct using com.hederahashgraph.api.proto.java.CurrentAndNextFeeSchedule.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 (currentFeeScheduleBuilder_ == null) { currentFeeSchedule_ = null; } else { currentFeeSchedule_ = null; currentFeeScheduleBuilder_ = null; } if (nextFeeScheduleBuilder_ == null) { nextFeeSchedule_ = null; } else { nextFeeSchedule_ = null; nextFeeScheduleBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.hederahashgraph.api.proto.java.BasicTypes.internal_static_proto_CurrentAndNextFeeSchedule_descriptor; } @java.lang.Override public com.hederahashgraph.api.proto.java.CurrentAndNextFeeSchedule getDefaultInstanceForType() { return com.hederahashgraph.api.proto.java.CurrentAndNextFeeSchedule.getDefaultInstance(); } @java.lang.Override public com.hederahashgraph.api.proto.java.CurrentAndNextFeeSchedule build() { com.hederahashgraph.api.proto.java.CurrentAndNextFeeSchedule result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.hederahashgraph.api.proto.java.CurrentAndNextFeeSchedule buildPartial() { com.hederahashgraph.api.proto.java.CurrentAndNextFeeSchedule result = new com.hederahashgraph.api.proto.java.CurrentAndNextFeeSchedule(this); if (currentFeeScheduleBuilder_ == null) { result.currentFeeSchedule_ = currentFeeSchedule_; } else { result.currentFeeSchedule_ = currentFeeScheduleBuilder_.build(); } if (nextFeeScheduleBuilder_ == null) { result.nextFeeSchedule_ = nextFeeSchedule_; } else { result.nextFeeSchedule_ = nextFeeScheduleBuilder_.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.CurrentAndNextFeeSchedule) { return mergeFrom((com.hederahashgraph.api.proto.java.CurrentAndNextFeeSchedule)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.hederahashgraph.api.proto.java.CurrentAndNextFeeSchedule other) { if (other == com.hederahashgraph.api.proto.java.CurrentAndNextFeeSchedule.getDefaultInstance()) return this; if (other.hasCurrentFeeSchedule()) { mergeCurrentFeeSchedule(other.getCurrentFeeSchedule()); } if (other.hasNextFeeSchedule()) { mergeNextFeeSchedule(other.getNextFeeSchedule()); } 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.CurrentAndNextFeeSchedule parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.hederahashgraph.api.proto.java.CurrentAndNextFeeSchedule) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.hederahashgraph.api.proto.java.FeeSchedule currentFeeSchedule_; private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.FeeSchedule, com.hederahashgraph.api.proto.java.FeeSchedule.Builder, com.hederahashgraph.api.proto.java.FeeScheduleOrBuilder> currentFeeScheduleBuilder_; /** *
     **
     * Contains current Fee Schedule
     * 
* * .proto.FeeSchedule currentFeeSchedule = 1; * @return Whether the currentFeeSchedule field is set. */ public boolean hasCurrentFeeSchedule() { return currentFeeScheduleBuilder_ != null || currentFeeSchedule_ != null; } /** *
     **
     * Contains current Fee Schedule
     * 
* * .proto.FeeSchedule currentFeeSchedule = 1; * @return The currentFeeSchedule. */ public com.hederahashgraph.api.proto.java.FeeSchedule getCurrentFeeSchedule() { if (currentFeeScheduleBuilder_ == null) { return currentFeeSchedule_ == null ? com.hederahashgraph.api.proto.java.FeeSchedule.getDefaultInstance() : currentFeeSchedule_; } else { return currentFeeScheduleBuilder_.getMessage(); } } /** *
     **
     * Contains current Fee Schedule
     * 
* * .proto.FeeSchedule currentFeeSchedule = 1; */ public Builder setCurrentFeeSchedule(com.hederahashgraph.api.proto.java.FeeSchedule value) { if (currentFeeScheduleBuilder_ == null) { if (value == null) { throw new NullPointerException(); } currentFeeSchedule_ = value; onChanged(); } else { currentFeeScheduleBuilder_.setMessage(value); } return this; } /** *
     **
     * Contains current Fee Schedule
     * 
* * .proto.FeeSchedule currentFeeSchedule = 1; */ public Builder setCurrentFeeSchedule( com.hederahashgraph.api.proto.java.FeeSchedule.Builder builderForValue) { if (currentFeeScheduleBuilder_ == null) { currentFeeSchedule_ = builderForValue.build(); onChanged(); } else { currentFeeScheduleBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     **
     * Contains current Fee Schedule
     * 
* * .proto.FeeSchedule currentFeeSchedule = 1; */ public Builder mergeCurrentFeeSchedule(com.hederahashgraph.api.proto.java.FeeSchedule value) { if (currentFeeScheduleBuilder_ == null) { if (currentFeeSchedule_ != null) { currentFeeSchedule_ = com.hederahashgraph.api.proto.java.FeeSchedule.newBuilder(currentFeeSchedule_).mergeFrom(value).buildPartial(); } else { currentFeeSchedule_ = value; } onChanged(); } else { currentFeeScheduleBuilder_.mergeFrom(value); } return this; } /** *
     **
     * Contains current Fee Schedule
     * 
* * .proto.FeeSchedule currentFeeSchedule = 1; */ public Builder clearCurrentFeeSchedule() { if (currentFeeScheduleBuilder_ == null) { currentFeeSchedule_ = null; onChanged(); } else { currentFeeSchedule_ = null; currentFeeScheduleBuilder_ = null; } return this; } /** *
     **
     * Contains current Fee Schedule
     * 
* * .proto.FeeSchedule currentFeeSchedule = 1; */ public com.hederahashgraph.api.proto.java.FeeSchedule.Builder getCurrentFeeScheduleBuilder() { onChanged(); return getCurrentFeeScheduleFieldBuilder().getBuilder(); } /** *
     **
     * Contains current Fee Schedule
     * 
* * .proto.FeeSchedule currentFeeSchedule = 1; */ public com.hederahashgraph.api.proto.java.FeeScheduleOrBuilder getCurrentFeeScheduleOrBuilder() { if (currentFeeScheduleBuilder_ != null) { return currentFeeScheduleBuilder_.getMessageOrBuilder(); } else { return currentFeeSchedule_ == null ? com.hederahashgraph.api.proto.java.FeeSchedule.getDefaultInstance() : currentFeeSchedule_; } } /** *
     **
     * Contains current Fee Schedule
     * 
* * .proto.FeeSchedule currentFeeSchedule = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.FeeSchedule, com.hederahashgraph.api.proto.java.FeeSchedule.Builder, com.hederahashgraph.api.proto.java.FeeScheduleOrBuilder> getCurrentFeeScheduleFieldBuilder() { if (currentFeeScheduleBuilder_ == null) { currentFeeScheduleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.FeeSchedule, com.hederahashgraph.api.proto.java.FeeSchedule.Builder, com.hederahashgraph.api.proto.java.FeeScheduleOrBuilder>( getCurrentFeeSchedule(), getParentForChildren(), isClean()); currentFeeSchedule_ = null; } return currentFeeScheduleBuilder_; } private com.hederahashgraph.api.proto.java.FeeSchedule nextFeeSchedule_; private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.FeeSchedule, com.hederahashgraph.api.proto.java.FeeSchedule.Builder, com.hederahashgraph.api.proto.java.FeeScheduleOrBuilder> nextFeeScheduleBuilder_; /** *
     **
     * Contains next Fee Schedule
     * 
* * .proto.FeeSchedule nextFeeSchedule = 2; * @return Whether the nextFeeSchedule field is set. */ public boolean hasNextFeeSchedule() { return nextFeeScheduleBuilder_ != null || nextFeeSchedule_ != null; } /** *
     **
     * Contains next Fee Schedule
     * 
* * .proto.FeeSchedule nextFeeSchedule = 2; * @return The nextFeeSchedule. */ public com.hederahashgraph.api.proto.java.FeeSchedule getNextFeeSchedule() { if (nextFeeScheduleBuilder_ == null) { return nextFeeSchedule_ == null ? com.hederahashgraph.api.proto.java.FeeSchedule.getDefaultInstance() : nextFeeSchedule_; } else { return nextFeeScheduleBuilder_.getMessage(); } } /** *
     **
     * Contains next Fee Schedule
     * 
* * .proto.FeeSchedule nextFeeSchedule = 2; */ public Builder setNextFeeSchedule(com.hederahashgraph.api.proto.java.FeeSchedule value) { if (nextFeeScheduleBuilder_ == null) { if (value == null) { throw new NullPointerException(); } nextFeeSchedule_ = value; onChanged(); } else { nextFeeScheduleBuilder_.setMessage(value); } return this; } /** *
     **
     * Contains next Fee Schedule
     * 
* * .proto.FeeSchedule nextFeeSchedule = 2; */ public Builder setNextFeeSchedule( com.hederahashgraph.api.proto.java.FeeSchedule.Builder builderForValue) { if (nextFeeScheduleBuilder_ == null) { nextFeeSchedule_ = builderForValue.build(); onChanged(); } else { nextFeeScheduleBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     **
     * Contains next Fee Schedule
     * 
* * .proto.FeeSchedule nextFeeSchedule = 2; */ public Builder mergeNextFeeSchedule(com.hederahashgraph.api.proto.java.FeeSchedule value) { if (nextFeeScheduleBuilder_ == null) { if (nextFeeSchedule_ != null) { nextFeeSchedule_ = com.hederahashgraph.api.proto.java.FeeSchedule.newBuilder(nextFeeSchedule_).mergeFrom(value).buildPartial(); } else { nextFeeSchedule_ = value; } onChanged(); } else { nextFeeScheduleBuilder_.mergeFrom(value); } return this; } /** *
     **
     * Contains next Fee Schedule
     * 
* * .proto.FeeSchedule nextFeeSchedule = 2; */ public Builder clearNextFeeSchedule() { if (nextFeeScheduleBuilder_ == null) { nextFeeSchedule_ = null; onChanged(); } else { nextFeeSchedule_ = null; nextFeeScheduleBuilder_ = null; } return this; } /** *
     **
     * Contains next Fee Schedule
     * 
* * .proto.FeeSchedule nextFeeSchedule = 2; */ public com.hederahashgraph.api.proto.java.FeeSchedule.Builder getNextFeeScheduleBuilder() { onChanged(); return getNextFeeScheduleFieldBuilder().getBuilder(); } /** *
     **
     * Contains next Fee Schedule
     * 
* * .proto.FeeSchedule nextFeeSchedule = 2; */ public com.hederahashgraph.api.proto.java.FeeScheduleOrBuilder getNextFeeScheduleOrBuilder() { if (nextFeeScheduleBuilder_ != null) { return nextFeeScheduleBuilder_.getMessageOrBuilder(); } else { return nextFeeSchedule_ == null ? com.hederahashgraph.api.proto.java.FeeSchedule.getDefaultInstance() : nextFeeSchedule_; } } /** *
     **
     * Contains next Fee Schedule
     * 
* * .proto.FeeSchedule nextFeeSchedule = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.FeeSchedule, com.hederahashgraph.api.proto.java.FeeSchedule.Builder, com.hederahashgraph.api.proto.java.FeeScheduleOrBuilder> getNextFeeScheduleFieldBuilder() { if (nextFeeScheduleBuilder_ == null) { nextFeeScheduleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.FeeSchedule, com.hederahashgraph.api.proto.java.FeeSchedule.Builder, com.hederahashgraph.api.proto.java.FeeScheduleOrBuilder>( getNextFeeSchedule(), getParentForChildren(), isClean()); nextFeeSchedule_ = null; } return nextFeeScheduleBuilder_; } @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.CurrentAndNextFeeSchedule) } // @@protoc_insertion_point(class_scope:proto.CurrentAndNextFeeSchedule) private static final com.hederahashgraph.api.proto.java.CurrentAndNextFeeSchedule DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.hederahashgraph.api.proto.java.CurrentAndNextFeeSchedule(); } public static com.hederahashgraph.api.proto.java.CurrentAndNextFeeSchedule getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CurrentAndNextFeeSchedule parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CurrentAndNextFeeSchedule(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.CurrentAndNextFeeSchedule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy