Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
* Ordered list of ChunkExecutionData produced while executing the block.
* Note: there will be one ChunkExecutionData per collection in the block, plus one for the
* service chunk. The service chunk is executed last and is always the last chunk in the list.
*
* Ordered list of ChunkExecutionData produced while executing the block.
* Note: there will be one ChunkExecutionData per collection in the block, plus one for the
* service chunk. The service chunk is executed last and is always the last chunk in the list.
*
* Ordered list of ChunkExecutionData produced while executing the block.
* Note: there will be one ChunkExecutionData per collection in the block, plus one for the
* service chunk. The service chunk is executed last and is always the last chunk in the list.
*
* Ordered list of ChunkExecutionData produced while executing the block.
* Note: there will be one ChunkExecutionData per collection in the block, plus one for the
* service chunk. The service chunk is executed last and is always the last chunk in the list.
*
* Ordered list of ChunkExecutionData produced while executing the block.
* Note: there will be one ChunkExecutionData per collection in the block, plus one for the
* service chunk. The service chunk is executed last and is always the last chunk in the list.
*
* BlockExecutionData represents the collection of data produced while execiting the block.
*
*
* Protobuf type {@code flow.entities.BlockExecutionData}
*/
public static final class BlockExecutionData extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flow.entities.BlockExecutionData)
BlockExecutionDataOrBuilder {
private static final long serialVersionUID = 0L;
// Use BlockExecutionData.newBuilder() to construct.
private BlockExecutionData(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private BlockExecutionData() {
blockId_ = com.google.protobuf.ByteString.EMPTY;
chunkExecutionData_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new BlockExecutionData();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BlockExecutionData(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
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: {
blockId_ = input.readBytes();
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
chunkExecutionData_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
chunkExecutionData_.add(
input.readMessage(org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ChunkExecutionData.parser(), extensionRegistry));
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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
chunkExecutionData_ = java.util.Collections.unmodifiableList(chunkExecutionData_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.entities.BlockExecutionDataOuterClass.internal_static_flow_entities_BlockExecutionData_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.entities.BlockExecutionDataOuterClass.internal_static_flow_entities_BlockExecutionData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData.class, org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData.Builder.class);
}
public static final int BLOCK_ID_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString blockId_;
/**
*
* Block ID of the block that was executed.
*
*
* bytes block_id = 1;
* @return The blockId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getBlockId() {
return blockId_;
}
public static final int CHUNK_EXECUTION_DATA_FIELD_NUMBER = 2;
private java.util.List chunkExecutionData_;
/**
*
* Ordered list of ChunkExecutionData produced while executing the block.
* Note: there will be one ChunkExecutionData per collection in the block, plus one for the
* service chunk. The service chunk is executed last and is always the last chunk in the list.
*
* Ordered list of ChunkExecutionData produced while executing the block.
* Note: there will be one ChunkExecutionData per collection in the block, plus one for the
* service chunk. The service chunk is executed last and is always the last chunk in the list.
*
* Ordered list of ChunkExecutionData produced while executing the block.
* Note: there will be one ChunkExecutionData per collection in the block, plus one for the
* service chunk. The service chunk is executed last and is always the last chunk in the list.
*
*
* repeated .flow.entities.ChunkExecutionData chunk_execution_data = 2;
*/
@java.lang.Override
public int getChunkExecutionDataCount() {
return chunkExecutionData_.size();
}
/**
*
* Ordered list of ChunkExecutionData produced while executing the block.
* Note: there will be one ChunkExecutionData per collection in the block, plus one for the
* service chunk. The service chunk is executed last and is always the last chunk in the list.
*
* Ordered list of ChunkExecutionData produced while executing the block.
* Note: there will be one ChunkExecutionData per collection in the block, plus one for the
* service chunk. The service chunk is executed last and is always the last chunk in the list.
*
*
* repeated .flow.entities.ChunkExecutionData chunk_execution_data = 2;
*/
@java.lang.Override
public org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ChunkExecutionDataOrBuilder getChunkExecutionDataOrBuilder(
int index) {
return chunkExecutionData_.get(index);
}
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 (!blockId_.isEmpty()) {
output.writeBytes(1, blockId_);
}
for (int i = 0; i < chunkExecutionData_.size(); i++) {
output.writeMessage(2, chunkExecutionData_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!blockId_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, blockId_);
}
for (int i = 0; i < chunkExecutionData_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, chunkExecutionData_.get(i));
}
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 org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData)) {
return super.equals(obj);
}
org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData other = (org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData) obj;
if (!getBlockId()
.equals(other.getBlockId())) return false;
if (!getChunkExecutionDataList()
.equals(other.getChunkExecutionDataList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + BLOCK_ID_FIELD_NUMBER;
hash = (53 * hash) + getBlockId().hashCode();
if (getChunkExecutionDataCount() > 0) {
hash = (37 * hash) + CHUNK_EXECUTION_DATA_FIELD_NUMBER;
hash = (53 * hash) + getChunkExecutionDataList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData 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 org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData 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 org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData 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(org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData 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;
}
/**
*
* BlockExecutionData represents the collection of data produced while execiting the block.
*
*
* Protobuf type {@code flow.entities.BlockExecutionData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flow.entities.BlockExecutionData)
org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionDataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.entities.BlockExecutionDataOuterClass.internal_static_flow_entities_BlockExecutionData_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.entities.BlockExecutionDataOuterClass.internal_static_flow_entities_BlockExecutionData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData.class, org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData.Builder.class);
}
// Construct using org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getChunkExecutionDataFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
blockId_ = com.google.protobuf.ByteString.EMPTY;
if (chunkExecutionDataBuilder_ == null) {
chunkExecutionData_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
chunkExecutionDataBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.onflow.protobuf.entities.BlockExecutionDataOuterClass.internal_static_flow_entities_BlockExecutionData_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData getDefaultInstanceForType() {
return org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData build() {
org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData buildPartial() {
org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData result = new org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData(this);
int from_bitField0_ = bitField0_;
result.blockId_ = blockId_;
if (chunkExecutionDataBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
chunkExecutionData_ = java.util.Collections.unmodifiableList(chunkExecutionData_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.chunkExecutionData_ = chunkExecutionData_;
} else {
result.chunkExecutionData_ = chunkExecutionDataBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData) {
return mergeFrom((org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData other) {
if (other == org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData.getDefaultInstance()) return this;
if (other.getBlockId() != com.google.protobuf.ByteString.EMPTY) {
setBlockId(other.getBlockId());
}
if (chunkExecutionDataBuilder_ == null) {
if (!other.chunkExecutionData_.isEmpty()) {
if (chunkExecutionData_.isEmpty()) {
chunkExecutionData_ = other.chunkExecutionData_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureChunkExecutionDataIsMutable();
chunkExecutionData_.addAll(other.chunkExecutionData_);
}
onChanged();
}
} else {
if (!other.chunkExecutionData_.isEmpty()) {
if (chunkExecutionDataBuilder_.isEmpty()) {
chunkExecutionDataBuilder_.dispose();
chunkExecutionDataBuilder_ = null;
chunkExecutionData_ = other.chunkExecutionData_;
bitField0_ = (bitField0_ & ~0x00000001);
chunkExecutionDataBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getChunkExecutionDataFieldBuilder() : null;
} else {
chunkExecutionDataBuilder_.addAllMessages(other.chunkExecutionData_);
}
}
}
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 {
org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.ByteString blockId_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* Ordered list of ChunkExecutionData produced while executing the block.
* Note: there will be one ChunkExecutionData per collection in the block, plus one for the
* service chunk. The service chunk is executed last and is always the last chunk in the list.
*
* Ordered list of ChunkExecutionData produced while executing the block.
* Note: there will be one ChunkExecutionData per collection in the block, plus one for the
* service chunk. The service chunk is executed last and is always the last chunk in the list.
*
*
* repeated .flow.entities.ChunkExecutionData chunk_execution_data = 2;
*/
public int getChunkExecutionDataCount() {
if (chunkExecutionDataBuilder_ == null) {
return chunkExecutionData_.size();
} else {
return chunkExecutionDataBuilder_.getCount();
}
}
/**
*
* Ordered list of ChunkExecutionData produced while executing the block.
* Note: there will be one ChunkExecutionData per collection in the block, plus one for the
* service chunk. The service chunk is executed last and is always the last chunk in the list.
*
* Ordered list of ChunkExecutionData produced while executing the block.
* Note: there will be one ChunkExecutionData per collection in the block, plus one for the
* service chunk. The service chunk is executed last and is always the last chunk in the list.
*
*
* repeated .flow.entities.ChunkExecutionData chunk_execution_data = 2;
*/
public Builder setChunkExecutionData(
int index, org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ChunkExecutionData value) {
if (chunkExecutionDataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureChunkExecutionDataIsMutable();
chunkExecutionData_.set(index, value);
onChanged();
} else {
chunkExecutionDataBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* Ordered list of ChunkExecutionData produced while executing the block.
* Note: there will be one ChunkExecutionData per collection in the block, plus one for the
* service chunk. The service chunk is executed last and is always the last chunk in the list.
*
* Ordered list of ChunkExecutionData produced while executing the block.
* Note: there will be one ChunkExecutionData per collection in the block, plus one for the
* service chunk. The service chunk is executed last and is always the last chunk in the list.
*
*
* repeated .flow.entities.ChunkExecutionData chunk_execution_data = 2;
*/
public Builder addChunkExecutionData(org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ChunkExecutionData value) {
if (chunkExecutionDataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureChunkExecutionDataIsMutable();
chunkExecutionData_.add(value);
onChanged();
} else {
chunkExecutionDataBuilder_.addMessage(value);
}
return this;
}
/**
*
* Ordered list of ChunkExecutionData produced while executing the block.
* Note: there will be one ChunkExecutionData per collection in the block, plus one for the
* service chunk. The service chunk is executed last and is always the last chunk in the list.
*
*
* repeated .flow.entities.ChunkExecutionData chunk_execution_data = 2;
*/
public Builder addChunkExecutionData(
int index, org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ChunkExecutionData value) {
if (chunkExecutionDataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureChunkExecutionDataIsMutable();
chunkExecutionData_.add(index, value);
onChanged();
} else {
chunkExecutionDataBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* Ordered list of ChunkExecutionData produced while executing the block.
* Note: there will be one ChunkExecutionData per collection in the block, plus one for the
* service chunk. The service chunk is executed last and is always the last chunk in the list.
*
* Ordered list of ChunkExecutionData produced while executing the block.
* Note: there will be one ChunkExecutionData per collection in the block, plus one for the
* service chunk. The service chunk is executed last and is always the last chunk in the list.
*
* Ordered list of ChunkExecutionData produced while executing the block.
* Note: there will be one ChunkExecutionData per collection in the block, plus one for the
* service chunk. The service chunk is executed last and is always the last chunk in the list.
*
* Ordered list of ChunkExecutionData produced while executing the block.
* Note: there will be one ChunkExecutionData per collection in the block, plus one for the
* service chunk. The service chunk is executed last and is always the last chunk in the list.
*
* Ordered list of ChunkExecutionData produced while executing the block.
* Note: there will be one ChunkExecutionData per collection in the block, plus one for the
* service chunk. The service chunk is executed last and is always the last chunk in the list.
*
* Ordered list of ChunkExecutionData produced while executing the block.
* Note: there will be one ChunkExecutionData per collection in the block, plus one for the
* service chunk. The service chunk is executed last and is always the last chunk in the list.
*
*
* repeated .flow.entities.ChunkExecutionData chunk_execution_data = 2;
*/
public org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ChunkExecutionData.Builder getChunkExecutionDataBuilder(
int index) {
return getChunkExecutionDataFieldBuilder().getBuilder(index);
}
/**
*
* Ordered list of ChunkExecutionData produced while executing the block.
* Note: there will be one ChunkExecutionData per collection in the block, plus one for the
* service chunk. The service chunk is executed last and is always the last chunk in the list.
*
*
* repeated .flow.entities.ChunkExecutionData chunk_execution_data = 2;
*/
public org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ChunkExecutionDataOrBuilder getChunkExecutionDataOrBuilder(
int index) {
if (chunkExecutionDataBuilder_ == null) {
return chunkExecutionData_.get(index); } else {
return chunkExecutionDataBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* Ordered list of ChunkExecutionData produced while executing the block.
* Note: there will be one ChunkExecutionData per collection in the block, plus one for the
* service chunk. The service chunk is executed last and is always the last chunk in the list.
*
* Ordered list of ChunkExecutionData produced while executing the block.
* Note: there will be one ChunkExecutionData per collection in the block, plus one for the
* service chunk. The service chunk is executed last and is always the last chunk in the list.
*
* Ordered list of ChunkExecutionData produced while executing the block.
* Note: there will be one ChunkExecutionData per collection in the block, plus one for the
* service chunk. The service chunk is executed last and is always the last chunk in the list.
*
* Ordered list of ChunkExecutionData produced while executing the block.
* Note: there will be one ChunkExecutionData per collection in the block, plus one for the
* service chunk. The service chunk is executed last and is always the last chunk in the list.
*
*
* repeated .flow.entities.ChunkExecutionData chunk_execution_data = 2;
*/
public java.util.List
getChunkExecutionDataBuilderList() {
return getChunkExecutionDataFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ChunkExecutionData, org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ChunkExecutionData.Builder, org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ChunkExecutionDataOrBuilder>
getChunkExecutionDataFieldBuilder() {
if (chunkExecutionDataBuilder_ == null) {
chunkExecutionDataBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ChunkExecutionData, org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ChunkExecutionData.Builder, org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ChunkExecutionDataOrBuilder>(
chunkExecutionData_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
chunkExecutionData_ = null;
}
return chunkExecutionDataBuilder_;
}
@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:flow.entities.BlockExecutionData)
}
// @@protoc_insertion_point(class_scope:flow.entities.BlockExecutionData)
private static final org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData();
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public BlockExecutionData parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new BlockExecutionData(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 org.onflow.protobuf.entities.BlockExecutionDataOuterClass.BlockExecutionData getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ChunkExecutionDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:flow.entities.ChunkExecutionData)
com.google.protobuf.MessageOrBuilder {
/**
*
* Ordered list of transactions included in the collection that was executed in the chunk.
*
*
* .flow.entities.ExecutionDataCollection collection = 1;
* @return Whether the collection field is set.
*/
boolean hasCollection();
/**
*
* Ordered list of transactions included in the collection that was executed in the chunk.
*
* Events emitted by transactions in the collection.
* Note: events listed in the last ChunkExecutionData in the BlockExecutionData were emitted by
* the service transaction. Some, but not all, of these events are service events.
*
* Events emitted by transactions in the collection.
* Note: events listed in the last ChunkExecutionData in the BlockExecutionData were emitted by
* the service transaction. Some, but not all, of these events are service events.
*
* Events emitted by transactions in the collection.
* Note: events listed in the last ChunkExecutionData in the BlockExecutionData were emitted by
* the service transaction. Some, but not all, of these events are service events.
*
* Events emitted by transactions in the collection.
* Note: events listed in the last ChunkExecutionData in the BlockExecutionData were emitted by
* the service transaction. Some, but not all, of these events are service events.
*
* Events emitted by transactions in the collection.
* Note: events listed in the last ChunkExecutionData in the BlockExecutionData were emitted by
* the service transaction. Some, but not all, of these events are service events.
*
* TrieUpdate produced by executing the collection.
* TrieUpdates contain a list of registers that were modified during chunk execution. The value
* included is the new value of the register.
*
*
* .flow.entities.TrieUpdate trieUpdate = 3;
* @return Whether the trieUpdate field is set.
*/
boolean hasTrieUpdate();
/**
*
* TrieUpdate produced by executing the collection.
* TrieUpdates contain a list of registers that were modified during chunk execution. The value
* included is the new value of the register.
*
* TrieUpdate produced by executing the collection.
* TrieUpdates contain a list of registers that were modified during chunk execution. The value
* included is the new value of the register.
*
* Transaction results produced by executing the collection.
* Note: these are not the same type of results returned by other RPCs. These results are sepcific
* to execution data. The most notable difference is they only include a boolean value to indicate
* whether or not an error was encountered during execution, not the error itself.
*
* Transaction results produced by executing the collection.
* Note: these are not the same type of results returned by other RPCs. These results are sepcific
* to execution data. The most notable difference is they only include a boolean value to indicate
* whether or not an error was encountered during execution, not the error itself.
*
* Transaction results produced by executing the collection.
* Note: these are not the same type of results returned by other RPCs. These results are sepcific
* to execution data. The most notable difference is they only include a boolean value to indicate
* whether or not an error was encountered during execution, not the error itself.
*
* Transaction results produced by executing the collection.
* Note: these are not the same type of results returned by other RPCs. These results are sepcific
* to execution data. The most notable difference is they only include a boolean value to indicate
* whether or not an error was encountered during execution, not the error itself.
*
* Transaction results produced by executing the collection.
* Note: these are not the same type of results returned by other RPCs. These results are sepcific
* to execution data. The most notable difference is they only include a boolean value to indicate
* whether or not an error was encountered during execution, not the error itself.
*
* Ordered list of transactions included in the collection that was executed in the chunk.
*
*
* .flow.entities.ExecutionDataCollection collection = 1;
*/
@java.lang.Override
public org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollectionOrBuilder getCollectionOrBuilder() {
return getCollection();
}
public static final int EVENTS_FIELD_NUMBER = 2;
private java.util.List events_;
/**
*
* Events emitted by transactions in the collection.
* Note: events listed in the last ChunkExecutionData in the BlockExecutionData were emitted by
* the service transaction. Some, but not all, of these events are service events.
*
* Events emitted by transactions in the collection.
* Note: events listed in the last ChunkExecutionData in the BlockExecutionData were emitted by
* the service transaction. Some, but not all, of these events are service events.
*
* Events emitted by transactions in the collection.
* Note: events listed in the last ChunkExecutionData in the BlockExecutionData were emitted by
* the service transaction. Some, but not all, of these events are service events.
*
*
* repeated .flow.entities.Event events = 2;
*/
@java.lang.Override
public int getEventsCount() {
return events_.size();
}
/**
*
* Events emitted by transactions in the collection.
* Note: events listed in the last ChunkExecutionData in the BlockExecutionData were emitted by
* the service transaction. Some, but not all, of these events are service events.
*
* Events emitted by transactions in the collection.
* Note: events listed in the last ChunkExecutionData in the BlockExecutionData were emitted by
* the service transaction. Some, but not all, of these events are service events.
*
*
* repeated .flow.entities.Event events = 2;
*/
@java.lang.Override
public org.onflow.protobuf.entities.EventOuterClass.EventOrBuilder getEventsOrBuilder(
int index) {
return events_.get(index);
}
public static final int TRIEUPDATE_FIELD_NUMBER = 3;
private org.onflow.protobuf.entities.BlockExecutionDataOuterClass.TrieUpdate trieUpdate_;
/**
*
* TrieUpdate produced by executing the collection.
* TrieUpdates contain a list of registers that were modified during chunk execution. The value
* included is the new value of the register.
*
*
* .flow.entities.TrieUpdate trieUpdate = 3;
* @return Whether the trieUpdate field is set.
*/
@java.lang.Override
public boolean hasTrieUpdate() {
return trieUpdate_ != null;
}
/**
*
* TrieUpdate produced by executing the collection.
* TrieUpdates contain a list of registers that were modified during chunk execution. The value
* included is the new value of the register.
*
* TrieUpdate produced by executing the collection.
* TrieUpdates contain a list of registers that were modified during chunk execution. The value
* included is the new value of the register.
*
*
* .flow.entities.TrieUpdate trieUpdate = 3;
*/
@java.lang.Override
public org.onflow.protobuf.entities.BlockExecutionDataOuterClass.TrieUpdateOrBuilder getTrieUpdateOrBuilder() {
return getTrieUpdate();
}
public static final int TRANSACTION_RESULTS_FIELD_NUMBER = 4;
private java.util.List transactionResults_;
/**
*
* Transaction results produced by executing the collection.
* Note: these are not the same type of results returned by other RPCs. These results are sepcific
* to execution data. The most notable difference is they only include a boolean value to indicate
* whether or not an error was encountered during execution, not the error itself.
*
* Transaction results produced by executing the collection.
* Note: these are not the same type of results returned by other RPCs. These results are sepcific
* to execution data. The most notable difference is they only include a boolean value to indicate
* whether or not an error was encountered during execution, not the error itself.
*
* Transaction results produced by executing the collection.
* Note: these are not the same type of results returned by other RPCs. These results are sepcific
* to execution data. The most notable difference is they only include a boolean value to indicate
* whether or not an error was encountered during execution, not the error itself.
*
*
* repeated .flow.entities.ExecutionDataTransactionResult transaction_results = 4;
*/
@java.lang.Override
public int getTransactionResultsCount() {
return transactionResults_.size();
}
/**
*
* Transaction results produced by executing the collection.
* Note: these are not the same type of results returned by other RPCs. These results are sepcific
* to execution data. The most notable difference is they only include a boolean value to indicate
* whether or not an error was encountered during execution, not the error itself.
*
* Transaction results produced by executing the collection.
* Note: these are not the same type of results returned by other RPCs. These results are sepcific
* to execution data. The most notable difference is they only include a boolean value to indicate
* whether or not an error was encountered during execution, not the error itself.
*
*
* repeated .flow.entities.ExecutionDataTransactionResult transaction_results = 4;
*/
@java.lang.Override
public org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataTransactionResultOrBuilder getTransactionResultsOrBuilder(
int index) {
return transactionResults_.get(index);
}
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 (collection_ != null) {
output.writeMessage(1, getCollection());
}
for (int i = 0; i < events_.size(); i++) {
output.writeMessage(2, events_.get(i));
}
if (trieUpdate_ != null) {
output.writeMessage(3, getTrieUpdate());
}
for (int i = 0; i < transactionResults_.size(); i++) {
output.writeMessage(4, transactionResults_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (collection_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getCollection());
}
for (int i = 0; i < events_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, events_.get(i));
}
if (trieUpdate_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getTrieUpdate());
}
for (int i = 0; i < transactionResults_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, transactionResults_.get(i));
}
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 org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ChunkExecutionData)) {
return super.equals(obj);
}
org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ChunkExecutionData other = (org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ChunkExecutionData) obj;
if (hasCollection() != other.hasCollection()) return false;
if (hasCollection()) {
if (!getCollection()
.equals(other.getCollection())) return false;
}
if (!getEventsList()
.equals(other.getEventsList())) return false;
if (hasTrieUpdate() != other.hasTrieUpdate()) return false;
if (hasTrieUpdate()) {
if (!getTrieUpdate()
.equals(other.getTrieUpdate())) return false;
}
if (!getTransactionResultsList()
.equals(other.getTransactionResultsList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCollection()) {
hash = (37 * hash) + COLLECTION_FIELD_NUMBER;
hash = (53 * hash) + getCollection().hashCode();
}
if (getEventsCount() > 0) {
hash = (37 * hash) + EVENTS_FIELD_NUMBER;
hash = (53 * hash) + getEventsList().hashCode();
}
if (hasTrieUpdate()) {
hash = (37 * hash) + TRIEUPDATE_FIELD_NUMBER;
hash = (53 * hash) + getTrieUpdate().hashCode();
}
if (getTransactionResultsCount() > 0) {
hash = (37 * hash) + TRANSACTION_RESULTS_FIELD_NUMBER;
hash = (53 * hash) + getTransactionResultsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ChunkExecutionData parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ChunkExecutionData parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ChunkExecutionData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ChunkExecutionData parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ChunkExecutionData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ChunkExecutionData parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ChunkExecutionData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ChunkExecutionData 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 org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ChunkExecutionData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ChunkExecutionData 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 org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ChunkExecutionData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ChunkExecutionData 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(org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ChunkExecutionData 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;
}
/**
*
* ChunkExecutionData represents the collection of data produced while executing a chunk.
*
* Events emitted by transactions in the collection.
* Note: events listed in the last ChunkExecutionData in the BlockExecutionData were emitted by
* the service transaction. Some, but not all, of these events are service events.
*
* Events emitted by transactions in the collection.
* Note: events listed in the last ChunkExecutionData in the BlockExecutionData were emitted by
* the service transaction. Some, but not all, of these events are service events.
*
*
* repeated .flow.entities.Event events = 2;
*/
public int getEventsCount() {
if (eventsBuilder_ == null) {
return events_.size();
} else {
return eventsBuilder_.getCount();
}
}
/**
*
* Events emitted by transactions in the collection.
* Note: events listed in the last ChunkExecutionData in the BlockExecutionData were emitted by
* the service transaction. Some, but not all, of these events are service events.
*
* Events emitted by transactions in the collection.
* Note: events listed in the last ChunkExecutionData in the BlockExecutionData were emitted by
* the service transaction. Some, but not all, of these events are service events.
*
*
* repeated .flow.entities.Event events = 2;
*/
public Builder setEvents(
int index, org.onflow.protobuf.entities.EventOuterClass.Event value) {
if (eventsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEventsIsMutable();
events_.set(index, value);
onChanged();
} else {
eventsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* Events emitted by transactions in the collection.
* Note: events listed in the last ChunkExecutionData in the BlockExecutionData were emitted by
* the service transaction. Some, but not all, of these events are service events.
*
* Events emitted by transactions in the collection.
* Note: events listed in the last ChunkExecutionData in the BlockExecutionData were emitted by
* the service transaction. Some, but not all, of these events are service events.
*
*
* repeated .flow.entities.Event events = 2;
*/
public Builder addEvents(org.onflow.protobuf.entities.EventOuterClass.Event value) {
if (eventsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEventsIsMutable();
events_.add(value);
onChanged();
} else {
eventsBuilder_.addMessage(value);
}
return this;
}
/**
*
* Events emitted by transactions in the collection.
* Note: events listed in the last ChunkExecutionData in the BlockExecutionData were emitted by
* the service transaction. Some, but not all, of these events are service events.
*
*
* repeated .flow.entities.Event events = 2;
*/
public Builder addEvents(
int index, org.onflow.protobuf.entities.EventOuterClass.Event value) {
if (eventsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEventsIsMutable();
events_.add(index, value);
onChanged();
} else {
eventsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* Events emitted by transactions in the collection.
* Note: events listed in the last ChunkExecutionData in the BlockExecutionData were emitted by
* the service transaction. Some, but not all, of these events are service events.
*
* Events emitted by transactions in the collection.
* Note: events listed in the last ChunkExecutionData in the BlockExecutionData were emitted by
* the service transaction. Some, but not all, of these events are service events.
*
* Events emitted by transactions in the collection.
* Note: events listed in the last ChunkExecutionData in the BlockExecutionData were emitted by
* the service transaction. Some, but not all, of these events are service events.
*
* Events emitted by transactions in the collection.
* Note: events listed in the last ChunkExecutionData in the BlockExecutionData were emitted by
* the service transaction. Some, but not all, of these events are service events.
*
* Events emitted by transactions in the collection.
* Note: events listed in the last ChunkExecutionData in the BlockExecutionData were emitted by
* the service transaction. Some, but not all, of these events are service events.
*
* Events emitted by transactions in the collection.
* Note: events listed in the last ChunkExecutionData in the BlockExecutionData were emitted by
* the service transaction. Some, but not all, of these events are service events.
*
*
* repeated .flow.entities.Event events = 2;
*/
public org.onflow.protobuf.entities.EventOuterClass.Event.Builder getEventsBuilder(
int index) {
return getEventsFieldBuilder().getBuilder(index);
}
/**
*
* Events emitted by transactions in the collection.
* Note: events listed in the last ChunkExecutionData in the BlockExecutionData were emitted by
* the service transaction. Some, but not all, of these events are service events.
*
*
* repeated .flow.entities.Event events = 2;
*/
public org.onflow.protobuf.entities.EventOuterClass.EventOrBuilder getEventsOrBuilder(
int index) {
if (eventsBuilder_ == null) {
return events_.get(index); } else {
return eventsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* Events emitted by transactions in the collection.
* Note: events listed in the last ChunkExecutionData in the BlockExecutionData were emitted by
* the service transaction. Some, but not all, of these events are service events.
*
* Events emitted by transactions in the collection.
* Note: events listed in the last ChunkExecutionData in the BlockExecutionData were emitted by
* the service transaction. Some, but not all, of these events are service events.
*
* Events emitted by transactions in the collection.
* Note: events listed in the last ChunkExecutionData in the BlockExecutionData were emitted by
* the service transaction. Some, but not all, of these events are service events.
*
* Events emitted by transactions in the collection.
* Note: events listed in the last ChunkExecutionData in the BlockExecutionData were emitted by
* the service transaction. Some, but not all, of these events are service events.
*
* TrieUpdate produced by executing the collection.
* TrieUpdates contain a list of registers that were modified during chunk execution. The value
* included is the new value of the register.
*
*
* .flow.entities.TrieUpdate trieUpdate = 3;
* @return Whether the trieUpdate field is set.
*/
public boolean hasTrieUpdate() {
return trieUpdateBuilder_ != null || trieUpdate_ != null;
}
/**
*
* TrieUpdate produced by executing the collection.
* TrieUpdates contain a list of registers that were modified during chunk execution. The value
* included is the new value of the register.
*
* TrieUpdate produced by executing the collection.
* TrieUpdates contain a list of registers that were modified during chunk execution. The value
* included is the new value of the register.
*
*
* .flow.entities.TrieUpdate trieUpdate = 3;
*/
public Builder setTrieUpdate(org.onflow.protobuf.entities.BlockExecutionDataOuterClass.TrieUpdate value) {
if (trieUpdateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
trieUpdate_ = value;
onChanged();
} else {
trieUpdateBuilder_.setMessage(value);
}
return this;
}
/**
*
* TrieUpdate produced by executing the collection.
* TrieUpdates contain a list of registers that were modified during chunk execution. The value
* included is the new value of the register.
*
* TrieUpdate produced by executing the collection.
* TrieUpdates contain a list of registers that were modified during chunk execution. The value
* included is the new value of the register.
*
* TrieUpdate produced by executing the collection.
* TrieUpdates contain a list of registers that were modified during chunk execution. The value
* included is the new value of the register.
*
* TrieUpdate produced by executing the collection.
* TrieUpdates contain a list of registers that were modified during chunk execution. The value
* included is the new value of the register.
*
* TrieUpdate produced by executing the collection.
* TrieUpdates contain a list of registers that were modified during chunk execution. The value
* included is the new value of the register.
*
* TrieUpdate produced by executing the collection.
* TrieUpdates contain a list of registers that were modified during chunk execution. The value
* included is the new value of the register.
*
* Transaction results produced by executing the collection.
* Note: these are not the same type of results returned by other RPCs. These results are sepcific
* to execution data. The most notable difference is they only include a boolean value to indicate
* whether or not an error was encountered during execution, not the error itself.
*
* Transaction results produced by executing the collection.
* Note: these are not the same type of results returned by other RPCs. These results are sepcific
* to execution data. The most notable difference is they only include a boolean value to indicate
* whether or not an error was encountered during execution, not the error itself.
*
*
* repeated .flow.entities.ExecutionDataTransactionResult transaction_results = 4;
*/
public int getTransactionResultsCount() {
if (transactionResultsBuilder_ == null) {
return transactionResults_.size();
} else {
return transactionResultsBuilder_.getCount();
}
}
/**
*
* Transaction results produced by executing the collection.
* Note: these are not the same type of results returned by other RPCs. These results are sepcific
* to execution data. The most notable difference is they only include a boolean value to indicate
* whether or not an error was encountered during execution, not the error itself.
*
* Transaction results produced by executing the collection.
* Note: these are not the same type of results returned by other RPCs. These results are sepcific
* to execution data. The most notable difference is they only include a boolean value to indicate
* whether or not an error was encountered during execution, not the error itself.
*
*
* repeated .flow.entities.ExecutionDataTransactionResult transaction_results = 4;
*/
public Builder setTransactionResults(
int index, org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataTransactionResult value) {
if (transactionResultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTransactionResultsIsMutable();
transactionResults_.set(index, value);
onChanged();
} else {
transactionResultsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* Transaction results produced by executing the collection.
* Note: these are not the same type of results returned by other RPCs. These results are sepcific
* to execution data. The most notable difference is they only include a boolean value to indicate
* whether or not an error was encountered during execution, not the error itself.
*
* Transaction results produced by executing the collection.
* Note: these are not the same type of results returned by other RPCs. These results are sepcific
* to execution data. The most notable difference is they only include a boolean value to indicate
* whether or not an error was encountered during execution, not the error itself.
*
*
* repeated .flow.entities.ExecutionDataTransactionResult transaction_results = 4;
*/
public Builder addTransactionResults(org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataTransactionResult value) {
if (transactionResultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTransactionResultsIsMutable();
transactionResults_.add(value);
onChanged();
} else {
transactionResultsBuilder_.addMessage(value);
}
return this;
}
/**
*
* Transaction results produced by executing the collection.
* Note: these are not the same type of results returned by other RPCs. These results are sepcific
* to execution data. The most notable difference is they only include a boolean value to indicate
* whether or not an error was encountered during execution, not the error itself.
*
*
* repeated .flow.entities.ExecutionDataTransactionResult transaction_results = 4;
*/
public Builder addTransactionResults(
int index, org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataTransactionResult value) {
if (transactionResultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTransactionResultsIsMutable();
transactionResults_.add(index, value);
onChanged();
} else {
transactionResultsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* Transaction results produced by executing the collection.
* Note: these are not the same type of results returned by other RPCs. These results are sepcific
* to execution data. The most notable difference is they only include a boolean value to indicate
* whether or not an error was encountered during execution, not the error itself.
*
* Transaction results produced by executing the collection.
* Note: these are not the same type of results returned by other RPCs. These results are sepcific
* to execution data. The most notable difference is they only include a boolean value to indicate
* whether or not an error was encountered during execution, not the error itself.
*
* Transaction results produced by executing the collection.
* Note: these are not the same type of results returned by other RPCs. These results are sepcific
* to execution data. The most notable difference is they only include a boolean value to indicate
* whether or not an error was encountered during execution, not the error itself.
*
* Transaction results produced by executing the collection.
* Note: these are not the same type of results returned by other RPCs. These results are sepcific
* to execution data. The most notable difference is they only include a boolean value to indicate
* whether or not an error was encountered during execution, not the error itself.
*
* Transaction results produced by executing the collection.
* Note: these are not the same type of results returned by other RPCs. These results are sepcific
* to execution data. The most notable difference is they only include a boolean value to indicate
* whether or not an error was encountered during execution, not the error itself.
*
* Transaction results produced by executing the collection.
* Note: these are not the same type of results returned by other RPCs. These results are sepcific
* to execution data. The most notable difference is they only include a boolean value to indicate
* whether or not an error was encountered during execution, not the error itself.
*
*
* repeated .flow.entities.ExecutionDataTransactionResult transaction_results = 4;
*/
public org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataTransactionResult.Builder getTransactionResultsBuilder(
int index) {
return getTransactionResultsFieldBuilder().getBuilder(index);
}
/**
*
* Transaction results produced by executing the collection.
* Note: these are not the same type of results returned by other RPCs. These results are sepcific
* to execution data. The most notable difference is they only include a boolean value to indicate
* whether or not an error was encountered during execution, not the error itself.
*
*
* repeated .flow.entities.ExecutionDataTransactionResult transaction_results = 4;
*/
public org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataTransactionResultOrBuilder getTransactionResultsOrBuilder(
int index) {
if (transactionResultsBuilder_ == null) {
return transactionResults_.get(index); } else {
return transactionResultsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* Transaction results produced by executing the collection.
* Note: these are not the same type of results returned by other RPCs. These results are sepcific
* to execution data. The most notable difference is they only include a boolean value to indicate
* whether or not an error was encountered during execution, not the error itself.
*
* Transaction results produced by executing the collection.
* Note: these are not the same type of results returned by other RPCs. These results are sepcific
* to execution data. The most notable difference is they only include a boolean value to indicate
* whether or not an error was encountered during execution, not the error itself.
*
* Transaction results produced by executing the collection.
* Note: these are not the same type of results returned by other RPCs. These results are sepcific
* to execution data. The most notable difference is they only include a boolean value to indicate
* whether or not an error was encountered during execution, not the error itself.
*
* Transaction results produced by executing the collection.
* Note: these are not the same type of results returned by other RPCs. These results are sepcific
* to execution data. The most notable difference is they only include a boolean value to indicate
* whether or not an error was encountered during execution, not the error itself.
*
*
* repeated .flow.entities.ExecutionDataTransactionResult transaction_results = 4;
*/
public java.util.List
getTransactionResultsBuilderList() {
return getTransactionResultsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataTransactionResult, org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataTransactionResult.Builder, org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataTransactionResultOrBuilder>
getTransactionResultsFieldBuilder() {
if (transactionResultsBuilder_ == null) {
transactionResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataTransactionResult, org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataTransactionResult.Builder, org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataTransactionResultOrBuilder>(
transactionResults_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
transactionResults_ = null;
}
return transactionResultsBuilder_;
}
@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:flow.entities.ChunkExecutionData)
}
// @@protoc_insertion_point(class_scope:flow.entities.ChunkExecutionData)
private static final org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ChunkExecutionData DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ChunkExecutionData();
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ChunkExecutionData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ChunkExecutionData parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ChunkExecutionData(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 org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ChunkExecutionData getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ExecutionDataCollectionOrBuilder extends
// @@protoc_insertion_point(interface_extends:flow.entities.ExecutionDataCollection)
com.google.protobuf.MessageOrBuilder {
/**
*
* List of transactions included in the collection.
*
* ExecutionDataCollection represents the collection of transactions that were executed within a chunk.
* Note: this is not the same type as the entities.Collection.
*
*
* Protobuf type {@code flow.entities.ExecutionDataCollection}
*/
public static final class ExecutionDataCollection extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flow.entities.ExecutionDataCollection)
ExecutionDataCollectionOrBuilder {
private static final long serialVersionUID = 0L;
// Use ExecutionDataCollection.newBuilder() to construct.
private ExecutionDataCollection(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ExecutionDataCollection() {
transactions_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ExecutionDataCollection();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ExecutionDataCollection(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
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: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
transactions_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
transactions_.add(
input.readMessage(org.onflow.protobuf.entities.TransactionOuterClass.Transaction.parser(), extensionRegistry));
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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
transactions_ = java.util.Collections.unmodifiableList(transactions_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.entities.BlockExecutionDataOuterClass.internal_static_flow_entities_ExecutionDataCollection_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.entities.BlockExecutionDataOuterClass.internal_static_flow_entities_ExecutionDataCollection_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection.class, org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection.Builder.class);
}
public static final int TRANSACTIONS_FIELD_NUMBER = 1;
private java.util.List transactions_;
/**
*
* List of transactions included in the collection.
*
* List of transactions included in the collection.
*
*
* repeated .flow.entities.Transaction transactions = 1;
*/
@java.lang.Override
public org.onflow.protobuf.entities.TransactionOuterClass.TransactionOrBuilder getTransactionsOrBuilder(
int index) {
return transactions_.get(index);
}
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 {
for (int i = 0; i < transactions_.size(); i++) {
output.writeMessage(1, transactions_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < transactions_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, transactions_.get(i));
}
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 org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection)) {
return super.equals(obj);
}
org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection other = (org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection) obj;
if (!getTransactionsList()
.equals(other.getTransactionsList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getTransactionsCount() > 0) {
hash = (37 * hash) + TRANSACTIONS_FIELD_NUMBER;
hash = (53 * hash) + getTransactionsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection 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 org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection 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 org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection 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(org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection 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;
}
/**
*
* ExecutionDataCollection represents the collection of transactions that were executed within a chunk.
* Note: this is not the same type as the entities.Collection.
*
*
* Protobuf type {@code flow.entities.ExecutionDataCollection}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flow.entities.ExecutionDataCollection)
org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollectionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.entities.BlockExecutionDataOuterClass.internal_static_flow_entities_ExecutionDataCollection_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.entities.BlockExecutionDataOuterClass.internal_static_flow_entities_ExecutionDataCollection_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection.class, org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection.Builder.class);
}
// Construct using org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getTransactionsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (transactionsBuilder_ == null) {
transactions_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
transactionsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.onflow.protobuf.entities.BlockExecutionDataOuterClass.internal_static_flow_entities_ExecutionDataCollection_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection getDefaultInstanceForType() {
return org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection build() {
org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection buildPartial() {
org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection result = new org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection(this);
int from_bitField0_ = bitField0_;
if (transactionsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
transactions_ = java.util.Collections.unmodifiableList(transactions_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.transactions_ = transactions_;
} else {
result.transactions_ = transactionsBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection) {
return mergeFrom((org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection other) {
if (other == org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection.getDefaultInstance()) return this;
if (transactionsBuilder_ == null) {
if (!other.transactions_.isEmpty()) {
if (transactions_.isEmpty()) {
transactions_ = other.transactions_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTransactionsIsMutable();
transactions_.addAll(other.transactions_);
}
onChanged();
}
} else {
if (!other.transactions_.isEmpty()) {
if (transactionsBuilder_.isEmpty()) {
transactionsBuilder_.dispose();
transactionsBuilder_ = null;
transactions_ = other.transactions_;
bitField0_ = (bitField0_ & ~0x00000001);
transactionsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTransactionsFieldBuilder() : null;
} else {
transactionsBuilder_.addAllMessages(other.transactions_);
}
}
}
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 {
org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.entities.BlockExecutionDataOuterClass.ExecutionDataCollection) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List transactions_ =
java.util.Collections.emptyList();
private void ensureTransactionsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
transactions_ = new java.util.ArrayList(transactions_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.onflow.protobuf.entities.TransactionOuterClass.Transaction, org.onflow.protobuf.entities.TransactionOuterClass.Transaction.Builder, org.onflow.protobuf.entities.TransactionOuterClass.TransactionOrBuilder> transactionsBuilder_;
/**
*
* List of transactions included in the collection.
*
* List of register paths updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
*
* repeated bytes paths = 2;
* @return A list containing the paths.
*/
java.util.List getPathsList();
/**
*
* List of register paths updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
*
* repeated bytes paths = 2;
* @return The count of paths.
*/
int getPathsCount();
/**
*
* List of register paths updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
*
* repeated bytes paths = 2;
* @param index The index of the element to return.
* @return The paths at the given index.
*/
com.google.protobuf.ByteString getPaths(int index);
/**
*
* List of register values updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
* List of register values updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
* List of register values updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
* List of register values updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
* List of register values updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
* TrieUpdate produced by executing the collection.
* TrieUpdates contain a list of registers that were modified during chunk execution. The value
* included is the new value of the register.
*
*
* Protobuf type {@code flow.entities.TrieUpdate}
*/
public static final class TrieUpdate extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flow.entities.TrieUpdate)
TrieUpdateOrBuilder {
private static final long serialVersionUID = 0L;
// Use TrieUpdate.newBuilder() to construct.
private TrieUpdate(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TrieUpdate() {
rootHash_ = com.google.protobuf.ByteString.EMPTY;
paths_ = java.util.Collections.emptyList();
payloads_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TrieUpdate();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TrieUpdate(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
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: {
rootHash_ = input.readBytes();
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
paths_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
paths_.add(input.readBytes());
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
payloads_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
payloads_.add(
input.readMessage(org.onflow.protobuf.entities.BlockExecutionDataOuterClass.Payload.parser(), extensionRegistry));
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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
paths_ = java.util.Collections.unmodifiableList(paths_); // C
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
payloads_ = java.util.Collections.unmodifiableList(payloads_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.entities.BlockExecutionDataOuterClass.internal_static_flow_entities_TrieUpdate_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.entities.BlockExecutionDataOuterClass.internal_static_flow_entities_TrieUpdate_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.entities.BlockExecutionDataOuterClass.TrieUpdate.class, org.onflow.protobuf.entities.BlockExecutionDataOuterClass.TrieUpdate.Builder.class);
}
public static final int ROOT_HASH_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString rootHash_;
/**
*
* RootHash is the root hash of the trie before the update is applied.
*
*
* bytes root_hash = 1;
* @return The rootHash.
*/
@java.lang.Override
public com.google.protobuf.ByteString getRootHash() {
return rootHash_;
}
public static final int PATHS_FIELD_NUMBER = 2;
private java.util.List paths_;
/**
*
* List of register paths updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
*
* repeated bytes paths = 2;
* @return A list containing the paths.
*/
@java.lang.Override
public java.util.List
getPathsList() {
return paths_;
}
/**
*
* List of register paths updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
*
* repeated bytes paths = 2;
* @return The count of paths.
*/
public int getPathsCount() {
return paths_.size();
}
/**
*
* List of register paths updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
*
* repeated bytes paths = 2;
* @param index The index of the element to return.
* @return The paths at the given index.
*/
public com.google.protobuf.ByteString getPaths(int index) {
return paths_.get(index);
}
public static final int PAYLOADS_FIELD_NUMBER = 3;
private java.util.List payloads_;
/**
*
* List of register values updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
* List of register values updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
* List of register values updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
*
* repeated .flow.entities.Payload payloads = 3;
*/
@java.lang.Override
public int getPayloadsCount() {
return payloads_.size();
}
/**
*
* List of register values updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
* List of register values updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
*
* repeated .flow.entities.Payload payloads = 3;
*/
@java.lang.Override
public org.onflow.protobuf.entities.BlockExecutionDataOuterClass.PayloadOrBuilder getPayloadsOrBuilder(
int index) {
return payloads_.get(index);
}
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 (!rootHash_.isEmpty()) {
output.writeBytes(1, rootHash_);
}
for (int i = 0; i < paths_.size(); i++) {
output.writeBytes(2, paths_.get(i));
}
for (int i = 0; i < payloads_.size(); i++) {
output.writeMessage(3, payloads_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!rootHash_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, rootHash_);
}
{
int dataSize = 0;
for (int i = 0; i < paths_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(paths_.get(i));
}
size += dataSize;
size += 1 * getPathsList().size();
}
for (int i = 0; i < payloads_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, payloads_.get(i));
}
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 org.onflow.protobuf.entities.BlockExecutionDataOuterClass.TrieUpdate)) {
return super.equals(obj);
}
org.onflow.protobuf.entities.BlockExecutionDataOuterClass.TrieUpdate other = (org.onflow.protobuf.entities.BlockExecutionDataOuterClass.TrieUpdate) obj;
if (!getRootHash()
.equals(other.getRootHash())) return false;
if (!getPathsList()
.equals(other.getPathsList())) return false;
if (!getPayloadsList()
.equals(other.getPayloadsList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ROOT_HASH_FIELD_NUMBER;
hash = (53 * hash) + getRootHash().hashCode();
if (getPathsCount() > 0) {
hash = (37 * hash) + PATHS_FIELD_NUMBER;
hash = (53 * hash) + getPathsList().hashCode();
}
if (getPayloadsCount() > 0) {
hash = (37 * hash) + PAYLOADS_FIELD_NUMBER;
hash = (53 * hash) + getPayloadsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.TrieUpdate parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.TrieUpdate parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.TrieUpdate parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.TrieUpdate parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.TrieUpdate parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.TrieUpdate parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.TrieUpdate parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.TrieUpdate 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 org.onflow.protobuf.entities.BlockExecutionDataOuterClass.TrieUpdate parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.TrieUpdate 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 org.onflow.protobuf.entities.BlockExecutionDataOuterClass.TrieUpdate parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.TrieUpdate 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(org.onflow.protobuf.entities.BlockExecutionDataOuterClass.TrieUpdate 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;
}
/**
*
* TrieUpdate produced by executing the collection.
* TrieUpdates contain a list of registers that were modified during chunk execution. The value
* included is the new value of the register.
*
* List of register paths updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
*
* repeated bytes paths = 2;
* @return A list containing the paths.
*/
public java.util.List
getPathsList() {
return ((bitField0_ & 0x00000001) != 0) ?
java.util.Collections.unmodifiableList(paths_) : paths_;
}
/**
*
* List of register paths updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
*
* repeated bytes paths = 2;
* @return The count of paths.
*/
public int getPathsCount() {
return paths_.size();
}
/**
*
* List of register paths updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
*
* repeated bytes paths = 2;
* @param index The index of the element to return.
* @return The paths at the given index.
*/
public com.google.protobuf.ByteString getPaths(int index) {
return paths_.get(index);
}
/**
*
* List of register paths updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
*
* repeated bytes paths = 2;
* @param index The index to set the value at.
* @param value The paths to set.
* @return This builder for chaining.
*/
public Builder setPaths(
int index, com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensurePathsIsMutable();
paths_.set(index, value);
onChanged();
return this;
}
/**
*
* List of register paths updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
*
* repeated bytes paths = 2;
* @param value The paths to add.
* @return This builder for chaining.
*/
public Builder addPaths(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensurePathsIsMutable();
paths_.add(value);
onChanged();
return this;
}
/**
*
* List of register paths updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
*
* repeated bytes paths = 2;
* @param values The paths to add.
* @return This builder for chaining.
*/
public Builder addAllPaths(
java.lang.Iterable extends com.google.protobuf.ByteString> values) {
ensurePathsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, paths_);
onChanged();
return this;
}
/**
*
* List of register paths updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
* List of register values updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
* List of register values updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
*
* repeated .flow.entities.Payload payloads = 3;
*/
public int getPayloadsCount() {
if (payloadsBuilder_ == null) {
return payloads_.size();
} else {
return payloadsBuilder_.getCount();
}
}
/**
*
* List of register values updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
* List of register values updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
*
* repeated .flow.entities.Payload payloads = 3;
*/
public Builder setPayloads(
int index, org.onflow.protobuf.entities.BlockExecutionDataOuterClass.Payload value) {
if (payloadsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePayloadsIsMutable();
payloads_.set(index, value);
onChanged();
} else {
payloadsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* List of register values updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
* List of register values updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
*
* repeated .flow.entities.Payload payloads = 3;
*/
public Builder addPayloads(org.onflow.protobuf.entities.BlockExecutionDataOuterClass.Payload value) {
if (payloadsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePayloadsIsMutable();
payloads_.add(value);
onChanged();
} else {
payloadsBuilder_.addMessage(value);
}
return this;
}
/**
*
* List of register values updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
*
* repeated .flow.entities.Payload payloads = 3;
*/
public Builder addPayloads(
int index, org.onflow.protobuf.entities.BlockExecutionDataOuterClass.Payload value) {
if (payloadsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePayloadsIsMutable();
payloads_.add(index, value);
onChanged();
} else {
payloadsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* List of register values updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
* List of register values updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
* List of register values updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
* List of register values updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
* List of register values updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
* List of register values updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
*
* repeated .flow.entities.Payload payloads = 3;
*/
public org.onflow.protobuf.entities.BlockExecutionDataOuterClass.Payload.Builder getPayloadsBuilder(
int index) {
return getPayloadsFieldBuilder().getBuilder(index);
}
/**
*
* List of register values updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
*
* repeated .flow.entities.Payload payloads = 3;
*/
public org.onflow.protobuf.entities.BlockExecutionDataOuterClass.PayloadOrBuilder getPayloadsOrBuilder(
int index) {
if (payloadsBuilder_ == null) {
return payloads_.get(index); } else {
return payloadsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* List of register values updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
* List of register values updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
* List of register values updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
* List of register values updated.
* Note: paths and payloads map 1:1 with eachother. i.e. for each element in path, the value in
* payloads at the same index is the value of the register at that path.
*
*
* repeated .flow.entities.Payload payloads = 3;
*/
public java.util.List
getPayloadsBuilderList() {
return getPayloadsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.onflow.protobuf.entities.BlockExecutionDataOuterClass.Payload, org.onflow.protobuf.entities.BlockExecutionDataOuterClass.Payload.Builder, org.onflow.protobuf.entities.BlockExecutionDataOuterClass.PayloadOrBuilder>
getPayloadsFieldBuilder() {
if (payloadsBuilder_ == null) {
payloadsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.onflow.protobuf.entities.BlockExecutionDataOuterClass.Payload, org.onflow.protobuf.entities.BlockExecutionDataOuterClass.Payload.Builder, org.onflow.protobuf.entities.BlockExecutionDataOuterClass.PayloadOrBuilder>(
payloads_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
payloads_ = null;
}
return payloadsBuilder_;
}
@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:flow.entities.TrieUpdate)
}
// @@protoc_insertion_point(class_scope:flow.entities.TrieUpdate)
private static final org.onflow.protobuf.entities.BlockExecutionDataOuterClass.TrieUpdate DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.entities.BlockExecutionDataOuterClass.TrieUpdate();
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.TrieUpdate getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TrieUpdate parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TrieUpdate(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 org.onflow.protobuf.entities.BlockExecutionDataOuterClass.TrieUpdate getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PayloadOrBuilder extends
// @@protoc_insertion_point(interface_extends:flow.entities.Payload)
com.google.protobuf.MessageOrBuilder {
/**
*
* List of key parts that make up the register key.
* Can be converted into register id.
*
*
* bytes value = 2;
* @return The value.
*/
@java.lang.Override
public com.google.protobuf.ByteString getValue() {
return value_;
}
/**
*
* Value of the register.
*
*
* bytes value = 2;
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
onChanged();
return this;
}
/**
*
* Value of the register.
*
*
* bytes value = 2;
* @return This builder for chaining.
*/
public Builder clearValue() {
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
@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:flow.entities.Payload)
}
// @@protoc_insertion_point(class_scope:flow.entities.Payload)
private static final org.onflow.protobuf.entities.BlockExecutionDataOuterClass.Payload DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.entities.BlockExecutionDataOuterClass.Payload();
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.Payload getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Payload parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Payload(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 org.onflow.protobuf.entities.BlockExecutionDataOuterClass.Payload getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface KeyPartOrBuilder extends
// @@protoc_insertion_point(interface_extends:flow.entities.KeyPart)
com.google.protobuf.MessageOrBuilder {
/**
*
* Type of the key part.
*
*
* uint32 type = 1;
* @return The type.
*/
int getType();
/**
*
* Value of the key part.
*
*
* bytes value = 2;
* @return The value.
*/
com.google.protobuf.ByteString getValue();
}
/**
*
* KeyPart represents a part of a register key.
*
*
* Protobuf type {@code flow.entities.KeyPart}
*/
public static final class KeyPart extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flow.entities.KeyPart)
KeyPartOrBuilder {
private static final long serialVersionUID = 0L;
// Use KeyPart.newBuilder() to construct.
private KeyPart(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private KeyPart() {
value_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new KeyPart();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private KeyPart(
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 8: {
type_ = input.readUInt32();
break;
}
case 18: {
value_ = input.readBytes();
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 org.onflow.protobuf.entities.BlockExecutionDataOuterClass.internal_static_flow_entities_KeyPart_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.entities.BlockExecutionDataOuterClass.internal_static_flow_entities_KeyPart_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart.class, org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart.Builder.class);
}
public static final int TYPE_FIELD_NUMBER = 1;
private int type_;
/**
*
* Type of the key part.
*
*
* uint32 type = 1;
* @return The type.
*/
@java.lang.Override
public int getType() {
return type_;
}
public static final int VALUE_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString value_;
/**
*
* Value of the key part.
*
*
* bytes value = 2;
* @return The value.
*/
@java.lang.Override
public com.google.protobuf.ByteString getValue() {
return value_;
}
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 (type_ != 0) {
output.writeUInt32(1, type_);
}
if (!value_.isEmpty()) {
output.writeBytes(2, value_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (type_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, type_);
}
if (!value_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, value_);
}
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 org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart)) {
return super.equals(obj);
}
org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart other = (org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart) obj;
if (getType()
!= other.getType()) return false;
if (!getValue()
.equals(other.getValue())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + getType();
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart 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 org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart 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 org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart 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(org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart 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;
}
/**
*
* KeyPart represents a part of a register key.
*
*
* Protobuf type {@code flow.entities.KeyPart}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flow.entities.KeyPart)
org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPartOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.entities.BlockExecutionDataOuterClass.internal_static_flow_entities_KeyPart_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.entities.BlockExecutionDataOuterClass.internal_static_flow_entities_KeyPart_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart.class, org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart.Builder.class);
}
// Construct using org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart.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();
type_ = 0;
value_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.onflow.protobuf.entities.BlockExecutionDataOuterClass.internal_static_flow_entities_KeyPart_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart getDefaultInstanceForType() {
return org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart build() {
org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart buildPartial() {
org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart result = new org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart(this);
result.type_ = type_;
result.value_ = value_;
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 org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart) {
return mergeFrom((org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart other) {
if (other == org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart.getDefaultInstance()) return this;
if (other.getType() != 0) {
setType(other.getType());
}
if (other.getValue() != com.google.protobuf.ByteString.EMPTY) {
setValue(other.getValue());
}
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 {
org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int type_ ;
/**
*
* Type of the key part.
*
*
* uint32 type = 1;
* @return The type.
*/
@java.lang.Override
public int getType() {
return type_;
}
/**
*
* Type of the key part.
*
*
* uint32 type = 1;
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(int value) {
type_ = value;
onChanged();
return this;
}
/**
*
* Type of the key part.
*
*
* uint32 type = 1;
* @return This builder for chaining.
*/
public Builder clearType() {
type_ = 0;
onChanged();
return this;
}
private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* Value of the key part.
*
*
* bytes value = 2;
* @return The value.
*/
@java.lang.Override
public com.google.protobuf.ByteString getValue() {
return value_;
}
/**
*
* Value of the key part.
*
*
* bytes value = 2;
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
onChanged();
return this;
}
/**
*
* Value of the key part.
*
*
* bytes value = 2;
* @return This builder for chaining.
*/
public Builder clearValue() {
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
@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:flow.entities.KeyPart)
}
// @@protoc_insertion_point(class_scope:flow.entities.KeyPart)
private static final org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart();
}
public static org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public KeyPart parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new KeyPart(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 org.onflow.protobuf.entities.BlockExecutionDataOuterClass.KeyPart getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ExecutionDataTransactionResultOrBuilder extends
// @@protoc_insertion_point(interface_extends:flow.entities.ExecutionDataTransactionResult)
com.google.protobuf.MessageOrBuilder {
/**
*
* Transaction ID of the transaction that was executed.
*