com.hedera.hapi.block.stream.output.protoc.MapChangeValue Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: stream/output/state_changes.proto
package com.hedera.hapi.block.stream.output.protoc;
/**
*
**
* A value updated in, or added to, a virtual map.
*
*
* Protobuf type {@code com.hedera.hapi.block.stream.output.MapChangeValue}
*/
public final class MapChangeValue extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.hedera.hapi.block.stream.output.MapChangeValue)
MapChangeValueOrBuilder {
private static final long serialVersionUID = 0L;
// Use MapChangeValue.newBuilder() to construct.
private MapChangeValue(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MapChangeValue() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new MapChangeValue();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MapChangeValue(
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.Account.Builder subBuilder = null;
if (valueChoiceCase_ == 1) {
subBuilder = ((com.hederahashgraph.api.proto.java.Account) valueChoice_).toBuilder();
}
valueChoice_ =
input.readMessage(com.hederahashgraph.api.proto.java.Account.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.Account) valueChoice_);
valueChoice_ = subBuilder.buildPartial();
}
valueChoiceCase_ = 1;
break;
}
case 18: {
com.hederahashgraph.api.proto.java.AccountID.Builder subBuilder = null;
if (valueChoiceCase_ == 2) {
subBuilder = ((com.hederahashgraph.api.proto.java.AccountID) valueChoice_).toBuilder();
}
valueChoice_ =
input.readMessage(com.hederahashgraph.api.proto.java.AccountID.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.AccountID) valueChoice_);
valueChoice_ = subBuilder.buildPartial();
}
valueChoiceCase_ = 2;
break;
}
case 26: {
com.hederahashgraph.api.proto.java.Bytecode.Builder subBuilder = null;
if (valueChoiceCase_ == 3) {
subBuilder = ((com.hederahashgraph.api.proto.java.Bytecode) valueChoice_).toBuilder();
}
valueChoice_ =
input.readMessage(com.hederahashgraph.api.proto.java.Bytecode.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.Bytecode) valueChoice_);
valueChoice_ = subBuilder.buildPartial();
}
valueChoiceCase_ = 3;
break;
}
case 34: {
com.hederahashgraph.api.proto.java.File.Builder subBuilder = null;
if (valueChoiceCase_ == 4) {
subBuilder = ((com.hederahashgraph.api.proto.java.File) valueChoice_).toBuilder();
}
valueChoice_ =
input.readMessage(com.hederahashgraph.api.proto.java.File.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.File) valueChoice_);
valueChoice_ = subBuilder.buildPartial();
}
valueChoiceCase_ = 4;
break;
}
case 42: {
com.hederahashgraph.api.proto.java.Nft.Builder subBuilder = null;
if (valueChoiceCase_ == 5) {
subBuilder = ((com.hederahashgraph.api.proto.java.Nft) valueChoice_).toBuilder();
}
valueChoice_ =
input.readMessage(com.hederahashgraph.api.proto.java.Nft.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.Nft) valueChoice_);
valueChoice_ = subBuilder.buildPartial();
}
valueChoiceCase_ = 5;
break;
}
case 50: {
com.google.protobuf.StringValue.Builder subBuilder = null;
if (valueChoiceCase_ == 6) {
subBuilder = ((com.google.protobuf.StringValue) valueChoice_).toBuilder();
}
valueChoice_ =
input.readMessage(com.google.protobuf.StringValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.google.protobuf.StringValue) valueChoice_);
valueChoice_ = subBuilder.buildPartial();
}
valueChoiceCase_ = 6;
break;
}
case 58: {
com.hederahashgraph.api.proto.java.Schedule.Builder subBuilder = null;
if (valueChoiceCase_ == 7) {
subBuilder = ((com.hederahashgraph.api.proto.java.Schedule) valueChoice_).toBuilder();
}
valueChoice_ =
input.readMessage(com.hederahashgraph.api.proto.java.Schedule.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.Schedule) valueChoice_);
valueChoice_ = subBuilder.buildPartial();
}
valueChoiceCase_ = 7;
break;
}
case 66: {
com.hederahashgraph.api.proto.java.ScheduleList.Builder subBuilder = null;
if (valueChoiceCase_ == 8) {
subBuilder = ((com.hederahashgraph.api.proto.java.ScheduleList) valueChoice_).toBuilder();
}
valueChoice_ =
input.readMessage(com.hederahashgraph.api.proto.java.ScheduleList.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.ScheduleList) valueChoice_);
valueChoice_ = subBuilder.buildPartial();
}
valueChoiceCase_ = 8;
break;
}
case 74: {
com.hederahashgraph.api.proto.java.SlotValue.Builder subBuilder = null;
if (valueChoiceCase_ == 9) {
subBuilder = ((com.hederahashgraph.api.proto.java.SlotValue) valueChoice_).toBuilder();
}
valueChoice_ =
input.readMessage(com.hederahashgraph.api.proto.java.SlotValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.SlotValue) valueChoice_);
valueChoice_ = subBuilder.buildPartial();
}
valueChoiceCase_ = 9;
break;
}
case 82: {
com.hederahashgraph.api.proto.java.StakingNodeInfo.Builder subBuilder = null;
if (valueChoiceCase_ == 10) {
subBuilder = ((com.hederahashgraph.api.proto.java.StakingNodeInfo) valueChoice_).toBuilder();
}
valueChoice_ =
input.readMessage(com.hederahashgraph.api.proto.java.StakingNodeInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.StakingNodeInfo) valueChoice_);
valueChoice_ = subBuilder.buildPartial();
}
valueChoiceCase_ = 10;
break;
}
case 90: {
com.hederahashgraph.api.proto.java.Token.Builder subBuilder = null;
if (valueChoiceCase_ == 11) {
subBuilder = ((com.hederahashgraph.api.proto.java.Token) valueChoice_).toBuilder();
}
valueChoice_ =
input.readMessage(com.hederahashgraph.api.proto.java.Token.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.Token) valueChoice_);
valueChoice_ = subBuilder.buildPartial();
}
valueChoiceCase_ = 11;
break;
}
case 98: {
com.hederahashgraph.api.proto.java.TokenRelation.Builder subBuilder = null;
if (valueChoiceCase_ == 12) {
subBuilder = ((com.hederahashgraph.api.proto.java.TokenRelation) valueChoice_).toBuilder();
}
valueChoice_ =
input.readMessage(com.hederahashgraph.api.proto.java.TokenRelation.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.TokenRelation) valueChoice_);
valueChoice_ = subBuilder.buildPartial();
}
valueChoiceCase_ = 12;
break;
}
case 106: {
com.hederahashgraph.api.proto.java.Topic.Builder subBuilder = null;
if (valueChoiceCase_ == 13) {
subBuilder = ((com.hederahashgraph.api.proto.java.Topic) valueChoice_).toBuilder();
}
valueChoice_ =
input.readMessage(com.hederahashgraph.api.proto.java.Topic.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.Topic) valueChoice_);
valueChoice_ = subBuilder.buildPartial();
}
valueChoiceCase_ = 13;
break;
}
case 114: {
com.hederahashgraph.api.proto.java.Node.Builder subBuilder = null;
if (valueChoiceCase_ == 14) {
subBuilder = ((com.hederahashgraph.api.proto.java.Node) valueChoice_).toBuilder();
}
valueChoice_ =
input.readMessage(com.hederahashgraph.api.proto.java.Node.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.Node) valueChoice_);
valueChoice_ = subBuilder.buildPartial();
}
valueChoiceCase_ = 14;
break;
}
case 122: {
com.hederahashgraph.api.proto.java.AccountPendingAirdrop.Builder subBuilder = null;
if (valueChoiceCase_ == 15) {
subBuilder = ((com.hederahashgraph.api.proto.java.AccountPendingAirdrop) valueChoice_).toBuilder();
}
valueChoice_ =
input.readMessage(com.hederahashgraph.api.proto.java.AccountPendingAirdrop.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.AccountPendingAirdrop) valueChoice_);
valueChoice_ = subBuilder.buildPartial();
}
valueChoiceCase_ = 15;
break;
}
case 130: {
com.hederahashgraph.api.proto.java.Roster.Builder subBuilder = null;
if (valueChoiceCase_ == 16) {
subBuilder = ((com.hederahashgraph.api.proto.java.Roster) valueChoice_).toBuilder();
}
valueChoice_ =
input.readMessage(com.hederahashgraph.api.proto.java.Roster.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.hederahashgraph.api.proto.java.Roster) valueChoice_);
valueChoice_ = subBuilder.buildPartial();
}
valueChoiceCase_ = 16;
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_MapChangeValue_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_MapChangeValue_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.hedera.hapi.block.stream.output.protoc.MapChangeValue.class, com.hedera.hapi.block.stream.output.protoc.MapChangeValue.Builder.class);
}
private int valueChoiceCase_ = 0;
private java.lang.Object valueChoice_;
public enum ValueChoiceCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
ACCOUNT_VALUE(1),
ACCOUNT_ID_VALUE(2),
BYTECODE_VALUE(3),
FILE_VALUE(4),
NFT_VALUE(5),
PROTO_STRING_VALUE(6),
SCHEDULE_VALUE(7),
SCHEDULE_LIST_VALUE(8),
SLOT_VALUE_VALUE(9),
STAKING_NODE_INFO_VALUE(10),
TOKEN_VALUE(11),
TOKEN_RELATION_VALUE(12),
TOPIC_VALUE(13),
NODE_VALUE(14),
ACCOUNT_PENDING_AIRDROP_VALUE(15),
ROSTER_VALUE(16),
VALUECHOICE_NOT_SET(0);
private final int value;
private ValueChoiceCase(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 ValueChoiceCase valueOf(int value) {
return forNumber(value);
}
public static ValueChoiceCase forNumber(int value) {
switch (value) {
case 1: return ACCOUNT_VALUE;
case 2: return ACCOUNT_ID_VALUE;
case 3: return BYTECODE_VALUE;
case 4: return FILE_VALUE;
case 5: return NFT_VALUE;
case 6: return PROTO_STRING_VALUE;
case 7: return SCHEDULE_VALUE;
case 8: return SCHEDULE_LIST_VALUE;
case 9: return SLOT_VALUE_VALUE;
case 10: return STAKING_NODE_INFO_VALUE;
case 11: return TOKEN_VALUE;
case 12: return TOKEN_RELATION_VALUE;
case 13: return TOPIC_VALUE;
case 14: return NODE_VALUE;
case 15: return ACCOUNT_PENDING_AIRDROP_VALUE;
case 16: return ROSTER_VALUE;
case 0: return VALUECHOICE_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public ValueChoiceCase
getValueChoiceCase() {
return ValueChoiceCase.forNumber(
valueChoiceCase_);
}
public static final int ACCOUNT_VALUE_FIELD_NUMBER = 1;
/**
*
**
* An account value.
*
*
* .proto.Account account_value = 1;
* @return Whether the accountValue field is set.
*/
@java.lang.Override
public boolean hasAccountValue() {
return valueChoiceCase_ == 1;
}
/**
*
**
* An account value.
*
*
* .proto.Account account_value = 1;
* @return The accountValue.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.Account getAccountValue() {
if (valueChoiceCase_ == 1) {
return (com.hederahashgraph.api.proto.java.Account) valueChoice_;
}
return com.hederahashgraph.api.proto.java.Account.getDefaultInstance();
}
/**
*
**
* An account value.
*
*
* .proto.Account account_value = 1;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.AccountOrBuilder getAccountValueOrBuilder() {
if (valueChoiceCase_ == 1) {
return (com.hederahashgraph.api.proto.java.Account) valueChoice_;
}
return com.hederahashgraph.api.proto.java.Account.getDefaultInstance();
}
public static final int ACCOUNT_ID_VALUE_FIELD_NUMBER = 2;
/**
*
**
* An account identifier.<br/>
* In some cases a map is used to connect a value or identifier
* to another identifier.
*
*
* .proto.AccountID account_id_value = 2;
* @return Whether the accountIdValue field is set.
*/
@java.lang.Override
public boolean hasAccountIdValue() {
return valueChoiceCase_ == 2;
}
/**
*
**
* An account identifier.<br/>
* In some cases a map is used to connect a value or identifier
* to another identifier.
*
*
* .proto.AccountID account_id_value = 2;
* @return The accountIdValue.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.AccountID getAccountIdValue() {
if (valueChoiceCase_ == 2) {
return (com.hederahashgraph.api.proto.java.AccountID) valueChoice_;
}
return com.hederahashgraph.api.proto.java.AccountID.getDefaultInstance();
}
/**
*
**
* An account identifier.<br/>
* In some cases a map is used to connect a value or identifier
* to another identifier.
*
*
* .proto.AccountID account_id_value = 2;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.AccountIDOrBuilder getAccountIdValueOrBuilder() {
if (valueChoiceCase_ == 2) {
return (com.hederahashgraph.api.proto.java.AccountID) valueChoice_;
}
return com.hederahashgraph.api.proto.java.AccountID.getDefaultInstance();
}
public static final int BYTECODE_VALUE_FIELD_NUMBER = 3;
/**
*
**
* Compiled EVM bytecode.
*
*
* .proto.Bytecode bytecode_value = 3;
* @return Whether the bytecodeValue field is set.
*/
@java.lang.Override
public boolean hasBytecodeValue() {
return valueChoiceCase_ == 3;
}
/**
*
**
* Compiled EVM bytecode.
*
*
* .proto.Bytecode bytecode_value = 3;
* @return The bytecodeValue.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.Bytecode getBytecodeValue() {
if (valueChoiceCase_ == 3) {
return (com.hederahashgraph.api.proto.java.Bytecode) valueChoice_;
}
return com.hederahashgraph.api.proto.java.Bytecode.getDefaultInstance();
}
/**
*
**
* Compiled EVM bytecode.
*
*
* .proto.Bytecode bytecode_value = 3;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.BytecodeOrBuilder getBytecodeValueOrBuilder() {
if (valueChoiceCase_ == 3) {
return (com.hederahashgraph.api.proto.java.Bytecode) valueChoice_;
}
return com.hederahashgraph.api.proto.java.Bytecode.getDefaultInstance();
}
public static final int FILE_VALUE_FIELD_NUMBER = 4;
/**
*
**
* An Hedera "file" value.
* <p>
* <blockquote>REVIEW NOTE<blockquote>
* A file can become quite large (up to 1048576 bytes).<br/>
* Do we want to structure file changes separately?<br/>
* Perhaps a file metadata update and a separate byte array for
* just the bytes appended (or initial bytes on create). We only
* allow create/append/delete, so the separate byte array would work
* and keep the size below 6K per state change.
* </blockquote></blockquote>
*
*
* .proto.File file_value = 4;
* @return Whether the fileValue field is set.
*/
@java.lang.Override
public boolean hasFileValue() {
return valueChoiceCase_ == 4;
}
/**
*
**
* An Hedera "file" value.
* <p>
* <blockquote>REVIEW NOTE<blockquote>
* A file can become quite large (up to 1048576 bytes).<br/>
* Do we want to structure file changes separately?<br/>
* Perhaps a file metadata update and a separate byte array for
* just the bytes appended (or initial bytes on create). We only
* allow create/append/delete, so the separate byte array would work
* and keep the size below 6K per state change.
* </blockquote></blockquote>
*
*
* .proto.File file_value = 4;
* @return The fileValue.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.File getFileValue() {
if (valueChoiceCase_ == 4) {
return (com.hederahashgraph.api.proto.java.File) valueChoice_;
}
return com.hederahashgraph.api.proto.java.File.getDefaultInstance();
}
/**
*
**
* An Hedera "file" value.
* <p>
* <blockquote>REVIEW NOTE<blockquote>
* A file can become quite large (up to 1048576 bytes).<br/>
* Do we want to structure file changes separately?<br/>
* Perhaps a file metadata update and a separate byte array for
* just the bytes appended (or initial bytes on create). We only
* allow create/append/delete, so the separate byte array would work
* and keep the size below 6K per state change.
* </blockquote></blockquote>
*
*
* .proto.File file_value = 4;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.FileOrBuilder getFileValueOrBuilder() {
if (valueChoiceCase_ == 4) {
return (com.hederahashgraph.api.proto.java.File) valueChoice_;
}
return com.hederahashgraph.api.proto.java.File.getDefaultInstance();
}
public static final int NFT_VALUE_FIELD_NUMBER = 5;
/**
*
**
* A non-fungible/unique token value.
*
*
* .proto.Nft nft_value = 5;
* @return Whether the nftValue field is set.
*/
@java.lang.Override
public boolean hasNftValue() {
return valueChoiceCase_ == 5;
}
/**
*
**
* A non-fungible/unique token value.
*
*
* .proto.Nft nft_value = 5;
* @return The nftValue.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.Nft getNftValue() {
if (valueChoiceCase_ == 5) {
return (com.hederahashgraph.api.proto.java.Nft) valueChoice_;
}
return com.hederahashgraph.api.proto.java.Nft.getDefaultInstance();
}
/**
*
**
* A non-fungible/unique token value.
*
*
* .proto.Nft nft_value = 5;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.NftOrBuilder getNftValueOrBuilder() {
if (valueChoiceCase_ == 5) {
return (com.hederahashgraph.api.proto.java.Nft) valueChoice_;
}
return com.hederahashgraph.api.proto.java.Nft.getDefaultInstance();
}
public static final int PROTO_STRING_VALUE_FIELD_NUMBER = 6;
/**
*
**
* A string value.
*
*
* .google.protobuf.StringValue proto_string_value = 6;
* @return Whether the protoStringValue field is set.
*/
@java.lang.Override
public boolean hasProtoStringValue() {
return valueChoiceCase_ == 6;
}
/**
*
**
* A string value.
*
*
* .google.protobuf.StringValue proto_string_value = 6;
* @return The protoStringValue.
*/
@java.lang.Override
public com.google.protobuf.StringValue getProtoStringValue() {
if (valueChoiceCase_ == 6) {
return (com.google.protobuf.StringValue) valueChoice_;
}
return com.google.protobuf.StringValue.getDefaultInstance();
}
/**
*
**
* A string value.
*
*
* .google.protobuf.StringValue proto_string_value = 6;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getProtoStringValueOrBuilder() {
if (valueChoiceCase_ == 6) {
return (com.google.protobuf.StringValue) valueChoice_;
}
return com.google.protobuf.StringValue.getDefaultInstance();
}
public static final int SCHEDULE_VALUE_FIELD_NUMBER = 7;
/**
*
**
* A scheduled transaction value.
*
*
* .proto.Schedule schedule_value = 7;
* @return Whether the scheduleValue field is set.
*/
@java.lang.Override
public boolean hasScheduleValue() {
return valueChoiceCase_ == 7;
}
/**
*
**
* A scheduled transaction value.
*
*
* .proto.Schedule schedule_value = 7;
* @return The scheduleValue.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.Schedule getScheduleValue() {
if (valueChoiceCase_ == 7) {
return (com.hederahashgraph.api.proto.java.Schedule) valueChoice_;
}
return com.hederahashgraph.api.proto.java.Schedule.getDefaultInstance();
}
/**
*
**
* A scheduled transaction value.
*
*
* .proto.Schedule schedule_value = 7;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.ScheduleOrBuilder getScheduleValueOrBuilder() {
if (valueChoiceCase_ == 7) {
return (com.hederahashgraph.api.proto.java.Schedule) valueChoice_;
}
return com.hederahashgraph.api.proto.java.Schedule.getDefaultInstance();
}
public static final int SCHEDULE_LIST_VALUE_FIELD_NUMBER = 8;
/**
*
**
* A list of scheduled transactions.<br/>
* An example for this value is the map of consensus second to
* scheduled transactions that expire at that consensus time.
*
*
* .proto.ScheduleList schedule_list_value = 8;
* @return Whether the scheduleListValue field is set.
*/
@java.lang.Override
public boolean hasScheduleListValue() {
return valueChoiceCase_ == 8;
}
/**
*
**
* A list of scheduled transactions.<br/>
* An example for this value is the map of consensus second to
* scheduled transactions that expire at that consensus time.
*
*
* .proto.ScheduleList schedule_list_value = 8;
* @return The scheduleListValue.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.ScheduleList getScheduleListValue() {
if (valueChoiceCase_ == 8) {
return (com.hederahashgraph.api.proto.java.ScheduleList) valueChoice_;
}
return com.hederahashgraph.api.proto.java.ScheduleList.getDefaultInstance();
}
/**
*
**
* A list of scheduled transactions.<br/>
* An example for this value is the map of consensus second to
* scheduled transactions that expire at that consensus time.
*
*
* .proto.ScheduleList schedule_list_value = 8;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.ScheduleListOrBuilder getScheduleListValueOrBuilder() {
if (valueChoiceCase_ == 8) {
return (com.hederahashgraph.api.proto.java.ScheduleList) valueChoice_;
}
return com.hederahashgraph.api.proto.java.ScheduleList.getDefaultInstance();
}
public static final int SLOT_VALUE_VALUE_FIELD_NUMBER = 9;
/**
*
**
* An EVM storage slot value.
*
*
* .proto.SlotValue slot_value_value = 9;
* @return Whether the slotValueValue field is set.
*/
@java.lang.Override
public boolean hasSlotValueValue() {
return valueChoiceCase_ == 9;
}
/**
*
**
* An EVM storage slot value.
*
*
* .proto.SlotValue slot_value_value = 9;
* @return The slotValueValue.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.SlotValue getSlotValueValue() {
if (valueChoiceCase_ == 9) {
return (com.hederahashgraph.api.proto.java.SlotValue) valueChoice_;
}
return com.hederahashgraph.api.proto.java.SlotValue.getDefaultInstance();
}
/**
*
**
* An EVM storage slot value.
*
*
* .proto.SlotValue slot_value_value = 9;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.SlotValueOrBuilder getSlotValueValueOrBuilder() {
if (valueChoiceCase_ == 9) {
return (com.hederahashgraph.api.proto.java.SlotValue) valueChoice_;
}
return com.hederahashgraph.api.proto.java.SlotValue.getDefaultInstance();
}
public static final int STAKING_NODE_INFO_VALUE_FIELD_NUMBER = 10;
/**
*
**
* An updated set of staking information for all nodes in
* the address book.
*
*
* .proto.StakingNodeInfo staking_node_info_value = 10;
* @return Whether the stakingNodeInfoValue field is set.
*/
@java.lang.Override
public boolean hasStakingNodeInfoValue() {
return valueChoiceCase_ == 10;
}
/**
*
**
* An updated set of staking information for all nodes in
* the address book.
*
*
* .proto.StakingNodeInfo staking_node_info_value = 10;
* @return The stakingNodeInfoValue.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.StakingNodeInfo getStakingNodeInfoValue() {
if (valueChoiceCase_ == 10) {
return (com.hederahashgraph.api.proto.java.StakingNodeInfo) valueChoice_;
}
return com.hederahashgraph.api.proto.java.StakingNodeInfo.getDefaultInstance();
}
/**
*
**
* An updated set of staking information for all nodes in
* the address book.
*
*
* .proto.StakingNodeInfo staking_node_info_value = 10;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.StakingNodeInfoOrBuilder getStakingNodeInfoValueOrBuilder() {
if (valueChoiceCase_ == 10) {
return (com.hederahashgraph.api.proto.java.StakingNodeInfo) valueChoice_;
}
return com.hederahashgraph.api.proto.java.StakingNodeInfo.getDefaultInstance();
}
public static final int TOKEN_VALUE_FIELD_NUMBER = 11;
/**
*
**
* An HTS token value.
*
*
* .proto.Token token_value = 11;
* @return Whether the tokenValue field is set.
*/
@java.lang.Override
public boolean hasTokenValue() {
return valueChoiceCase_ == 11;
}
/**
*
**
* An HTS token value.
*
*
* .proto.Token token_value = 11;
* @return The tokenValue.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.Token getTokenValue() {
if (valueChoiceCase_ == 11) {
return (com.hederahashgraph.api.proto.java.Token) valueChoice_;
}
return com.hederahashgraph.api.proto.java.Token.getDefaultInstance();
}
/**
*
**
* An HTS token value.
*
*
* .proto.Token token_value = 11;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenOrBuilder getTokenValueOrBuilder() {
if (valueChoiceCase_ == 11) {
return (com.hederahashgraph.api.proto.java.Token) valueChoice_;
}
return com.hederahashgraph.api.proto.java.Token.getDefaultInstance();
}
public static final int TOKEN_RELATION_VALUE_FIELD_NUMBER = 12;
/**
*
**
* A token relationship value.<br/>
* These values track which accounts are willing to transact
* in specific HTS tokens.
*
*
* .proto.TokenRelation token_relation_value = 12;
* @return Whether the tokenRelationValue field is set.
*/
@java.lang.Override
public boolean hasTokenRelationValue() {
return valueChoiceCase_ == 12;
}
/**
*
**
* A token relationship value.<br/>
* These values track which accounts are willing to transact
* in specific HTS tokens.
*
*
* .proto.TokenRelation token_relation_value = 12;
* @return The tokenRelationValue.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenRelation getTokenRelationValue() {
if (valueChoiceCase_ == 12) {
return (com.hederahashgraph.api.proto.java.TokenRelation) valueChoice_;
}
return com.hederahashgraph.api.proto.java.TokenRelation.getDefaultInstance();
}
/**
*
**
* A token relationship value.<br/>
* These values track which accounts are willing to transact
* in specific HTS tokens.
*
*
* .proto.TokenRelation token_relation_value = 12;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenRelationOrBuilder getTokenRelationValueOrBuilder() {
if (valueChoiceCase_ == 12) {
return (com.hederahashgraph.api.proto.java.TokenRelation) valueChoice_;
}
return com.hederahashgraph.api.proto.java.TokenRelation.getDefaultInstance();
}
public static final int TOPIC_VALUE_FIELD_NUMBER = 13;
/**
*
**
* An HCS topic value.
*
*
* .proto.Topic topic_value = 13;
* @return Whether the topicValue field is set.
*/
@java.lang.Override
public boolean hasTopicValue() {
return valueChoiceCase_ == 13;
}
/**
*
**
* An HCS topic value.
*
*
* .proto.Topic topic_value = 13;
* @return The topicValue.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.Topic getTopicValue() {
if (valueChoiceCase_ == 13) {
return (com.hederahashgraph.api.proto.java.Topic) valueChoice_;
}
return com.hederahashgraph.api.proto.java.Topic.getDefaultInstance();
}
/**
*
**
* An HCS topic value.
*
*
* .proto.Topic topic_value = 13;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TopicOrBuilder getTopicValueOrBuilder() {
if (valueChoiceCase_ == 13) {
return (com.hederahashgraph.api.proto.java.Topic) valueChoice_;
}
return com.hederahashgraph.api.proto.java.Topic.getDefaultInstance();
}
public static final int NODE_VALUE_FIELD_NUMBER = 14;
/**
*
**
* An network node value.
*
*
* .com.hedera.hapi.node.state.addressbook.Node node_value = 14;
* @return Whether the nodeValue field is set.
*/
@java.lang.Override
public boolean hasNodeValue() {
return valueChoiceCase_ == 14;
}
/**
*
**
* An network node value.
*
*
* .com.hedera.hapi.node.state.addressbook.Node node_value = 14;
* @return The nodeValue.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.Node getNodeValue() {
if (valueChoiceCase_ == 14) {
return (com.hederahashgraph.api.proto.java.Node) valueChoice_;
}
return com.hederahashgraph.api.proto.java.Node.getDefaultInstance();
}
/**
*
**
* An network node value.
*
*
* .com.hedera.hapi.node.state.addressbook.Node node_value = 14;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.NodeOrBuilder getNodeValueOrBuilder() {
if (valueChoiceCase_ == 14) {
return (com.hederahashgraph.api.proto.java.Node) valueChoice_;
}
return com.hederahashgraph.api.proto.java.Node.getDefaultInstance();
}
public static final int ACCOUNT_PENDING_AIRDROP_VALUE_FIELD_NUMBER = 15;
/**
*
**
* A pending airdrop value.
*
*
* .proto.AccountPendingAirdrop account_pending_airdrop_value = 15;
* @return Whether the accountPendingAirdropValue field is set.
*/
@java.lang.Override
public boolean hasAccountPendingAirdropValue() {
return valueChoiceCase_ == 15;
}
/**
*
**
* A pending airdrop value.
*
*
* .proto.AccountPendingAirdrop account_pending_airdrop_value = 15;
* @return The accountPendingAirdropValue.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.AccountPendingAirdrop getAccountPendingAirdropValue() {
if (valueChoiceCase_ == 15) {
return (com.hederahashgraph.api.proto.java.AccountPendingAirdrop) valueChoice_;
}
return com.hederahashgraph.api.proto.java.AccountPendingAirdrop.getDefaultInstance();
}
/**
*
**
* A pending airdrop value.
*
*
* .proto.AccountPendingAirdrop account_pending_airdrop_value = 15;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.AccountPendingAirdropOrBuilder getAccountPendingAirdropValueOrBuilder() {
if (valueChoiceCase_ == 15) {
return (com.hederahashgraph.api.proto.java.AccountPendingAirdrop) valueChoice_;
}
return com.hederahashgraph.api.proto.java.AccountPendingAirdrop.getDefaultInstance();
}
public static final int ROSTER_VALUE_FIELD_NUMBER = 16;
/**
*
**
* A roster value.
*
*
* .com.hedera.hapi.node.state.roster.Roster roster_value = 16;
* @return Whether the rosterValue field is set.
*/
@java.lang.Override
public boolean hasRosterValue() {
return valueChoiceCase_ == 16;
}
/**
*
**
* A roster value.
*
*
* .com.hedera.hapi.node.state.roster.Roster roster_value = 16;
* @return The rosterValue.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.Roster getRosterValue() {
if (valueChoiceCase_ == 16) {
return (com.hederahashgraph.api.proto.java.Roster) valueChoice_;
}
return com.hederahashgraph.api.proto.java.Roster.getDefaultInstance();
}
/**
*
**
* A roster value.
*
*
* .com.hedera.hapi.node.state.roster.Roster roster_value = 16;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.RosterOrBuilder getRosterValueOrBuilder() {
if (valueChoiceCase_ == 16) {
return (com.hederahashgraph.api.proto.java.Roster) valueChoice_;
}
return com.hederahashgraph.api.proto.java.Roster.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 (valueChoiceCase_ == 1) {
output.writeMessage(1, (com.hederahashgraph.api.proto.java.Account) valueChoice_);
}
if (valueChoiceCase_ == 2) {
output.writeMessage(2, (com.hederahashgraph.api.proto.java.AccountID) valueChoice_);
}
if (valueChoiceCase_ == 3) {
output.writeMessage(3, (com.hederahashgraph.api.proto.java.Bytecode) valueChoice_);
}
if (valueChoiceCase_ == 4) {
output.writeMessage(4, (com.hederahashgraph.api.proto.java.File) valueChoice_);
}
if (valueChoiceCase_ == 5) {
output.writeMessage(5, (com.hederahashgraph.api.proto.java.Nft) valueChoice_);
}
if (valueChoiceCase_ == 6) {
output.writeMessage(6, (com.google.protobuf.StringValue) valueChoice_);
}
if (valueChoiceCase_ == 7) {
output.writeMessage(7, (com.hederahashgraph.api.proto.java.Schedule) valueChoice_);
}
if (valueChoiceCase_ == 8) {
output.writeMessage(8, (com.hederahashgraph.api.proto.java.ScheduleList) valueChoice_);
}
if (valueChoiceCase_ == 9) {
output.writeMessage(9, (com.hederahashgraph.api.proto.java.SlotValue) valueChoice_);
}
if (valueChoiceCase_ == 10) {
output.writeMessage(10, (com.hederahashgraph.api.proto.java.StakingNodeInfo) valueChoice_);
}
if (valueChoiceCase_ == 11) {
output.writeMessage(11, (com.hederahashgraph.api.proto.java.Token) valueChoice_);
}
if (valueChoiceCase_ == 12) {
output.writeMessage(12, (com.hederahashgraph.api.proto.java.TokenRelation) valueChoice_);
}
if (valueChoiceCase_ == 13) {
output.writeMessage(13, (com.hederahashgraph.api.proto.java.Topic) valueChoice_);
}
if (valueChoiceCase_ == 14) {
output.writeMessage(14, (com.hederahashgraph.api.proto.java.Node) valueChoice_);
}
if (valueChoiceCase_ == 15) {
output.writeMessage(15, (com.hederahashgraph.api.proto.java.AccountPendingAirdrop) valueChoice_);
}
if (valueChoiceCase_ == 16) {
output.writeMessage(16, (com.hederahashgraph.api.proto.java.Roster) valueChoice_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (valueChoiceCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, (com.hederahashgraph.api.proto.java.Account) valueChoice_);
}
if (valueChoiceCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (com.hederahashgraph.api.proto.java.AccountID) valueChoice_);
}
if (valueChoiceCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (com.hederahashgraph.api.proto.java.Bytecode) valueChoice_);
}
if (valueChoiceCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, (com.hederahashgraph.api.proto.java.File) valueChoice_);
}
if (valueChoiceCase_ == 5) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, (com.hederahashgraph.api.proto.java.Nft) valueChoice_);
}
if (valueChoiceCase_ == 6) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, (com.google.protobuf.StringValue) valueChoice_);
}
if (valueChoiceCase_ == 7) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, (com.hederahashgraph.api.proto.java.Schedule) valueChoice_);
}
if (valueChoiceCase_ == 8) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, (com.hederahashgraph.api.proto.java.ScheduleList) valueChoice_);
}
if (valueChoiceCase_ == 9) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, (com.hederahashgraph.api.proto.java.SlotValue) valueChoice_);
}
if (valueChoiceCase_ == 10) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, (com.hederahashgraph.api.proto.java.StakingNodeInfo) valueChoice_);
}
if (valueChoiceCase_ == 11) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, (com.hederahashgraph.api.proto.java.Token) valueChoice_);
}
if (valueChoiceCase_ == 12) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, (com.hederahashgraph.api.proto.java.TokenRelation) valueChoice_);
}
if (valueChoiceCase_ == 13) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, (com.hederahashgraph.api.proto.java.Topic) valueChoice_);
}
if (valueChoiceCase_ == 14) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, (com.hederahashgraph.api.proto.java.Node) valueChoice_);
}
if (valueChoiceCase_ == 15) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, (com.hederahashgraph.api.proto.java.AccountPendingAirdrop) valueChoice_);
}
if (valueChoiceCase_ == 16) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, (com.hederahashgraph.api.proto.java.Roster) valueChoice_);
}
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.MapChangeValue)) {
return super.equals(obj);
}
com.hedera.hapi.block.stream.output.protoc.MapChangeValue other = (com.hedera.hapi.block.stream.output.protoc.MapChangeValue) obj;
if (!getValueChoiceCase().equals(other.getValueChoiceCase())) return false;
switch (valueChoiceCase_) {
case 1:
if (!getAccountValue()
.equals(other.getAccountValue())) return false;
break;
case 2:
if (!getAccountIdValue()
.equals(other.getAccountIdValue())) return false;
break;
case 3:
if (!getBytecodeValue()
.equals(other.getBytecodeValue())) return false;
break;
case 4:
if (!getFileValue()
.equals(other.getFileValue())) return false;
break;
case 5:
if (!getNftValue()
.equals(other.getNftValue())) return false;
break;
case 6:
if (!getProtoStringValue()
.equals(other.getProtoStringValue())) return false;
break;
case 7:
if (!getScheduleValue()
.equals(other.getScheduleValue())) return false;
break;
case 8:
if (!getScheduleListValue()
.equals(other.getScheduleListValue())) return false;
break;
case 9:
if (!getSlotValueValue()
.equals(other.getSlotValueValue())) return false;
break;
case 10:
if (!getStakingNodeInfoValue()
.equals(other.getStakingNodeInfoValue())) return false;
break;
case 11:
if (!getTokenValue()
.equals(other.getTokenValue())) return false;
break;
case 12:
if (!getTokenRelationValue()
.equals(other.getTokenRelationValue())) return false;
break;
case 13:
if (!getTopicValue()
.equals(other.getTopicValue())) return false;
break;
case 14:
if (!getNodeValue()
.equals(other.getNodeValue())) return false;
break;
case 15:
if (!getAccountPendingAirdropValue()
.equals(other.getAccountPendingAirdropValue())) return false;
break;
case 16:
if (!getRosterValue()
.equals(other.getRosterValue())) 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 (valueChoiceCase_) {
case 1:
hash = (37 * hash) + ACCOUNT_VALUE_FIELD_NUMBER;
hash = (53 * hash) + getAccountValue().hashCode();
break;
case 2:
hash = (37 * hash) + ACCOUNT_ID_VALUE_FIELD_NUMBER;
hash = (53 * hash) + getAccountIdValue().hashCode();
break;
case 3:
hash = (37 * hash) + BYTECODE_VALUE_FIELD_NUMBER;
hash = (53 * hash) + getBytecodeValue().hashCode();
break;
case 4:
hash = (37 * hash) + FILE_VALUE_FIELD_NUMBER;
hash = (53 * hash) + getFileValue().hashCode();
break;
case 5:
hash = (37 * hash) + NFT_VALUE_FIELD_NUMBER;
hash = (53 * hash) + getNftValue().hashCode();
break;
case 6:
hash = (37 * hash) + PROTO_STRING_VALUE_FIELD_NUMBER;
hash = (53 * hash) + getProtoStringValue().hashCode();
break;
case 7:
hash = (37 * hash) + SCHEDULE_VALUE_FIELD_NUMBER;
hash = (53 * hash) + getScheduleValue().hashCode();
break;
case 8:
hash = (37 * hash) + SCHEDULE_LIST_VALUE_FIELD_NUMBER;
hash = (53 * hash) + getScheduleListValue().hashCode();
break;
case 9:
hash = (37 * hash) + SLOT_VALUE_VALUE_FIELD_NUMBER;
hash = (53 * hash) + getSlotValueValue().hashCode();
break;
case 10:
hash = (37 * hash) + STAKING_NODE_INFO_VALUE_FIELD_NUMBER;
hash = (53 * hash) + getStakingNodeInfoValue().hashCode();
break;
case 11:
hash = (37 * hash) + TOKEN_VALUE_FIELD_NUMBER;
hash = (53 * hash) + getTokenValue().hashCode();
break;
case 12:
hash = (37 * hash) + TOKEN_RELATION_VALUE_FIELD_NUMBER;
hash = (53 * hash) + getTokenRelationValue().hashCode();
break;
case 13:
hash = (37 * hash) + TOPIC_VALUE_FIELD_NUMBER;
hash = (53 * hash) + getTopicValue().hashCode();
break;
case 14:
hash = (37 * hash) + NODE_VALUE_FIELD_NUMBER;
hash = (53 * hash) + getNodeValue().hashCode();
break;
case 15:
hash = (37 * hash) + ACCOUNT_PENDING_AIRDROP_VALUE_FIELD_NUMBER;
hash = (53 * hash) + getAccountPendingAirdropValue().hashCode();
break;
case 16:
hash = (37 * hash) + ROSTER_VALUE_FIELD_NUMBER;
hash = (53 * hash) + getRosterValue().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.hedera.hapi.block.stream.output.protoc.MapChangeValue parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hedera.hapi.block.stream.output.protoc.MapChangeValue 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.MapChangeValue parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hedera.hapi.block.stream.output.protoc.MapChangeValue 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.MapChangeValue parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.hedera.hapi.block.stream.output.protoc.MapChangeValue 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.MapChangeValue 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.MapChangeValue 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.MapChangeValue 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.MapChangeValue 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.MapChangeValue 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.MapChangeValue 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.MapChangeValue 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 value updated in, or added to, a virtual map.
*
*
* Protobuf type {@code com.hedera.hapi.block.stream.output.MapChangeValue}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.hedera.hapi.block.stream.output.MapChangeValue)
com.hedera.hapi.block.stream.output.protoc.MapChangeValueOrBuilder {
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_MapChangeValue_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_MapChangeValue_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.hedera.hapi.block.stream.output.protoc.MapChangeValue.class, com.hedera.hapi.block.stream.output.protoc.MapChangeValue.Builder.class);
}
// Construct using com.hedera.hapi.block.stream.output.protoc.MapChangeValue.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();
valueChoiceCase_ = 0;
valueChoice_ = 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_MapChangeValue_descriptor;
}
@java.lang.Override
public com.hedera.hapi.block.stream.output.protoc.MapChangeValue getDefaultInstanceForType() {
return com.hedera.hapi.block.stream.output.protoc.MapChangeValue.getDefaultInstance();
}
@java.lang.Override
public com.hedera.hapi.block.stream.output.protoc.MapChangeValue build() {
com.hedera.hapi.block.stream.output.protoc.MapChangeValue result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.hedera.hapi.block.stream.output.protoc.MapChangeValue buildPartial() {
com.hedera.hapi.block.stream.output.protoc.MapChangeValue result = new com.hedera.hapi.block.stream.output.protoc.MapChangeValue(this);
if (valueChoiceCase_ == 1) {
if (accountValueBuilder_ == null) {
result.valueChoice_ = valueChoice_;
} else {
result.valueChoice_ = accountValueBuilder_.build();
}
}
if (valueChoiceCase_ == 2) {
if (accountIdValueBuilder_ == null) {
result.valueChoice_ = valueChoice_;
} else {
result.valueChoice_ = accountIdValueBuilder_.build();
}
}
if (valueChoiceCase_ == 3) {
if (bytecodeValueBuilder_ == null) {
result.valueChoice_ = valueChoice_;
} else {
result.valueChoice_ = bytecodeValueBuilder_.build();
}
}
if (valueChoiceCase_ == 4) {
if (fileValueBuilder_ == null) {
result.valueChoice_ = valueChoice_;
} else {
result.valueChoice_ = fileValueBuilder_.build();
}
}
if (valueChoiceCase_ == 5) {
if (nftValueBuilder_ == null) {
result.valueChoice_ = valueChoice_;
} else {
result.valueChoice_ = nftValueBuilder_.build();
}
}
if (valueChoiceCase_ == 6) {
if (protoStringValueBuilder_ == null) {
result.valueChoice_ = valueChoice_;
} else {
result.valueChoice_ = protoStringValueBuilder_.build();
}
}
if (valueChoiceCase_ == 7) {
if (scheduleValueBuilder_ == null) {
result.valueChoice_ = valueChoice_;
} else {
result.valueChoice_ = scheduleValueBuilder_.build();
}
}
if (valueChoiceCase_ == 8) {
if (scheduleListValueBuilder_ == null) {
result.valueChoice_ = valueChoice_;
} else {
result.valueChoice_ = scheduleListValueBuilder_.build();
}
}
if (valueChoiceCase_ == 9) {
if (slotValueValueBuilder_ == null) {
result.valueChoice_ = valueChoice_;
} else {
result.valueChoice_ = slotValueValueBuilder_.build();
}
}
if (valueChoiceCase_ == 10) {
if (stakingNodeInfoValueBuilder_ == null) {
result.valueChoice_ = valueChoice_;
} else {
result.valueChoice_ = stakingNodeInfoValueBuilder_.build();
}
}
if (valueChoiceCase_ == 11) {
if (tokenValueBuilder_ == null) {
result.valueChoice_ = valueChoice_;
} else {
result.valueChoice_ = tokenValueBuilder_.build();
}
}
if (valueChoiceCase_ == 12) {
if (tokenRelationValueBuilder_ == null) {
result.valueChoice_ = valueChoice_;
} else {
result.valueChoice_ = tokenRelationValueBuilder_.build();
}
}
if (valueChoiceCase_ == 13) {
if (topicValueBuilder_ == null) {
result.valueChoice_ = valueChoice_;
} else {
result.valueChoice_ = topicValueBuilder_.build();
}
}
if (valueChoiceCase_ == 14) {
if (nodeValueBuilder_ == null) {
result.valueChoice_ = valueChoice_;
} else {
result.valueChoice_ = nodeValueBuilder_.build();
}
}
if (valueChoiceCase_ == 15) {
if (accountPendingAirdropValueBuilder_ == null) {
result.valueChoice_ = valueChoice_;
} else {
result.valueChoice_ = accountPendingAirdropValueBuilder_.build();
}
}
if (valueChoiceCase_ == 16) {
if (rosterValueBuilder_ == null) {
result.valueChoice_ = valueChoice_;
} else {
result.valueChoice_ = rosterValueBuilder_.build();
}
}
result.valueChoiceCase_ = valueChoiceCase_;
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.MapChangeValue) {
return mergeFrom((com.hedera.hapi.block.stream.output.protoc.MapChangeValue)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.hedera.hapi.block.stream.output.protoc.MapChangeValue other) {
if (other == com.hedera.hapi.block.stream.output.protoc.MapChangeValue.getDefaultInstance()) return this;
switch (other.getValueChoiceCase()) {
case ACCOUNT_VALUE: {
mergeAccountValue(other.getAccountValue());
break;
}
case ACCOUNT_ID_VALUE: {
mergeAccountIdValue(other.getAccountIdValue());
break;
}
case BYTECODE_VALUE: {
mergeBytecodeValue(other.getBytecodeValue());
break;
}
case FILE_VALUE: {
mergeFileValue(other.getFileValue());
break;
}
case NFT_VALUE: {
mergeNftValue(other.getNftValue());
break;
}
case PROTO_STRING_VALUE: {
mergeProtoStringValue(other.getProtoStringValue());
break;
}
case SCHEDULE_VALUE: {
mergeScheduleValue(other.getScheduleValue());
break;
}
case SCHEDULE_LIST_VALUE: {
mergeScheduleListValue(other.getScheduleListValue());
break;
}
case SLOT_VALUE_VALUE: {
mergeSlotValueValue(other.getSlotValueValue());
break;
}
case STAKING_NODE_INFO_VALUE: {
mergeStakingNodeInfoValue(other.getStakingNodeInfoValue());
break;
}
case TOKEN_VALUE: {
mergeTokenValue(other.getTokenValue());
break;
}
case TOKEN_RELATION_VALUE: {
mergeTokenRelationValue(other.getTokenRelationValue());
break;
}
case TOPIC_VALUE: {
mergeTopicValue(other.getTopicValue());
break;
}
case NODE_VALUE: {
mergeNodeValue(other.getNodeValue());
break;
}
case ACCOUNT_PENDING_AIRDROP_VALUE: {
mergeAccountPendingAirdropValue(other.getAccountPendingAirdropValue());
break;
}
case ROSTER_VALUE: {
mergeRosterValue(other.getRosterValue());
break;
}
case VALUECHOICE_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.MapChangeValue parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.hedera.hapi.block.stream.output.protoc.MapChangeValue) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int valueChoiceCase_ = 0;
private java.lang.Object valueChoice_;
public ValueChoiceCase
getValueChoiceCase() {
return ValueChoiceCase.forNumber(
valueChoiceCase_);
}
public Builder clearValueChoice() {
valueChoiceCase_ = 0;
valueChoice_ = null;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.Account, com.hederahashgraph.api.proto.java.Account.Builder, com.hederahashgraph.api.proto.java.AccountOrBuilder> accountValueBuilder_;
/**
*
**
* An account value.
*
*
* .proto.Account account_value = 1;
* @return Whether the accountValue field is set.
*/
@java.lang.Override
public boolean hasAccountValue() {
return valueChoiceCase_ == 1;
}
/**
*
**
* An account value.
*
*
* .proto.Account account_value = 1;
* @return The accountValue.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.Account getAccountValue() {
if (accountValueBuilder_ == null) {
if (valueChoiceCase_ == 1) {
return (com.hederahashgraph.api.proto.java.Account) valueChoice_;
}
return com.hederahashgraph.api.proto.java.Account.getDefaultInstance();
} else {
if (valueChoiceCase_ == 1) {
return accountValueBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.Account.getDefaultInstance();
}
}
/**
*
**
* An account value.
*
*
* .proto.Account account_value = 1;
*/
public Builder setAccountValue(com.hederahashgraph.api.proto.java.Account value) {
if (accountValueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
valueChoice_ = value;
onChanged();
} else {
accountValueBuilder_.setMessage(value);
}
valueChoiceCase_ = 1;
return this;
}
/**
*
**
* An account value.
*
*
* .proto.Account account_value = 1;
*/
public Builder setAccountValue(
com.hederahashgraph.api.proto.java.Account.Builder builderForValue) {
if (accountValueBuilder_ == null) {
valueChoice_ = builderForValue.build();
onChanged();
} else {
accountValueBuilder_.setMessage(builderForValue.build());
}
valueChoiceCase_ = 1;
return this;
}
/**
*
**
* An account value.
*
*
* .proto.Account account_value = 1;
*/
public Builder mergeAccountValue(com.hederahashgraph.api.proto.java.Account value) {
if (accountValueBuilder_ == null) {
if (valueChoiceCase_ == 1 &&
valueChoice_ != com.hederahashgraph.api.proto.java.Account.getDefaultInstance()) {
valueChoice_ = com.hederahashgraph.api.proto.java.Account.newBuilder((com.hederahashgraph.api.proto.java.Account) valueChoice_)
.mergeFrom(value).buildPartial();
} else {
valueChoice_ = value;
}
onChanged();
} else {
if (valueChoiceCase_ == 1) {
accountValueBuilder_.mergeFrom(value);
}
accountValueBuilder_.setMessage(value);
}
valueChoiceCase_ = 1;
return this;
}
/**
*
**
* An account value.
*
*
* .proto.Account account_value = 1;
*/
public Builder clearAccountValue() {
if (accountValueBuilder_ == null) {
if (valueChoiceCase_ == 1) {
valueChoiceCase_ = 0;
valueChoice_ = null;
onChanged();
}
} else {
if (valueChoiceCase_ == 1) {
valueChoiceCase_ = 0;
valueChoice_ = null;
}
accountValueBuilder_.clear();
}
return this;
}
/**
*
**
* An account value.
*
*
* .proto.Account account_value = 1;
*/
public com.hederahashgraph.api.proto.java.Account.Builder getAccountValueBuilder() {
return getAccountValueFieldBuilder().getBuilder();
}
/**
*
**
* An account value.
*
*
* .proto.Account account_value = 1;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.AccountOrBuilder getAccountValueOrBuilder() {
if ((valueChoiceCase_ == 1) && (accountValueBuilder_ != null)) {
return accountValueBuilder_.getMessageOrBuilder();
} else {
if (valueChoiceCase_ == 1) {
return (com.hederahashgraph.api.proto.java.Account) valueChoice_;
}
return com.hederahashgraph.api.proto.java.Account.getDefaultInstance();
}
}
/**
*
**
* An account value.
*
*
* .proto.Account account_value = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.Account, com.hederahashgraph.api.proto.java.Account.Builder, com.hederahashgraph.api.proto.java.AccountOrBuilder>
getAccountValueFieldBuilder() {
if (accountValueBuilder_ == null) {
if (!(valueChoiceCase_ == 1)) {
valueChoice_ = com.hederahashgraph.api.proto.java.Account.getDefaultInstance();
}
accountValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.Account, com.hederahashgraph.api.proto.java.Account.Builder, com.hederahashgraph.api.proto.java.AccountOrBuilder>(
(com.hederahashgraph.api.proto.java.Account) valueChoice_,
getParentForChildren(),
isClean());
valueChoice_ = null;
}
valueChoiceCase_ = 1;
onChanged();;
return accountValueBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.AccountID, com.hederahashgraph.api.proto.java.AccountID.Builder, com.hederahashgraph.api.proto.java.AccountIDOrBuilder> accountIdValueBuilder_;
/**
*
**
* An account identifier.<br/>
* In some cases a map is used to connect a value or identifier
* to another identifier.
*
*
* .proto.AccountID account_id_value = 2;
* @return Whether the accountIdValue field is set.
*/
@java.lang.Override
public boolean hasAccountIdValue() {
return valueChoiceCase_ == 2;
}
/**
*
**
* An account identifier.<br/>
* In some cases a map is used to connect a value or identifier
* to another identifier.
*
*
* .proto.AccountID account_id_value = 2;
* @return The accountIdValue.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.AccountID getAccountIdValue() {
if (accountIdValueBuilder_ == null) {
if (valueChoiceCase_ == 2) {
return (com.hederahashgraph.api.proto.java.AccountID) valueChoice_;
}
return com.hederahashgraph.api.proto.java.AccountID.getDefaultInstance();
} else {
if (valueChoiceCase_ == 2) {
return accountIdValueBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.AccountID.getDefaultInstance();
}
}
/**
*
**
* An account identifier.<br/>
* In some cases a map is used to connect a value or identifier
* to another identifier.
*
*
* .proto.AccountID account_id_value = 2;
*/
public Builder setAccountIdValue(com.hederahashgraph.api.proto.java.AccountID value) {
if (accountIdValueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
valueChoice_ = value;
onChanged();
} else {
accountIdValueBuilder_.setMessage(value);
}
valueChoiceCase_ = 2;
return this;
}
/**
*
**
* An account identifier.<br/>
* In some cases a map is used to connect a value or identifier
* to another identifier.
*
*
* .proto.AccountID account_id_value = 2;
*/
public Builder setAccountIdValue(
com.hederahashgraph.api.proto.java.AccountID.Builder builderForValue) {
if (accountIdValueBuilder_ == null) {
valueChoice_ = builderForValue.build();
onChanged();
} else {
accountIdValueBuilder_.setMessage(builderForValue.build());
}
valueChoiceCase_ = 2;
return this;
}
/**
*
**
* An account identifier.<br/>
* In some cases a map is used to connect a value or identifier
* to another identifier.
*
*
* .proto.AccountID account_id_value = 2;
*/
public Builder mergeAccountIdValue(com.hederahashgraph.api.proto.java.AccountID value) {
if (accountIdValueBuilder_ == null) {
if (valueChoiceCase_ == 2 &&
valueChoice_ != com.hederahashgraph.api.proto.java.AccountID.getDefaultInstance()) {
valueChoice_ = com.hederahashgraph.api.proto.java.AccountID.newBuilder((com.hederahashgraph.api.proto.java.AccountID) valueChoice_)
.mergeFrom(value).buildPartial();
} else {
valueChoice_ = value;
}
onChanged();
} else {
if (valueChoiceCase_ == 2) {
accountIdValueBuilder_.mergeFrom(value);
}
accountIdValueBuilder_.setMessage(value);
}
valueChoiceCase_ = 2;
return this;
}
/**
*
**
* An account identifier.<br/>
* In some cases a map is used to connect a value or identifier
* to another identifier.
*
*
* .proto.AccountID account_id_value = 2;
*/
public Builder clearAccountIdValue() {
if (accountIdValueBuilder_ == null) {
if (valueChoiceCase_ == 2) {
valueChoiceCase_ = 0;
valueChoice_ = null;
onChanged();
}
} else {
if (valueChoiceCase_ == 2) {
valueChoiceCase_ = 0;
valueChoice_ = null;
}
accountIdValueBuilder_.clear();
}
return this;
}
/**
*
**
* An account identifier.<br/>
* In some cases a map is used to connect a value or identifier
* to another identifier.
*
*
* .proto.AccountID account_id_value = 2;
*/
public com.hederahashgraph.api.proto.java.AccountID.Builder getAccountIdValueBuilder() {
return getAccountIdValueFieldBuilder().getBuilder();
}
/**
*
**
* An account identifier.<br/>
* In some cases a map is used to connect a value or identifier
* to another identifier.
*
*
* .proto.AccountID account_id_value = 2;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.AccountIDOrBuilder getAccountIdValueOrBuilder() {
if ((valueChoiceCase_ == 2) && (accountIdValueBuilder_ != null)) {
return accountIdValueBuilder_.getMessageOrBuilder();
} else {
if (valueChoiceCase_ == 2) {
return (com.hederahashgraph.api.proto.java.AccountID) valueChoice_;
}
return com.hederahashgraph.api.proto.java.AccountID.getDefaultInstance();
}
}
/**
*
**
* An account identifier.<br/>
* In some cases a map is used to connect a value or identifier
* to another identifier.
*
*
* .proto.AccountID account_id_value = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.AccountID, com.hederahashgraph.api.proto.java.AccountID.Builder, com.hederahashgraph.api.proto.java.AccountIDOrBuilder>
getAccountIdValueFieldBuilder() {
if (accountIdValueBuilder_ == null) {
if (!(valueChoiceCase_ == 2)) {
valueChoice_ = com.hederahashgraph.api.proto.java.AccountID.getDefaultInstance();
}
accountIdValueBuilder_ = 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) valueChoice_,
getParentForChildren(),
isClean());
valueChoice_ = null;
}
valueChoiceCase_ = 2;
onChanged();;
return accountIdValueBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.Bytecode, com.hederahashgraph.api.proto.java.Bytecode.Builder, com.hederahashgraph.api.proto.java.BytecodeOrBuilder> bytecodeValueBuilder_;
/**
*
**
* Compiled EVM bytecode.
*
*
* .proto.Bytecode bytecode_value = 3;
* @return Whether the bytecodeValue field is set.
*/
@java.lang.Override
public boolean hasBytecodeValue() {
return valueChoiceCase_ == 3;
}
/**
*
**
* Compiled EVM bytecode.
*
*
* .proto.Bytecode bytecode_value = 3;
* @return The bytecodeValue.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.Bytecode getBytecodeValue() {
if (bytecodeValueBuilder_ == null) {
if (valueChoiceCase_ == 3) {
return (com.hederahashgraph.api.proto.java.Bytecode) valueChoice_;
}
return com.hederahashgraph.api.proto.java.Bytecode.getDefaultInstance();
} else {
if (valueChoiceCase_ == 3) {
return bytecodeValueBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.Bytecode.getDefaultInstance();
}
}
/**
*
**
* Compiled EVM bytecode.
*
*
* .proto.Bytecode bytecode_value = 3;
*/
public Builder setBytecodeValue(com.hederahashgraph.api.proto.java.Bytecode value) {
if (bytecodeValueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
valueChoice_ = value;
onChanged();
} else {
bytecodeValueBuilder_.setMessage(value);
}
valueChoiceCase_ = 3;
return this;
}
/**
*
**
* Compiled EVM bytecode.
*
*
* .proto.Bytecode bytecode_value = 3;
*/
public Builder setBytecodeValue(
com.hederahashgraph.api.proto.java.Bytecode.Builder builderForValue) {
if (bytecodeValueBuilder_ == null) {
valueChoice_ = builderForValue.build();
onChanged();
} else {
bytecodeValueBuilder_.setMessage(builderForValue.build());
}
valueChoiceCase_ = 3;
return this;
}
/**
*
**
* Compiled EVM bytecode.
*
*
* .proto.Bytecode bytecode_value = 3;
*/
public Builder mergeBytecodeValue(com.hederahashgraph.api.proto.java.Bytecode value) {
if (bytecodeValueBuilder_ == null) {
if (valueChoiceCase_ == 3 &&
valueChoice_ != com.hederahashgraph.api.proto.java.Bytecode.getDefaultInstance()) {
valueChoice_ = com.hederahashgraph.api.proto.java.Bytecode.newBuilder((com.hederahashgraph.api.proto.java.Bytecode) valueChoice_)
.mergeFrom(value).buildPartial();
} else {
valueChoice_ = value;
}
onChanged();
} else {
if (valueChoiceCase_ == 3) {
bytecodeValueBuilder_.mergeFrom(value);
}
bytecodeValueBuilder_.setMessage(value);
}
valueChoiceCase_ = 3;
return this;
}
/**
*
**
* Compiled EVM bytecode.
*
*
* .proto.Bytecode bytecode_value = 3;
*/
public Builder clearBytecodeValue() {
if (bytecodeValueBuilder_ == null) {
if (valueChoiceCase_ == 3) {
valueChoiceCase_ = 0;
valueChoice_ = null;
onChanged();
}
} else {
if (valueChoiceCase_ == 3) {
valueChoiceCase_ = 0;
valueChoice_ = null;
}
bytecodeValueBuilder_.clear();
}
return this;
}
/**
*
**
* Compiled EVM bytecode.
*
*
* .proto.Bytecode bytecode_value = 3;
*/
public com.hederahashgraph.api.proto.java.Bytecode.Builder getBytecodeValueBuilder() {
return getBytecodeValueFieldBuilder().getBuilder();
}
/**
*
**
* Compiled EVM bytecode.
*
*
* .proto.Bytecode bytecode_value = 3;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.BytecodeOrBuilder getBytecodeValueOrBuilder() {
if ((valueChoiceCase_ == 3) && (bytecodeValueBuilder_ != null)) {
return bytecodeValueBuilder_.getMessageOrBuilder();
} else {
if (valueChoiceCase_ == 3) {
return (com.hederahashgraph.api.proto.java.Bytecode) valueChoice_;
}
return com.hederahashgraph.api.proto.java.Bytecode.getDefaultInstance();
}
}
/**
*
**
* Compiled EVM bytecode.
*
*
* .proto.Bytecode bytecode_value = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.Bytecode, com.hederahashgraph.api.proto.java.Bytecode.Builder, com.hederahashgraph.api.proto.java.BytecodeOrBuilder>
getBytecodeValueFieldBuilder() {
if (bytecodeValueBuilder_ == null) {
if (!(valueChoiceCase_ == 3)) {
valueChoice_ = com.hederahashgraph.api.proto.java.Bytecode.getDefaultInstance();
}
bytecodeValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.Bytecode, com.hederahashgraph.api.proto.java.Bytecode.Builder, com.hederahashgraph.api.proto.java.BytecodeOrBuilder>(
(com.hederahashgraph.api.proto.java.Bytecode) valueChoice_,
getParentForChildren(),
isClean());
valueChoice_ = null;
}
valueChoiceCase_ = 3;
onChanged();;
return bytecodeValueBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.File, com.hederahashgraph.api.proto.java.File.Builder, com.hederahashgraph.api.proto.java.FileOrBuilder> fileValueBuilder_;
/**
*
**
* An Hedera "file" value.
* <p>
* <blockquote>REVIEW NOTE<blockquote>
* A file can become quite large (up to 1048576 bytes).<br/>
* Do we want to structure file changes separately?<br/>
* Perhaps a file metadata update and a separate byte array for
* just the bytes appended (or initial bytes on create). We only
* allow create/append/delete, so the separate byte array would work
* and keep the size below 6K per state change.
* </blockquote></blockquote>
*
*
* .proto.File file_value = 4;
* @return Whether the fileValue field is set.
*/
@java.lang.Override
public boolean hasFileValue() {
return valueChoiceCase_ == 4;
}
/**
*
**
* An Hedera "file" value.
* <p>
* <blockquote>REVIEW NOTE<blockquote>
* A file can become quite large (up to 1048576 bytes).<br/>
* Do we want to structure file changes separately?<br/>
* Perhaps a file metadata update and a separate byte array for
* just the bytes appended (or initial bytes on create). We only
* allow create/append/delete, so the separate byte array would work
* and keep the size below 6K per state change.
* </blockquote></blockquote>
*
*
* .proto.File file_value = 4;
* @return The fileValue.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.File getFileValue() {
if (fileValueBuilder_ == null) {
if (valueChoiceCase_ == 4) {
return (com.hederahashgraph.api.proto.java.File) valueChoice_;
}
return com.hederahashgraph.api.proto.java.File.getDefaultInstance();
} else {
if (valueChoiceCase_ == 4) {
return fileValueBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.File.getDefaultInstance();
}
}
/**
*
**
* An Hedera "file" value.
* <p>
* <blockquote>REVIEW NOTE<blockquote>
* A file can become quite large (up to 1048576 bytes).<br/>
* Do we want to structure file changes separately?<br/>
* Perhaps a file metadata update and a separate byte array for
* just the bytes appended (or initial bytes on create). We only
* allow create/append/delete, so the separate byte array would work
* and keep the size below 6K per state change.
* </blockquote></blockquote>
*
*
* .proto.File file_value = 4;
*/
public Builder setFileValue(com.hederahashgraph.api.proto.java.File value) {
if (fileValueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
valueChoice_ = value;
onChanged();
} else {
fileValueBuilder_.setMessage(value);
}
valueChoiceCase_ = 4;
return this;
}
/**
*
**
* An Hedera "file" value.
* <p>
* <blockquote>REVIEW NOTE<blockquote>
* A file can become quite large (up to 1048576 bytes).<br/>
* Do we want to structure file changes separately?<br/>
* Perhaps a file metadata update and a separate byte array for
* just the bytes appended (or initial bytes on create). We only
* allow create/append/delete, so the separate byte array would work
* and keep the size below 6K per state change.
* </blockquote></blockquote>
*
*
* .proto.File file_value = 4;
*/
public Builder setFileValue(
com.hederahashgraph.api.proto.java.File.Builder builderForValue) {
if (fileValueBuilder_ == null) {
valueChoice_ = builderForValue.build();
onChanged();
} else {
fileValueBuilder_.setMessage(builderForValue.build());
}
valueChoiceCase_ = 4;
return this;
}
/**
*
**
* An Hedera "file" value.
* <p>
* <blockquote>REVIEW NOTE<blockquote>
* A file can become quite large (up to 1048576 bytes).<br/>
* Do we want to structure file changes separately?<br/>
* Perhaps a file metadata update and a separate byte array for
* just the bytes appended (or initial bytes on create). We only
* allow create/append/delete, so the separate byte array would work
* and keep the size below 6K per state change.
* </blockquote></blockquote>
*
*
* .proto.File file_value = 4;
*/
public Builder mergeFileValue(com.hederahashgraph.api.proto.java.File value) {
if (fileValueBuilder_ == null) {
if (valueChoiceCase_ == 4 &&
valueChoice_ != com.hederahashgraph.api.proto.java.File.getDefaultInstance()) {
valueChoice_ = com.hederahashgraph.api.proto.java.File.newBuilder((com.hederahashgraph.api.proto.java.File) valueChoice_)
.mergeFrom(value).buildPartial();
} else {
valueChoice_ = value;
}
onChanged();
} else {
if (valueChoiceCase_ == 4) {
fileValueBuilder_.mergeFrom(value);
}
fileValueBuilder_.setMessage(value);
}
valueChoiceCase_ = 4;
return this;
}
/**
*
**
* An Hedera "file" value.
* <p>
* <blockquote>REVIEW NOTE<blockquote>
* A file can become quite large (up to 1048576 bytes).<br/>
* Do we want to structure file changes separately?<br/>
* Perhaps a file metadata update and a separate byte array for
* just the bytes appended (or initial bytes on create). We only
* allow create/append/delete, so the separate byte array would work
* and keep the size below 6K per state change.
* </blockquote></blockquote>
*
*
* .proto.File file_value = 4;
*/
public Builder clearFileValue() {
if (fileValueBuilder_ == null) {
if (valueChoiceCase_ == 4) {
valueChoiceCase_ = 0;
valueChoice_ = null;
onChanged();
}
} else {
if (valueChoiceCase_ == 4) {
valueChoiceCase_ = 0;
valueChoice_ = null;
}
fileValueBuilder_.clear();
}
return this;
}
/**
*
**
* An Hedera "file" value.
* <p>
* <blockquote>REVIEW NOTE<blockquote>
* A file can become quite large (up to 1048576 bytes).<br/>
* Do we want to structure file changes separately?<br/>
* Perhaps a file metadata update and a separate byte array for
* just the bytes appended (or initial bytes on create). We only
* allow create/append/delete, so the separate byte array would work
* and keep the size below 6K per state change.
* </blockquote></blockquote>
*
*
* .proto.File file_value = 4;
*/
public com.hederahashgraph.api.proto.java.File.Builder getFileValueBuilder() {
return getFileValueFieldBuilder().getBuilder();
}
/**
*
**
* An Hedera "file" value.
* <p>
* <blockquote>REVIEW NOTE<blockquote>
* A file can become quite large (up to 1048576 bytes).<br/>
* Do we want to structure file changes separately?<br/>
* Perhaps a file metadata update and a separate byte array for
* just the bytes appended (or initial bytes on create). We only
* allow create/append/delete, so the separate byte array would work
* and keep the size below 6K per state change.
* </blockquote></blockquote>
*
*
* .proto.File file_value = 4;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.FileOrBuilder getFileValueOrBuilder() {
if ((valueChoiceCase_ == 4) && (fileValueBuilder_ != null)) {
return fileValueBuilder_.getMessageOrBuilder();
} else {
if (valueChoiceCase_ == 4) {
return (com.hederahashgraph.api.proto.java.File) valueChoice_;
}
return com.hederahashgraph.api.proto.java.File.getDefaultInstance();
}
}
/**
*
**
* An Hedera "file" value.
* <p>
* <blockquote>REVIEW NOTE<blockquote>
* A file can become quite large (up to 1048576 bytes).<br/>
* Do we want to structure file changes separately?<br/>
* Perhaps a file metadata update and a separate byte array for
* just the bytes appended (or initial bytes on create). We only
* allow create/append/delete, so the separate byte array would work
* and keep the size below 6K per state change.
* </blockquote></blockquote>
*
*
* .proto.File file_value = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.File, com.hederahashgraph.api.proto.java.File.Builder, com.hederahashgraph.api.proto.java.FileOrBuilder>
getFileValueFieldBuilder() {
if (fileValueBuilder_ == null) {
if (!(valueChoiceCase_ == 4)) {
valueChoice_ = com.hederahashgraph.api.proto.java.File.getDefaultInstance();
}
fileValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.File, com.hederahashgraph.api.proto.java.File.Builder, com.hederahashgraph.api.proto.java.FileOrBuilder>(
(com.hederahashgraph.api.proto.java.File) valueChoice_,
getParentForChildren(),
isClean());
valueChoice_ = null;
}
valueChoiceCase_ = 4;
onChanged();;
return fileValueBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.Nft, com.hederahashgraph.api.proto.java.Nft.Builder, com.hederahashgraph.api.proto.java.NftOrBuilder> nftValueBuilder_;
/**
*
**
* A non-fungible/unique token value.
*
*
* .proto.Nft nft_value = 5;
* @return Whether the nftValue field is set.
*/
@java.lang.Override
public boolean hasNftValue() {
return valueChoiceCase_ == 5;
}
/**
*
**
* A non-fungible/unique token value.
*
*
* .proto.Nft nft_value = 5;
* @return The nftValue.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.Nft getNftValue() {
if (nftValueBuilder_ == null) {
if (valueChoiceCase_ == 5) {
return (com.hederahashgraph.api.proto.java.Nft) valueChoice_;
}
return com.hederahashgraph.api.proto.java.Nft.getDefaultInstance();
} else {
if (valueChoiceCase_ == 5) {
return nftValueBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.Nft.getDefaultInstance();
}
}
/**
*
**
* A non-fungible/unique token value.
*
*
* .proto.Nft nft_value = 5;
*/
public Builder setNftValue(com.hederahashgraph.api.proto.java.Nft value) {
if (nftValueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
valueChoice_ = value;
onChanged();
} else {
nftValueBuilder_.setMessage(value);
}
valueChoiceCase_ = 5;
return this;
}
/**
*
**
* A non-fungible/unique token value.
*
*
* .proto.Nft nft_value = 5;
*/
public Builder setNftValue(
com.hederahashgraph.api.proto.java.Nft.Builder builderForValue) {
if (nftValueBuilder_ == null) {
valueChoice_ = builderForValue.build();
onChanged();
} else {
nftValueBuilder_.setMessage(builderForValue.build());
}
valueChoiceCase_ = 5;
return this;
}
/**
*
**
* A non-fungible/unique token value.
*
*
* .proto.Nft nft_value = 5;
*/
public Builder mergeNftValue(com.hederahashgraph.api.proto.java.Nft value) {
if (nftValueBuilder_ == null) {
if (valueChoiceCase_ == 5 &&
valueChoice_ != com.hederahashgraph.api.proto.java.Nft.getDefaultInstance()) {
valueChoice_ = com.hederahashgraph.api.proto.java.Nft.newBuilder((com.hederahashgraph.api.proto.java.Nft) valueChoice_)
.mergeFrom(value).buildPartial();
} else {
valueChoice_ = value;
}
onChanged();
} else {
if (valueChoiceCase_ == 5) {
nftValueBuilder_.mergeFrom(value);
}
nftValueBuilder_.setMessage(value);
}
valueChoiceCase_ = 5;
return this;
}
/**
*
**
* A non-fungible/unique token value.
*
*
* .proto.Nft nft_value = 5;
*/
public Builder clearNftValue() {
if (nftValueBuilder_ == null) {
if (valueChoiceCase_ == 5) {
valueChoiceCase_ = 0;
valueChoice_ = null;
onChanged();
}
} else {
if (valueChoiceCase_ == 5) {
valueChoiceCase_ = 0;
valueChoice_ = null;
}
nftValueBuilder_.clear();
}
return this;
}
/**
*
**
* A non-fungible/unique token value.
*
*
* .proto.Nft nft_value = 5;
*/
public com.hederahashgraph.api.proto.java.Nft.Builder getNftValueBuilder() {
return getNftValueFieldBuilder().getBuilder();
}
/**
*
**
* A non-fungible/unique token value.
*
*
* .proto.Nft nft_value = 5;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.NftOrBuilder getNftValueOrBuilder() {
if ((valueChoiceCase_ == 5) && (nftValueBuilder_ != null)) {
return nftValueBuilder_.getMessageOrBuilder();
} else {
if (valueChoiceCase_ == 5) {
return (com.hederahashgraph.api.proto.java.Nft) valueChoice_;
}
return com.hederahashgraph.api.proto.java.Nft.getDefaultInstance();
}
}
/**
*
**
* A non-fungible/unique token value.
*
*
* .proto.Nft nft_value = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.Nft, com.hederahashgraph.api.proto.java.Nft.Builder, com.hederahashgraph.api.proto.java.NftOrBuilder>
getNftValueFieldBuilder() {
if (nftValueBuilder_ == null) {
if (!(valueChoiceCase_ == 5)) {
valueChoice_ = com.hederahashgraph.api.proto.java.Nft.getDefaultInstance();
}
nftValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.Nft, com.hederahashgraph.api.proto.java.Nft.Builder, com.hederahashgraph.api.proto.java.NftOrBuilder>(
(com.hederahashgraph.api.proto.java.Nft) valueChoice_,
getParentForChildren(),
isClean());
valueChoice_ = null;
}
valueChoiceCase_ = 5;
onChanged();;
return nftValueBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> protoStringValueBuilder_;
/**
*
**
* A string value.
*
*
* .google.protobuf.StringValue proto_string_value = 6;
* @return Whether the protoStringValue field is set.
*/
@java.lang.Override
public boolean hasProtoStringValue() {
return valueChoiceCase_ == 6;
}
/**
*
**
* A string value.
*
*
* .google.protobuf.StringValue proto_string_value = 6;
* @return The protoStringValue.
*/
@java.lang.Override
public com.google.protobuf.StringValue getProtoStringValue() {
if (protoStringValueBuilder_ == null) {
if (valueChoiceCase_ == 6) {
return (com.google.protobuf.StringValue) valueChoice_;
}
return com.google.protobuf.StringValue.getDefaultInstance();
} else {
if (valueChoiceCase_ == 6) {
return protoStringValueBuilder_.getMessage();
}
return com.google.protobuf.StringValue.getDefaultInstance();
}
}
/**
*
**
* A string value.
*
*
* .google.protobuf.StringValue proto_string_value = 6;
*/
public Builder setProtoStringValue(com.google.protobuf.StringValue value) {
if (protoStringValueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
valueChoice_ = value;
onChanged();
} else {
protoStringValueBuilder_.setMessage(value);
}
valueChoiceCase_ = 6;
return this;
}
/**
*
**
* A string value.
*
*
* .google.protobuf.StringValue proto_string_value = 6;
*/
public Builder setProtoStringValue(
com.google.protobuf.StringValue.Builder builderForValue) {
if (protoStringValueBuilder_ == null) {
valueChoice_ = builderForValue.build();
onChanged();
} else {
protoStringValueBuilder_.setMessage(builderForValue.build());
}
valueChoiceCase_ = 6;
return this;
}
/**
*
**
* A string value.
*
*
* .google.protobuf.StringValue proto_string_value = 6;
*/
public Builder mergeProtoStringValue(com.google.protobuf.StringValue value) {
if (protoStringValueBuilder_ == null) {
if (valueChoiceCase_ == 6 &&
valueChoice_ != com.google.protobuf.StringValue.getDefaultInstance()) {
valueChoice_ = com.google.protobuf.StringValue.newBuilder((com.google.protobuf.StringValue) valueChoice_)
.mergeFrom(value).buildPartial();
} else {
valueChoice_ = value;
}
onChanged();
} else {
if (valueChoiceCase_ == 6) {
protoStringValueBuilder_.mergeFrom(value);
}
protoStringValueBuilder_.setMessage(value);
}
valueChoiceCase_ = 6;
return this;
}
/**
*
**
* A string value.
*
*
* .google.protobuf.StringValue proto_string_value = 6;
*/
public Builder clearProtoStringValue() {
if (protoStringValueBuilder_ == null) {
if (valueChoiceCase_ == 6) {
valueChoiceCase_ = 0;
valueChoice_ = null;
onChanged();
}
} else {
if (valueChoiceCase_ == 6) {
valueChoiceCase_ = 0;
valueChoice_ = null;
}
protoStringValueBuilder_.clear();
}
return this;
}
/**
*
**
* A string value.
*
*
* .google.protobuf.StringValue proto_string_value = 6;
*/
public com.google.protobuf.StringValue.Builder getProtoStringValueBuilder() {
return getProtoStringValueFieldBuilder().getBuilder();
}
/**
*
**
* A string value.
*
*
* .google.protobuf.StringValue proto_string_value = 6;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getProtoStringValueOrBuilder() {
if ((valueChoiceCase_ == 6) && (protoStringValueBuilder_ != null)) {
return protoStringValueBuilder_.getMessageOrBuilder();
} else {
if (valueChoiceCase_ == 6) {
return (com.google.protobuf.StringValue) valueChoice_;
}
return com.google.protobuf.StringValue.getDefaultInstance();
}
}
/**
*
**
* A string value.
*
*
* .google.protobuf.StringValue proto_string_value = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getProtoStringValueFieldBuilder() {
if (protoStringValueBuilder_ == null) {
if (!(valueChoiceCase_ == 6)) {
valueChoice_ = com.google.protobuf.StringValue.getDefaultInstance();
}
protoStringValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
(com.google.protobuf.StringValue) valueChoice_,
getParentForChildren(),
isClean());
valueChoice_ = null;
}
valueChoiceCase_ = 6;
onChanged();;
return protoStringValueBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.Schedule, com.hederahashgraph.api.proto.java.Schedule.Builder, com.hederahashgraph.api.proto.java.ScheduleOrBuilder> scheduleValueBuilder_;
/**
*
**
* A scheduled transaction value.
*
*
* .proto.Schedule schedule_value = 7;
* @return Whether the scheduleValue field is set.
*/
@java.lang.Override
public boolean hasScheduleValue() {
return valueChoiceCase_ == 7;
}
/**
*
**
* A scheduled transaction value.
*
*
* .proto.Schedule schedule_value = 7;
* @return The scheduleValue.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.Schedule getScheduleValue() {
if (scheduleValueBuilder_ == null) {
if (valueChoiceCase_ == 7) {
return (com.hederahashgraph.api.proto.java.Schedule) valueChoice_;
}
return com.hederahashgraph.api.proto.java.Schedule.getDefaultInstance();
} else {
if (valueChoiceCase_ == 7) {
return scheduleValueBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.Schedule.getDefaultInstance();
}
}
/**
*
**
* A scheduled transaction value.
*
*
* .proto.Schedule schedule_value = 7;
*/
public Builder setScheduleValue(com.hederahashgraph.api.proto.java.Schedule value) {
if (scheduleValueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
valueChoice_ = value;
onChanged();
} else {
scheduleValueBuilder_.setMessage(value);
}
valueChoiceCase_ = 7;
return this;
}
/**
*
**
* A scheduled transaction value.
*
*
* .proto.Schedule schedule_value = 7;
*/
public Builder setScheduleValue(
com.hederahashgraph.api.proto.java.Schedule.Builder builderForValue) {
if (scheduleValueBuilder_ == null) {
valueChoice_ = builderForValue.build();
onChanged();
} else {
scheduleValueBuilder_.setMessage(builderForValue.build());
}
valueChoiceCase_ = 7;
return this;
}
/**
*
**
* A scheduled transaction value.
*
*
* .proto.Schedule schedule_value = 7;
*/
public Builder mergeScheduleValue(com.hederahashgraph.api.proto.java.Schedule value) {
if (scheduleValueBuilder_ == null) {
if (valueChoiceCase_ == 7 &&
valueChoice_ != com.hederahashgraph.api.proto.java.Schedule.getDefaultInstance()) {
valueChoice_ = com.hederahashgraph.api.proto.java.Schedule.newBuilder((com.hederahashgraph.api.proto.java.Schedule) valueChoice_)
.mergeFrom(value).buildPartial();
} else {
valueChoice_ = value;
}
onChanged();
} else {
if (valueChoiceCase_ == 7) {
scheduleValueBuilder_.mergeFrom(value);
}
scheduleValueBuilder_.setMessage(value);
}
valueChoiceCase_ = 7;
return this;
}
/**
*
**
* A scheduled transaction value.
*
*
* .proto.Schedule schedule_value = 7;
*/
public Builder clearScheduleValue() {
if (scheduleValueBuilder_ == null) {
if (valueChoiceCase_ == 7) {
valueChoiceCase_ = 0;
valueChoice_ = null;
onChanged();
}
} else {
if (valueChoiceCase_ == 7) {
valueChoiceCase_ = 0;
valueChoice_ = null;
}
scheduleValueBuilder_.clear();
}
return this;
}
/**
*
**
* A scheduled transaction value.
*
*
* .proto.Schedule schedule_value = 7;
*/
public com.hederahashgraph.api.proto.java.Schedule.Builder getScheduleValueBuilder() {
return getScheduleValueFieldBuilder().getBuilder();
}
/**
*
**
* A scheduled transaction value.
*
*
* .proto.Schedule schedule_value = 7;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.ScheduleOrBuilder getScheduleValueOrBuilder() {
if ((valueChoiceCase_ == 7) && (scheduleValueBuilder_ != null)) {
return scheduleValueBuilder_.getMessageOrBuilder();
} else {
if (valueChoiceCase_ == 7) {
return (com.hederahashgraph.api.proto.java.Schedule) valueChoice_;
}
return com.hederahashgraph.api.proto.java.Schedule.getDefaultInstance();
}
}
/**
*
**
* A scheduled transaction value.
*
*
* .proto.Schedule schedule_value = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.Schedule, com.hederahashgraph.api.proto.java.Schedule.Builder, com.hederahashgraph.api.proto.java.ScheduleOrBuilder>
getScheduleValueFieldBuilder() {
if (scheduleValueBuilder_ == null) {
if (!(valueChoiceCase_ == 7)) {
valueChoice_ = com.hederahashgraph.api.proto.java.Schedule.getDefaultInstance();
}
scheduleValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.Schedule, com.hederahashgraph.api.proto.java.Schedule.Builder, com.hederahashgraph.api.proto.java.ScheduleOrBuilder>(
(com.hederahashgraph.api.proto.java.Schedule) valueChoice_,
getParentForChildren(),
isClean());
valueChoice_ = null;
}
valueChoiceCase_ = 7;
onChanged();;
return scheduleValueBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ScheduleList, com.hederahashgraph.api.proto.java.ScheduleList.Builder, com.hederahashgraph.api.proto.java.ScheduleListOrBuilder> scheduleListValueBuilder_;
/**
*
**
* A list of scheduled transactions.<br/>
* An example for this value is the map of consensus second to
* scheduled transactions that expire at that consensus time.
*
*
* .proto.ScheduleList schedule_list_value = 8;
* @return Whether the scheduleListValue field is set.
*/
@java.lang.Override
public boolean hasScheduleListValue() {
return valueChoiceCase_ == 8;
}
/**
*
**
* A list of scheduled transactions.<br/>
* An example for this value is the map of consensus second to
* scheduled transactions that expire at that consensus time.
*
*
* .proto.ScheduleList schedule_list_value = 8;
* @return The scheduleListValue.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.ScheduleList getScheduleListValue() {
if (scheduleListValueBuilder_ == null) {
if (valueChoiceCase_ == 8) {
return (com.hederahashgraph.api.proto.java.ScheduleList) valueChoice_;
}
return com.hederahashgraph.api.proto.java.ScheduleList.getDefaultInstance();
} else {
if (valueChoiceCase_ == 8) {
return scheduleListValueBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.ScheduleList.getDefaultInstance();
}
}
/**
*
**
* A list of scheduled transactions.<br/>
* An example for this value is the map of consensus second to
* scheduled transactions that expire at that consensus time.
*
*
* .proto.ScheduleList schedule_list_value = 8;
*/
public Builder setScheduleListValue(com.hederahashgraph.api.proto.java.ScheduleList value) {
if (scheduleListValueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
valueChoice_ = value;
onChanged();
} else {
scheduleListValueBuilder_.setMessage(value);
}
valueChoiceCase_ = 8;
return this;
}
/**
*
**
* A list of scheduled transactions.<br/>
* An example for this value is the map of consensus second to
* scheduled transactions that expire at that consensus time.
*
*
* .proto.ScheduleList schedule_list_value = 8;
*/
public Builder setScheduleListValue(
com.hederahashgraph.api.proto.java.ScheduleList.Builder builderForValue) {
if (scheduleListValueBuilder_ == null) {
valueChoice_ = builderForValue.build();
onChanged();
} else {
scheduleListValueBuilder_.setMessage(builderForValue.build());
}
valueChoiceCase_ = 8;
return this;
}
/**
*
**
* A list of scheduled transactions.<br/>
* An example for this value is the map of consensus second to
* scheduled transactions that expire at that consensus time.
*
*
* .proto.ScheduleList schedule_list_value = 8;
*/
public Builder mergeScheduleListValue(com.hederahashgraph.api.proto.java.ScheduleList value) {
if (scheduleListValueBuilder_ == null) {
if (valueChoiceCase_ == 8 &&
valueChoice_ != com.hederahashgraph.api.proto.java.ScheduleList.getDefaultInstance()) {
valueChoice_ = com.hederahashgraph.api.proto.java.ScheduleList.newBuilder((com.hederahashgraph.api.proto.java.ScheduleList) valueChoice_)
.mergeFrom(value).buildPartial();
} else {
valueChoice_ = value;
}
onChanged();
} else {
if (valueChoiceCase_ == 8) {
scheduleListValueBuilder_.mergeFrom(value);
}
scheduleListValueBuilder_.setMessage(value);
}
valueChoiceCase_ = 8;
return this;
}
/**
*
**
* A list of scheduled transactions.<br/>
* An example for this value is the map of consensus second to
* scheduled transactions that expire at that consensus time.
*
*
* .proto.ScheduleList schedule_list_value = 8;
*/
public Builder clearScheduleListValue() {
if (scheduleListValueBuilder_ == null) {
if (valueChoiceCase_ == 8) {
valueChoiceCase_ = 0;
valueChoice_ = null;
onChanged();
}
} else {
if (valueChoiceCase_ == 8) {
valueChoiceCase_ = 0;
valueChoice_ = null;
}
scheduleListValueBuilder_.clear();
}
return this;
}
/**
*
**
* A list of scheduled transactions.<br/>
* An example for this value is the map of consensus second to
* scheduled transactions that expire at that consensus time.
*
*
* .proto.ScheduleList schedule_list_value = 8;
*/
public com.hederahashgraph.api.proto.java.ScheduleList.Builder getScheduleListValueBuilder() {
return getScheduleListValueFieldBuilder().getBuilder();
}
/**
*
**
* A list of scheduled transactions.<br/>
* An example for this value is the map of consensus second to
* scheduled transactions that expire at that consensus time.
*
*
* .proto.ScheduleList schedule_list_value = 8;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.ScheduleListOrBuilder getScheduleListValueOrBuilder() {
if ((valueChoiceCase_ == 8) && (scheduleListValueBuilder_ != null)) {
return scheduleListValueBuilder_.getMessageOrBuilder();
} else {
if (valueChoiceCase_ == 8) {
return (com.hederahashgraph.api.proto.java.ScheduleList) valueChoice_;
}
return com.hederahashgraph.api.proto.java.ScheduleList.getDefaultInstance();
}
}
/**
*
**
* A list of scheduled transactions.<br/>
* An example for this value is the map of consensus second to
* scheduled transactions that expire at that consensus time.
*
*
* .proto.ScheduleList schedule_list_value = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ScheduleList, com.hederahashgraph.api.proto.java.ScheduleList.Builder, com.hederahashgraph.api.proto.java.ScheduleListOrBuilder>
getScheduleListValueFieldBuilder() {
if (scheduleListValueBuilder_ == null) {
if (!(valueChoiceCase_ == 8)) {
valueChoice_ = com.hederahashgraph.api.proto.java.ScheduleList.getDefaultInstance();
}
scheduleListValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.ScheduleList, com.hederahashgraph.api.proto.java.ScheduleList.Builder, com.hederahashgraph.api.proto.java.ScheduleListOrBuilder>(
(com.hederahashgraph.api.proto.java.ScheduleList) valueChoice_,
getParentForChildren(),
isClean());
valueChoice_ = null;
}
valueChoiceCase_ = 8;
onChanged();;
return scheduleListValueBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.SlotValue, com.hederahashgraph.api.proto.java.SlotValue.Builder, com.hederahashgraph.api.proto.java.SlotValueOrBuilder> slotValueValueBuilder_;
/**
*
**
* An EVM storage slot value.
*
*
* .proto.SlotValue slot_value_value = 9;
* @return Whether the slotValueValue field is set.
*/
@java.lang.Override
public boolean hasSlotValueValue() {
return valueChoiceCase_ == 9;
}
/**
*
**
* An EVM storage slot value.
*
*
* .proto.SlotValue slot_value_value = 9;
* @return The slotValueValue.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.SlotValue getSlotValueValue() {
if (slotValueValueBuilder_ == null) {
if (valueChoiceCase_ == 9) {
return (com.hederahashgraph.api.proto.java.SlotValue) valueChoice_;
}
return com.hederahashgraph.api.proto.java.SlotValue.getDefaultInstance();
} else {
if (valueChoiceCase_ == 9) {
return slotValueValueBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.SlotValue.getDefaultInstance();
}
}
/**
*
**
* An EVM storage slot value.
*
*
* .proto.SlotValue slot_value_value = 9;
*/
public Builder setSlotValueValue(com.hederahashgraph.api.proto.java.SlotValue value) {
if (slotValueValueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
valueChoice_ = value;
onChanged();
} else {
slotValueValueBuilder_.setMessage(value);
}
valueChoiceCase_ = 9;
return this;
}
/**
*
**
* An EVM storage slot value.
*
*
* .proto.SlotValue slot_value_value = 9;
*/
public Builder setSlotValueValue(
com.hederahashgraph.api.proto.java.SlotValue.Builder builderForValue) {
if (slotValueValueBuilder_ == null) {
valueChoice_ = builderForValue.build();
onChanged();
} else {
slotValueValueBuilder_.setMessage(builderForValue.build());
}
valueChoiceCase_ = 9;
return this;
}
/**
*
**
* An EVM storage slot value.
*
*
* .proto.SlotValue slot_value_value = 9;
*/
public Builder mergeSlotValueValue(com.hederahashgraph.api.proto.java.SlotValue value) {
if (slotValueValueBuilder_ == null) {
if (valueChoiceCase_ == 9 &&
valueChoice_ != com.hederahashgraph.api.proto.java.SlotValue.getDefaultInstance()) {
valueChoice_ = com.hederahashgraph.api.proto.java.SlotValue.newBuilder((com.hederahashgraph.api.proto.java.SlotValue) valueChoice_)
.mergeFrom(value).buildPartial();
} else {
valueChoice_ = value;
}
onChanged();
} else {
if (valueChoiceCase_ == 9) {
slotValueValueBuilder_.mergeFrom(value);
}
slotValueValueBuilder_.setMessage(value);
}
valueChoiceCase_ = 9;
return this;
}
/**
*
**
* An EVM storage slot value.
*
*
* .proto.SlotValue slot_value_value = 9;
*/
public Builder clearSlotValueValue() {
if (slotValueValueBuilder_ == null) {
if (valueChoiceCase_ == 9) {
valueChoiceCase_ = 0;
valueChoice_ = null;
onChanged();
}
} else {
if (valueChoiceCase_ == 9) {
valueChoiceCase_ = 0;
valueChoice_ = null;
}
slotValueValueBuilder_.clear();
}
return this;
}
/**
*
**
* An EVM storage slot value.
*
*
* .proto.SlotValue slot_value_value = 9;
*/
public com.hederahashgraph.api.proto.java.SlotValue.Builder getSlotValueValueBuilder() {
return getSlotValueValueFieldBuilder().getBuilder();
}
/**
*
**
* An EVM storage slot value.
*
*
* .proto.SlotValue slot_value_value = 9;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.SlotValueOrBuilder getSlotValueValueOrBuilder() {
if ((valueChoiceCase_ == 9) && (slotValueValueBuilder_ != null)) {
return slotValueValueBuilder_.getMessageOrBuilder();
} else {
if (valueChoiceCase_ == 9) {
return (com.hederahashgraph.api.proto.java.SlotValue) valueChoice_;
}
return com.hederahashgraph.api.proto.java.SlotValue.getDefaultInstance();
}
}
/**
*
**
* An EVM storage slot value.
*
*
* .proto.SlotValue slot_value_value = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.SlotValue, com.hederahashgraph.api.proto.java.SlotValue.Builder, com.hederahashgraph.api.proto.java.SlotValueOrBuilder>
getSlotValueValueFieldBuilder() {
if (slotValueValueBuilder_ == null) {
if (!(valueChoiceCase_ == 9)) {
valueChoice_ = com.hederahashgraph.api.proto.java.SlotValue.getDefaultInstance();
}
slotValueValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.SlotValue, com.hederahashgraph.api.proto.java.SlotValue.Builder, com.hederahashgraph.api.proto.java.SlotValueOrBuilder>(
(com.hederahashgraph.api.proto.java.SlotValue) valueChoice_,
getParentForChildren(),
isClean());
valueChoice_ = null;
}
valueChoiceCase_ = 9;
onChanged();;
return slotValueValueBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.StakingNodeInfo, com.hederahashgraph.api.proto.java.StakingNodeInfo.Builder, com.hederahashgraph.api.proto.java.StakingNodeInfoOrBuilder> stakingNodeInfoValueBuilder_;
/**
*
**
* An updated set of staking information for all nodes in
* the address book.
*
*
* .proto.StakingNodeInfo staking_node_info_value = 10;
* @return Whether the stakingNodeInfoValue field is set.
*/
@java.lang.Override
public boolean hasStakingNodeInfoValue() {
return valueChoiceCase_ == 10;
}
/**
*
**
* An updated set of staking information for all nodes in
* the address book.
*
*
* .proto.StakingNodeInfo staking_node_info_value = 10;
* @return The stakingNodeInfoValue.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.StakingNodeInfo getStakingNodeInfoValue() {
if (stakingNodeInfoValueBuilder_ == null) {
if (valueChoiceCase_ == 10) {
return (com.hederahashgraph.api.proto.java.StakingNodeInfo) valueChoice_;
}
return com.hederahashgraph.api.proto.java.StakingNodeInfo.getDefaultInstance();
} else {
if (valueChoiceCase_ == 10) {
return stakingNodeInfoValueBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.StakingNodeInfo.getDefaultInstance();
}
}
/**
*
**
* An updated set of staking information for all nodes in
* the address book.
*
*
* .proto.StakingNodeInfo staking_node_info_value = 10;
*/
public Builder setStakingNodeInfoValue(com.hederahashgraph.api.proto.java.StakingNodeInfo value) {
if (stakingNodeInfoValueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
valueChoice_ = value;
onChanged();
} else {
stakingNodeInfoValueBuilder_.setMessage(value);
}
valueChoiceCase_ = 10;
return this;
}
/**
*
**
* An updated set of staking information for all nodes in
* the address book.
*
*
* .proto.StakingNodeInfo staking_node_info_value = 10;
*/
public Builder setStakingNodeInfoValue(
com.hederahashgraph.api.proto.java.StakingNodeInfo.Builder builderForValue) {
if (stakingNodeInfoValueBuilder_ == null) {
valueChoice_ = builderForValue.build();
onChanged();
} else {
stakingNodeInfoValueBuilder_.setMessage(builderForValue.build());
}
valueChoiceCase_ = 10;
return this;
}
/**
*
**
* An updated set of staking information for all nodes in
* the address book.
*
*
* .proto.StakingNodeInfo staking_node_info_value = 10;
*/
public Builder mergeStakingNodeInfoValue(com.hederahashgraph.api.proto.java.StakingNodeInfo value) {
if (stakingNodeInfoValueBuilder_ == null) {
if (valueChoiceCase_ == 10 &&
valueChoice_ != com.hederahashgraph.api.proto.java.StakingNodeInfo.getDefaultInstance()) {
valueChoice_ = com.hederahashgraph.api.proto.java.StakingNodeInfo.newBuilder((com.hederahashgraph.api.proto.java.StakingNodeInfo) valueChoice_)
.mergeFrom(value).buildPartial();
} else {
valueChoice_ = value;
}
onChanged();
} else {
if (valueChoiceCase_ == 10) {
stakingNodeInfoValueBuilder_.mergeFrom(value);
}
stakingNodeInfoValueBuilder_.setMessage(value);
}
valueChoiceCase_ = 10;
return this;
}
/**
*
**
* An updated set of staking information for all nodes in
* the address book.
*
*
* .proto.StakingNodeInfo staking_node_info_value = 10;
*/
public Builder clearStakingNodeInfoValue() {
if (stakingNodeInfoValueBuilder_ == null) {
if (valueChoiceCase_ == 10) {
valueChoiceCase_ = 0;
valueChoice_ = null;
onChanged();
}
} else {
if (valueChoiceCase_ == 10) {
valueChoiceCase_ = 0;
valueChoice_ = null;
}
stakingNodeInfoValueBuilder_.clear();
}
return this;
}
/**
*
**
* An updated set of staking information for all nodes in
* the address book.
*
*
* .proto.StakingNodeInfo staking_node_info_value = 10;
*/
public com.hederahashgraph.api.proto.java.StakingNodeInfo.Builder getStakingNodeInfoValueBuilder() {
return getStakingNodeInfoValueFieldBuilder().getBuilder();
}
/**
*
**
* An updated set of staking information for all nodes in
* the address book.
*
*
* .proto.StakingNodeInfo staking_node_info_value = 10;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.StakingNodeInfoOrBuilder getStakingNodeInfoValueOrBuilder() {
if ((valueChoiceCase_ == 10) && (stakingNodeInfoValueBuilder_ != null)) {
return stakingNodeInfoValueBuilder_.getMessageOrBuilder();
} else {
if (valueChoiceCase_ == 10) {
return (com.hederahashgraph.api.proto.java.StakingNodeInfo) valueChoice_;
}
return com.hederahashgraph.api.proto.java.StakingNodeInfo.getDefaultInstance();
}
}
/**
*
**
* An updated set of staking information for all nodes in
* the address book.
*
*
* .proto.StakingNodeInfo staking_node_info_value = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.StakingNodeInfo, com.hederahashgraph.api.proto.java.StakingNodeInfo.Builder, com.hederahashgraph.api.proto.java.StakingNodeInfoOrBuilder>
getStakingNodeInfoValueFieldBuilder() {
if (stakingNodeInfoValueBuilder_ == null) {
if (!(valueChoiceCase_ == 10)) {
valueChoice_ = com.hederahashgraph.api.proto.java.StakingNodeInfo.getDefaultInstance();
}
stakingNodeInfoValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.StakingNodeInfo, com.hederahashgraph.api.proto.java.StakingNodeInfo.Builder, com.hederahashgraph.api.proto.java.StakingNodeInfoOrBuilder>(
(com.hederahashgraph.api.proto.java.StakingNodeInfo) valueChoice_,
getParentForChildren(),
isClean());
valueChoice_ = null;
}
valueChoiceCase_ = 10;
onChanged();;
return stakingNodeInfoValueBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.Token, com.hederahashgraph.api.proto.java.Token.Builder, com.hederahashgraph.api.proto.java.TokenOrBuilder> tokenValueBuilder_;
/**
*
**
* An HTS token value.
*
*
* .proto.Token token_value = 11;
* @return Whether the tokenValue field is set.
*/
@java.lang.Override
public boolean hasTokenValue() {
return valueChoiceCase_ == 11;
}
/**
*
**
* An HTS token value.
*
*
* .proto.Token token_value = 11;
* @return The tokenValue.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.Token getTokenValue() {
if (tokenValueBuilder_ == null) {
if (valueChoiceCase_ == 11) {
return (com.hederahashgraph.api.proto.java.Token) valueChoice_;
}
return com.hederahashgraph.api.proto.java.Token.getDefaultInstance();
} else {
if (valueChoiceCase_ == 11) {
return tokenValueBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.Token.getDefaultInstance();
}
}
/**
*
**
* An HTS token value.
*
*
* .proto.Token token_value = 11;
*/
public Builder setTokenValue(com.hederahashgraph.api.proto.java.Token value) {
if (tokenValueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
valueChoice_ = value;
onChanged();
} else {
tokenValueBuilder_.setMessage(value);
}
valueChoiceCase_ = 11;
return this;
}
/**
*
**
* An HTS token value.
*
*
* .proto.Token token_value = 11;
*/
public Builder setTokenValue(
com.hederahashgraph.api.proto.java.Token.Builder builderForValue) {
if (tokenValueBuilder_ == null) {
valueChoice_ = builderForValue.build();
onChanged();
} else {
tokenValueBuilder_.setMessage(builderForValue.build());
}
valueChoiceCase_ = 11;
return this;
}
/**
*
**
* An HTS token value.
*
*
* .proto.Token token_value = 11;
*/
public Builder mergeTokenValue(com.hederahashgraph.api.proto.java.Token value) {
if (tokenValueBuilder_ == null) {
if (valueChoiceCase_ == 11 &&
valueChoice_ != com.hederahashgraph.api.proto.java.Token.getDefaultInstance()) {
valueChoice_ = com.hederahashgraph.api.proto.java.Token.newBuilder((com.hederahashgraph.api.proto.java.Token) valueChoice_)
.mergeFrom(value).buildPartial();
} else {
valueChoice_ = value;
}
onChanged();
} else {
if (valueChoiceCase_ == 11) {
tokenValueBuilder_.mergeFrom(value);
}
tokenValueBuilder_.setMessage(value);
}
valueChoiceCase_ = 11;
return this;
}
/**
*
**
* An HTS token value.
*
*
* .proto.Token token_value = 11;
*/
public Builder clearTokenValue() {
if (tokenValueBuilder_ == null) {
if (valueChoiceCase_ == 11) {
valueChoiceCase_ = 0;
valueChoice_ = null;
onChanged();
}
} else {
if (valueChoiceCase_ == 11) {
valueChoiceCase_ = 0;
valueChoice_ = null;
}
tokenValueBuilder_.clear();
}
return this;
}
/**
*
**
* An HTS token value.
*
*
* .proto.Token token_value = 11;
*/
public com.hederahashgraph.api.proto.java.Token.Builder getTokenValueBuilder() {
return getTokenValueFieldBuilder().getBuilder();
}
/**
*
**
* An HTS token value.
*
*
* .proto.Token token_value = 11;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenOrBuilder getTokenValueOrBuilder() {
if ((valueChoiceCase_ == 11) && (tokenValueBuilder_ != null)) {
return tokenValueBuilder_.getMessageOrBuilder();
} else {
if (valueChoiceCase_ == 11) {
return (com.hederahashgraph.api.proto.java.Token) valueChoice_;
}
return com.hederahashgraph.api.proto.java.Token.getDefaultInstance();
}
}
/**
*
**
* An HTS token value.
*
*
* .proto.Token token_value = 11;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.Token, com.hederahashgraph.api.proto.java.Token.Builder, com.hederahashgraph.api.proto.java.TokenOrBuilder>
getTokenValueFieldBuilder() {
if (tokenValueBuilder_ == null) {
if (!(valueChoiceCase_ == 11)) {
valueChoice_ = com.hederahashgraph.api.proto.java.Token.getDefaultInstance();
}
tokenValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.Token, com.hederahashgraph.api.proto.java.Token.Builder, com.hederahashgraph.api.proto.java.TokenOrBuilder>(
(com.hederahashgraph.api.proto.java.Token) valueChoice_,
getParentForChildren(),
isClean());
valueChoice_ = null;
}
valueChoiceCase_ = 11;
onChanged();;
return tokenValueBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenRelation, com.hederahashgraph.api.proto.java.TokenRelation.Builder, com.hederahashgraph.api.proto.java.TokenRelationOrBuilder> tokenRelationValueBuilder_;
/**
*
**
* A token relationship value.<br/>
* These values track which accounts are willing to transact
* in specific HTS tokens.
*
*
* .proto.TokenRelation token_relation_value = 12;
* @return Whether the tokenRelationValue field is set.
*/
@java.lang.Override
public boolean hasTokenRelationValue() {
return valueChoiceCase_ == 12;
}
/**
*
**
* A token relationship value.<br/>
* These values track which accounts are willing to transact
* in specific HTS tokens.
*
*
* .proto.TokenRelation token_relation_value = 12;
* @return The tokenRelationValue.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenRelation getTokenRelationValue() {
if (tokenRelationValueBuilder_ == null) {
if (valueChoiceCase_ == 12) {
return (com.hederahashgraph.api.proto.java.TokenRelation) valueChoice_;
}
return com.hederahashgraph.api.proto.java.TokenRelation.getDefaultInstance();
} else {
if (valueChoiceCase_ == 12) {
return tokenRelationValueBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.TokenRelation.getDefaultInstance();
}
}
/**
*
**
* A token relationship value.<br/>
* These values track which accounts are willing to transact
* in specific HTS tokens.
*
*
* .proto.TokenRelation token_relation_value = 12;
*/
public Builder setTokenRelationValue(com.hederahashgraph.api.proto.java.TokenRelation value) {
if (tokenRelationValueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
valueChoice_ = value;
onChanged();
} else {
tokenRelationValueBuilder_.setMessage(value);
}
valueChoiceCase_ = 12;
return this;
}
/**
*
**
* A token relationship value.<br/>
* These values track which accounts are willing to transact
* in specific HTS tokens.
*
*
* .proto.TokenRelation token_relation_value = 12;
*/
public Builder setTokenRelationValue(
com.hederahashgraph.api.proto.java.TokenRelation.Builder builderForValue) {
if (tokenRelationValueBuilder_ == null) {
valueChoice_ = builderForValue.build();
onChanged();
} else {
tokenRelationValueBuilder_.setMessage(builderForValue.build());
}
valueChoiceCase_ = 12;
return this;
}
/**
*
**
* A token relationship value.<br/>
* These values track which accounts are willing to transact
* in specific HTS tokens.
*
*
* .proto.TokenRelation token_relation_value = 12;
*/
public Builder mergeTokenRelationValue(com.hederahashgraph.api.proto.java.TokenRelation value) {
if (tokenRelationValueBuilder_ == null) {
if (valueChoiceCase_ == 12 &&
valueChoice_ != com.hederahashgraph.api.proto.java.TokenRelation.getDefaultInstance()) {
valueChoice_ = com.hederahashgraph.api.proto.java.TokenRelation.newBuilder((com.hederahashgraph.api.proto.java.TokenRelation) valueChoice_)
.mergeFrom(value).buildPartial();
} else {
valueChoice_ = value;
}
onChanged();
} else {
if (valueChoiceCase_ == 12) {
tokenRelationValueBuilder_.mergeFrom(value);
}
tokenRelationValueBuilder_.setMessage(value);
}
valueChoiceCase_ = 12;
return this;
}
/**
*
**
* A token relationship value.<br/>
* These values track which accounts are willing to transact
* in specific HTS tokens.
*
*
* .proto.TokenRelation token_relation_value = 12;
*/
public Builder clearTokenRelationValue() {
if (tokenRelationValueBuilder_ == null) {
if (valueChoiceCase_ == 12) {
valueChoiceCase_ = 0;
valueChoice_ = null;
onChanged();
}
} else {
if (valueChoiceCase_ == 12) {
valueChoiceCase_ = 0;
valueChoice_ = null;
}
tokenRelationValueBuilder_.clear();
}
return this;
}
/**
*
**
* A token relationship value.<br/>
* These values track which accounts are willing to transact
* in specific HTS tokens.
*
*
* .proto.TokenRelation token_relation_value = 12;
*/
public com.hederahashgraph.api.proto.java.TokenRelation.Builder getTokenRelationValueBuilder() {
return getTokenRelationValueFieldBuilder().getBuilder();
}
/**
*
**
* A token relationship value.<br/>
* These values track which accounts are willing to transact
* in specific HTS tokens.
*
*
* .proto.TokenRelation token_relation_value = 12;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TokenRelationOrBuilder getTokenRelationValueOrBuilder() {
if ((valueChoiceCase_ == 12) && (tokenRelationValueBuilder_ != null)) {
return tokenRelationValueBuilder_.getMessageOrBuilder();
} else {
if (valueChoiceCase_ == 12) {
return (com.hederahashgraph.api.proto.java.TokenRelation) valueChoice_;
}
return com.hederahashgraph.api.proto.java.TokenRelation.getDefaultInstance();
}
}
/**
*
**
* A token relationship value.<br/>
* These values track which accounts are willing to transact
* in specific HTS tokens.
*
*
* .proto.TokenRelation token_relation_value = 12;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenRelation, com.hederahashgraph.api.proto.java.TokenRelation.Builder, com.hederahashgraph.api.proto.java.TokenRelationOrBuilder>
getTokenRelationValueFieldBuilder() {
if (tokenRelationValueBuilder_ == null) {
if (!(valueChoiceCase_ == 12)) {
valueChoice_ = com.hederahashgraph.api.proto.java.TokenRelation.getDefaultInstance();
}
tokenRelationValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.TokenRelation, com.hederahashgraph.api.proto.java.TokenRelation.Builder, com.hederahashgraph.api.proto.java.TokenRelationOrBuilder>(
(com.hederahashgraph.api.proto.java.TokenRelation) valueChoice_,
getParentForChildren(),
isClean());
valueChoice_ = null;
}
valueChoiceCase_ = 12;
onChanged();;
return tokenRelationValueBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.Topic, com.hederahashgraph.api.proto.java.Topic.Builder, com.hederahashgraph.api.proto.java.TopicOrBuilder> topicValueBuilder_;
/**
*
**
* An HCS topic value.
*
*
* .proto.Topic topic_value = 13;
* @return Whether the topicValue field is set.
*/
@java.lang.Override
public boolean hasTopicValue() {
return valueChoiceCase_ == 13;
}
/**
*
**
* An HCS topic value.
*
*
* .proto.Topic topic_value = 13;
* @return The topicValue.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.Topic getTopicValue() {
if (topicValueBuilder_ == null) {
if (valueChoiceCase_ == 13) {
return (com.hederahashgraph.api.proto.java.Topic) valueChoice_;
}
return com.hederahashgraph.api.proto.java.Topic.getDefaultInstance();
} else {
if (valueChoiceCase_ == 13) {
return topicValueBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.Topic.getDefaultInstance();
}
}
/**
*
**
* An HCS topic value.
*
*
* .proto.Topic topic_value = 13;
*/
public Builder setTopicValue(com.hederahashgraph.api.proto.java.Topic value) {
if (topicValueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
valueChoice_ = value;
onChanged();
} else {
topicValueBuilder_.setMessage(value);
}
valueChoiceCase_ = 13;
return this;
}
/**
*
**
* An HCS topic value.
*
*
* .proto.Topic topic_value = 13;
*/
public Builder setTopicValue(
com.hederahashgraph.api.proto.java.Topic.Builder builderForValue) {
if (topicValueBuilder_ == null) {
valueChoice_ = builderForValue.build();
onChanged();
} else {
topicValueBuilder_.setMessage(builderForValue.build());
}
valueChoiceCase_ = 13;
return this;
}
/**
*
**
* An HCS topic value.
*
*
* .proto.Topic topic_value = 13;
*/
public Builder mergeTopicValue(com.hederahashgraph.api.proto.java.Topic value) {
if (topicValueBuilder_ == null) {
if (valueChoiceCase_ == 13 &&
valueChoice_ != com.hederahashgraph.api.proto.java.Topic.getDefaultInstance()) {
valueChoice_ = com.hederahashgraph.api.proto.java.Topic.newBuilder((com.hederahashgraph.api.proto.java.Topic) valueChoice_)
.mergeFrom(value).buildPartial();
} else {
valueChoice_ = value;
}
onChanged();
} else {
if (valueChoiceCase_ == 13) {
topicValueBuilder_.mergeFrom(value);
}
topicValueBuilder_.setMessage(value);
}
valueChoiceCase_ = 13;
return this;
}
/**
*
**
* An HCS topic value.
*
*
* .proto.Topic topic_value = 13;
*/
public Builder clearTopicValue() {
if (topicValueBuilder_ == null) {
if (valueChoiceCase_ == 13) {
valueChoiceCase_ = 0;
valueChoice_ = null;
onChanged();
}
} else {
if (valueChoiceCase_ == 13) {
valueChoiceCase_ = 0;
valueChoice_ = null;
}
topicValueBuilder_.clear();
}
return this;
}
/**
*
**
* An HCS topic value.
*
*
* .proto.Topic topic_value = 13;
*/
public com.hederahashgraph.api.proto.java.Topic.Builder getTopicValueBuilder() {
return getTopicValueFieldBuilder().getBuilder();
}
/**
*
**
* An HCS topic value.
*
*
* .proto.Topic topic_value = 13;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.TopicOrBuilder getTopicValueOrBuilder() {
if ((valueChoiceCase_ == 13) && (topicValueBuilder_ != null)) {
return topicValueBuilder_.getMessageOrBuilder();
} else {
if (valueChoiceCase_ == 13) {
return (com.hederahashgraph.api.proto.java.Topic) valueChoice_;
}
return com.hederahashgraph.api.proto.java.Topic.getDefaultInstance();
}
}
/**
*
**
* An HCS topic value.
*
*
* .proto.Topic topic_value = 13;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.Topic, com.hederahashgraph.api.proto.java.Topic.Builder, com.hederahashgraph.api.proto.java.TopicOrBuilder>
getTopicValueFieldBuilder() {
if (topicValueBuilder_ == null) {
if (!(valueChoiceCase_ == 13)) {
valueChoice_ = com.hederahashgraph.api.proto.java.Topic.getDefaultInstance();
}
topicValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.Topic, com.hederahashgraph.api.proto.java.Topic.Builder, com.hederahashgraph.api.proto.java.TopicOrBuilder>(
(com.hederahashgraph.api.proto.java.Topic) valueChoice_,
getParentForChildren(),
isClean());
valueChoice_ = null;
}
valueChoiceCase_ = 13;
onChanged();;
return topicValueBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.Node, com.hederahashgraph.api.proto.java.Node.Builder, com.hederahashgraph.api.proto.java.NodeOrBuilder> nodeValueBuilder_;
/**
*
**
* An network node value.
*
*
* .com.hedera.hapi.node.state.addressbook.Node node_value = 14;
* @return Whether the nodeValue field is set.
*/
@java.lang.Override
public boolean hasNodeValue() {
return valueChoiceCase_ == 14;
}
/**
*
**
* An network node value.
*
*
* .com.hedera.hapi.node.state.addressbook.Node node_value = 14;
* @return The nodeValue.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.Node getNodeValue() {
if (nodeValueBuilder_ == null) {
if (valueChoiceCase_ == 14) {
return (com.hederahashgraph.api.proto.java.Node) valueChoice_;
}
return com.hederahashgraph.api.proto.java.Node.getDefaultInstance();
} else {
if (valueChoiceCase_ == 14) {
return nodeValueBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.Node.getDefaultInstance();
}
}
/**
*
**
* An network node value.
*
*
* .com.hedera.hapi.node.state.addressbook.Node node_value = 14;
*/
public Builder setNodeValue(com.hederahashgraph.api.proto.java.Node value) {
if (nodeValueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
valueChoice_ = value;
onChanged();
} else {
nodeValueBuilder_.setMessage(value);
}
valueChoiceCase_ = 14;
return this;
}
/**
*
**
* An network node value.
*
*
* .com.hedera.hapi.node.state.addressbook.Node node_value = 14;
*/
public Builder setNodeValue(
com.hederahashgraph.api.proto.java.Node.Builder builderForValue) {
if (nodeValueBuilder_ == null) {
valueChoice_ = builderForValue.build();
onChanged();
} else {
nodeValueBuilder_.setMessage(builderForValue.build());
}
valueChoiceCase_ = 14;
return this;
}
/**
*
**
* An network node value.
*
*
* .com.hedera.hapi.node.state.addressbook.Node node_value = 14;
*/
public Builder mergeNodeValue(com.hederahashgraph.api.proto.java.Node value) {
if (nodeValueBuilder_ == null) {
if (valueChoiceCase_ == 14 &&
valueChoice_ != com.hederahashgraph.api.proto.java.Node.getDefaultInstance()) {
valueChoice_ = com.hederahashgraph.api.proto.java.Node.newBuilder((com.hederahashgraph.api.proto.java.Node) valueChoice_)
.mergeFrom(value).buildPartial();
} else {
valueChoice_ = value;
}
onChanged();
} else {
if (valueChoiceCase_ == 14) {
nodeValueBuilder_.mergeFrom(value);
}
nodeValueBuilder_.setMessage(value);
}
valueChoiceCase_ = 14;
return this;
}
/**
*
**
* An network node value.
*
*
* .com.hedera.hapi.node.state.addressbook.Node node_value = 14;
*/
public Builder clearNodeValue() {
if (nodeValueBuilder_ == null) {
if (valueChoiceCase_ == 14) {
valueChoiceCase_ = 0;
valueChoice_ = null;
onChanged();
}
} else {
if (valueChoiceCase_ == 14) {
valueChoiceCase_ = 0;
valueChoice_ = null;
}
nodeValueBuilder_.clear();
}
return this;
}
/**
*
**
* An network node value.
*
*
* .com.hedera.hapi.node.state.addressbook.Node node_value = 14;
*/
public com.hederahashgraph.api.proto.java.Node.Builder getNodeValueBuilder() {
return getNodeValueFieldBuilder().getBuilder();
}
/**
*
**
* An network node value.
*
*
* .com.hedera.hapi.node.state.addressbook.Node node_value = 14;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.NodeOrBuilder getNodeValueOrBuilder() {
if ((valueChoiceCase_ == 14) && (nodeValueBuilder_ != null)) {
return nodeValueBuilder_.getMessageOrBuilder();
} else {
if (valueChoiceCase_ == 14) {
return (com.hederahashgraph.api.proto.java.Node) valueChoice_;
}
return com.hederahashgraph.api.proto.java.Node.getDefaultInstance();
}
}
/**
*
**
* An network node value.
*
*
* .com.hedera.hapi.node.state.addressbook.Node node_value = 14;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.Node, com.hederahashgraph.api.proto.java.Node.Builder, com.hederahashgraph.api.proto.java.NodeOrBuilder>
getNodeValueFieldBuilder() {
if (nodeValueBuilder_ == null) {
if (!(valueChoiceCase_ == 14)) {
valueChoice_ = com.hederahashgraph.api.proto.java.Node.getDefaultInstance();
}
nodeValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.Node, com.hederahashgraph.api.proto.java.Node.Builder, com.hederahashgraph.api.proto.java.NodeOrBuilder>(
(com.hederahashgraph.api.proto.java.Node) valueChoice_,
getParentForChildren(),
isClean());
valueChoice_ = null;
}
valueChoiceCase_ = 14;
onChanged();;
return nodeValueBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.AccountPendingAirdrop, com.hederahashgraph.api.proto.java.AccountPendingAirdrop.Builder, com.hederahashgraph.api.proto.java.AccountPendingAirdropOrBuilder> accountPendingAirdropValueBuilder_;
/**
*
**
* A pending airdrop value.
*
*
* .proto.AccountPendingAirdrop account_pending_airdrop_value = 15;
* @return Whether the accountPendingAirdropValue field is set.
*/
@java.lang.Override
public boolean hasAccountPendingAirdropValue() {
return valueChoiceCase_ == 15;
}
/**
*
**
* A pending airdrop value.
*
*
* .proto.AccountPendingAirdrop account_pending_airdrop_value = 15;
* @return The accountPendingAirdropValue.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.AccountPendingAirdrop getAccountPendingAirdropValue() {
if (accountPendingAirdropValueBuilder_ == null) {
if (valueChoiceCase_ == 15) {
return (com.hederahashgraph.api.proto.java.AccountPendingAirdrop) valueChoice_;
}
return com.hederahashgraph.api.proto.java.AccountPendingAirdrop.getDefaultInstance();
} else {
if (valueChoiceCase_ == 15) {
return accountPendingAirdropValueBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.AccountPendingAirdrop.getDefaultInstance();
}
}
/**
*
**
* A pending airdrop value.
*
*
* .proto.AccountPendingAirdrop account_pending_airdrop_value = 15;
*/
public Builder setAccountPendingAirdropValue(com.hederahashgraph.api.proto.java.AccountPendingAirdrop value) {
if (accountPendingAirdropValueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
valueChoice_ = value;
onChanged();
} else {
accountPendingAirdropValueBuilder_.setMessage(value);
}
valueChoiceCase_ = 15;
return this;
}
/**
*
**
* A pending airdrop value.
*
*
* .proto.AccountPendingAirdrop account_pending_airdrop_value = 15;
*/
public Builder setAccountPendingAirdropValue(
com.hederahashgraph.api.proto.java.AccountPendingAirdrop.Builder builderForValue) {
if (accountPendingAirdropValueBuilder_ == null) {
valueChoice_ = builderForValue.build();
onChanged();
} else {
accountPendingAirdropValueBuilder_.setMessage(builderForValue.build());
}
valueChoiceCase_ = 15;
return this;
}
/**
*
**
* A pending airdrop value.
*
*
* .proto.AccountPendingAirdrop account_pending_airdrop_value = 15;
*/
public Builder mergeAccountPendingAirdropValue(com.hederahashgraph.api.proto.java.AccountPendingAirdrop value) {
if (accountPendingAirdropValueBuilder_ == null) {
if (valueChoiceCase_ == 15 &&
valueChoice_ != com.hederahashgraph.api.proto.java.AccountPendingAirdrop.getDefaultInstance()) {
valueChoice_ = com.hederahashgraph.api.proto.java.AccountPendingAirdrop.newBuilder((com.hederahashgraph.api.proto.java.AccountPendingAirdrop) valueChoice_)
.mergeFrom(value).buildPartial();
} else {
valueChoice_ = value;
}
onChanged();
} else {
if (valueChoiceCase_ == 15) {
accountPendingAirdropValueBuilder_.mergeFrom(value);
}
accountPendingAirdropValueBuilder_.setMessage(value);
}
valueChoiceCase_ = 15;
return this;
}
/**
*
**
* A pending airdrop value.
*
*
* .proto.AccountPendingAirdrop account_pending_airdrop_value = 15;
*/
public Builder clearAccountPendingAirdropValue() {
if (accountPendingAirdropValueBuilder_ == null) {
if (valueChoiceCase_ == 15) {
valueChoiceCase_ = 0;
valueChoice_ = null;
onChanged();
}
} else {
if (valueChoiceCase_ == 15) {
valueChoiceCase_ = 0;
valueChoice_ = null;
}
accountPendingAirdropValueBuilder_.clear();
}
return this;
}
/**
*
**
* A pending airdrop value.
*
*
* .proto.AccountPendingAirdrop account_pending_airdrop_value = 15;
*/
public com.hederahashgraph.api.proto.java.AccountPendingAirdrop.Builder getAccountPendingAirdropValueBuilder() {
return getAccountPendingAirdropValueFieldBuilder().getBuilder();
}
/**
*
**
* A pending airdrop value.
*
*
* .proto.AccountPendingAirdrop account_pending_airdrop_value = 15;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.AccountPendingAirdropOrBuilder getAccountPendingAirdropValueOrBuilder() {
if ((valueChoiceCase_ == 15) && (accountPendingAirdropValueBuilder_ != null)) {
return accountPendingAirdropValueBuilder_.getMessageOrBuilder();
} else {
if (valueChoiceCase_ == 15) {
return (com.hederahashgraph.api.proto.java.AccountPendingAirdrop) valueChoice_;
}
return com.hederahashgraph.api.proto.java.AccountPendingAirdrop.getDefaultInstance();
}
}
/**
*
**
* A pending airdrop value.
*
*
* .proto.AccountPendingAirdrop account_pending_airdrop_value = 15;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.AccountPendingAirdrop, com.hederahashgraph.api.proto.java.AccountPendingAirdrop.Builder, com.hederahashgraph.api.proto.java.AccountPendingAirdropOrBuilder>
getAccountPendingAirdropValueFieldBuilder() {
if (accountPendingAirdropValueBuilder_ == null) {
if (!(valueChoiceCase_ == 15)) {
valueChoice_ = com.hederahashgraph.api.proto.java.AccountPendingAirdrop.getDefaultInstance();
}
accountPendingAirdropValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.AccountPendingAirdrop, com.hederahashgraph.api.proto.java.AccountPendingAirdrop.Builder, com.hederahashgraph.api.proto.java.AccountPendingAirdropOrBuilder>(
(com.hederahashgraph.api.proto.java.AccountPendingAirdrop) valueChoice_,
getParentForChildren(),
isClean());
valueChoice_ = null;
}
valueChoiceCase_ = 15;
onChanged();;
return accountPendingAirdropValueBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.Roster, com.hederahashgraph.api.proto.java.Roster.Builder, com.hederahashgraph.api.proto.java.RosterOrBuilder> rosterValueBuilder_;
/**
*
**
* A roster value.
*
*
* .com.hedera.hapi.node.state.roster.Roster roster_value = 16;
* @return Whether the rosterValue field is set.
*/
@java.lang.Override
public boolean hasRosterValue() {
return valueChoiceCase_ == 16;
}
/**
*
**
* A roster value.
*
*
* .com.hedera.hapi.node.state.roster.Roster roster_value = 16;
* @return The rosterValue.
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.Roster getRosterValue() {
if (rosterValueBuilder_ == null) {
if (valueChoiceCase_ == 16) {
return (com.hederahashgraph.api.proto.java.Roster) valueChoice_;
}
return com.hederahashgraph.api.proto.java.Roster.getDefaultInstance();
} else {
if (valueChoiceCase_ == 16) {
return rosterValueBuilder_.getMessage();
}
return com.hederahashgraph.api.proto.java.Roster.getDefaultInstance();
}
}
/**
*
**
* A roster value.
*
*
* .com.hedera.hapi.node.state.roster.Roster roster_value = 16;
*/
public Builder setRosterValue(com.hederahashgraph.api.proto.java.Roster value) {
if (rosterValueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
valueChoice_ = value;
onChanged();
} else {
rosterValueBuilder_.setMessage(value);
}
valueChoiceCase_ = 16;
return this;
}
/**
*
**
* A roster value.
*
*
* .com.hedera.hapi.node.state.roster.Roster roster_value = 16;
*/
public Builder setRosterValue(
com.hederahashgraph.api.proto.java.Roster.Builder builderForValue) {
if (rosterValueBuilder_ == null) {
valueChoice_ = builderForValue.build();
onChanged();
} else {
rosterValueBuilder_.setMessage(builderForValue.build());
}
valueChoiceCase_ = 16;
return this;
}
/**
*
**
* A roster value.
*
*
* .com.hedera.hapi.node.state.roster.Roster roster_value = 16;
*/
public Builder mergeRosterValue(com.hederahashgraph.api.proto.java.Roster value) {
if (rosterValueBuilder_ == null) {
if (valueChoiceCase_ == 16 &&
valueChoice_ != com.hederahashgraph.api.proto.java.Roster.getDefaultInstance()) {
valueChoice_ = com.hederahashgraph.api.proto.java.Roster.newBuilder((com.hederahashgraph.api.proto.java.Roster) valueChoice_)
.mergeFrom(value).buildPartial();
} else {
valueChoice_ = value;
}
onChanged();
} else {
if (valueChoiceCase_ == 16) {
rosterValueBuilder_.mergeFrom(value);
}
rosterValueBuilder_.setMessage(value);
}
valueChoiceCase_ = 16;
return this;
}
/**
*
**
* A roster value.
*
*
* .com.hedera.hapi.node.state.roster.Roster roster_value = 16;
*/
public Builder clearRosterValue() {
if (rosterValueBuilder_ == null) {
if (valueChoiceCase_ == 16) {
valueChoiceCase_ = 0;
valueChoice_ = null;
onChanged();
}
} else {
if (valueChoiceCase_ == 16) {
valueChoiceCase_ = 0;
valueChoice_ = null;
}
rosterValueBuilder_.clear();
}
return this;
}
/**
*
**
* A roster value.
*
*
* .com.hedera.hapi.node.state.roster.Roster roster_value = 16;
*/
public com.hederahashgraph.api.proto.java.Roster.Builder getRosterValueBuilder() {
return getRosterValueFieldBuilder().getBuilder();
}
/**
*
**
* A roster value.
*
*
* .com.hedera.hapi.node.state.roster.Roster roster_value = 16;
*/
@java.lang.Override
public com.hederahashgraph.api.proto.java.RosterOrBuilder getRosterValueOrBuilder() {
if ((valueChoiceCase_ == 16) && (rosterValueBuilder_ != null)) {
return rosterValueBuilder_.getMessageOrBuilder();
} else {
if (valueChoiceCase_ == 16) {
return (com.hederahashgraph.api.proto.java.Roster) valueChoice_;
}
return com.hederahashgraph.api.proto.java.Roster.getDefaultInstance();
}
}
/**
*
**
* A roster value.
*
*
* .com.hedera.hapi.node.state.roster.Roster roster_value = 16;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.Roster, com.hederahashgraph.api.proto.java.Roster.Builder, com.hederahashgraph.api.proto.java.RosterOrBuilder>
getRosterValueFieldBuilder() {
if (rosterValueBuilder_ == null) {
if (!(valueChoiceCase_ == 16)) {
valueChoice_ = com.hederahashgraph.api.proto.java.Roster.getDefaultInstance();
}
rosterValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.hederahashgraph.api.proto.java.Roster, com.hederahashgraph.api.proto.java.Roster.Builder, com.hederahashgraph.api.proto.java.RosterOrBuilder>(
(com.hederahashgraph.api.proto.java.Roster) valueChoice_,
getParentForChildren(),
isClean());
valueChoice_ = null;
}
valueChoiceCase_ = 16;
onChanged();;
return rosterValueBuilder_;
}
@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.MapChangeValue)
}
// @@protoc_insertion_point(class_scope:com.hedera.hapi.block.stream.output.MapChangeValue)
private static final com.hedera.hapi.block.stream.output.protoc.MapChangeValue DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.hedera.hapi.block.stream.output.protoc.MapChangeValue();
}
public static com.hedera.hapi.block.stream.output.protoc.MapChangeValue getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public MapChangeValue parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MapChangeValue(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.MapChangeValue getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy