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

com.hedera.hapi.block.stream.output.protoc.MapChangeKey Maven / Gradle / Ivy

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

package com.hedera.hapi.block.stream.output.protoc;

/**
 * 
 **
 * A key identifying a specific entry in a key-value "virtual map".
 * 
* * Protobuf type {@code com.hedera.hapi.block.stream.output.MapChangeKey} */ public final class MapChangeKey extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.hedera.hapi.block.stream.output.MapChangeKey) MapChangeKeyOrBuilder { private static final long serialVersionUID = 0L; // Use MapChangeKey.newBuilder() to construct. private MapChangeKey(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MapChangeKey() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MapChangeKey(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MapChangeKey( 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.AccountID.Builder subBuilder = null; if (keyChoiceCase_ == 1) { subBuilder = ((com.hederahashgraph.api.proto.java.AccountID) keyChoice_).toBuilder(); } keyChoice_ = input.readMessage(com.hederahashgraph.api.proto.java.AccountID.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.AccountID) keyChoice_); keyChoice_ = subBuilder.buildPartial(); } keyChoiceCase_ = 1; break; } case 18: { com.hederahashgraph.api.proto.java.TokenAssociation.Builder subBuilder = null; if (keyChoiceCase_ == 2) { subBuilder = ((com.hederahashgraph.api.proto.java.TokenAssociation) keyChoice_).toBuilder(); } keyChoice_ = input.readMessage(com.hederahashgraph.api.proto.java.TokenAssociation.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.TokenAssociation) keyChoice_); keyChoice_ = subBuilder.buildPartial(); } keyChoiceCase_ = 2; break; } case 26: { com.google.protobuf.UInt64Value.Builder subBuilder = null; if (keyChoiceCase_ == 3) { subBuilder = ((com.google.protobuf.UInt64Value) keyChoice_).toBuilder(); } keyChoice_ = input.readMessage(com.google.protobuf.UInt64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.google.protobuf.UInt64Value) keyChoice_); keyChoice_ = subBuilder.buildPartial(); } keyChoiceCase_ = 3; break; } case 34: { com.hederahashgraph.api.proto.java.FileID.Builder subBuilder = null; if (keyChoiceCase_ == 4) { subBuilder = ((com.hederahashgraph.api.proto.java.FileID) keyChoice_).toBuilder(); } keyChoice_ = input.readMessage(com.hederahashgraph.api.proto.java.FileID.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.FileID) keyChoice_); keyChoice_ = subBuilder.buildPartial(); } keyChoiceCase_ = 4; break; } case 42: { com.hederahashgraph.api.proto.java.NftID.Builder subBuilder = null; if (keyChoiceCase_ == 5) { subBuilder = ((com.hederahashgraph.api.proto.java.NftID) keyChoice_).toBuilder(); } keyChoice_ = input.readMessage(com.hederahashgraph.api.proto.java.NftID.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.NftID) keyChoice_); keyChoice_ = subBuilder.buildPartial(); } keyChoiceCase_ = 5; break; } case 50: { com.google.protobuf.BytesValue.Builder subBuilder = null; if (keyChoiceCase_ == 6) { subBuilder = ((com.google.protobuf.BytesValue) keyChoice_).toBuilder(); } keyChoice_ = input.readMessage(com.google.protobuf.BytesValue.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.google.protobuf.BytesValue) keyChoice_); keyChoice_ = subBuilder.buildPartial(); } keyChoiceCase_ = 6; break; } case 58: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (keyChoiceCase_ == 7) { subBuilder = ((com.google.protobuf.Int64Value) keyChoice_).toBuilder(); } keyChoice_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.google.protobuf.Int64Value) keyChoice_); keyChoice_ = subBuilder.buildPartial(); } keyChoiceCase_ = 7; break; } case 66: { com.google.protobuf.StringValue.Builder subBuilder = null; if (keyChoiceCase_ == 8) { subBuilder = ((com.google.protobuf.StringValue) keyChoice_).toBuilder(); } keyChoice_ = input.readMessage(com.google.protobuf.StringValue.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.google.protobuf.StringValue) keyChoice_); keyChoice_ = subBuilder.buildPartial(); } keyChoiceCase_ = 8; break; } case 74: { com.hederahashgraph.api.proto.java.ScheduleID.Builder subBuilder = null; if (keyChoiceCase_ == 9) { subBuilder = ((com.hederahashgraph.api.proto.java.ScheduleID) keyChoice_).toBuilder(); } keyChoice_ = input.readMessage(com.hederahashgraph.api.proto.java.ScheduleID.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.ScheduleID) keyChoice_); keyChoice_ = subBuilder.buildPartial(); } keyChoiceCase_ = 9; break; } case 82: { com.hederahashgraph.api.proto.java.SlotKey.Builder subBuilder = null; if (keyChoiceCase_ == 10) { subBuilder = ((com.hederahashgraph.api.proto.java.SlotKey) keyChoice_).toBuilder(); } keyChoice_ = input.readMessage(com.hederahashgraph.api.proto.java.SlotKey.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.SlotKey) keyChoice_); keyChoice_ = subBuilder.buildPartial(); } keyChoiceCase_ = 10; break; } case 90: { com.hederahashgraph.api.proto.java.TokenID.Builder subBuilder = null; if (keyChoiceCase_ == 11) { subBuilder = ((com.hederahashgraph.api.proto.java.TokenID) keyChoice_).toBuilder(); } keyChoice_ = input.readMessage(com.hederahashgraph.api.proto.java.TokenID.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.TokenID) keyChoice_); keyChoice_ = subBuilder.buildPartial(); } keyChoiceCase_ = 11; break; } case 98: { com.hederahashgraph.api.proto.java.TopicID.Builder subBuilder = null; if (keyChoiceCase_ == 12) { subBuilder = ((com.hederahashgraph.api.proto.java.TopicID) keyChoice_).toBuilder(); } keyChoice_ = input.readMessage(com.hederahashgraph.api.proto.java.TopicID.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.TopicID) keyChoice_); keyChoice_ = subBuilder.buildPartial(); } keyChoiceCase_ = 12; break; } case 106: { com.hederahashgraph.api.proto.java.ContractID.Builder subBuilder = null; if (keyChoiceCase_ == 13) { subBuilder = ((com.hederahashgraph.api.proto.java.ContractID) keyChoice_).toBuilder(); } keyChoice_ = input.readMessage(com.hederahashgraph.api.proto.java.ContractID.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.ContractID) keyChoice_); keyChoice_ = subBuilder.buildPartial(); } keyChoiceCase_ = 13; break; } case 114: { com.hederahashgraph.api.proto.java.PendingAirdropId.Builder subBuilder = null; if (keyChoiceCase_ == 14) { subBuilder = ((com.hederahashgraph.api.proto.java.PendingAirdropId) keyChoice_).toBuilder(); } keyChoice_ = input.readMessage(com.hederahashgraph.api.proto.java.PendingAirdropId.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.PendingAirdropId) keyChoice_); keyChoice_ = subBuilder.buildPartial(); } keyChoiceCase_ = 14; 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.hedera.hapi.block.stream.output.protoc.StateChangesOuterClass.internal_static_com_hedera_hapi_block_stream_output_MapChangeKey_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.hedera.hapi.block.stream.output.protoc.StateChangesOuterClass.internal_static_com_hedera_hapi_block_stream_output_MapChangeKey_fieldAccessorTable .ensureFieldAccessorsInitialized( com.hedera.hapi.block.stream.output.protoc.MapChangeKey.class, com.hedera.hapi.block.stream.output.protoc.MapChangeKey.Builder.class); } private int keyChoiceCase_ = 0; private java.lang.Object keyChoice_; public enum KeyChoiceCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ACCOUNT_ID_KEY(1), TOKEN_RELATIONSHIP_KEY(2), ENTITY_NUMBER_KEY(3), FILE_ID_KEY(4), NFT_ID_KEY(5), PROTO_BYTES_KEY(6), PROTO_LONG_KEY(7), PROTO_STRING_KEY(8), SCHEDULE_ID_KEY(9), SLOT_KEY_KEY(10), TOKEN_ID_KEY(11), TOPIC_ID_KEY(12), CONTRACT_ID_KEY(13), PENDING_AIRDROP_ID_KEY(14), KEYCHOICE_NOT_SET(0); private final int value; private KeyChoiceCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static KeyChoiceCase valueOf(int value) { return forNumber(value); } public static KeyChoiceCase forNumber(int value) { switch (value) { case 1: return ACCOUNT_ID_KEY; case 2: return TOKEN_RELATIONSHIP_KEY; case 3: return ENTITY_NUMBER_KEY; case 4: return FILE_ID_KEY; case 5: return NFT_ID_KEY; case 6: return PROTO_BYTES_KEY; case 7: return PROTO_LONG_KEY; case 8: return PROTO_STRING_KEY; case 9: return SCHEDULE_ID_KEY; case 10: return SLOT_KEY_KEY; case 11: return TOKEN_ID_KEY; case 12: return TOPIC_ID_KEY; case 13: return CONTRACT_ID_KEY; case 14: return PENDING_AIRDROP_ID_KEY; case 0: return KEYCHOICE_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public KeyChoiceCase getKeyChoiceCase() { return KeyChoiceCase.forNumber( keyChoiceCase_); } public static final int ACCOUNT_ID_KEY_FIELD_NUMBER = 1; /** *
   **
   * A key for a change affecting a map keyed by an Account identifier.
   * 
* * .proto.AccountID account_id_key = 1; * @return Whether the accountIdKey field is set. */ @java.lang.Override public boolean hasAccountIdKey() { return keyChoiceCase_ == 1; } /** *
   **
   * A key for a change affecting a map keyed by an Account identifier.
   * 
* * .proto.AccountID account_id_key = 1; * @return The accountIdKey. */ @java.lang.Override public com.hederahashgraph.api.proto.java.AccountID getAccountIdKey() { if (keyChoiceCase_ == 1) { return (com.hederahashgraph.api.proto.java.AccountID) keyChoice_; } return com.hederahashgraph.api.proto.java.AccountID.getDefaultInstance(); } /** *
   **
   * A key for a change affecting a map keyed by an Account identifier.
   * 
* * .proto.AccountID account_id_key = 1; */ @java.lang.Override public com.hederahashgraph.api.proto.java.AccountIDOrBuilder getAccountIdKeyOrBuilder() { if (keyChoiceCase_ == 1) { return (com.hederahashgraph.api.proto.java.AccountID) keyChoice_; } return com.hederahashgraph.api.proto.java.AccountID.getDefaultInstance(); } public static final int TOKEN_RELATIONSHIP_KEY_FIELD_NUMBER = 2; /** *
   **
   * A change to the token relationships virtual map.<br/>
   * This map is keyed by the pair of account identifier and
   * token identifier.
   * 
* * .proto.TokenAssociation token_relationship_key = 2; * @return Whether the tokenRelationshipKey field is set. */ @java.lang.Override public boolean hasTokenRelationshipKey() { return keyChoiceCase_ == 2; } /** *
   **
   * A change to the token relationships virtual map.<br/>
   * This map is keyed by the pair of account identifier and
   * token identifier.
   * 
* * .proto.TokenAssociation token_relationship_key = 2; * @return The tokenRelationshipKey. */ @java.lang.Override public com.hederahashgraph.api.proto.java.TokenAssociation getTokenRelationshipKey() { if (keyChoiceCase_ == 2) { return (com.hederahashgraph.api.proto.java.TokenAssociation) keyChoice_; } return com.hederahashgraph.api.proto.java.TokenAssociation.getDefaultInstance(); } /** *
   **
   * A change to the token relationships virtual map.<br/>
   * This map is keyed by the pair of account identifier and
   * token identifier.
   * 
* * .proto.TokenAssociation token_relationship_key = 2; */ @java.lang.Override public com.hederahashgraph.api.proto.java.TokenAssociationOrBuilder getTokenRelationshipKeyOrBuilder() { if (keyChoiceCase_ == 2) { return (com.hederahashgraph.api.proto.java.TokenAssociation) keyChoice_; } return com.hederahashgraph.api.proto.java.TokenAssociation.getDefaultInstance(); } public static final int ENTITY_NUMBER_KEY_FIELD_NUMBER = 3; /** *
   **
   * A change to a map keyed by an EntityNumber (which is a whole number).
   * <p>
   * This SHOULD NOT be used. Virtual maps SHOULD be keyed to
   * full identifiers that include shard and realm information.
   * 
* * .google.protobuf.UInt64Value entity_number_key = 3; * @return Whether the entityNumberKey field is set. */ @java.lang.Override public boolean hasEntityNumberKey() { return keyChoiceCase_ == 3; } /** *
   **
   * A change to a map keyed by an EntityNumber (which is a whole number).
   * <p>
   * This SHOULD NOT be used. Virtual maps SHOULD be keyed to
   * full identifiers that include shard and realm information.
   * 
* * .google.protobuf.UInt64Value entity_number_key = 3; * @return The entityNumberKey. */ @java.lang.Override public com.google.protobuf.UInt64Value getEntityNumberKey() { if (keyChoiceCase_ == 3) { return (com.google.protobuf.UInt64Value) keyChoice_; } return com.google.protobuf.UInt64Value.getDefaultInstance(); } /** *
   **
   * A change to a map keyed by an EntityNumber (which is a whole number).
   * <p>
   * This SHOULD NOT be used. Virtual maps SHOULD be keyed to
   * full identifiers that include shard and realm information.
   * 
* * .google.protobuf.UInt64Value entity_number_key = 3; */ @java.lang.Override public com.google.protobuf.UInt64ValueOrBuilder getEntityNumberKeyOrBuilder() { if (keyChoiceCase_ == 3) { return (com.google.protobuf.UInt64Value) keyChoice_; } return com.google.protobuf.UInt64Value.getDefaultInstance(); } public static final int FILE_ID_KEY_FIELD_NUMBER = 4; /** *
   **
   * A change to a virtual map keyed by File identifier.
   * 
* * .proto.FileID file_id_key = 4; * @return Whether the fileIdKey field is set. */ @java.lang.Override public boolean hasFileIdKey() { return keyChoiceCase_ == 4; } /** *
   **
   * A change to a virtual map keyed by File identifier.
   * 
* * .proto.FileID file_id_key = 4; * @return The fileIdKey. */ @java.lang.Override public com.hederahashgraph.api.proto.java.FileID getFileIdKey() { if (keyChoiceCase_ == 4) { return (com.hederahashgraph.api.proto.java.FileID) keyChoice_; } return com.hederahashgraph.api.proto.java.FileID.getDefaultInstance(); } /** *
   **
   * A change to a virtual map keyed by File identifier.
   * 
* * .proto.FileID file_id_key = 4; */ @java.lang.Override public com.hederahashgraph.api.proto.java.FileIDOrBuilder getFileIdKeyOrBuilder() { if (keyChoiceCase_ == 4) { return (com.hederahashgraph.api.proto.java.FileID) keyChoice_; } return com.hederahashgraph.api.proto.java.FileID.getDefaultInstance(); } public static final int NFT_ID_KEY_FIELD_NUMBER = 5; /** *
   **
   * A change to a virtual map keyed by NFT identifier.
   * 
* * .proto.NftID nft_id_key = 5; * @return Whether the nftIdKey field is set. */ @java.lang.Override public boolean hasNftIdKey() { return keyChoiceCase_ == 5; } /** *
   **
   * A change to a virtual map keyed by NFT identifier.
   * 
* * .proto.NftID nft_id_key = 5; * @return The nftIdKey. */ @java.lang.Override public com.hederahashgraph.api.proto.java.NftID getNftIdKey() { if (keyChoiceCase_ == 5) { return (com.hederahashgraph.api.proto.java.NftID) keyChoice_; } return com.hederahashgraph.api.proto.java.NftID.getDefaultInstance(); } /** *
   **
   * A change to a virtual map keyed by NFT identifier.
   * 
* * .proto.NftID nft_id_key = 5; */ @java.lang.Override public com.hederahashgraph.api.proto.java.NftIDOrBuilder getNftIdKeyOrBuilder() { if (keyChoiceCase_ == 5) { return (com.hederahashgraph.api.proto.java.NftID) keyChoice_; } return com.hederahashgraph.api.proto.java.NftID.getDefaultInstance(); } public static final int PROTO_BYTES_KEY_FIELD_NUMBER = 6; /** *
   **
   * A change to a virtual map keyed by a byte array.
   * 
* * .google.protobuf.BytesValue proto_bytes_key = 6; * @return Whether the protoBytesKey field is set. */ @java.lang.Override public boolean hasProtoBytesKey() { return keyChoiceCase_ == 6; } /** *
   **
   * A change to a virtual map keyed by a byte array.
   * 
* * .google.protobuf.BytesValue proto_bytes_key = 6; * @return The protoBytesKey. */ @java.lang.Override public com.google.protobuf.BytesValue getProtoBytesKey() { if (keyChoiceCase_ == 6) { return (com.google.protobuf.BytesValue) keyChoice_; } return com.google.protobuf.BytesValue.getDefaultInstance(); } /** *
   **
   * A change to a virtual map keyed by a byte array.
   * 
* * .google.protobuf.BytesValue proto_bytes_key = 6; */ @java.lang.Override public com.google.protobuf.BytesValueOrBuilder getProtoBytesKeyOrBuilder() { if (keyChoiceCase_ == 6) { return (com.google.protobuf.BytesValue) keyChoice_; } return com.google.protobuf.BytesValue.getDefaultInstance(); } public static final int PROTO_LONG_KEY_FIELD_NUMBER = 7; /** *
   **
   * A change to a virtual map keyed by an int64 value.
   * 
* * .google.protobuf.Int64Value proto_long_key = 7; * @return Whether the protoLongKey field is set. */ @java.lang.Override public boolean hasProtoLongKey() { return keyChoiceCase_ == 7; } /** *
   **
   * A change to a virtual map keyed by an int64 value.
   * 
* * .google.protobuf.Int64Value proto_long_key = 7; * @return The protoLongKey. */ @java.lang.Override public com.google.protobuf.Int64Value getProtoLongKey() { if (keyChoiceCase_ == 7) { return (com.google.protobuf.Int64Value) keyChoice_; } return com.google.protobuf.Int64Value.getDefaultInstance(); } /** *
   **
   * A change to a virtual map keyed by an int64 value.
   * 
* * .google.protobuf.Int64Value proto_long_key = 7; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getProtoLongKeyOrBuilder() { if (keyChoiceCase_ == 7) { return (com.google.protobuf.Int64Value) keyChoice_; } return com.google.protobuf.Int64Value.getDefaultInstance(); } public static final int PROTO_STRING_KEY_FIELD_NUMBER = 8; /** *
   **
   * A change to a virtual map keyed by a string value.
   * 
* * .google.protobuf.StringValue proto_string_key = 8; * @return Whether the protoStringKey field is set. */ @java.lang.Override public boolean hasProtoStringKey() { return keyChoiceCase_ == 8; } /** *
   **
   * A change to a virtual map keyed by a string value.
   * 
* * .google.protobuf.StringValue proto_string_key = 8; * @return The protoStringKey. */ @java.lang.Override public com.google.protobuf.StringValue getProtoStringKey() { if (keyChoiceCase_ == 8) { return (com.google.protobuf.StringValue) keyChoice_; } return com.google.protobuf.StringValue.getDefaultInstance(); } /** *
   **
   * A change to a virtual map keyed by a string value.
   * 
* * .google.protobuf.StringValue proto_string_key = 8; */ @java.lang.Override public com.google.protobuf.StringValueOrBuilder getProtoStringKeyOrBuilder() { if (keyChoiceCase_ == 8) { return (com.google.protobuf.StringValue) keyChoice_; } return com.google.protobuf.StringValue.getDefaultInstance(); } public static final int SCHEDULE_ID_KEY_FIELD_NUMBER = 9; /** *
   **
   * A change to a virtual map keyed by a Schedule identifier.
   * 
* * .proto.ScheduleID schedule_id_key = 9; * @return Whether the scheduleIdKey field is set. */ @java.lang.Override public boolean hasScheduleIdKey() { return keyChoiceCase_ == 9; } /** *
   **
   * A change to a virtual map keyed by a Schedule identifier.
   * 
* * .proto.ScheduleID schedule_id_key = 9; * @return The scheduleIdKey. */ @java.lang.Override public com.hederahashgraph.api.proto.java.ScheduleID getScheduleIdKey() { if (keyChoiceCase_ == 9) { return (com.hederahashgraph.api.proto.java.ScheduleID) keyChoice_; } return com.hederahashgraph.api.proto.java.ScheduleID.getDefaultInstance(); } /** *
   **
   * A change to a virtual map keyed by a Schedule identifier.
   * 
* * .proto.ScheduleID schedule_id_key = 9; */ @java.lang.Override public com.hederahashgraph.api.proto.java.ScheduleIDOrBuilder getScheduleIdKeyOrBuilder() { if (keyChoiceCase_ == 9) { return (com.hederahashgraph.api.proto.java.ScheduleID) keyChoice_; } return com.hederahashgraph.api.proto.java.ScheduleID.getDefaultInstance(); } public static final int SLOT_KEY_KEY_FIELD_NUMBER = 10; /** *
   **
   * A change to the EVM storage "slot" virtual map.
   * 
* * .proto.SlotKey slot_key_key = 10; * @return Whether the slotKeyKey field is set. */ @java.lang.Override public boolean hasSlotKeyKey() { return keyChoiceCase_ == 10; } /** *
   **
   * A change to the EVM storage "slot" virtual map.
   * 
* * .proto.SlotKey slot_key_key = 10; * @return The slotKeyKey. */ @java.lang.Override public com.hederahashgraph.api.proto.java.SlotKey getSlotKeyKey() { if (keyChoiceCase_ == 10) { return (com.hederahashgraph.api.proto.java.SlotKey) keyChoice_; } return com.hederahashgraph.api.proto.java.SlotKey.getDefaultInstance(); } /** *
   **
   * A change to the EVM storage "slot" virtual map.
   * 
* * .proto.SlotKey slot_key_key = 10; */ @java.lang.Override public com.hederahashgraph.api.proto.java.SlotKeyOrBuilder getSlotKeyKeyOrBuilder() { if (keyChoiceCase_ == 10) { return (com.hederahashgraph.api.proto.java.SlotKey) keyChoice_; } return com.hederahashgraph.api.proto.java.SlotKey.getDefaultInstance(); } public static final int TOKEN_ID_KEY_FIELD_NUMBER = 11; /** *
   **
   * A change to a virtual map keyed by a Token identifier.
   * 
* * .proto.TokenID token_id_key = 11; * @return Whether the tokenIdKey field is set. */ @java.lang.Override public boolean hasTokenIdKey() { return keyChoiceCase_ == 11; } /** *
   **
   * A change to a virtual map keyed by a Token identifier.
   * 
* * .proto.TokenID token_id_key = 11; * @return The tokenIdKey. */ @java.lang.Override public com.hederahashgraph.api.proto.java.TokenID getTokenIdKey() { if (keyChoiceCase_ == 11) { return (com.hederahashgraph.api.proto.java.TokenID) keyChoice_; } return com.hederahashgraph.api.proto.java.TokenID.getDefaultInstance(); } /** *
   **
   * A change to a virtual map keyed by a Token identifier.
   * 
* * .proto.TokenID token_id_key = 11; */ @java.lang.Override public com.hederahashgraph.api.proto.java.TokenIDOrBuilder getTokenIdKeyOrBuilder() { if (keyChoiceCase_ == 11) { return (com.hederahashgraph.api.proto.java.TokenID) keyChoice_; } return com.hederahashgraph.api.proto.java.TokenID.getDefaultInstance(); } public static final int TOPIC_ID_KEY_FIELD_NUMBER = 12; /** *
   **
   * A change to a virtual map keyed by a Topic identifier.
   * 
* * .proto.TopicID topic_id_key = 12; * @return Whether the topicIdKey field is set. */ @java.lang.Override public boolean hasTopicIdKey() { return keyChoiceCase_ == 12; } /** *
   **
   * A change to a virtual map keyed by a Topic identifier.
   * 
* * .proto.TopicID topic_id_key = 12; * @return The topicIdKey. */ @java.lang.Override public com.hederahashgraph.api.proto.java.TopicID getTopicIdKey() { if (keyChoiceCase_ == 12) { return (com.hederahashgraph.api.proto.java.TopicID) keyChoice_; } return com.hederahashgraph.api.proto.java.TopicID.getDefaultInstance(); } /** *
   **
   * A change to a virtual map keyed by a Topic identifier.
   * 
* * .proto.TopicID topic_id_key = 12; */ @java.lang.Override public com.hederahashgraph.api.proto.java.TopicIDOrBuilder getTopicIdKeyOrBuilder() { if (keyChoiceCase_ == 12) { return (com.hederahashgraph.api.proto.java.TopicID) keyChoice_; } return com.hederahashgraph.api.proto.java.TopicID.getDefaultInstance(); } public static final int CONTRACT_ID_KEY_FIELD_NUMBER = 13; /** *
   **
   * A change to a virtual map keyed by contract id identifier.
   * 
* * .proto.ContractID contract_id_key = 13; * @return Whether the contractIdKey field is set. */ @java.lang.Override public boolean hasContractIdKey() { return keyChoiceCase_ == 13; } /** *
   **
   * A change to a virtual map keyed by contract id identifier.
   * 
* * .proto.ContractID contract_id_key = 13; * @return The contractIdKey. */ @java.lang.Override public com.hederahashgraph.api.proto.java.ContractID getContractIdKey() { if (keyChoiceCase_ == 13) { return (com.hederahashgraph.api.proto.java.ContractID) keyChoice_; } return com.hederahashgraph.api.proto.java.ContractID.getDefaultInstance(); } /** *
   **
   * A change to a virtual map keyed by contract id identifier.
   * 
* * .proto.ContractID contract_id_key = 13; */ @java.lang.Override public com.hederahashgraph.api.proto.java.ContractIDOrBuilder getContractIdKeyOrBuilder() { if (keyChoiceCase_ == 13) { return (com.hederahashgraph.api.proto.java.ContractID) keyChoice_; } return com.hederahashgraph.api.proto.java.ContractID.getDefaultInstance(); } public static final int PENDING_AIRDROP_ID_KEY_FIELD_NUMBER = 14; /** *
   **
   * A change to a virtual map keyed by pending airdrop id identifier.
   * 
* * .proto.PendingAirdropId pending_airdrop_id_key = 14; * @return Whether the pendingAirdropIdKey field is set. */ @java.lang.Override public boolean hasPendingAirdropIdKey() { return keyChoiceCase_ == 14; } /** *
   **
   * A change to a virtual map keyed by pending airdrop id identifier.
   * 
* * .proto.PendingAirdropId pending_airdrop_id_key = 14; * @return The pendingAirdropIdKey. */ @java.lang.Override public com.hederahashgraph.api.proto.java.PendingAirdropId getPendingAirdropIdKey() { if (keyChoiceCase_ == 14) { return (com.hederahashgraph.api.proto.java.PendingAirdropId) keyChoice_; } return com.hederahashgraph.api.proto.java.PendingAirdropId.getDefaultInstance(); } /** *
   **
   * A change to a virtual map keyed by pending airdrop id identifier.
   * 
* * .proto.PendingAirdropId pending_airdrop_id_key = 14; */ @java.lang.Override public com.hederahashgraph.api.proto.java.PendingAirdropIdOrBuilder getPendingAirdropIdKeyOrBuilder() { if (keyChoiceCase_ == 14) { return (com.hederahashgraph.api.proto.java.PendingAirdropId) keyChoice_; } return com.hederahashgraph.api.proto.java.PendingAirdropId.getDefaultInstance(); } 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 (keyChoiceCase_ == 1) { output.writeMessage(1, (com.hederahashgraph.api.proto.java.AccountID) keyChoice_); } if (keyChoiceCase_ == 2) { output.writeMessage(2, (com.hederahashgraph.api.proto.java.TokenAssociation) keyChoice_); } if (keyChoiceCase_ == 3) { output.writeMessage(3, (com.google.protobuf.UInt64Value) keyChoice_); } if (keyChoiceCase_ == 4) { output.writeMessage(4, (com.hederahashgraph.api.proto.java.FileID) keyChoice_); } if (keyChoiceCase_ == 5) { output.writeMessage(5, (com.hederahashgraph.api.proto.java.NftID) keyChoice_); } if (keyChoiceCase_ == 6) { output.writeMessage(6, (com.google.protobuf.BytesValue) keyChoice_); } if (keyChoiceCase_ == 7) { output.writeMessage(7, (com.google.protobuf.Int64Value) keyChoice_); } if (keyChoiceCase_ == 8) { output.writeMessage(8, (com.google.protobuf.StringValue) keyChoice_); } if (keyChoiceCase_ == 9) { output.writeMessage(9, (com.hederahashgraph.api.proto.java.ScheduleID) keyChoice_); } if (keyChoiceCase_ == 10) { output.writeMessage(10, (com.hederahashgraph.api.proto.java.SlotKey) keyChoice_); } if (keyChoiceCase_ == 11) { output.writeMessage(11, (com.hederahashgraph.api.proto.java.TokenID) keyChoice_); } if (keyChoiceCase_ == 12) { output.writeMessage(12, (com.hederahashgraph.api.proto.java.TopicID) keyChoice_); } if (keyChoiceCase_ == 13) { output.writeMessage(13, (com.hederahashgraph.api.proto.java.ContractID) keyChoice_); } if (keyChoiceCase_ == 14) { output.writeMessage(14, (com.hederahashgraph.api.proto.java.PendingAirdropId) keyChoice_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (keyChoiceCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, (com.hederahashgraph.api.proto.java.AccountID) keyChoice_); } if (keyChoiceCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (com.hederahashgraph.api.proto.java.TokenAssociation) keyChoice_); } if (keyChoiceCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (com.google.protobuf.UInt64Value) keyChoice_); } if (keyChoiceCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, (com.hederahashgraph.api.proto.java.FileID) keyChoice_); } if (keyChoiceCase_ == 5) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, (com.hederahashgraph.api.proto.java.NftID) keyChoice_); } if (keyChoiceCase_ == 6) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, (com.google.protobuf.BytesValue) keyChoice_); } if (keyChoiceCase_ == 7) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, (com.google.protobuf.Int64Value) keyChoice_); } if (keyChoiceCase_ == 8) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, (com.google.protobuf.StringValue) keyChoice_); } if (keyChoiceCase_ == 9) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, (com.hederahashgraph.api.proto.java.ScheduleID) keyChoice_); } if (keyChoiceCase_ == 10) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, (com.hederahashgraph.api.proto.java.SlotKey) keyChoice_); } if (keyChoiceCase_ == 11) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, (com.hederahashgraph.api.proto.java.TokenID) keyChoice_); } if (keyChoiceCase_ == 12) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, (com.hederahashgraph.api.proto.java.TopicID) keyChoice_); } if (keyChoiceCase_ == 13) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, (com.hederahashgraph.api.proto.java.ContractID) keyChoice_); } if (keyChoiceCase_ == 14) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, (com.hederahashgraph.api.proto.java.PendingAirdropId) keyChoice_); } 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.hedera.hapi.block.stream.output.protoc.MapChangeKey)) { return super.equals(obj); } com.hedera.hapi.block.stream.output.protoc.MapChangeKey other = (com.hedera.hapi.block.stream.output.protoc.MapChangeKey) obj; if (!getKeyChoiceCase().equals(other.getKeyChoiceCase())) return false; switch (keyChoiceCase_) { case 1: if (!getAccountIdKey() .equals(other.getAccountIdKey())) return false; break; case 2: if (!getTokenRelationshipKey() .equals(other.getTokenRelationshipKey())) return false; break; case 3: if (!getEntityNumberKey() .equals(other.getEntityNumberKey())) return false; break; case 4: if (!getFileIdKey() .equals(other.getFileIdKey())) return false; break; case 5: if (!getNftIdKey() .equals(other.getNftIdKey())) return false; break; case 6: if (!getProtoBytesKey() .equals(other.getProtoBytesKey())) return false; break; case 7: if (!getProtoLongKey() .equals(other.getProtoLongKey())) return false; break; case 8: if (!getProtoStringKey() .equals(other.getProtoStringKey())) return false; break; case 9: if (!getScheduleIdKey() .equals(other.getScheduleIdKey())) return false; break; case 10: if (!getSlotKeyKey() .equals(other.getSlotKeyKey())) return false; break; case 11: if (!getTokenIdKey() .equals(other.getTokenIdKey())) return false; break; case 12: if (!getTopicIdKey() .equals(other.getTopicIdKey())) return false; break; case 13: if (!getContractIdKey() .equals(other.getContractIdKey())) return false; break; case 14: if (!getPendingAirdropIdKey() .equals(other.getPendingAirdropIdKey())) return false; break; case 0: default: } 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(); switch (keyChoiceCase_) { case 1: hash = (37 * hash) + ACCOUNT_ID_KEY_FIELD_NUMBER; hash = (53 * hash) + getAccountIdKey().hashCode(); break; case 2: hash = (37 * hash) + TOKEN_RELATIONSHIP_KEY_FIELD_NUMBER; hash = (53 * hash) + getTokenRelationshipKey().hashCode(); break; case 3: hash = (37 * hash) + ENTITY_NUMBER_KEY_FIELD_NUMBER; hash = (53 * hash) + getEntityNumberKey().hashCode(); break; case 4: hash = (37 * hash) + FILE_ID_KEY_FIELD_NUMBER; hash = (53 * hash) + getFileIdKey().hashCode(); break; case 5: hash = (37 * hash) + NFT_ID_KEY_FIELD_NUMBER; hash = (53 * hash) + getNftIdKey().hashCode(); break; case 6: hash = (37 * hash) + PROTO_BYTES_KEY_FIELD_NUMBER; hash = (53 * hash) + getProtoBytesKey().hashCode(); break; case 7: hash = (37 * hash) + PROTO_LONG_KEY_FIELD_NUMBER; hash = (53 * hash) + getProtoLongKey().hashCode(); break; case 8: hash = (37 * hash) + PROTO_STRING_KEY_FIELD_NUMBER; hash = (53 * hash) + getProtoStringKey().hashCode(); break; case 9: hash = (37 * hash) + SCHEDULE_ID_KEY_FIELD_NUMBER; hash = (53 * hash) + getScheduleIdKey().hashCode(); break; case 10: hash = (37 * hash) + SLOT_KEY_KEY_FIELD_NUMBER; hash = (53 * hash) + getSlotKeyKey().hashCode(); break; case 11: hash = (37 * hash) + TOKEN_ID_KEY_FIELD_NUMBER; hash = (53 * hash) + getTokenIdKey().hashCode(); break; case 12: hash = (37 * hash) + TOPIC_ID_KEY_FIELD_NUMBER; hash = (53 * hash) + getTopicIdKey().hashCode(); break; case 13: hash = (37 * hash) + CONTRACT_ID_KEY_FIELD_NUMBER; hash = (53 * hash) + getContractIdKey().hashCode(); break; case 14: hash = (37 * hash) + PENDING_AIRDROP_ID_KEY_FIELD_NUMBER; hash = (53 * hash) + getPendingAirdropIdKey().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.hedera.hapi.block.stream.output.protoc.MapChangeKey parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hedera.hapi.block.stream.output.protoc.MapChangeKey parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.hedera.hapi.block.stream.output.protoc.MapChangeKey parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hedera.hapi.block.stream.output.protoc.MapChangeKey parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.hedera.hapi.block.stream.output.protoc.MapChangeKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.hedera.hapi.block.stream.output.protoc.MapChangeKey parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.hedera.hapi.block.stream.output.protoc.MapChangeKey parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.hedera.hapi.block.stream.output.protoc.MapChangeKey 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.hedera.hapi.block.stream.output.protoc.MapChangeKey parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.hedera.hapi.block.stream.output.protoc.MapChangeKey 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.hedera.hapi.block.stream.output.protoc.MapChangeKey parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.hedera.hapi.block.stream.output.protoc.MapChangeKey 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.hedera.hapi.block.stream.output.protoc.MapChangeKey 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 key identifying a specific entry in a key-value "virtual map".
   * 
* * Protobuf type {@code com.hedera.hapi.block.stream.output.MapChangeKey} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.hedera.hapi.block.stream.output.MapChangeKey) com.hedera.hapi.block.stream.output.protoc.MapChangeKeyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.hedera.hapi.block.stream.output.protoc.StateChangesOuterClass.internal_static_com_hedera_hapi_block_stream_output_MapChangeKey_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.hedera.hapi.block.stream.output.protoc.StateChangesOuterClass.internal_static_com_hedera_hapi_block_stream_output_MapChangeKey_fieldAccessorTable .ensureFieldAccessorsInitialized( com.hedera.hapi.block.stream.output.protoc.MapChangeKey.class, com.hedera.hapi.block.stream.output.protoc.MapChangeKey.Builder.class); } // Construct using com.hedera.hapi.block.stream.output.protoc.MapChangeKey.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(); keyChoiceCase_ = 0; keyChoice_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.hedera.hapi.block.stream.output.protoc.StateChangesOuterClass.internal_static_com_hedera_hapi_block_stream_output_MapChangeKey_descriptor; } @java.lang.Override public com.hedera.hapi.block.stream.output.protoc.MapChangeKey getDefaultInstanceForType() { return com.hedera.hapi.block.stream.output.protoc.MapChangeKey.getDefaultInstance(); } @java.lang.Override public com.hedera.hapi.block.stream.output.protoc.MapChangeKey build() { com.hedera.hapi.block.stream.output.protoc.MapChangeKey result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.hedera.hapi.block.stream.output.protoc.MapChangeKey buildPartial() { com.hedera.hapi.block.stream.output.protoc.MapChangeKey result = new com.hedera.hapi.block.stream.output.protoc.MapChangeKey(this); if (keyChoiceCase_ == 1) { if (accountIdKeyBuilder_ == null) { result.keyChoice_ = keyChoice_; } else { result.keyChoice_ = accountIdKeyBuilder_.build(); } } if (keyChoiceCase_ == 2) { if (tokenRelationshipKeyBuilder_ == null) { result.keyChoice_ = keyChoice_; } else { result.keyChoice_ = tokenRelationshipKeyBuilder_.build(); } } if (keyChoiceCase_ == 3) { if (entityNumberKeyBuilder_ == null) { result.keyChoice_ = keyChoice_; } else { result.keyChoice_ = entityNumberKeyBuilder_.build(); } } if (keyChoiceCase_ == 4) { if (fileIdKeyBuilder_ == null) { result.keyChoice_ = keyChoice_; } else { result.keyChoice_ = fileIdKeyBuilder_.build(); } } if (keyChoiceCase_ == 5) { if (nftIdKeyBuilder_ == null) { result.keyChoice_ = keyChoice_; } else { result.keyChoice_ = nftIdKeyBuilder_.build(); } } if (keyChoiceCase_ == 6) { if (protoBytesKeyBuilder_ == null) { result.keyChoice_ = keyChoice_; } else { result.keyChoice_ = protoBytesKeyBuilder_.build(); } } if (keyChoiceCase_ == 7) { if (protoLongKeyBuilder_ == null) { result.keyChoice_ = keyChoice_; } else { result.keyChoice_ = protoLongKeyBuilder_.build(); } } if (keyChoiceCase_ == 8) { if (protoStringKeyBuilder_ == null) { result.keyChoice_ = keyChoice_; } else { result.keyChoice_ = protoStringKeyBuilder_.build(); } } if (keyChoiceCase_ == 9) { if (scheduleIdKeyBuilder_ == null) { result.keyChoice_ = keyChoice_; } else { result.keyChoice_ = scheduleIdKeyBuilder_.build(); } } if (keyChoiceCase_ == 10) { if (slotKeyKeyBuilder_ == null) { result.keyChoice_ = keyChoice_; } else { result.keyChoice_ = slotKeyKeyBuilder_.build(); } } if (keyChoiceCase_ == 11) { if (tokenIdKeyBuilder_ == null) { result.keyChoice_ = keyChoice_; } else { result.keyChoice_ = tokenIdKeyBuilder_.build(); } } if (keyChoiceCase_ == 12) { if (topicIdKeyBuilder_ == null) { result.keyChoice_ = keyChoice_; } else { result.keyChoice_ = topicIdKeyBuilder_.build(); } } if (keyChoiceCase_ == 13) { if (contractIdKeyBuilder_ == null) { result.keyChoice_ = keyChoice_; } else { result.keyChoice_ = contractIdKeyBuilder_.build(); } } if (keyChoiceCase_ == 14) { if (pendingAirdropIdKeyBuilder_ == null) { result.keyChoice_ = keyChoice_; } else { result.keyChoice_ = pendingAirdropIdKeyBuilder_.build(); } } result.keyChoiceCase_ = keyChoiceCase_; 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.hedera.hapi.block.stream.output.protoc.MapChangeKey) { return mergeFrom((com.hedera.hapi.block.stream.output.protoc.MapChangeKey)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.hedera.hapi.block.stream.output.protoc.MapChangeKey other) { if (other == com.hedera.hapi.block.stream.output.protoc.MapChangeKey.getDefaultInstance()) return this; switch (other.getKeyChoiceCase()) { case ACCOUNT_ID_KEY: { mergeAccountIdKey(other.getAccountIdKey()); break; } case TOKEN_RELATIONSHIP_KEY: { mergeTokenRelationshipKey(other.getTokenRelationshipKey()); break; } case ENTITY_NUMBER_KEY: { mergeEntityNumberKey(other.getEntityNumberKey()); break; } case FILE_ID_KEY: { mergeFileIdKey(other.getFileIdKey()); break; } case NFT_ID_KEY: { mergeNftIdKey(other.getNftIdKey()); break; } case PROTO_BYTES_KEY: { mergeProtoBytesKey(other.getProtoBytesKey()); break; } case PROTO_LONG_KEY: { mergeProtoLongKey(other.getProtoLongKey()); break; } case PROTO_STRING_KEY: { mergeProtoStringKey(other.getProtoStringKey()); break; } case SCHEDULE_ID_KEY: { mergeScheduleIdKey(other.getScheduleIdKey()); break; } case SLOT_KEY_KEY: { mergeSlotKeyKey(other.getSlotKeyKey()); break; } case TOKEN_ID_KEY: { mergeTokenIdKey(other.getTokenIdKey()); break; } case TOPIC_ID_KEY: { mergeTopicIdKey(other.getTopicIdKey()); break; } case CONTRACT_ID_KEY: { mergeContractIdKey(other.getContractIdKey()); break; } case PENDING_AIRDROP_ID_KEY: { mergePendingAirdropIdKey(other.getPendingAirdropIdKey()); break; } case KEYCHOICE_NOT_SET: { break; } } 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.hedera.hapi.block.stream.output.protoc.MapChangeKey parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.hedera.hapi.block.stream.output.protoc.MapChangeKey) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int keyChoiceCase_ = 0; private java.lang.Object keyChoice_; public KeyChoiceCase getKeyChoiceCase() { return KeyChoiceCase.forNumber( keyChoiceCase_); } public Builder clearKeyChoice() { keyChoiceCase_ = 0; keyChoice_ = null; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.AccountID, com.hederahashgraph.api.proto.java.AccountID.Builder, com.hederahashgraph.api.proto.java.AccountIDOrBuilder> accountIdKeyBuilder_; /** *
     **
     * A key for a change affecting a map keyed by an Account identifier.
     * 
* * .proto.AccountID account_id_key = 1; * @return Whether the accountIdKey field is set. */ @java.lang.Override public boolean hasAccountIdKey() { return keyChoiceCase_ == 1; } /** *
     **
     * A key for a change affecting a map keyed by an Account identifier.
     * 
* * .proto.AccountID account_id_key = 1; * @return The accountIdKey. */ @java.lang.Override public com.hederahashgraph.api.proto.java.AccountID getAccountIdKey() { if (accountIdKeyBuilder_ == null) { if (keyChoiceCase_ == 1) { return (com.hederahashgraph.api.proto.java.AccountID) keyChoice_; } return com.hederahashgraph.api.proto.java.AccountID.getDefaultInstance(); } else { if (keyChoiceCase_ == 1) { return accountIdKeyBuilder_.getMessage(); } return com.hederahashgraph.api.proto.java.AccountID.getDefaultInstance(); } } /** *
     **
     * A key for a change affecting a map keyed by an Account identifier.
     * 
* * .proto.AccountID account_id_key = 1; */ public Builder setAccountIdKey(com.hederahashgraph.api.proto.java.AccountID value) { if (accountIdKeyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } keyChoice_ = value; onChanged(); } else { accountIdKeyBuilder_.setMessage(value); } keyChoiceCase_ = 1; return this; } /** *
     **
     * A key for a change affecting a map keyed by an Account identifier.
     * 
* * .proto.AccountID account_id_key = 1; */ public Builder setAccountIdKey( com.hederahashgraph.api.proto.java.AccountID.Builder builderForValue) { if (accountIdKeyBuilder_ == null) { keyChoice_ = builderForValue.build(); onChanged(); } else { accountIdKeyBuilder_.setMessage(builderForValue.build()); } keyChoiceCase_ = 1; return this; } /** *
     **
     * A key for a change affecting a map keyed by an Account identifier.
     * 
* * .proto.AccountID account_id_key = 1; */ public Builder mergeAccountIdKey(com.hederahashgraph.api.proto.java.AccountID value) { if (accountIdKeyBuilder_ == null) { if (keyChoiceCase_ == 1 && keyChoice_ != com.hederahashgraph.api.proto.java.AccountID.getDefaultInstance()) { keyChoice_ = com.hederahashgraph.api.proto.java.AccountID.newBuilder((com.hederahashgraph.api.proto.java.AccountID) keyChoice_) .mergeFrom(value).buildPartial(); } else { keyChoice_ = value; } onChanged(); } else { if (keyChoiceCase_ == 1) { accountIdKeyBuilder_.mergeFrom(value); } accountIdKeyBuilder_.setMessage(value); } keyChoiceCase_ = 1; return this; } /** *
     **
     * A key for a change affecting a map keyed by an Account identifier.
     * 
* * .proto.AccountID account_id_key = 1; */ public Builder clearAccountIdKey() { if (accountIdKeyBuilder_ == null) { if (keyChoiceCase_ == 1) { keyChoiceCase_ = 0; keyChoice_ = null; onChanged(); } } else { if (keyChoiceCase_ == 1) { keyChoiceCase_ = 0; keyChoice_ = null; } accountIdKeyBuilder_.clear(); } return this; } /** *
     **
     * A key for a change affecting a map keyed by an Account identifier.
     * 
* * .proto.AccountID account_id_key = 1; */ public com.hederahashgraph.api.proto.java.AccountID.Builder getAccountIdKeyBuilder() { return getAccountIdKeyFieldBuilder().getBuilder(); } /** *
     **
     * A key for a change affecting a map keyed by an Account identifier.
     * 
* * .proto.AccountID account_id_key = 1; */ @java.lang.Override public com.hederahashgraph.api.proto.java.AccountIDOrBuilder getAccountIdKeyOrBuilder() { if ((keyChoiceCase_ == 1) && (accountIdKeyBuilder_ != null)) { return accountIdKeyBuilder_.getMessageOrBuilder(); } else { if (keyChoiceCase_ == 1) { return (com.hederahashgraph.api.proto.java.AccountID) keyChoice_; } return com.hederahashgraph.api.proto.java.AccountID.getDefaultInstance(); } } /** *
     **
     * A key for a change affecting a map keyed by an Account identifier.
     * 
* * .proto.AccountID account_id_key = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.AccountID, com.hederahashgraph.api.proto.java.AccountID.Builder, com.hederahashgraph.api.proto.java.AccountIDOrBuilder> getAccountIdKeyFieldBuilder() { if (accountIdKeyBuilder_ == null) { if (!(keyChoiceCase_ == 1)) { keyChoice_ = com.hederahashgraph.api.proto.java.AccountID.getDefaultInstance(); } accountIdKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.AccountID, com.hederahashgraph.api.proto.java.AccountID.Builder, com.hederahashgraph.api.proto.java.AccountIDOrBuilder>( (com.hederahashgraph.api.proto.java.AccountID) keyChoice_, getParentForChildren(), isClean()); keyChoice_ = null; } keyChoiceCase_ = 1; onChanged();; return accountIdKeyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.TokenAssociation, com.hederahashgraph.api.proto.java.TokenAssociation.Builder, com.hederahashgraph.api.proto.java.TokenAssociationOrBuilder> tokenRelationshipKeyBuilder_; /** *
     **
     * A change to the token relationships virtual map.<br/>
     * This map is keyed by the pair of account identifier and
     * token identifier.
     * 
* * .proto.TokenAssociation token_relationship_key = 2; * @return Whether the tokenRelationshipKey field is set. */ @java.lang.Override public boolean hasTokenRelationshipKey() { return keyChoiceCase_ == 2; } /** *
     **
     * A change to the token relationships virtual map.<br/>
     * This map is keyed by the pair of account identifier and
     * token identifier.
     * 
* * .proto.TokenAssociation token_relationship_key = 2; * @return The tokenRelationshipKey. */ @java.lang.Override public com.hederahashgraph.api.proto.java.TokenAssociation getTokenRelationshipKey() { if (tokenRelationshipKeyBuilder_ == null) { if (keyChoiceCase_ == 2) { return (com.hederahashgraph.api.proto.java.TokenAssociation) keyChoice_; } return com.hederahashgraph.api.proto.java.TokenAssociation.getDefaultInstance(); } else { if (keyChoiceCase_ == 2) { return tokenRelationshipKeyBuilder_.getMessage(); } return com.hederahashgraph.api.proto.java.TokenAssociation.getDefaultInstance(); } } /** *
     **
     * A change to the token relationships virtual map.<br/>
     * This map is keyed by the pair of account identifier and
     * token identifier.
     * 
* * .proto.TokenAssociation token_relationship_key = 2; */ public Builder setTokenRelationshipKey(com.hederahashgraph.api.proto.java.TokenAssociation value) { if (tokenRelationshipKeyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } keyChoice_ = value; onChanged(); } else { tokenRelationshipKeyBuilder_.setMessage(value); } keyChoiceCase_ = 2; return this; } /** *
     **
     * A change to the token relationships virtual map.<br/>
     * This map is keyed by the pair of account identifier and
     * token identifier.
     * 
* * .proto.TokenAssociation token_relationship_key = 2; */ public Builder setTokenRelationshipKey( com.hederahashgraph.api.proto.java.TokenAssociation.Builder builderForValue) { if (tokenRelationshipKeyBuilder_ == null) { keyChoice_ = builderForValue.build(); onChanged(); } else { tokenRelationshipKeyBuilder_.setMessage(builderForValue.build()); } keyChoiceCase_ = 2; return this; } /** *
     **
     * A change to the token relationships virtual map.<br/>
     * This map is keyed by the pair of account identifier and
     * token identifier.
     * 
* * .proto.TokenAssociation token_relationship_key = 2; */ public Builder mergeTokenRelationshipKey(com.hederahashgraph.api.proto.java.TokenAssociation value) { if (tokenRelationshipKeyBuilder_ == null) { if (keyChoiceCase_ == 2 && keyChoice_ != com.hederahashgraph.api.proto.java.TokenAssociation.getDefaultInstance()) { keyChoice_ = com.hederahashgraph.api.proto.java.TokenAssociation.newBuilder((com.hederahashgraph.api.proto.java.TokenAssociation) keyChoice_) .mergeFrom(value).buildPartial(); } else { keyChoice_ = value; } onChanged(); } else { if (keyChoiceCase_ == 2) { tokenRelationshipKeyBuilder_.mergeFrom(value); } tokenRelationshipKeyBuilder_.setMessage(value); } keyChoiceCase_ = 2; return this; } /** *
     **
     * A change to the token relationships virtual map.<br/>
     * This map is keyed by the pair of account identifier and
     * token identifier.
     * 
* * .proto.TokenAssociation token_relationship_key = 2; */ public Builder clearTokenRelationshipKey() { if (tokenRelationshipKeyBuilder_ == null) { if (keyChoiceCase_ == 2) { keyChoiceCase_ = 0; keyChoice_ = null; onChanged(); } } else { if (keyChoiceCase_ == 2) { keyChoiceCase_ = 0; keyChoice_ = null; } tokenRelationshipKeyBuilder_.clear(); } return this; } /** *
     **
     * A change to the token relationships virtual map.<br/>
     * This map is keyed by the pair of account identifier and
     * token identifier.
     * 
* * .proto.TokenAssociation token_relationship_key = 2; */ public com.hederahashgraph.api.proto.java.TokenAssociation.Builder getTokenRelationshipKeyBuilder() { return getTokenRelationshipKeyFieldBuilder().getBuilder(); } /** *
     **
     * A change to the token relationships virtual map.<br/>
     * This map is keyed by the pair of account identifier and
     * token identifier.
     * 
* * .proto.TokenAssociation token_relationship_key = 2; */ @java.lang.Override public com.hederahashgraph.api.proto.java.TokenAssociationOrBuilder getTokenRelationshipKeyOrBuilder() { if ((keyChoiceCase_ == 2) && (tokenRelationshipKeyBuilder_ != null)) { return tokenRelationshipKeyBuilder_.getMessageOrBuilder(); } else { if (keyChoiceCase_ == 2) { return (com.hederahashgraph.api.proto.java.TokenAssociation) keyChoice_; } return com.hederahashgraph.api.proto.java.TokenAssociation.getDefaultInstance(); } } /** *
     **
     * A change to the token relationships virtual map.<br/>
     * This map is keyed by the pair of account identifier and
     * token identifier.
     * 
* * .proto.TokenAssociation token_relationship_key = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.TokenAssociation, com.hederahashgraph.api.proto.java.TokenAssociation.Builder, com.hederahashgraph.api.proto.java.TokenAssociationOrBuilder> getTokenRelationshipKeyFieldBuilder() { if (tokenRelationshipKeyBuilder_ == null) { if (!(keyChoiceCase_ == 2)) { keyChoice_ = com.hederahashgraph.api.proto.java.TokenAssociation.getDefaultInstance(); } tokenRelationshipKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.TokenAssociation, com.hederahashgraph.api.proto.java.TokenAssociation.Builder, com.hederahashgraph.api.proto.java.TokenAssociationOrBuilder>( (com.hederahashgraph.api.proto.java.TokenAssociation) keyChoice_, getParentForChildren(), isClean()); keyChoice_ = null; } keyChoiceCase_ = 2; onChanged();; return tokenRelationshipKeyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> entityNumberKeyBuilder_; /** *
     **
     * A change to a map keyed by an EntityNumber (which is a whole number).
     * <p>
     * This SHOULD NOT be used. Virtual maps SHOULD be keyed to
     * full identifiers that include shard and realm information.
     * 
* * .google.protobuf.UInt64Value entity_number_key = 3; * @return Whether the entityNumberKey field is set. */ @java.lang.Override public boolean hasEntityNumberKey() { return keyChoiceCase_ == 3; } /** *
     **
     * A change to a map keyed by an EntityNumber (which is a whole number).
     * <p>
     * This SHOULD NOT be used. Virtual maps SHOULD be keyed to
     * full identifiers that include shard and realm information.
     * 
* * .google.protobuf.UInt64Value entity_number_key = 3; * @return The entityNumberKey. */ @java.lang.Override public com.google.protobuf.UInt64Value getEntityNumberKey() { if (entityNumberKeyBuilder_ == null) { if (keyChoiceCase_ == 3) { return (com.google.protobuf.UInt64Value) keyChoice_; } return com.google.protobuf.UInt64Value.getDefaultInstance(); } else { if (keyChoiceCase_ == 3) { return entityNumberKeyBuilder_.getMessage(); } return com.google.protobuf.UInt64Value.getDefaultInstance(); } } /** *
     **
     * A change to a map keyed by an EntityNumber (which is a whole number).
     * <p>
     * This SHOULD NOT be used. Virtual maps SHOULD be keyed to
     * full identifiers that include shard and realm information.
     * 
* * .google.protobuf.UInt64Value entity_number_key = 3; */ public Builder setEntityNumberKey(com.google.protobuf.UInt64Value value) { if (entityNumberKeyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } keyChoice_ = value; onChanged(); } else { entityNumberKeyBuilder_.setMessage(value); } keyChoiceCase_ = 3; return this; } /** *
     **
     * A change to a map keyed by an EntityNumber (which is a whole number).
     * <p>
     * This SHOULD NOT be used. Virtual maps SHOULD be keyed to
     * full identifiers that include shard and realm information.
     * 
* * .google.protobuf.UInt64Value entity_number_key = 3; */ public Builder setEntityNumberKey( com.google.protobuf.UInt64Value.Builder builderForValue) { if (entityNumberKeyBuilder_ == null) { keyChoice_ = builderForValue.build(); onChanged(); } else { entityNumberKeyBuilder_.setMessage(builderForValue.build()); } keyChoiceCase_ = 3; return this; } /** *
     **
     * A change to a map keyed by an EntityNumber (which is a whole number).
     * <p>
     * This SHOULD NOT be used. Virtual maps SHOULD be keyed to
     * full identifiers that include shard and realm information.
     * 
* * .google.protobuf.UInt64Value entity_number_key = 3; */ public Builder mergeEntityNumberKey(com.google.protobuf.UInt64Value value) { if (entityNumberKeyBuilder_ == null) { if (keyChoiceCase_ == 3 && keyChoice_ != com.google.protobuf.UInt64Value.getDefaultInstance()) { keyChoice_ = com.google.protobuf.UInt64Value.newBuilder((com.google.protobuf.UInt64Value) keyChoice_) .mergeFrom(value).buildPartial(); } else { keyChoice_ = value; } onChanged(); } else { if (keyChoiceCase_ == 3) { entityNumberKeyBuilder_.mergeFrom(value); } entityNumberKeyBuilder_.setMessage(value); } keyChoiceCase_ = 3; return this; } /** *
     **
     * A change to a map keyed by an EntityNumber (which is a whole number).
     * <p>
     * This SHOULD NOT be used. Virtual maps SHOULD be keyed to
     * full identifiers that include shard and realm information.
     * 
* * .google.protobuf.UInt64Value entity_number_key = 3; */ public Builder clearEntityNumberKey() { if (entityNumberKeyBuilder_ == null) { if (keyChoiceCase_ == 3) { keyChoiceCase_ = 0; keyChoice_ = null; onChanged(); } } else { if (keyChoiceCase_ == 3) { keyChoiceCase_ = 0; keyChoice_ = null; } entityNumberKeyBuilder_.clear(); } return this; } /** *
     **
     * A change to a map keyed by an EntityNumber (which is a whole number).
     * <p>
     * This SHOULD NOT be used. Virtual maps SHOULD be keyed to
     * full identifiers that include shard and realm information.
     * 
* * .google.protobuf.UInt64Value entity_number_key = 3; */ public com.google.protobuf.UInt64Value.Builder getEntityNumberKeyBuilder() { return getEntityNumberKeyFieldBuilder().getBuilder(); } /** *
     **
     * A change to a map keyed by an EntityNumber (which is a whole number).
     * <p>
     * This SHOULD NOT be used. Virtual maps SHOULD be keyed to
     * full identifiers that include shard and realm information.
     * 
* * .google.protobuf.UInt64Value entity_number_key = 3; */ @java.lang.Override public com.google.protobuf.UInt64ValueOrBuilder getEntityNumberKeyOrBuilder() { if ((keyChoiceCase_ == 3) && (entityNumberKeyBuilder_ != null)) { return entityNumberKeyBuilder_.getMessageOrBuilder(); } else { if (keyChoiceCase_ == 3) { return (com.google.protobuf.UInt64Value) keyChoice_; } return com.google.protobuf.UInt64Value.getDefaultInstance(); } } /** *
     **
     * A change to a map keyed by an EntityNumber (which is a whole number).
     * <p>
     * This SHOULD NOT be used. Virtual maps SHOULD be keyed to
     * full identifiers that include shard and realm information.
     * 
* * .google.protobuf.UInt64Value entity_number_key = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> getEntityNumberKeyFieldBuilder() { if (entityNumberKeyBuilder_ == null) { if (!(keyChoiceCase_ == 3)) { keyChoice_ = com.google.protobuf.UInt64Value.getDefaultInstance(); } entityNumberKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>( (com.google.protobuf.UInt64Value) keyChoice_, getParentForChildren(), isClean()); keyChoice_ = null; } keyChoiceCase_ = 3; onChanged();; return entityNumberKeyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.FileID, com.hederahashgraph.api.proto.java.FileID.Builder, com.hederahashgraph.api.proto.java.FileIDOrBuilder> fileIdKeyBuilder_; /** *
     **
     * A change to a virtual map keyed by File identifier.
     * 
* * .proto.FileID file_id_key = 4; * @return Whether the fileIdKey field is set. */ @java.lang.Override public boolean hasFileIdKey() { return keyChoiceCase_ == 4; } /** *
     **
     * A change to a virtual map keyed by File identifier.
     * 
* * .proto.FileID file_id_key = 4; * @return The fileIdKey. */ @java.lang.Override public com.hederahashgraph.api.proto.java.FileID getFileIdKey() { if (fileIdKeyBuilder_ == null) { if (keyChoiceCase_ == 4) { return (com.hederahashgraph.api.proto.java.FileID) keyChoice_; } return com.hederahashgraph.api.proto.java.FileID.getDefaultInstance(); } else { if (keyChoiceCase_ == 4) { return fileIdKeyBuilder_.getMessage(); } return com.hederahashgraph.api.proto.java.FileID.getDefaultInstance(); } } /** *
     **
     * A change to a virtual map keyed by File identifier.
     * 
* * .proto.FileID file_id_key = 4; */ public Builder setFileIdKey(com.hederahashgraph.api.proto.java.FileID value) { if (fileIdKeyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } keyChoice_ = value; onChanged(); } else { fileIdKeyBuilder_.setMessage(value); } keyChoiceCase_ = 4; return this; } /** *
     **
     * A change to a virtual map keyed by File identifier.
     * 
* * .proto.FileID file_id_key = 4; */ public Builder setFileIdKey( com.hederahashgraph.api.proto.java.FileID.Builder builderForValue) { if (fileIdKeyBuilder_ == null) { keyChoice_ = builderForValue.build(); onChanged(); } else { fileIdKeyBuilder_.setMessage(builderForValue.build()); } keyChoiceCase_ = 4; return this; } /** *
     **
     * A change to a virtual map keyed by File identifier.
     * 
* * .proto.FileID file_id_key = 4; */ public Builder mergeFileIdKey(com.hederahashgraph.api.proto.java.FileID value) { if (fileIdKeyBuilder_ == null) { if (keyChoiceCase_ == 4 && keyChoice_ != com.hederahashgraph.api.proto.java.FileID.getDefaultInstance()) { keyChoice_ = com.hederahashgraph.api.proto.java.FileID.newBuilder((com.hederahashgraph.api.proto.java.FileID) keyChoice_) .mergeFrom(value).buildPartial(); } else { keyChoice_ = value; } onChanged(); } else { if (keyChoiceCase_ == 4) { fileIdKeyBuilder_.mergeFrom(value); } fileIdKeyBuilder_.setMessage(value); } keyChoiceCase_ = 4; return this; } /** *
     **
     * A change to a virtual map keyed by File identifier.
     * 
* * .proto.FileID file_id_key = 4; */ public Builder clearFileIdKey() { if (fileIdKeyBuilder_ == null) { if (keyChoiceCase_ == 4) { keyChoiceCase_ = 0; keyChoice_ = null; onChanged(); } } else { if (keyChoiceCase_ == 4) { keyChoiceCase_ = 0; keyChoice_ = null; } fileIdKeyBuilder_.clear(); } return this; } /** *
     **
     * A change to a virtual map keyed by File identifier.
     * 
* * .proto.FileID file_id_key = 4; */ public com.hederahashgraph.api.proto.java.FileID.Builder getFileIdKeyBuilder() { return getFileIdKeyFieldBuilder().getBuilder(); } /** *
     **
     * A change to a virtual map keyed by File identifier.
     * 
* * .proto.FileID file_id_key = 4; */ @java.lang.Override public com.hederahashgraph.api.proto.java.FileIDOrBuilder getFileIdKeyOrBuilder() { if ((keyChoiceCase_ == 4) && (fileIdKeyBuilder_ != null)) { return fileIdKeyBuilder_.getMessageOrBuilder(); } else { if (keyChoiceCase_ == 4) { return (com.hederahashgraph.api.proto.java.FileID) keyChoice_; } return com.hederahashgraph.api.proto.java.FileID.getDefaultInstance(); } } /** *
     **
     * A change to a virtual map keyed by File identifier.
     * 
* * .proto.FileID file_id_key = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.FileID, com.hederahashgraph.api.proto.java.FileID.Builder, com.hederahashgraph.api.proto.java.FileIDOrBuilder> getFileIdKeyFieldBuilder() { if (fileIdKeyBuilder_ == null) { if (!(keyChoiceCase_ == 4)) { keyChoice_ = com.hederahashgraph.api.proto.java.FileID.getDefaultInstance(); } fileIdKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.FileID, com.hederahashgraph.api.proto.java.FileID.Builder, com.hederahashgraph.api.proto.java.FileIDOrBuilder>( (com.hederahashgraph.api.proto.java.FileID) keyChoice_, getParentForChildren(), isClean()); keyChoice_ = null; } keyChoiceCase_ = 4; onChanged();; return fileIdKeyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.NftID, com.hederahashgraph.api.proto.java.NftID.Builder, com.hederahashgraph.api.proto.java.NftIDOrBuilder> nftIdKeyBuilder_; /** *
     **
     * A change to a virtual map keyed by NFT identifier.
     * 
* * .proto.NftID nft_id_key = 5; * @return Whether the nftIdKey field is set. */ @java.lang.Override public boolean hasNftIdKey() { return keyChoiceCase_ == 5; } /** *
     **
     * A change to a virtual map keyed by NFT identifier.
     * 
* * .proto.NftID nft_id_key = 5; * @return The nftIdKey. */ @java.lang.Override public com.hederahashgraph.api.proto.java.NftID getNftIdKey() { if (nftIdKeyBuilder_ == null) { if (keyChoiceCase_ == 5) { return (com.hederahashgraph.api.proto.java.NftID) keyChoice_; } return com.hederahashgraph.api.proto.java.NftID.getDefaultInstance(); } else { if (keyChoiceCase_ == 5) { return nftIdKeyBuilder_.getMessage(); } return com.hederahashgraph.api.proto.java.NftID.getDefaultInstance(); } } /** *
     **
     * A change to a virtual map keyed by NFT identifier.
     * 
* * .proto.NftID nft_id_key = 5; */ public Builder setNftIdKey(com.hederahashgraph.api.proto.java.NftID value) { if (nftIdKeyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } keyChoice_ = value; onChanged(); } else { nftIdKeyBuilder_.setMessage(value); } keyChoiceCase_ = 5; return this; } /** *
     **
     * A change to a virtual map keyed by NFT identifier.
     * 
* * .proto.NftID nft_id_key = 5; */ public Builder setNftIdKey( com.hederahashgraph.api.proto.java.NftID.Builder builderForValue) { if (nftIdKeyBuilder_ == null) { keyChoice_ = builderForValue.build(); onChanged(); } else { nftIdKeyBuilder_.setMessage(builderForValue.build()); } keyChoiceCase_ = 5; return this; } /** *
     **
     * A change to a virtual map keyed by NFT identifier.
     * 
* * .proto.NftID nft_id_key = 5; */ public Builder mergeNftIdKey(com.hederahashgraph.api.proto.java.NftID value) { if (nftIdKeyBuilder_ == null) { if (keyChoiceCase_ == 5 && keyChoice_ != com.hederahashgraph.api.proto.java.NftID.getDefaultInstance()) { keyChoice_ = com.hederahashgraph.api.proto.java.NftID.newBuilder((com.hederahashgraph.api.proto.java.NftID) keyChoice_) .mergeFrom(value).buildPartial(); } else { keyChoice_ = value; } onChanged(); } else { if (keyChoiceCase_ == 5) { nftIdKeyBuilder_.mergeFrom(value); } nftIdKeyBuilder_.setMessage(value); } keyChoiceCase_ = 5; return this; } /** *
     **
     * A change to a virtual map keyed by NFT identifier.
     * 
* * .proto.NftID nft_id_key = 5; */ public Builder clearNftIdKey() { if (nftIdKeyBuilder_ == null) { if (keyChoiceCase_ == 5) { keyChoiceCase_ = 0; keyChoice_ = null; onChanged(); } } else { if (keyChoiceCase_ == 5) { keyChoiceCase_ = 0; keyChoice_ = null; } nftIdKeyBuilder_.clear(); } return this; } /** *
     **
     * A change to a virtual map keyed by NFT identifier.
     * 
* * .proto.NftID nft_id_key = 5; */ public com.hederahashgraph.api.proto.java.NftID.Builder getNftIdKeyBuilder() { return getNftIdKeyFieldBuilder().getBuilder(); } /** *
     **
     * A change to a virtual map keyed by NFT identifier.
     * 
* * .proto.NftID nft_id_key = 5; */ @java.lang.Override public com.hederahashgraph.api.proto.java.NftIDOrBuilder getNftIdKeyOrBuilder() { if ((keyChoiceCase_ == 5) && (nftIdKeyBuilder_ != null)) { return nftIdKeyBuilder_.getMessageOrBuilder(); } else { if (keyChoiceCase_ == 5) { return (com.hederahashgraph.api.proto.java.NftID) keyChoice_; } return com.hederahashgraph.api.proto.java.NftID.getDefaultInstance(); } } /** *
     **
     * A change to a virtual map keyed by NFT identifier.
     * 
* * .proto.NftID nft_id_key = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.NftID, com.hederahashgraph.api.proto.java.NftID.Builder, com.hederahashgraph.api.proto.java.NftIDOrBuilder> getNftIdKeyFieldBuilder() { if (nftIdKeyBuilder_ == null) { if (!(keyChoiceCase_ == 5)) { keyChoice_ = com.hederahashgraph.api.proto.java.NftID.getDefaultInstance(); } nftIdKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.NftID, com.hederahashgraph.api.proto.java.NftID.Builder, com.hederahashgraph.api.proto.java.NftIDOrBuilder>( (com.hederahashgraph.api.proto.java.NftID) keyChoice_, getParentForChildren(), isClean()); keyChoice_ = null; } keyChoiceCase_ = 5; onChanged();; return nftIdKeyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BytesValue, com.google.protobuf.BytesValue.Builder, com.google.protobuf.BytesValueOrBuilder> protoBytesKeyBuilder_; /** *
     **
     * A change to a virtual map keyed by a byte array.
     * 
* * .google.protobuf.BytesValue proto_bytes_key = 6; * @return Whether the protoBytesKey field is set. */ @java.lang.Override public boolean hasProtoBytesKey() { return keyChoiceCase_ == 6; } /** *
     **
     * A change to a virtual map keyed by a byte array.
     * 
* * .google.protobuf.BytesValue proto_bytes_key = 6; * @return The protoBytesKey. */ @java.lang.Override public com.google.protobuf.BytesValue getProtoBytesKey() { if (protoBytesKeyBuilder_ == null) { if (keyChoiceCase_ == 6) { return (com.google.protobuf.BytesValue) keyChoice_; } return com.google.protobuf.BytesValue.getDefaultInstance(); } else { if (keyChoiceCase_ == 6) { return protoBytesKeyBuilder_.getMessage(); } return com.google.protobuf.BytesValue.getDefaultInstance(); } } /** *
     **
     * A change to a virtual map keyed by a byte array.
     * 
* * .google.protobuf.BytesValue proto_bytes_key = 6; */ public Builder setProtoBytesKey(com.google.protobuf.BytesValue value) { if (protoBytesKeyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } keyChoice_ = value; onChanged(); } else { protoBytesKeyBuilder_.setMessage(value); } keyChoiceCase_ = 6; return this; } /** *
     **
     * A change to a virtual map keyed by a byte array.
     * 
* * .google.protobuf.BytesValue proto_bytes_key = 6; */ public Builder setProtoBytesKey( com.google.protobuf.BytesValue.Builder builderForValue) { if (protoBytesKeyBuilder_ == null) { keyChoice_ = builderForValue.build(); onChanged(); } else { protoBytesKeyBuilder_.setMessage(builderForValue.build()); } keyChoiceCase_ = 6; return this; } /** *
     **
     * A change to a virtual map keyed by a byte array.
     * 
* * .google.protobuf.BytesValue proto_bytes_key = 6; */ public Builder mergeProtoBytesKey(com.google.protobuf.BytesValue value) { if (protoBytesKeyBuilder_ == null) { if (keyChoiceCase_ == 6 && keyChoice_ != com.google.protobuf.BytesValue.getDefaultInstance()) { keyChoice_ = com.google.protobuf.BytesValue.newBuilder((com.google.protobuf.BytesValue) keyChoice_) .mergeFrom(value).buildPartial(); } else { keyChoice_ = value; } onChanged(); } else { if (keyChoiceCase_ == 6) { protoBytesKeyBuilder_.mergeFrom(value); } protoBytesKeyBuilder_.setMessage(value); } keyChoiceCase_ = 6; return this; } /** *
     **
     * A change to a virtual map keyed by a byte array.
     * 
* * .google.protobuf.BytesValue proto_bytes_key = 6; */ public Builder clearProtoBytesKey() { if (protoBytesKeyBuilder_ == null) { if (keyChoiceCase_ == 6) { keyChoiceCase_ = 0; keyChoice_ = null; onChanged(); } } else { if (keyChoiceCase_ == 6) { keyChoiceCase_ = 0; keyChoice_ = null; } protoBytesKeyBuilder_.clear(); } return this; } /** *
     **
     * A change to a virtual map keyed by a byte array.
     * 
* * .google.protobuf.BytesValue proto_bytes_key = 6; */ public com.google.protobuf.BytesValue.Builder getProtoBytesKeyBuilder() { return getProtoBytesKeyFieldBuilder().getBuilder(); } /** *
     **
     * A change to a virtual map keyed by a byte array.
     * 
* * .google.protobuf.BytesValue proto_bytes_key = 6; */ @java.lang.Override public com.google.protobuf.BytesValueOrBuilder getProtoBytesKeyOrBuilder() { if ((keyChoiceCase_ == 6) && (protoBytesKeyBuilder_ != null)) { return protoBytesKeyBuilder_.getMessageOrBuilder(); } else { if (keyChoiceCase_ == 6) { return (com.google.protobuf.BytesValue) keyChoice_; } return com.google.protobuf.BytesValue.getDefaultInstance(); } } /** *
     **
     * A change to a virtual map keyed by a byte array.
     * 
* * .google.protobuf.BytesValue proto_bytes_key = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BytesValue, com.google.protobuf.BytesValue.Builder, com.google.protobuf.BytesValueOrBuilder> getProtoBytesKeyFieldBuilder() { if (protoBytesKeyBuilder_ == null) { if (!(keyChoiceCase_ == 6)) { keyChoice_ = com.google.protobuf.BytesValue.getDefaultInstance(); } protoBytesKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BytesValue, com.google.protobuf.BytesValue.Builder, com.google.protobuf.BytesValueOrBuilder>( (com.google.protobuf.BytesValue) keyChoice_, getParentForChildren(), isClean()); keyChoice_ = null; } keyChoiceCase_ = 6; onChanged();; return protoBytesKeyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> protoLongKeyBuilder_; /** *
     **
     * A change to a virtual map keyed by an int64 value.
     * 
* * .google.protobuf.Int64Value proto_long_key = 7; * @return Whether the protoLongKey field is set. */ @java.lang.Override public boolean hasProtoLongKey() { return keyChoiceCase_ == 7; } /** *
     **
     * A change to a virtual map keyed by an int64 value.
     * 
* * .google.protobuf.Int64Value proto_long_key = 7; * @return The protoLongKey. */ @java.lang.Override public com.google.protobuf.Int64Value getProtoLongKey() { if (protoLongKeyBuilder_ == null) { if (keyChoiceCase_ == 7) { return (com.google.protobuf.Int64Value) keyChoice_; } return com.google.protobuf.Int64Value.getDefaultInstance(); } else { if (keyChoiceCase_ == 7) { return protoLongKeyBuilder_.getMessage(); } return com.google.protobuf.Int64Value.getDefaultInstance(); } } /** *
     **
     * A change to a virtual map keyed by an int64 value.
     * 
* * .google.protobuf.Int64Value proto_long_key = 7; */ public Builder setProtoLongKey(com.google.protobuf.Int64Value value) { if (protoLongKeyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } keyChoice_ = value; onChanged(); } else { protoLongKeyBuilder_.setMessage(value); } keyChoiceCase_ = 7; return this; } /** *
     **
     * A change to a virtual map keyed by an int64 value.
     * 
* * .google.protobuf.Int64Value proto_long_key = 7; */ public Builder setProtoLongKey( com.google.protobuf.Int64Value.Builder builderForValue) { if (protoLongKeyBuilder_ == null) { keyChoice_ = builderForValue.build(); onChanged(); } else { protoLongKeyBuilder_.setMessage(builderForValue.build()); } keyChoiceCase_ = 7; return this; } /** *
     **
     * A change to a virtual map keyed by an int64 value.
     * 
* * .google.protobuf.Int64Value proto_long_key = 7; */ public Builder mergeProtoLongKey(com.google.protobuf.Int64Value value) { if (protoLongKeyBuilder_ == null) { if (keyChoiceCase_ == 7 && keyChoice_ != com.google.protobuf.Int64Value.getDefaultInstance()) { keyChoice_ = com.google.protobuf.Int64Value.newBuilder((com.google.protobuf.Int64Value) keyChoice_) .mergeFrom(value).buildPartial(); } else { keyChoice_ = value; } onChanged(); } else { if (keyChoiceCase_ == 7) { protoLongKeyBuilder_.mergeFrom(value); } protoLongKeyBuilder_.setMessage(value); } keyChoiceCase_ = 7; return this; } /** *
     **
     * A change to a virtual map keyed by an int64 value.
     * 
* * .google.protobuf.Int64Value proto_long_key = 7; */ public Builder clearProtoLongKey() { if (protoLongKeyBuilder_ == null) { if (keyChoiceCase_ == 7) { keyChoiceCase_ = 0; keyChoice_ = null; onChanged(); } } else { if (keyChoiceCase_ == 7) { keyChoiceCase_ = 0; keyChoice_ = null; } protoLongKeyBuilder_.clear(); } return this; } /** *
     **
     * A change to a virtual map keyed by an int64 value.
     * 
* * .google.protobuf.Int64Value proto_long_key = 7; */ public com.google.protobuf.Int64Value.Builder getProtoLongKeyBuilder() { return getProtoLongKeyFieldBuilder().getBuilder(); } /** *
     **
     * A change to a virtual map keyed by an int64 value.
     * 
* * .google.protobuf.Int64Value proto_long_key = 7; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getProtoLongKeyOrBuilder() { if ((keyChoiceCase_ == 7) && (protoLongKeyBuilder_ != null)) { return protoLongKeyBuilder_.getMessageOrBuilder(); } else { if (keyChoiceCase_ == 7) { return (com.google.protobuf.Int64Value) keyChoice_; } return com.google.protobuf.Int64Value.getDefaultInstance(); } } /** *
     **
     * A change to a virtual map keyed by an int64 value.
     * 
* * .google.protobuf.Int64Value proto_long_key = 7; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getProtoLongKeyFieldBuilder() { if (protoLongKeyBuilder_ == null) { if (!(keyChoiceCase_ == 7)) { keyChoice_ = com.google.protobuf.Int64Value.getDefaultInstance(); } protoLongKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( (com.google.protobuf.Int64Value) keyChoice_, getParentForChildren(), isClean()); keyChoice_ = null; } keyChoiceCase_ = 7; onChanged();; return protoLongKeyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> protoStringKeyBuilder_; /** *
     **
     * A change to a virtual map keyed by a string value.
     * 
* * .google.protobuf.StringValue proto_string_key = 8; * @return Whether the protoStringKey field is set. */ @java.lang.Override public boolean hasProtoStringKey() { return keyChoiceCase_ == 8; } /** *
     **
     * A change to a virtual map keyed by a string value.
     * 
* * .google.protobuf.StringValue proto_string_key = 8; * @return The protoStringKey. */ @java.lang.Override public com.google.protobuf.StringValue getProtoStringKey() { if (protoStringKeyBuilder_ == null) { if (keyChoiceCase_ == 8) { return (com.google.protobuf.StringValue) keyChoice_; } return com.google.protobuf.StringValue.getDefaultInstance(); } else { if (keyChoiceCase_ == 8) { return protoStringKeyBuilder_.getMessage(); } return com.google.protobuf.StringValue.getDefaultInstance(); } } /** *
     **
     * A change to a virtual map keyed by a string value.
     * 
* * .google.protobuf.StringValue proto_string_key = 8; */ public Builder setProtoStringKey(com.google.protobuf.StringValue value) { if (protoStringKeyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } keyChoice_ = value; onChanged(); } else { protoStringKeyBuilder_.setMessage(value); } keyChoiceCase_ = 8; return this; } /** *
     **
     * A change to a virtual map keyed by a string value.
     * 
* * .google.protobuf.StringValue proto_string_key = 8; */ public Builder setProtoStringKey( com.google.protobuf.StringValue.Builder builderForValue) { if (protoStringKeyBuilder_ == null) { keyChoice_ = builderForValue.build(); onChanged(); } else { protoStringKeyBuilder_.setMessage(builderForValue.build()); } keyChoiceCase_ = 8; return this; } /** *
     **
     * A change to a virtual map keyed by a string value.
     * 
* * .google.protobuf.StringValue proto_string_key = 8; */ public Builder mergeProtoStringKey(com.google.protobuf.StringValue value) { if (protoStringKeyBuilder_ == null) { if (keyChoiceCase_ == 8 && keyChoice_ != com.google.protobuf.StringValue.getDefaultInstance()) { keyChoice_ = com.google.protobuf.StringValue.newBuilder((com.google.protobuf.StringValue) keyChoice_) .mergeFrom(value).buildPartial(); } else { keyChoice_ = value; } onChanged(); } else { if (keyChoiceCase_ == 8) { protoStringKeyBuilder_.mergeFrom(value); } protoStringKeyBuilder_.setMessage(value); } keyChoiceCase_ = 8; return this; } /** *
     **
     * A change to a virtual map keyed by a string value.
     * 
* * .google.protobuf.StringValue proto_string_key = 8; */ public Builder clearProtoStringKey() { if (protoStringKeyBuilder_ == null) { if (keyChoiceCase_ == 8) { keyChoiceCase_ = 0; keyChoice_ = null; onChanged(); } } else { if (keyChoiceCase_ == 8) { keyChoiceCase_ = 0; keyChoice_ = null; } protoStringKeyBuilder_.clear(); } return this; } /** *
     **
     * A change to a virtual map keyed by a string value.
     * 
* * .google.protobuf.StringValue proto_string_key = 8; */ public com.google.protobuf.StringValue.Builder getProtoStringKeyBuilder() { return getProtoStringKeyFieldBuilder().getBuilder(); } /** *
     **
     * A change to a virtual map keyed by a string value.
     * 
* * .google.protobuf.StringValue proto_string_key = 8; */ @java.lang.Override public com.google.protobuf.StringValueOrBuilder getProtoStringKeyOrBuilder() { if ((keyChoiceCase_ == 8) && (protoStringKeyBuilder_ != null)) { return protoStringKeyBuilder_.getMessageOrBuilder(); } else { if (keyChoiceCase_ == 8) { return (com.google.protobuf.StringValue) keyChoice_; } return com.google.protobuf.StringValue.getDefaultInstance(); } } /** *
     **
     * A change to a virtual map keyed by a string value.
     * 
* * .google.protobuf.StringValue proto_string_key = 8; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> getProtoStringKeyFieldBuilder() { if (protoStringKeyBuilder_ == null) { if (!(keyChoiceCase_ == 8)) { keyChoice_ = com.google.protobuf.StringValue.getDefaultInstance(); } protoStringKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>( (com.google.protobuf.StringValue) keyChoice_, getParentForChildren(), isClean()); keyChoice_ = null; } keyChoiceCase_ = 8; onChanged();; return protoStringKeyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.ScheduleID, com.hederahashgraph.api.proto.java.ScheduleID.Builder, com.hederahashgraph.api.proto.java.ScheduleIDOrBuilder> scheduleIdKeyBuilder_; /** *
     **
     * A change to a virtual map keyed by a Schedule identifier.
     * 
* * .proto.ScheduleID schedule_id_key = 9; * @return Whether the scheduleIdKey field is set. */ @java.lang.Override public boolean hasScheduleIdKey() { return keyChoiceCase_ == 9; } /** *
     **
     * A change to a virtual map keyed by a Schedule identifier.
     * 
* * .proto.ScheduleID schedule_id_key = 9; * @return The scheduleIdKey. */ @java.lang.Override public com.hederahashgraph.api.proto.java.ScheduleID getScheduleIdKey() { if (scheduleIdKeyBuilder_ == null) { if (keyChoiceCase_ == 9) { return (com.hederahashgraph.api.proto.java.ScheduleID) keyChoice_; } return com.hederahashgraph.api.proto.java.ScheduleID.getDefaultInstance(); } else { if (keyChoiceCase_ == 9) { return scheduleIdKeyBuilder_.getMessage(); } return com.hederahashgraph.api.proto.java.ScheduleID.getDefaultInstance(); } } /** *
     **
     * A change to a virtual map keyed by a Schedule identifier.
     * 
* * .proto.ScheduleID schedule_id_key = 9; */ public Builder setScheduleIdKey(com.hederahashgraph.api.proto.java.ScheduleID value) { if (scheduleIdKeyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } keyChoice_ = value; onChanged(); } else { scheduleIdKeyBuilder_.setMessage(value); } keyChoiceCase_ = 9; return this; } /** *
     **
     * A change to a virtual map keyed by a Schedule identifier.
     * 
* * .proto.ScheduleID schedule_id_key = 9; */ public Builder setScheduleIdKey( com.hederahashgraph.api.proto.java.ScheduleID.Builder builderForValue) { if (scheduleIdKeyBuilder_ == null) { keyChoice_ = builderForValue.build(); onChanged(); } else { scheduleIdKeyBuilder_.setMessage(builderForValue.build()); } keyChoiceCase_ = 9; return this; } /** *
     **
     * A change to a virtual map keyed by a Schedule identifier.
     * 
* * .proto.ScheduleID schedule_id_key = 9; */ public Builder mergeScheduleIdKey(com.hederahashgraph.api.proto.java.ScheduleID value) { if (scheduleIdKeyBuilder_ == null) { if (keyChoiceCase_ == 9 && keyChoice_ != com.hederahashgraph.api.proto.java.ScheduleID.getDefaultInstance()) { keyChoice_ = com.hederahashgraph.api.proto.java.ScheduleID.newBuilder((com.hederahashgraph.api.proto.java.ScheduleID) keyChoice_) .mergeFrom(value).buildPartial(); } else { keyChoice_ = value; } onChanged(); } else { if (keyChoiceCase_ == 9) { scheduleIdKeyBuilder_.mergeFrom(value); } scheduleIdKeyBuilder_.setMessage(value); } keyChoiceCase_ = 9; return this; } /** *
     **
     * A change to a virtual map keyed by a Schedule identifier.
     * 
* * .proto.ScheduleID schedule_id_key = 9; */ public Builder clearScheduleIdKey() { if (scheduleIdKeyBuilder_ == null) { if (keyChoiceCase_ == 9) { keyChoiceCase_ = 0; keyChoice_ = null; onChanged(); } } else { if (keyChoiceCase_ == 9) { keyChoiceCase_ = 0; keyChoice_ = null; } scheduleIdKeyBuilder_.clear(); } return this; } /** *
     **
     * A change to a virtual map keyed by a Schedule identifier.
     * 
* * .proto.ScheduleID schedule_id_key = 9; */ public com.hederahashgraph.api.proto.java.ScheduleID.Builder getScheduleIdKeyBuilder() { return getScheduleIdKeyFieldBuilder().getBuilder(); } /** *
     **
     * A change to a virtual map keyed by a Schedule identifier.
     * 
* * .proto.ScheduleID schedule_id_key = 9; */ @java.lang.Override public com.hederahashgraph.api.proto.java.ScheduleIDOrBuilder getScheduleIdKeyOrBuilder() { if ((keyChoiceCase_ == 9) && (scheduleIdKeyBuilder_ != null)) { return scheduleIdKeyBuilder_.getMessageOrBuilder(); } else { if (keyChoiceCase_ == 9) { return (com.hederahashgraph.api.proto.java.ScheduleID) keyChoice_; } return com.hederahashgraph.api.proto.java.ScheduleID.getDefaultInstance(); } } /** *
     **
     * A change to a virtual map keyed by a Schedule identifier.
     * 
* * .proto.ScheduleID schedule_id_key = 9; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.ScheduleID, com.hederahashgraph.api.proto.java.ScheduleID.Builder, com.hederahashgraph.api.proto.java.ScheduleIDOrBuilder> getScheduleIdKeyFieldBuilder() { if (scheduleIdKeyBuilder_ == null) { if (!(keyChoiceCase_ == 9)) { keyChoice_ = com.hederahashgraph.api.proto.java.ScheduleID.getDefaultInstance(); } scheduleIdKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.ScheduleID, com.hederahashgraph.api.proto.java.ScheduleID.Builder, com.hederahashgraph.api.proto.java.ScheduleIDOrBuilder>( (com.hederahashgraph.api.proto.java.ScheduleID) keyChoice_, getParentForChildren(), isClean()); keyChoice_ = null; } keyChoiceCase_ = 9; onChanged();; return scheduleIdKeyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.SlotKey, com.hederahashgraph.api.proto.java.SlotKey.Builder, com.hederahashgraph.api.proto.java.SlotKeyOrBuilder> slotKeyKeyBuilder_; /** *
     **
     * A change to the EVM storage "slot" virtual map.
     * 
* * .proto.SlotKey slot_key_key = 10; * @return Whether the slotKeyKey field is set. */ @java.lang.Override public boolean hasSlotKeyKey() { return keyChoiceCase_ == 10; } /** *
     **
     * A change to the EVM storage "slot" virtual map.
     * 
* * .proto.SlotKey slot_key_key = 10; * @return The slotKeyKey. */ @java.lang.Override public com.hederahashgraph.api.proto.java.SlotKey getSlotKeyKey() { if (slotKeyKeyBuilder_ == null) { if (keyChoiceCase_ == 10) { return (com.hederahashgraph.api.proto.java.SlotKey) keyChoice_; } return com.hederahashgraph.api.proto.java.SlotKey.getDefaultInstance(); } else { if (keyChoiceCase_ == 10) { return slotKeyKeyBuilder_.getMessage(); } return com.hederahashgraph.api.proto.java.SlotKey.getDefaultInstance(); } } /** *
     **
     * A change to the EVM storage "slot" virtual map.
     * 
* * .proto.SlotKey slot_key_key = 10; */ public Builder setSlotKeyKey(com.hederahashgraph.api.proto.java.SlotKey value) { if (slotKeyKeyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } keyChoice_ = value; onChanged(); } else { slotKeyKeyBuilder_.setMessage(value); } keyChoiceCase_ = 10; return this; } /** *
     **
     * A change to the EVM storage "slot" virtual map.
     * 
* * .proto.SlotKey slot_key_key = 10; */ public Builder setSlotKeyKey( com.hederahashgraph.api.proto.java.SlotKey.Builder builderForValue) { if (slotKeyKeyBuilder_ == null) { keyChoice_ = builderForValue.build(); onChanged(); } else { slotKeyKeyBuilder_.setMessage(builderForValue.build()); } keyChoiceCase_ = 10; return this; } /** *
     **
     * A change to the EVM storage "slot" virtual map.
     * 
* * .proto.SlotKey slot_key_key = 10; */ public Builder mergeSlotKeyKey(com.hederahashgraph.api.proto.java.SlotKey value) { if (slotKeyKeyBuilder_ == null) { if (keyChoiceCase_ == 10 && keyChoice_ != com.hederahashgraph.api.proto.java.SlotKey.getDefaultInstance()) { keyChoice_ = com.hederahashgraph.api.proto.java.SlotKey.newBuilder((com.hederahashgraph.api.proto.java.SlotKey) keyChoice_) .mergeFrom(value).buildPartial(); } else { keyChoice_ = value; } onChanged(); } else { if (keyChoiceCase_ == 10) { slotKeyKeyBuilder_.mergeFrom(value); } slotKeyKeyBuilder_.setMessage(value); } keyChoiceCase_ = 10; return this; } /** *
     **
     * A change to the EVM storage "slot" virtual map.
     * 
* * .proto.SlotKey slot_key_key = 10; */ public Builder clearSlotKeyKey() { if (slotKeyKeyBuilder_ == null) { if (keyChoiceCase_ == 10) { keyChoiceCase_ = 0; keyChoice_ = null; onChanged(); } } else { if (keyChoiceCase_ == 10) { keyChoiceCase_ = 0; keyChoice_ = null; } slotKeyKeyBuilder_.clear(); } return this; } /** *
     **
     * A change to the EVM storage "slot" virtual map.
     * 
* * .proto.SlotKey slot_key_key = 10; */ public com.hederahashgraph.api.proto.java.SlotKey.Builder getSlotKeyKeyBuilder() { return getSlotKeyKeyFieldBuilder().getBuilder(); } /** *
     **
     * A change to the EVM storage "slot" virtual map.
     * 
* * .proto.SlotKey slot_key_key = 10; */ @java.lang.Override public com.hederahashgraph.api.proto.java.SlotKeyOrBuilder getSlotKeyKeyOrBuilder() { if ((keyChoiceCase_ == 10) && (slotKeyKeyBuilder_ != null)) { return slotKeyKeyBuilder_.getMessageOrBuilder(); } else { if (keyChoiceCase_ == 10) { return (com.hederahashgraph.api.proto.java.SlotKey) keyChoice_; } return com.hederahashgraph.api.proto.java.SlotKey.getDefaultInstance(); } } /** *
     **
     * A change to the EVM storage "slot" virtual map.
     * 
* * .proto.SlotKey slot_key_key = 10; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.SlotKey, com.hederahashgraph.api.proto.java.SlotKey.Builder, com.hederahashgraph.api.proto.java.SlotKeyOrBuilder> getSlotKeyKeyFieldBuilder() { if (slotKeyKeyBuilder_ == null) { if (!(keyChoiceCase_ == 10)) { keyChoice_ = com.hederahashgraph.api.proto.java.SlotKey.getDefaultInstance(); } slotKeyKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.SlotKey, com.hederahashgraph.api.proto.java.SlotKey.Builder, com.hederahashgraph.api.proto.java.SlotKeyOrBuilder>( (com.hederahashgraph.api.proto.java.SlotKey) keyChoice_, getParentForChildren(), isClean()); keyChoice_ = null; } keyChoiceCase_ = 10; onChanged();; return slotKeyKeyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.TokenID, com.hederahashgraph.api.proto.java.TokenID.Builder, com.hederahashgraph.api.proto.java.TokenIDOrBuilder> tokenIdKeyBuilder_; /** *
     **
     * A change to a virtual map keyed by a Token identifier.
     * 
* * .proto.TokenID token_id_key = 11; * @return Whether the tokenIdKey field is set. */ @java.lang.Override public boolean hasTokenIdKey() { return keyChoiceCase_ == 11; } /** *
     **
     * A change to a virtual map keyed by a Token identifier.
     * 
* * .proto.TokenID token_id_key = 11; * @return The tokenIdKey. */ @java.lang.Override public com.hederahashgraph.api.proto.java.TokenID getTokenIdKey() { if (tokenIdKeyBuilder_ == null) { if (keyChoiceCase_ == 11) { return (com.hederahashgraph.api.proto.java.TokenID) keyChoice_; } return com.hederahashgraph.api.proto.java.TokenID.getDefaultInstance(); } else { if (keyChoiceCase_ == 11) { return tokenIdKeyBuilder_.getMessage(); } return com.hederahashgraph.api.proto.java.TokenID.getDefaultInstance(); } } /** *
     **
     * A change to a virtual map keyed by a Token identifier.
     * 
* * .proto.TokenID token_id_key = 11; */ public Builder setTokenIdKey(com.hederahashgraph.api.proto.java.TokenID value) { if (tokenIdKeyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } keyChoice_ = value; onChanged(); } else { tokenIdKeyBuilder_.setMessage(value); } keyChoiceCase_ = 11; return this; } /** *
     **
     * A change to a virtual map keyed by a Token identifier.
     * 
* * .proto.TokenID token_id_key = 11; */ public Builder setTokenIdKey( com.hederahashgraph.api.proto.java.TokenID.Builder builderForValue) { if (tokenIdKeyBuilder_ == null) { keyChoice_ = builderForValue.build(); onChanged(); } else { tokenIdKeyBuilder_.setMessage(builderForValue.build()); } keyChoiceCase_ = 11; return this; } /** *
     **
     * A change to a virtual map keyed by a Token identifier.
     * 
* * .proto.TokenID token_id_key = 11; */ public Builder mergeTokenIdKey(com.hederahashgraph.api.proto.java.TokenID value) { if (tokenIdKeyBuilder_ == null) { if (keyChoiceCase_ == 11 && keyChoice_ != com.hederahashgraph.api.proto.java.TokenID.getDefaultInstance()) { keyChoice_ = com.hederahashgraph.api.proto.java.TokenID.newBuilder((com.hederahashgraph.api.proto.java.TokenID) keyChoice_) .mergeFrom(value).buildPartial(); } else { keyChoice_ = value; } onChanged(); } else { if (keyChoiceCase_ == 11) { tokenIdKeyBuilder_.mergeFrom(value); } tokenIdKeyBuilder_.setMessage(value); } keyChoiceCase_ = 11; return this; } /** *
     **
     * A change to a virtual map keyed by a Token identifier.
     * 
* * .proto.TokenID token_id_key = 11; */ public Builder clearTokenIdKey() { if (tokenIdKeyBuilder_ == null) { if (keyChoiceCase_ == 11) { keyChoiceCase_ = 0; keyChoice_ = null; onChanged(); } } else { if (keyChoiceCase_ == 11) { keyChoiceCase_ = 0; keyChoice_ = null; } tokenIdKeyBuilder_.clear(); } return this; } /** *
     **
     * A change to a virtual map keyed by a Token identifier.
     * 
* * .proto.TokenID token_id_key = 11; */ public com.hederahashgraph.api.proto.java.TokenID.Builder getTokenIdKeyBuilder() { return getTokenIdKeyFieldBuilder().getBuilder(); } /** *
     **
     * A change to a virtual map keyed by a Token identifier.
     * 
* * .proto.TokenID token_id_key = 11; */ @java.lang.Override public com.hederahashgraph.api.proto.java.TokenIDOrBuilder getTokenIdKeyOrBuilder() { if ((keyChoiceCase_ == 11) && (tokenIdKeyBuilder_ != null)) { return tokenIdKeyBuilder_.getMessageOrBuilder(); } else { if (keyChoiceCase_ == 11) { return (com.hederahashgraph.api.proto.java.TokenID) keyChoice_; } return com.hederahashgraph.api.proto.java.TokenID.getDefaultInstance(); } } /** *
     **
     * A change to a virtual map keyed by a Token identifier.
     * 
* * .proto.TokenID token_id_key = 11; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.TokenID, com.hederahashgraph.api.proto.java.TokenID.Builder, com.hederahashgraph.api.proto.java.TokenIDOrBuilder> getTokenIdKeyFieldBuilder() { if (tokenIdKeyBuilder_ == null) { if (!(keyChoiceCase_ == 11)) { keyChoice_ = com.hederahashgraph.api.proto.java.TokenID.getDefaultInstance(); } tokenIdKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.TokenID, com.hederahashgraph.api.proto.java.TokenID.Builder, com.hederahashgraph.api.proto.java.TokenIDOrBuilder>( (com.hederahashgraph.api.proto.java.TokenID) keyChoice_, getParentForChildren(), isClean()); keyChoice_ = null; } keyChoiceCase_ = 11; onChanged();; return tokenIdKeyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.TopicID, com.hederahashgraph.api.proto.java.TopicID.Builder, com.hederahashgraph.api.proto.java.TopicIDOrBuilder> topicIdKeyBuilder_; /** *
     **
     * A change to a virtual map keyed by a Topic identifier.
     * 
* * .proto.TopicID topic_id_key = 12; * @return Whether the topicIdKey field is set. */ @java.lang.Override public boolean hasTopicIdKey() { return keyChoiceCase_ == 12; } /** *
     **
     * A change to a virtual map keyed by a Topic identifier.
     * 
* * .proto.TopicID topic_id_key = 12; * @return The topicIdKey. */ @java.lang.Override public com.hederahashgraph.api.proto.java.TopicID getTopicIdKey() { if (topicIdKeyBuilder_ == null) { if (keyChoiceCase_ == 12) { return (com.hederahashgraph.api.proto.java.TopicID) keyChoice_; } return com.hederahashgraph.api.proto.java.TopicID.getDefaultInstance(); } else { if (keyChoiceCase_ == 12) { return topicIdKeyBuilder_.getMessage(); } return com.hederahashgraph.api.proto.java.TopicID.getDefaultInstance(); } } /** *
     **
     * A change to a virtual map keyed by a Topic identifier.
     * 
* * .proto.TopicID topic_id_key = 12; */ public Builder setTopicIdKey(com.hederahashgraph.api.proto.java.TopicID value) { if (topicIdKeyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } keyChoice_ = value; onChanged(); } else { topicIdKeyBuilder_.setMessage(value); } keyChoiceCase_ = 12; return this; } /** *
     **
     * A change to a virtual map keyed by a Topic identifier.
     * 
* * .proto.TopicID topic_id_key = 12; */ public Builder setTopicIdKey( com.hederahashgraph.api.proto.java.TopicID.Builder builderForValue) { if (topicIdKeyBuilder_ == null) { keyChoice_ = builderForValue.build(); onChanged(); } else { topicIdKeyBuilder_.setMessage(builderForValue.build()); } keyChoiceCase_ = 12; return this; } /** *
     **
     * A change to a virtual map keyed by a Topic identifier.
     * 
* * .proto.TopicID topic_id_key = 12; */ public Builder mergeTopicIdKey(com.hederahashgraph.api.proto.java.TopicID value) { if (topicIdKeyBuilder_ == null) { if (keyChoiceCase_ == 12 && keyChoice_ != com.hederahashgraph.api.proto.java.TopicID.getDefaultInstance()) { keyChoice_ = com.hederahashgraph.api.proto.java.TopicID.newBuilder((com.hederahashgraph.api.proto.java.TopicID) keyChoice_) .mergeFrom(value).buildPartial(); } else { keyChoice_ = value; } onChanged(); } else { if (keyChoiceCase_ == 12) { topicIdKeyBuilder_.mergeFrom(value); } topicIdKeyBuilder_.setMessage(value); } keyChoiceCase_ = 12; return this; } /** *
     **
     * A change to a virtual map keyed by a Topic identifier.
     * 
* * .proto.TopicID topic_id_key = 12; */ public Builder clearTopicIdKey() { if (topicIdKeyBuilder_ == null) { if (keyChoiceCase_ == 12) { keyChoiceCase_ = 0; keyChoice_ = null; onChanged(); } } else { if (keyChoiceCase_ == 12) { keyChoiceCase_ = 0; keyChoice_ = null; } topicIdKeyBuilder_.clear(); } return this; } /** *
     **
     * A change to a virtual map keyed by a Topic identifier.
     * 
* * .proto.TopicID topic_id_key = 12; */ public com.hederahashgraph.api.proto.java.TopicID.Builder getTopicIdKeyBuilder() { return getTopicIdKeyFieldBuilder().getBuilder(); } /** *
     **
     * A change to a virtual map keyed by a Topic identifier.
     * 
* * .proto.TopicID topic_id_key = 12; */ @java.lang.Override public com.hederahashgraph.api.proto.java.TopicIDOrBuilder getTopicIdKeyOrBuilder() { if ((keyChoiceCase_ == 12) && (topicIdKeyBuilder_ != null)) { return topicIdKeyBuilder_.getMessageOrBuilder(); } else { if (keyChoiceCase_ == 12) { return (com.hederahashgraph.api.proto.java.TopicID) keyChoice_; } return com.hederahashgraph.api.proto.java.TopicID.getDefaultInstance(); } } /** *
     **
     * A change to a virtual map keyed by a Topic identifier.
     * 
* * .proto.TopicID topic_id_key = 12; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.TopicID, com.hederahashgraph.api.proto.java.TopicID.Builder, com.hederahashgraph.api.proto.java.TopicIDOrBuilder> getTopicIdKeyFieldBuilder() { if (topicIdKeyBuilder_ == null) { if (!(keyChoiceCase_ == 12)) { keyChoice_ = com.hederahashgraph.api.proto.java.TopicID.getDefaultInstance(); } topicIdKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.TopicID, com.hederahashgraph.api.proto.java.TopicID.Builder, com.hederahashgraph.api.proto.java.TopicIDOrBuilder>( (com.hederahashgraph.api.proto.java.TopicID) keyChoice_, getParentForChildren(), isClean()); keyChoice_ = null; } keyChoiceCase_ = 12; onChanged();; return topicIdKeyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.ContractID, com.hederahashgraph.api.proto.java.ContractID.Builder, com.hederahashgraph.api.proto.java.ContractIDOrBuilder> contractIdKeyBuilder_; /** *
     **
     * A change to a virtual map keyed by contract id identifier.
     * 
* * .proto.ContractID contract_id_key = 13; * @return Whether the contractIdKey field is set. */ @java.lang.Override public boolean hasContractIdKey() { return keyChoiceCase_ == 13; } /** *
     **
     * A change to a virtual map keyed by contract id identifier.
     * 
* * .proto.ContractID contract_id_key = 13; * @return The contractIdKey. */ @java.lang.Override public com.hederahashgraph.api.proto.java.ContractID getContractIdKey() { if (contractIdKeyBuilder_ == null) { if (keyChoiceCase_ == 13) { return (com.hederahashgraph.api.proto.java.ContractID) keyChoice_; } return com.hederahashgraph.api.proto.java.ContractID.getDefaultInstance(); } else { if (keyChoiceCase_ == 13) { return contractIdKeyBuilder_.getMessage(); } return com.hederahashgraph.api.proto.java.ContractID.getDefaultInstance(); } } /** *
     **
     * A change to a virtual map keyed by contract id identifier.
     * 
* * .proto.ContractID contract_id_key = 13; */ public Builder setContractIdKey(com.hederahashgraph.api.proto.java.ContractID value) { if (contractIdKeyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } keyChoice_ = value; onChanged(); } else { contractIdKeyBuilder_.setMessage(value); } keyChoiceCase_ = 13; return this; } /** *
     **
     * A change to a virtual map keyed by contract id identifier.
     * 
* * .proto.ContractID contract_id_key = 13; */ public Builder setContractIdKey( com.hederahashgraph.api.proto.java.ContractID.Builder builderForValue) { if (contractIdKeyBuilder_ == null) { keyChoice_ = builderForValue.build(); onChanged(); } else { contractIdKeyBuilder_.setMessage(builderForValue.build()); } keyChoiceCase_ = 13; return this; } /** *
     **
     * A change to a virtual map keyed by contract id identifier.
     * 
* * .proto.ContractID contract_id_key = 13; */ public Builder mergeContractIdKey(com.hederahashgraph.api.proto.java.ContractID value) { if (contractIdKeyBuilder_ == null) { if (keyChoiceCase_ == 13 && keyChoice_ != com.hederahashgraph.api.proto.java.ContractID.getDefaultInstance()) { keyChoice_ = com.hederahashgraph.api.proto.java.ContractID.newBuilder((com.hederahashgraph.api.proto.java.ContractID) keyChoice_) .mergeFrom(value).buildPartial(); } else { keyChoice_ = value; } onChanged(); } else { if (keyChoiceCase_ == 13) { contractIdKeyBuilder_.mergeFrom(value); } contractIdKeyBuilder_.setMessage(value); } keyChoiceCase_ = 13; return this; } /** *
     **
     * A change to a virtual map keyed by contract id identifier.
     * 
* * .proto.ContractID contract_id_key = 13; */ public Builder clearContractIdKey() { if (contractIdKeyBuilder_ == null) { if (keyChoiceCase_ == 13) { keyChoiceCase_ = 0; keyChoice_ = null; onChanged(); } } else { if (keyChoiceCase_ == 13) { keyChoiceCase_ = 0; keyChoice_ = null; } contractIdKeyBuilder_.clear(); } return this; } /** *
     **
     * A change to a virtual map keyed by contract id identifier.
     * 
* * .proto.ContractID contract_id_key = 13; */ public com.hederahashgraph.api.proto.java.ContractID.Builder getContractIdKeyBuilder() { return getContractIdKeyFieldBuilder().getBuilder(); } /** *
     **
     * A change to a virtual map keyed by contract id identifier.
     * 
* * .proto.ContractID contract_id_key = 13; */ @java.lang.Override public com.hederahashgraph.api.proto.java.ContractIDOrBuilder getContractIdKeyOrBuilder() { if ((keyChoiceCase_ == 13) && (contractIdKeyBuilder_ != null)) { return contractIdKeyBuilder_.getMessageOrBuilder(); } else { if (keyChoiceCase_ == 13) { return (com.hederahashgraph.api.proto.java.ContractID) keyChoice_; } return com.hederahashgraph.api.proto.java.ContractID.getDefaultInstance(); } } /** *
     **
     * A change to a virtual map keyed by contract id identifier.
     * 
* * .proto.ContractID contract_id_key = 13; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.ContractID, com.hederahashgraph.api.proto.java.ContractID.Builder, com.hederahashgraph.api.proto.java.ContractIDOrBuilder> getContractIdKeyFieldBuilder() { if (contractIdKeyBuilder_ == null) { if (!(keyChoiceCase_ == 13)) { keyChoice_ = com.hederahashgraph.api.proto.java.ContractID.getDefaultInstance(); } contractIdKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.ContractID, com.hederahashgraph.api.proto.java.ContractID.Builder, com.hederahashgraph.api.proto.java.ContractIDOrBuilder>( (com.hederahashgraph.api.proto.java.ContractID) keyChoice_, getParentForChildren(), isClean()); keyChoice_ = null; } keyChoiceCase_ = 13; onChanged();; return contractIdKeyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.PendingAirdropId, com.hederahashgraph.api.proto.java.PendingAirdropId.Builder, com.hederahashgraph.api.proto.java.PendingAirdropIdOrBuilder> pendingAirdropIdKeyBuilder_; /** *
     **
     * A change to a virtual map keyed by pending airdrop id identifier.
     * 
* * .proto.PendingAirdropId pending_airdrop_id_key = 14; * @return Whether the pendingAirdropIdKey field is set. */ @java.lang.Override public boolean hasPendingAirdropIdKey() { return keyChoiceCase_ == 14; } /** *
     **
     * A change to a virtual map keyed by pending airdrop id identifier.
     * 
* * .proto.PendingAirdropId pending_airdrop_id_key = 14; * @return The pendingAirdropIdKey. */ @java.lang.Override public com.hederahashgraph.api.proto.java.PendingAirdropId getPendingAirdropIdKey() { if (pendingAirdropIdKeyBuilder_ == null) { if (keyChoiceCase_ == 14) { return (com.hederahashgraph.api.proto.java.PendingAirdropId) keyChoice_; } return com.hederahashgraph.api.proto.java.PendingAirdropId.getDefaultInstance(); } else { if (keyChoiceCase_ == 14) { return pendingAirdropIdKeyBuilder_.getMessage(); } return com.hederahashgraph.api.proto.java.PendingAirdropId.getDefaultInstance(); } } /** *
     **
     * A change to a virtual map keyed by pending airdrop id identifier.
     * 
* * .proto.PendingAirdropId pending_airdrop_id_key = 14; */ public Builder setPendingAirdropIdKey(com.hederahashgraph.api.proto.java.PendingAirdropId value) { if (pendingAirdropIdKeyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } keyChoice_ = value; onChanged(); } else { pendingAirdropIdKeyBuilder_.setMessage(value); } keyChoiceCase_ = 14; return this; } /** *
     **
     * A change to a virtual map keyed by pending airdrop id identifier.
     * 
* * .proto.PendingAirdropId pending_airdrop_id_key = 14; */ public Builder setPendingAirdropIdKey( com.hederahashgraph.api.proto.java.PendingAirdropId.Builder builderForValue) { if (pendingAirdropIdKeyBuilder_ == null) { keyChoice_ = builderForValue.build(); onChanged(); } else { pendingAirdropIdKeyBuilder_.setMessage(builderForValue.build()); } keyChoiceCase_ = 14; return this; } /** *
     **
     * A change to a virtual map keyed by pending airdrop id identifier.
     * 
* * .proto.PendingAirdropId pending_airdrop_id_key = 14; */ public Builder mergePendingAirdropIdKey(com.hederahashgraph.api.proto.java.PendingAirdropId value) { if (pendingAirdropIdKeyBuilder_ == null) { if (keyChoiceCase_ == 14 && keyChoice_ != com.hederahashgraph.api.proto.java.PendingAirdropId.getDefaultInstance()) { keyChoice_ = com.hederahashgraph.api.proto.java.PendingAirdropId.newBuilder((com.hederahashgraph.api.proto.java.PendingAirdropId) keyChoice_) .mergeFrom(value).buildPartial(); } else { keyChoice_ = value; } onChanged(); } else { if (keyChoiceCase_ == 14) { pendingAirdropIdKeyBuilder_.mergeFrom(value); } pendingAirdropIdKeyBuilder_.setMessage(value); } keyChoiceCase_ = 14; return this; } /** *
     **
     * A change to a virtual map keyed by pending airdrop id identifier.
     * 
* * .proto.PendingAirdropId pending_airdrop_id_key = 14; */ public Builder clearPendingAirdropIdKey() { if (pendingAirdropIdKeyBuilder_ == null) { if (keyChoiceCase_ == 14) { keyChoiceCase_ = 0; keyChoice_ = null; onChanged(); } } else { if (keyChoiceCase_ == 14) { keyChoiceCase_ = 0; keyChoice_ = null; } pendingAirdropIdKeyBuilder_.clear(); } return this; } /** *
     **
     * A change to a virtual map keyed by pending airdrop id identifier.
     * 
* * .proto.PendingAirdropId pending_airdrop_id_key = 14; */ public com.hederahashgraph.api.proto.java.PendingAirdropId.Builder getPendingAirdropIdKeyBuilder() { return getPendingAirdropIdKeyFieldBuilder().getBuilder(); } /** *
     **
     * A change to a virtual map keyed by pending airdrop id identifier.
     * 
* * .proto.PendingAirdropId pending_airdrop_id_key = 14; */ @java.lang.Override public com.hederahashgraph.api.proto.java.PendingAirdropIdOrBuilder getPendingAirdropIdKeyOrBuilder() { if ((keyChoiceCase_ == 14) && (pendingAirdropIdKeyBuilder_ != null)) { return pendingAirdropIdKeyBuilder_.getMessageOrBuilder(); } else { if (keyChoiceCase_ == 14) { return (com.hederahashgraph.api.proto.java.PendingAirdropId) keyChoice_; } return com.hederahashgraph.api.proto.java.PendingAirdropId.getDefaultInstance(); } } /** *
     **
     * A change to a virtual map keyed by pending airdrop id identifier.
     * 
* * .proto.PendingAirdropId pending_airdrop_id_key = 14; */ private com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.PendingAirdropId, com.hederahashgraph.api.proto.java.PendingAirdropId.Builder, com.hederahashgraph.api.proto.java.PendingAirdropIdOrBuilder> getPendingAirdropIdKeyFieldBuilder() { if (pendingAirdropIdKeyBuilder_ == null) { if (!(keyChoiceCase_ == 14)) { keyChoice_ = com.hederahashgraph.api.proto.java.PendingAirdropId.getDefaultInstance(); } pendingAirdropIdKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.hederahashgraph.api.proto.java.PendingAirdropId, com.hederahashgraph.api.proto.java.PendingAirdropId.Builder, com.hederahashgraph.api.proto.java.PendingAirdropIdOrBuilder>( (com.hederahashgraph.api.proto.java.PendingAirdropId) keyChoice_, getParentForChildren(), isClean()); keyChoice_ = null; } keyChoiceCase_ = 14; onChanged();; return pendingAirdropIdKeyBuilder_; } @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:com.hedera.hapi.block.stream.output.MapChangeKey) } // @@protoc_insertion_point(class_scope:com.hedera.hapi.block.stream.output.MapChangeKey) private static final com.hedera.hapi.block.stream.output.protoc.MapChangeKey DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.hedera.hapi.block.stream.output.protoc.MapChangeKey(); } public static com.hedera.hapi.block.stream.output.protoc.MapChangeKey getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MapChangeKey parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MapChangeKey(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.hedera.hapi.block.stream.output.protoc.MapChangeKey getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy