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

com.hedera.hashgraph.sdk.proto.ScheduleID Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: basic_types.proto

package com.hedera.hashgraph.sdk.proto;

/**
 * 
 **
 * Unique identifier for a Schedule
 * 
* * Protobuf type {@code proto.ScheduleID} */ public final class ScheduleID extends com.google.protobuf.GeneratedMessageLite< ScheduleID, ScheduleID.Builder> implements // @@protoc_insertion_point(message_implements:proto.ScheduleID) ScheduleIDOrBuilder { private ScheduleID() { } public static final int SHARDNUM_FIELD_NUMBER = 1; private long shardNum_; /** *
   **
   * A nonnegative shard number
   * 
* * int64 shardNum = 1; * @return The shardNum. */ @java.lang.Override public long getShardNum() { return shardNum_; } /** *
   **
   * A nonnegative shard number
   * 
* * int64 shardNum = 1; * @param value The shardNum to set. */ private void setShardNum(long value) { shardNum_ = value; } /** *
   **
   * A nonnegative shard number
   * 
* * int64 shardNum = 1; */ private void clearShardNum() { shardNum_ = 0L; } public static final int REALMNUM_FIELD_NUMBER = 2; private long realmNum_; /** *
   **
   * A nonnegative realm number
   * 
* * int64 realmNum = 2; * @return The realmNum. */ @java.lang.Override public long getRealmNum() { return realmNum_; } /** *
   **
   * A nonnegative realm number
   * 
* * int64 realmNum = 2; * @param value The realmNum to set. */ private void setRealmNum(long value) { realmNum_ = value; } /** *
   **
   * A nonnegative realm number
   * 
* * int64 realmNum = 2; */ private void clearRealmNum() { realmNum_ = 0L; } public static final int SCHEDULENUM_FIELD_NUMBER = 3; private long scheduleNum_; /** *
   **
   * A nonnegative schedule number
   * 
* * int64 scheduleNum = 3; * @return The scheduleNum. */ @java.lang.Override public long getScheduleNum() { return scheduleNum_; } /** *
   **
   * A nonnegative schedule number
   * 
* * int64 scheduleNum = 3; * @param value The scheduleNum to set. */ private void setScheduleNum(long value) { scheduleNum_ = value; } /** *
   **
   * A nonnegative schedule number
   * 
* * int64 scheduleNum = 3; */ private void clearScheduleNum() { scheduleNum_ = 0L; } public static com.hedera.hashgraph.sdk.proto.ScheduleID parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.hedera.hashgraph.sdk.proto.ScheduleID parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.ScheduleID parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.hedera.hashgraph.sdk.proto.ScheduleID parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.ScheduleID parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.hedera.hashgraph.sdk.proto.ScheduleID parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.ScheduleID parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.hedera.hashgraph.sdk.proto.ScheduleID parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.ScheduleID parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.hedera.hashgraph.sdk.proto.ScheduleID parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.hedera.hashgraph.sdk.proto.ScheduleID parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.hedera.hashgraph.sdk.proto.ScheduleID parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.hedera.hashgraph.sdk.proto.ScheduleID prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
   **
   * Unique identifier for a Schedule
   * 
* * Protobuf type {@code proto.ScheduleID} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.hedera.hashgraph.sdk.proto.ScheduleID, Builder> implements // @@protoc_insertion_point(builder_implements:proto.ScheduleID) com.hedera.hashgraph.sdk.proto.ScheduleIDOrBuilder { // Construct using com.hedera.hashgraph.sdk.proto.ScheduleID.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** *
     **
     * A nonnegative shard number
     * 
* * int64 shardNum = 1; * @return The shardNum. */ @java.lang.Override public long getShardNum() { return instance.getShardNum(); } /** *
     **
     * A nonnegative shard number
     * 
* * int64 shardNum = 1; * @param value The shardNum to set. * @return This builder for chaining. */ public Builder setShardNum(long value) { copyOnWrite(); instance.setShardNum(value); return this; } /** *
     **
     * A nonnegative shard number
     * 
* * int64 shardNum = 1; * @return This builder for chaining. */ public Builder clearShardNum() { copyOnWrite(); instance.clearShardNum(); return this; } /** *
     **
     * A nonnegative realm number
     * 
* * int64 realmNum = 2; * @return The realmNum. */ @java.lang.Override public long getRealmNum() { return instance.getRealmNum(); } /** *
     **
     * A nonnegative realm number
     * 
* * int64 realmNum = 2; * @param value The realmNum to set. * @return This builder for chaining. */ public Builder setRealmNum(long value) { copyOnWrite(); instance.setRealmNum(value); return this; } /** *
     **
     * A nonnegative realm number
     * 
* * int64 realmNum = 2; * @return This builder for chaining. */ public Builder clearRealmNum() { copyOnWrite(); instance.clearRealmNum(); return this; } /** *
     **
     * A nonnegative schedule number
     * 
* * int64 scheduleNum = 3; * @return The scheduleNum. */ @java.lang.Override public long getScheduleNum() { return instance.getScheduleNum(); } /** *
     **
     * A nonnegative schedule number
     * 
* * int64 scheduleNum = 3; * @param value The scheduleNum to set. * @return This builder for chaining. */ public Builder setScheduleNum(long value) { copyOnWrite(); instance.setScheduleNum(value); return this; } /** *
     **
     * A nonnegative schedule number
     * 
* * int64 scheduleNum = 3; * @return This builder for chaining. */ public Builder clearScheduleNum() { copyOnWrite(); instance.clearScheduleNum(); return this; } // @@protoc_insertion_point(builder_scope:proto.ScheduleID) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.hedera.hashgraph.sdk.proto.ScheduleID(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "shardNum_", "realmNum_", "scheduleNum_", }; java.lang.String info = "\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u0002\u0002\u0002" + "\u0003\u0002"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.hedera.hashgraph.sdk.proto.ScheduleID.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:proto.ScheduleID) private static final com.hedera.hashgraph.sdk.proto.ScheduleID DEFAULT_INSTANCE; static { ScheduleID defaultInstance = new ScheduleID(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( ScheduleID.class, defaultInstance); } public static com.hedera.hashgraph.sdk.proto.ScheduleID getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy