Please wait. This can take some minutes ...
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.
main.org.onflow.protobuf.execution.Execution Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: flow/execution/execution.proto
package org.onflow.protobuf.execution;
public final class Execution {
private Execution() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface PingRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:flow.execution.PingRequest)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code flow.execution.PingRequest}
*/
public static final class PingRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flow.execution.PingRequest)
PingRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use PingRequest.newBuilder() to construct.
private PingRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PingRequest() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PingRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PingRequest(
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;
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.execution.Execution.internal_static_flow_execution_PingRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_PingRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.PingRequest.class, org.onflow.protobuf.execution.Execution.PingRequest.Builder.class);
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.execution.Execution.PingRequest)) {
return super.equals(obj);
}
org.onflow.protobuf.execution.Execution.PingRequest other = (org.onflow.protobuf.execution.Execution.PingRequest) obj;
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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.onflow.protobuf.execution.Execution.PingRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.PingRequest 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.execution.Execution.PingRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.PingRequest 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.execution.Execution.PingRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.PingRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.execution.Execution.PingRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.PingRequest 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.execution.Execution.PingRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.PingRequest 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.execution.Execution.PingRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.PingRequest 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.execution.Execution.PingRequest 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;
}
/**
* Protobuf type {@code flow.execution.PingRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flow.execution.PingRequest)
org.onflow.protobuf.execution.Execution.PingRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_PingRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_PingRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.PingRequest.class, org.onflow.protobuf.execution.Execution.PingRequest.Builder.class);
}
// Construct using org.onflow.protobuf.execution.Execution.PingRequest.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();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_PingRequest_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.PingRequest getDefaultInstanceForType() {
return org.onflow.protobuf.execution.Execution.PingRequest.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.PingRequest build() {
org.onflow.protobuf.execution.Execution.PingRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.PingRequest buildPartial() {
org.onflow.protobuf.execution.Execution.PingRequest result = new org.onflow.protobuf.execution.Execution.PingRequest(this);
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.execution.Execution.PingRequest) {
return mergeFrom((org.onflow.protobuf.execution.Execution.PingRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.execution.Execution.PingRequest other) {
if (other == org.onflow.protobuf.execution.Execution.PingRequest.getDefaultInstance()) return this;
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.execution.Execution.PingRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.execution.Execution.PingRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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.execution.PingRequest)
}
// @@protoc_insertion_point(class_scope:flow.execution.PingRequest)
private static final org.onflow.protobuf.execution.Execution.PingRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.execution.Execution.PingRequest();
}
public static org.onflow.protobuf.execution.Execution.PingRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PingRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PingRequest(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.execution.Execution.PingRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PingResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:flow.execution.PingResponse)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code flow.execution.PingResponse}
*/
public static final class PingResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flow.execution.PingResponse)
PingResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use PingResponse.newBuilder() to construct.
private PingResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PingResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PingResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PingResponse(
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;
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.execution.Execution.internal_static_flow_execution_PingResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_PingResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.PingResponse.class, org.onflow.protobuf.execution.Execution.PingResponse.Builder.class);
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.execution.Execution.PingResponse)) {
return super.equals(obj);
}
org.onflow.protobuf.execution.Execution.PingResponse other = (org.onflow.protobuf.execution.Execution.PingResponse) obj;
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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.onflow.protobuf.execution.Execution.PingResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.PingResponse 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.execution.Execution.PingResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.PingResponse 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.execution.Execution.PingResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.PingResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.execution.Execution.PingResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.PingResponse 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.execution.Execution.PingResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.PingResponse 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.execution.Execution.PingResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.PingResponse 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.execution.Execution.PingResponse 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;
}
/**
* Protobuf type {@code flow.execution.PingResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flow.execution.PingResponse)
org.onflow.protobuf.execution.Execution.PingResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_PingResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_PingResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.PingResponse.class, org.onflow.protobuf.execution.Execution.PingResponse.Builder.class);
}
// Construct using org.onflow.protobuf.execution.Execution.PingResponse.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();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_PingResponse_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.PingResponse getDefaultInstanceForType() {
return org.onflow.protobuf.execution.Execution.PingResponse.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.PingResponse build() {
org.onflow.protobuf.execution.Execution.PingResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.PingResponse buildPartial() {
org.onflow.protobuf.execution.Execution.PingResponse result = new org.onflow.protobuf.execution.Execution.PingResponse(this);
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.execution.Execution.PingResponse) {
return mergeFrom((org.onflow.protobuf.execution.Execution.PingResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.execution.Execution.PingResponse other) {
if (other == org.onflow.protobuf.execution.Execution.PingResponse.getDefaultInstance()) return this;
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.execution.Execution.PingResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.execution.Execution.PingResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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.execution.PingResponse)
}
// @@protoc_insertion_point(class_scope:flow.execution.PingResponse)
private static final org.onflow.protobuf.execution.Execution.PingResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.execution.Execution.PingResponse();
}
public static org.onflow.protobuf.execution.Execution.PingResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PingResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PingResponse(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.execution.Execution.PingResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetAccountAtBlockIDRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:flow.execution.GetAccountAtBlockIDRequest)
com.google.protobuf.MessageOrBuilder {
/**
* bytes block_id = 1;
* @return The blockId.
*/
com.google.protobuf.ByteString getBlockId();
/**
* bytes address = 2;
* @return The address.
*/
com.google.protobuf.ByteString getAddress();
}
/**
* Protobuf type {@code flow.execution.GetAccountAtBlockIDRequest}
*/
public static final class GetAccountAtBlockIDRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flow.execution.GetAccountAtBlockIDRequest)
GetAccountAtBlockIDRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetAccountAtBlockIDRequest.newBuilder() to construct.
private GetAccountAtBlockIDRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetAccountAtBlockIDRequest() {
blockId_ = com.google.protobuf.ByteString.EMPTY;
address_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetAccountAtBlockIDRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetAccountAtBlockIDRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
blockId_ = input.readBytes();
break;
}
case 18: {
address_ = 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.execution.Execution.internal_static_flow_execution_GetAccountAtBlockIDRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetAccountAtBlockIDRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDRequest.class, org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDRequest.Builder.class);
}
public static final int BLOCK_ID_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString blockId_;
/**
* bytes block_id = 1;
* @return The blockId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getBlockId() {
return blockId_;
}
public static final int ADDRESS_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString address_;
/**
* bytes address = 2;
* @return The address.
*/
@java.lang.Override
public com.google.protobuf.ByteString getAddress() {
return address_;
}
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_);
}
if (!address_.isEmpty()) {
output.writeBytes(2, address_);
}
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_);
}
if (!address_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, address_);
}
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.execution.Execution.GetAccountAtBlockIDRequest)) {
return super.equals(obj);
}
org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDRequest other = (org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDRequest) obj;
if (!getBlockId()
.equals(other.getBlockId())) return false;
if (!getAddress()
.equals(other.getAddress())) 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();
hash = (37 * hash) + ADDRESS_FIELD_NUMBER;
hash = (53 * hash) + getAddress().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDRequest 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.execution.Execution.GetAccountAtBlockIDRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDRequest 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.execution.Execution.GetAccountAtBlockIDRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDRequest 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.execution.Execution.GetAccountAtBlockIDRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDRequest 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.execution.Execution.GetAccountAtBlockIDRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDRequest 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.execution.Execution.GetAccountAtBlockIDRequest 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;
}
/**
* Protobuf type {@code flow.execution.GetAccountAtBlockIDRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flow.execution.GetAccountAtBlockIDRequest)
org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetAccountAtBlockIDRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetAccountAtBlockIDRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDRequest.class, org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDRequest.Builder.class);
}
// Construct using org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDRequest.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();
blockId_ = com.google.protobuf.ByteString.EMPTY;
address_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetAccountAtBlockIDRequest_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDRequest getDefaultInstanceForType() {
return org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDRequest.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDRequest build() {
org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDRequest buildPartial() {
org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDRequest result = new org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDRequest(this);
result.blockId_ = blockId_;
result.address_ = address_;
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.execution.Execution.GetAccountAtBlockIDRequest) {
return mergeFrom((org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDRequest other) {
if (other == org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDRequest.getDefaultInstance()) return this;
if (other.getBlockId() != com.google.protobuf.ByteString.EMPTY) {
setBlockId(other.getBlockId());
}
if (other.getAddress() != com.google.protobuf.ByteString.EMPTY) {
setAddress(other.getAddress());
}
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.execution.Execution.GetAccountAtBlockIDRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.ByteString blockId_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes block_id = 1;
* @return The blockId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getBlockId() {
return blockId_;
}
/**
* bytes block_id = 1;
* @param value The blockId to set.
* @return This builder for chaining.
*/
public Builder setBlockId(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
blockId_ = value;
onChanged();
return this;
}
/**
* bytes block_id = 1;
* @return This builder for chaining.
*/
public Builder clearBlockId() {
blockId_ = getDefaultInstance().getBlockId();
onChanged();
return this;
}
private com.google.protobuf.ByteString address_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes address = 2;
* @return The address.
*/
@java.lang.Override
public com.google.protobuf.ByteString getAddress() {
return address_;
}
/**
* bytes address = 2;
* @param value The address to set.
* @return This builder for chaining.
*/
public Builder setAddress(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
address_ = value;
onChanged();
return this;
}
/**
* bytes address = 2;
* @return This builder for chaining.
*/
public Builder clearAddress() {
address_ = getDefaultInstance().getAddress();
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.execution.GetAccountAtBlockIDRequest)
}
// @@protoc_insertion_point(class_scope:flow.execution.GetAccountAtBlockIDRequest)
private static final org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDRequest();
}
public static org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetAccountAtBlockIDRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetAccountAtBlockIDRequest(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.execution.Execution.GetAccountAtBlockIDRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetAccountAtBlockIDResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:flow.execution.GetAccountAtBlockIDResponse)
com.google.protobuf.MessageOrBuilder {
/**
* .flow.entities.Account account = 1;
* @return Whether the account field is set.
*/
boolean hasAccount();
/**
* .flow.entities.Account account = 1;
* @return The account.
*/
org.onflow.protobuf.entities.AccountOuterClass.Account getAccount();
/**
* .flow.entities.Account account = 1;
*/
org.onflow.protobuf.entities.AccountOuterClass.AccountOrBuilder getAccountOrBuilder();
}
/**
* Protobuf type {@code flow.execution.GetAccountAtBlockIDResponse}
*/
public static final class GetAccountAtBlockIDResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flow.execution.GetAccountAtBlockIDResponse)
GetAccountAtBlockIDResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetAccountAtBlockIDResponse.newBuilder() to construct.
private GetAccountAtBlockIDResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetAccountAtBlockIDResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetAccountAtBlockIDResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetAccountAtBlockIDResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
org.onflow.protobuf.entities.AccountOuterClass.Account.Builder subBuilder = null;
if (account_ != null) {
subBuilder = account_.toBuilder();
}
account_ = input.readMessage(org.onflow.protobuf.entities.AccountOuterClass.Account.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(account_);
account_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetAccountAtBlockIDResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetAccountAtBlockIDResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDResponse.class, org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDResponse.Builder.class);
}
public static final int ACCOUNT_FIELD_NUMBER = 1;
private org.onflow.protobuf.entities.AccountOuterClass.Account account_;
/**
* .flow.entities.Account account = 1;
* @return Whether the account field is set.
*/
@java.lang.Override
public boolean hasAccount() {
return account_ != null;
}
/**
* .flow.entities.Account account = 1;
* @return The account.
*/
@java.lang.Override
public org.onflow.protobuf.entities.AccountOuterClass.Account getAccount() {
return account_ == null ? org.onflow.protobuf.entities.AccountOuterClass.Account.getDefaultInstance() : account_;
}
/**
* .flow.entities.Account account = 1;
*/
@java.lang.Override
public org.onflow.protobuf.entities.AccountOuterClass.AccountOrBuilder getAccountOrBuilder() {
return getAccount();
}
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 (account_ != null) {
output.writeMessage(1, getAccount());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (account_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getAccount());
}
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.execution.Execution.GetAccountAtBlockIDResponse)) {
return super.equals(obj);
}
org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDResponse other = (org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDResponse) obj;
if (hasAccount() != other.hasAccount()) return false;
if (hasAccount()) {
if (!getAccount()
.equals(other.getAccount())) 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 (hasAccount()) {
hash = (37 * hash) + ACCOUNT_FIELD_NUMBER;
hash = (53 * hash) + getAccount().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDResponse 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.execution.Execution.GetAccountAtBlockIDResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDResponse 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.execution.Execution.GetAccountAtBlockIDResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDResponse 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.execution.Execution.GetAccountAtBlockIDResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDResponse 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.execution.Execution.GetAccountAtBlockIDResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDResponse 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.execution.Execution.GetAccountAtBlockIDResponse 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;
}
/**
* Protobuf type {@code flow.execution.GetAccountAtBlockIDResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flow.execution.GetAccountAtBlockIDResponse)
org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetAccountAtBlockIDResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetAccountAtBlockIDResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDResponse.class, org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDResponse.Builder.class);
}
// Construct using org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (accountBuilder_ == null) {
account_ = null;
} else {
account_ = null;
accountBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetAccountAtBlockIDResponse_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDResponse getDefaultInstanceForType() {
return org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDResponse.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDResponse build() {
org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDResponse buildPartial() {
org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDResponse result = new org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDResponse(this);
if (accountBuilder_ == null) {
result.account_ = account_;
} else {
result.account_ = accountBuilder_.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.execution.Execution.GetAccountAtBlockIDResponse) {
return mergeFrom((org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDResponse other) {
if (other == org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDResponse.getDefaultInstance()) return this;
if (other.hasAccount()) {
mergeAccount(other.getAccount());
}
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.execution.Execution.GetAccountAtBlockIDResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private org.onflow.protobuf.entities.AccountOuterClass.Account account_;
private com.google.protobuf.SingleFieldBuilderV3<
org.onflow.protobuf.entities.AccountOuterClass.Account, org.onflow.protobuf.entities.AccountOuterClass.Account.Builder, org.onflow.protobuf.entities.AccountOuterClass.AccountOrBuilder> accountBuilder_;
/**
* .flow.entities.Account account = 1;
* @return Whether the account field is set.
*/
public boolean hasAccount() {
return accountBuilder_ != null || account_ != null;
}
/**
* .flow.entities.Account account = 1;
* @return The account.
*/
public org.onflow.protobuf.entities.AccountOuterClass.Account getAccount() {
if (accountBuilder_ == null) {
return account_ == null ? org.onflow.protobuf.entities.AccountOuterClass.Account.getDefaultInstance() : account_;
} else {
return accountBuilder_.getMessage();
}
}
/**
* .flow.entities.Account account = 1;
*/
public Builder setAccount(org.onflow.protobuf.entities.AccountOuterClass.Account value) {
if (accountBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
account_ = value;
onChanged();
} else {
accountBuilder_.setMessage(value);
}
return this;
}
/**
* .flow.entities.Account account = 1;
*/
public Builder setAccount(
org.onflow.protobuf.entities.AccountOuterClass.Account.Builder builderForValue) {
if (accountBuilder_ == null) {
account_ = builderForValue.build();
onChanged();
} else {
accountBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .flow.entities.Account account = 1;
*/
public Builder mergeAccount(org.onflow.protobuf.entities.AccountOuterClass.Account value) {
if (accountBuilder_ == null) {
if (account_ != null) {
account_ =
org.onflow.protobuf.entities.AccountOuterClass.Account.newBuilder(account_).mergeFrom(value).buildPartial();
} else {
account_ = value;
}
onChanged();
} else {
accountBuilder_.mergeFrom(value);
}
return this;
}
/**
* .flow.entities.Account account = 1;
*/
public Builder clearAccount() {
if (accountBuilder_ == null) {
account_ = null;
onChanged();
} else {
account_ = null;
accountBuilder_ = null;
}
return this;
}
/**
* .flow.entities.Account account = 1;
*/
public org.onflow.protobuf.entities.AccountOuterClass.Account.Builder getAccountBuilder() {
onChanged();
return getAccountFieldBuilder().getBuilder();
}
/**
* .flow.entities.Account account = 1;
*/
public org.onflow.protobuf.entities.AccountOuterClass.AccountOrBuilder getAccountOrBuilder() {
if (accountBuilder_ != null) {
return accountBuilder_.getMessageOrBuilder();
} else {
return account_ == null ?
org.onflow.protobuf.entities.AccountOuterClass.Account.getDefaultInstance() : account_;
}
}
/**
* .flow.entities.Account account = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.onflow.protobuf.entities.AccountOuterClass.Account, org.onflow.protobuf.entities.AccountOuterClass.Account.Builder, org.onflow.protobuf.entities.AccountOuterClass.AccountOrBuilder>
getAccountFieldBuilder() {
if (accountBuilder_ == null) {
accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.onflow.protobuf.entities.AccountOuterClass.Account, org.onflow.protobuf.entities.AccountOuterClass.Account.Builder, org.onflow.protobuf.entities.AccountOuterClass.AccountOrBuilder>(
getAccount(),
getParentForChildren(),
isClean());
account_ = null;
}
return accountBuilder_;
}
@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.execution.GetAccountAtBlockIDResponse)
}
// @@protoc_insertion_point(class_scope:flow.execution.GetAccountAtBlockIDResponse)
private static final org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDResponse();
}
public static org.onflow.protobuf.execution.Execution.GetAccountAtBlockIDResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetAccountAtBlockIDResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetAccountAtBlockIDResponse(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.execution.Execution.GetAccountAtBlockIDResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ExecuteScriptAtBlockIDRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:flow.execution.ExecuteScriptAtBlockIDRequest)
com.google.protobuf.MessageOrBuilder {
/**
* bytes block_id = 1;
* @return The blockId.
*/
com.google.protobuf.ByteString getBlockId();
/**
* bytes script = 2;
* @return The script.
*/
com.google.protobuf.ByteString getScript();
/**
* repeated bytes arguments = 3;
* @return A list containing the arguments.
*/
java.util.List getArgumentsList();
/**
* repeated bytes arguments = 3;
* @return The count of arguments.
*/
int getArgumentsCount();
/**
* repeated bytes arguments = 3;
* @param index The index of the element to return.
* @return The arguments at the given index.
*/
com.google.protobuf.ByteString getArguments(int index);
}
/**
* Protobuf type {@code flow.execution.ExecuteScriptAtBlockIDRequest}
*/
public static final class ExecuteScriptAtBlockIDRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flow.execution.ExecuteScriptAtBlockIDRequest)
ExecuteScriptAtBlockIDRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ExecuteScriptAtBlockIDRequest.newBuilder() to construct.
private ExecuteScriptAtBlockIDRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ExecuteScriptAtBlockIDRequest() {
blockId_ = com.google.protobuf.ByteString.EMPTY;
script_ = com.google.protobuf.ByteString.EMPTY;
arguments_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ExecuteScriptAtBlockIDRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ExecuteScriptAtBlockIDRequest(
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: {
script_ = input.readBytes();
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
arguments_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
arguments_.add(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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
arguments_ = java.util.Collections.unmodifiableList(arguments_); // C
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_ExecuteScriptAtBlockIDRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_ExecuteScriptAtBlockIDRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDRequest.class, org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDRequest.Builder.class);
}
public static final int BLOCK_ID_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString blockId_;
/**
* bytes block_id = 1;
* @return The blockId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getBlockId() {
return blockId_;
}
public static final int SCRIPT_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString script_;
/**
* bytes script = 2;
* @return The script.
*/
@java.lang.Override
public com.google.protobuf.ByteString getScript() {
return script_;
}
public static final int ARGUMENTS_FIELD_NUMBER = 3;
private java.util.List arguments_;
/**
* repeated bytes arguments = 3;
* @return A list containing the arguments.
*/
@java.lang.Override
public java.util.List
getArgumentsList() {
return arguments_;
}
/**
* repeated bytes arguments = 3;
* @return The count of arguments.
*/
public int getArgumentsCount() {
return arguments_.size();
}
/**
* repeated bytes arguments = 3;
* @param index The index of the element to return.
* @return The arguments at the given index.
*/
public com.google.protobuf.ByteString getArguments(int index) {
return arguments_.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_);
}
if (!script_.isEmpty()) {
output.writeBytes(2, script_);
}
for (int i = 0; i < arguments_.size(); i++) {
output.writeBytes(3, arguments_.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_);
}
if (!script_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, script_);
}
{
int dataSize = 0;
for (int i = 0; i < arguments_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(arguments_.get(i));
}
size += dataSize;
size += 1 * getArgumentsList().size();
}
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.execution.Execution.ExecuteScriptAtBlockIDRequest)) {
return super.equals(obj);
}
org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDRequest other = (org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDRequest) obj;
if (!getBlockId()
.equals(other.getBlockId())) return false;
if (!getScript()
.equals(other.getScript())) return false;
if (!getArgumentsList()
.equals(other.getArgumentsList())) 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();
hash = (37 * hash) + SCRIPT_FIELD_NUMBER;
hash = (53 * hash) + getScript().hashCode();
if (getArgumentsCount() > 0) {
hash = (37 * hash) + ARGUMENTS_FIELD_NUMBER;
hash = (53 * hash) + getArgumentsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDRequest 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.execution.Execution.ExecuteScriptAtBlockIDRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDRequest 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.execution.Execution.ExecuteScriptAtBlockIDRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDRequest 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.execution.Execution.ExecuteScriptAtBlockIDRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDRequest 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.execution.Execution.ExecuteScriptAtBlockIDRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDRequest 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.execution.Execution.ExecuteScriptAtBlockIDRequest 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;
}
/**
* Protobuf type {@code flow.execution.ExecuteScriptAtBlockIDRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flow.execution.ExecuteScriptAtBlockIDRequest)
org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_ExecuteScriptAtBlockIDRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_ExecuteScriptAtBlockIDRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDRequest.class, org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDRequest.Builder.class);
}
// Construct using org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDRequest.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();
blockId_ = com.google.protobuf.ByteString.EMPTY;
script_ = com.google.protobuf.ByteString.EMPTY;
arguments_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_ExecuteScriptAtBlockIDRequest_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDRequest getDefaultInstanceForType() {
return org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDRequest.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDRequest build() {
org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDRequest buildPartial() {
org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDRequest result = new org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDRequest(this);
int from_bitField0_ = bitField0_;
result.blockId_ = blockId_;
result.script_ = script_;
if (((bitField0_ & 0x00000001) != 0)) {
arguments_ = java.util.Collections.unmodifiableList(arguments_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.arguments_ = arguments_;
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.execution.Execution.ExecuteScriptAtBlockIDRequest) {
return mergeFrom((org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDRequest other) {
if (other == org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDRequest.getDefaultInstance()) return this;
if (other.getBlockId() != com.google.protobuf.ByteString.EMPTY) {
setBlockId(other.getBlockId());
}
if (other.getScript() != com.google.protobuf.ByteString.EMPTY) {
setScript(other.getScript());
}
if (!other.arguments_.isEmpty()) {
if (arguments_.isEmpty()) {
arguments_ = other.arguments_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureArgumentsIsMutable();
arguments_.addAll(other.arguments_);
}
onChanged();
}
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.execution.Execution.ExecuteScriptAtBlockIDRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDRequest) 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;
/**
* bytes block_id = 1;
* @return The blockId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getBlockId() {
return blockId_;
}
/**
* bytes block_id = 1;
* @param value The blockId to set.
* @return This builder for chaining.
*/
public Builder setBlockId(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
blockId_ = value;
onChanged();
return this;
}
/**
* bytes block_id = 1;
* @return This builder for chaining.
*/
public Builder clearBlockId() {
blockId_ = getDefaultInstance().getBlockId();
onChanged();
return this;
}
private com.google.protobuf.ByteString script_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes script = 2;
* @return The script.
*/
@java.lang.Override
public com.google.protobuf.ByteString getScript() {
return script_;
}
/**
* bytes script = 2;
* @param value The script to set.
* @return This builder for chaining.
*/
public Builder setScript(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
script_ = value;
onChanged();
return this;
}
/**
* bytes script = 2;
* @return This builder for chaining.
*/
public Builder clearScript() {
script_ = getDefaultInstance().getScript();
onChanged();
return this;
}
private java.util.List arguments_ = java.util.Collections.emptyList();
private void ensureArgumentsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
arguments_ = new java.util.ArrayList(arguments_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated bytes arguments = 3;
* @return A list containing the arguments.
*/
public java.util.List
getArgumentsList() {
return ((bitField0_ & 0x00000001) != 0) ?
java.util.Collections.unmodifiableList(arguments_) : arguments_;
}
/**
* repeated bytes arguments = 3;
* @return The count of arguments.
*/
public int getArgumentsCount() {
return arguments_.size();
}
/**
* repeated bytes arguments = 3;
* @param index The index of the element to return.
* @return The arguments at the given index.
*/
public com.google.protobuf.ByteString getArguments(int index) {
return arguments_.get(index);
}
/**
* repeated bytes arguments = 3;
* @param index The index to set the value at.
* @param value The arguments to set.
* @return This builder for chaining.
*/
public Builder setArguments(
int index, com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureArgumentsIsMutable();
arguments_.set(index, value);
onChanged();
return this;
}
/**
* repeated bytes arguments = 3;
* @param value The arguments to add.
* @return This builder for chaining.
*/
public Builder addArguments(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureArgumentsIsMutable();
arguments_.add(value);
onChanged();
return this;
}
/**
* repeated bytes arguments = 3;
* @param values The arguments to add.
* @return This builder for chaining.
*/
public Builder addAllArguments(
java.lang.Iterable extends com.google.protobuf.ByteString> values) {
ensureArgumentsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, arguments_);
onChanged();
return this;
}
/**
* repeated bytes arguments = 3;
* @return This builder for chaining.
*/
public Builder clearArguments() {
arguments_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
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.execution.ExecuteScriptAtBlockIDRequest)
}
// @@protoc_insertion_point(class_scope:flow.execution.ExecuteScriptAtBlockIDRequest)
private static final org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDRequest();
}
public static org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ExecuteScriptAtBlockIDRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ExecuteScriptAtBlockIDRequest(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.execution.Execution.ExecuteScriptAtBlockIDRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ExecuteScriptAtBlockIDResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:flow.execution.ExecuteScriptAtBlockIDResponse)
com.google.protobuf.MessageOrBuilder {
/**
* bytes value = 1;
* @return The value.
*/
com.google.protobuf.ByteString getValue();
/**
* uint64 computation_usage = 2;
* @return The computationUsage.
*/
long getComputationUsage();
}
/**
* Protobuf type {@code flow.execution.ExecuteScriptAtBlockIDResponse}
*/
public static final class ExecuteScriptAtBlockIDResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flow.execution.ExecuteScriptAtBlockIDResponse)
ExecuteScriptAtBlockIDResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ExecuteScriptAtBlockIDResponse.newBuilder() to construct.
private ExecuteScriptAtBlockIDResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ExecuteScriptAtBlockIDResponse() {
value_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ExecuteScriptAtBlockIDResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ExecuteScriptAtBlockIDResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
value_ = input.readBytes();
break;
}
case 16: {
computationUsage_ = input.readUInt64();
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.execution.Execution.internal_static_flow_execution_ExecuteScriptAtBlockIDResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_ExecuteScriptAtBlockIDResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDResponse.class, org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDResponse.Builder.class);
}
public static final int VALUE_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString value_;
/**
* bytes value = 1;
* @return The value.
*/
@java.lang.Override
public com.google.protobuf.ByteString getValue() {
return value_;
}
public static final int COMPUTATION_USAGE_FIELD_NUMBER = 2;
private long computationUsage_;
/**
* uint64 computation_usage = 2;
* @return The computationUsage.
*/
@java.lang.Override
public long getComputationUsage() {
return computationUsage_;
}
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 (!value_.isEmpty()) {
output.writeBytes(1, value_);
}
if (computationUsage_ != 0L) {
output.writeUInt64(2, computationUsage_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!value_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, value_);
}
if (computationUsage_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(2, computationUsage_);
}
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.execution.Execution.ExecuteScriptAtBlockIDResponse)) {
return super.equals(obj);
}
org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDResponse other = (org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDResponse) obj;
if (!getValue()
.equals(other.getValue())) return false;
if (getComputationUsage()
!= other.getComputationUsage()) 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) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue().hashCode();
hash = (37 * hash) + COMPUTATION_USAGE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getComputationUsage());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDResponse 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.execution.Execution.ExecuteScriptAtBlockIDResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDResponse 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.execution.Execution.ExecuteScriptAtBlockIDResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDResponse 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.execution.Execution.ExecuteScriptAtBlockIDResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDResponse 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.execution.Execution.ExecuteScriptAtBlockIDResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDResponse 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.execution.Execution.ExecuteScriptAtBlockIDResponse 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;
}
/**
* Protobuf type {@code flow.execution.ExecuteScriptAtBlockIDResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flow.execution.ExecuteScriptAtBlockIDResponse)
org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_ExecuteScriptAtBlockIDResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_ExecuteScriptAtBlockIDResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDResponse.class, org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDResponse.Builder.class);
}
// Construct using org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDResponse.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();
value_ = com.google.protobuf.ByteString.EMPTY;
computationUsage_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_ExecuteScriptAtBlockIDResponse_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDResponse getDefaultInstanceForType() {
return org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDResponse.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDResponse build() {
org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDResponse buildPartial() {
org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDResponse result = new org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDResponse(this);
result.value_ = value_;
result.computationUsage_ = computationUsage_;
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.execution.Execution.ExecuteScriptAtBlockIDResponse) {
return mergeFrom((org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDResponse other) {
if (other == org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDResponse.getDefaultInstance()) return this;
if (other.getValue() != com.google.protobuf.ByteString.EMPTY) {
setValue(other.getValue());
}
if (other.getComputationUsage() != 0L) {
setComputationUsage(other.getComputationUsage());
}
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.execution.Execution.ExecuteScriptAtBlockIDResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes value = 1;
* @return The value.
*/
@java.lang.Override
public com.google.protobuf.ByteString getValue() {
return value_;
}
/**
* bytes value = 1;
* @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;
}
/**
* bytes value = 1;
* @return This builder for chaining.
*/
public Builder clearValue() {
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
private long computationUsage_ ;
/**
* uint64 computation_usage = 2;
* @return The computationUsage.
*/
@java.lang.Override
public long getComputationUsage() {
return computationUsage_;
}
/**
* uint64 computation_usage = 2;
* @param value The computationUsage to set.
* @return This builder for chaining.
*/
public Builder setComputationUsage(long value) {
computationUsage_ = value;
onChanged();
return this;
}
/**
* uint64 computation_usage = 2;
* @return This builder for chaining.
*/
public Builder clearComputationUsage() {
computationUsage_ = 0L;
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.execution.ExecuteScriptAtBlockIDResponse)
}
// @@protoc_insertion_point(class_scope:flow.execution.ExecuteScriptAtBlockIDResponse)
private static final org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDResponse();
}
public static org.onflow.protobuf.execution.Execution.ExecuteScriptAtBlockIDResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ExecuteScriptAtBlockIDResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ExecuteScriptAtBlockIDResponse(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.execution.Execution.ExecuteScriptAtBlockIDResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetEventsForBlockIDsResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:flow.execution.GetEventsForBlockIDsResponse)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .flow.execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
java.util.List
getResultsList();
/**
* repeated .flow.execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result getResults(int index);
/**
* repeated .flow.execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
int getResultsCount();
/**
* repeated .flow.execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
java.util.List extends org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.ResultOrBuilder>
getResultsOrBuilderList();
/**
* repeated .flow.execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.ResultOrBuilder getResultsOrBuilder(
int index);
/**
* .flow.entities.EventEncodingVersion event_encoding_version = 2;
* @return The enum numeric value on the wire for eventEncodingVersion.
*/
int getEventEncodingVersionValue();
/**
* .flow.entities.EventEncodingVersion event_encoding_version = 2;
* @return The eventEncodingVersion.
*/
org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion getEventEncodingVersion();
}
/**
* Protobuf type {@code flow.execution.GetEventsForBlockIDsResponse}
*/
public static final class GetEventsForBlockIDsResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flow.execution.GetEventsForBlockIDsResponse)
GetEventsForBlockIDsResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetEventsForBlockIDsResponse.newBuilder() to construct.
private GetEventsForBlockIDsResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetEventsForBlockIDsResponse() {
results_ = java.util.Collections.emptyList();
eventEncodingVersion_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetEventsForBlockIDsResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetEventsForBlockIDsResponse(
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)) {
results_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
results_.add(
input.readMessage(org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result.parser(), extensionRegistry));
break;
}
case 16: {
int rawValue = input.readEnum();
eventEncodingVersion_ = rawValue;
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)) {
results_ = java.util.Collections.unmodifiableList(results_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetEventsForBlockIDsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetEventsForBlockIDsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.class, org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Builder.class);
}
public interface ResultOrBuilder extends
// @@protoc_insertion_point(interface_extends:flow.execution.GetEventsForBlockIDsResponse.Result)
com.google.protobuf.MessageOrBuilder {
/**
* bytes block_id = 1;
* @return The blockId.
*/
com.google.protobuf.ByteString getBlockId();
/**
* uint64 block_height = 2;
* @return The blockHeight.
*/
long getBlockHeight();
/**
* repeated .flow.entities.Event events = 3;
*/
java.util.List
getEventsList();
/**
* repeated .flow.entities.Event events = 3;
*/
org.onflow.protobuf.entities.EventOuterClass.Event getEvents(int index);
/**
* repeated .flow.entities.Event events = 3;
*/
int getEventsCount();
/**
* repeated .flow.entities.Event events = 3;
*/
java.util.List extends org.onflow.protobuf.entities.EventOuterClass.EventOrBuilder>
getEventsOrBuilderList();
/**
* repeated .flow.entities.Event events = 3;
*/
org.onflow.protobuf.entities.EventOuterClass.EventOrBuilder getEventsOrBuilder(
int index);
}
/**
* Protobuf type {@code flow.execution.GetEventsForBlockIDsResponse.Result}
*/
public static final class Result extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flow.execution.GetEventsForBlockIDsResponse.Result)
ResultOrBuilder {
private static final long serialVersionUID = 0L;
// Use Result.newBuilder() to construct.
private Result(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Result() {
blockId_ = com.google.protobuf.ByteString.EMPTY;
events_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Result();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Result(
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 16: {
blockHeight_ = input.readUInt64();
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
events_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
events_.add(
input.readMessage(org.onflow.protobuf.entities.EventOuterClass.Event.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)) {
events_ = java.util.Collections.unmodifiableList(events_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetEventsForBlockIDsResponse_Result_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetEventsForBlockIDsResponse_Result_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result.class, org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result.Builder.class);
}
public static final int BLOCK_ID_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString blockId_;
/**
* bytes block_id = 1;
* @return The blockId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getBlockId() {
return blockId_;
}
public static final int BLOCK_HEIGHT_FIELD_NUMBER = 2;
private long blockHeight_;
/**
* uint64 block_height = 2;
* @return The blockHeight.
*/
@java.lang.Override
public long getBlockHeight() {
return blockHeight_;
}
public static final int EVENTS_FIELD_NUMBER = 3;
private java.util.List events_;
/**
* repeated .flow.entities.Event events = 3;
*/
@java.lang.Override
public java.util.List getEventsList() {
return events_;
}
/**
* repeated .flow.entities.Event events = 3;
*/
@java.lang.Override
public java.util.List extends org.onflow.protobuf.entities.EventOuterClass.EventOrBuilder>
getEventsOrBuilderList() {
return events_;
}
/**
* repeated .flow.entities.Event events = 3;
*/
@java.lang.Override
public int getEventsCount() {
return events_.size();
}
/**
* repeated .flow.entities.Event events = 3;
*/
@java.lang.Override
public org.onflow.protobuf.entities.EventOuterClass.Event getEvents(int index) {
return events_.get(index);
}
/**
* repeated .flow.entities.Event events = 3;
*/
@java.lang.Override
public org.onflow.protobuf.entities.EventOuterClass.EventOrBuilder getEventsOrBuilder(
int index) {
return events_.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_);
}
if (blockHeight_ != 0L) {
output.writeUInt64(2, blockHeight_);
}
for (int i = 0; i < events_.size(); i++) {
output.writeMessage(3, events_.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_);
}
if (blockHeight_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(2, blockHeight_);
}
for (int i = 0; i < events_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, events_.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.execution.Execution.GetEventsForBlockIDsResponse.Result)) {
return super.equals(obj);
}
org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result other = (org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result) obj;
if (!getBlockId()
.equals(other.getBlockId())) return false;
if (getBlockHeight()
!= other.getBlockHeight()) return false;
if (!getEventsList()
.equals(other.getEventsList())) 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();
hash = (37 * hash) + BLOCK_HEIGHT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getBlockHeight());
if (getEventsCount() > 0) {
hash = (37 * hash) + EVENTS_FIELD_NUMBER;
hash = (53 * hash) + getEventsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result 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.execution.Execution.GetEventsForBlockIDsResponse.Result parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result 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.execution.Execution.GetEventsForBlockIDsResponse.Result parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result 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.execution.Execution.GetEventsForBlockIDsResponse.Result parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result 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.execution.Execution.GetEventsForBlockIDsResponse.Result parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result 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.execution.Execution.GetEventsForBlockIDsResponse.Result 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;
}
/**
* Protobuf type {@code flow.execution.GetEventsForBlockIDsResponse.Result}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flow.execution.GetEventsForBlockIDsResponse.Result)
org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.ResultOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetEventsForBlockIDsResponse_Result_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetEventsForBlockIDsResponse_Result_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result.class, org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result.Builder.class);
}
// Construct using org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getEventsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
blockId_ = com.google.protobuf.ByteString.EMPTY;
blockHeight_ = 0L;
if (eventsBuilder_ == null) {
events_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
eventsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetEventsForBlockIDsResponse_Result_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result getDefaultInstanceForType() {
return org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result build() {
org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result buildPartial() {
org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result result = new org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result(this);
int from_bitField0_ = bitField0_;
result.blockId_ = blockId_;
result.blockHeight_ = blockHeight_;
if (eventsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
events_ = java.util.Collections.unmodifiableList(events_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.events_ = events_;
} else {
result.events_ = eventsBuilder_.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.execution.Execution.GetEventsForBlockIDsResponse.Result) {
return mergeFrom((org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result other) {
if (other == org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result.getDefaultInstance()) return this;
if (other.getBlockId() != com.google.protobuf.ByteString.EMPTY) {
setBlockId(other.getBlockId());
}
if (other.getBlockHeight() != 0L) {
setBlockHeight(other.getBlockHeight());
}
if (eventsBuilder_ == null) {
if (!other.events_.isEmpty()) {
if (events_.isEmpty()) {
events_ = other.events_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureEventsIsMutable();
events_.addAll(other.events_);
}
onChanged();
}
} else {
if (!other.events_.isEmpty()) {
if (eventsBuilder_.isEmpty()) {
eventsBuilder_.dispose();
eventsBuilder_ = null;
events_ = other.events_;
bitField0_ = (bitField0_ & ~0x00000001);
eventsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getEventsFieldBuilder() : null;
} else {
eventsBuilder_.addAllMessages(other.events_);
}
}
}
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.execution.Execution.GetEventsForBlockIDsResponse.Result parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result) 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;
/**
* bytes block_id = 1;
* @return The blockId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getBlockId() {
return blockId_;
}
/**
* bytes block_id = 1;
* @param value The blockId to set.
* @return This builder for chaining.
*/
public Builder setBlockId(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
blockId_ = value;
onChanged();
return this;
}
/**
* bytes block_id = 1;
* @return This builder for chaining.
*/
public Builder clearBlockId() {
blockId_ = getDefaultInstance().getBlockId();
onChanged();
return this;
}
private long blockHeight_ ;
/**
* uint64 block_height = 2;
* @return The blockHeight.
*/
@java.lang.Override
public long getBlockHeight() {
return blockHeight_;
}
/**
* uint64 block_height = 2;
* @param value The blockHeight to set.
* @return This builder for chaining.
*/
public Builder setBlockHeight(long value) {
blockHeight_ = value;
onChanged();
return this;
}
/**
* uint64 block_height = 2;
* @return This builder for chaining.
*/
public Builder clearBlockHeight() {
blockHeight_ = 0L;
onChanged();
return this;
}
private java.util.List events_ =
java.util.Collections.emptyList();
private void ensureEventsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
events_ = new java.util.ArrayList(events_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.onflow.protobuf.entities.EventOuterClass.Event, org.onflow.protobuf.entities.EventOuterClass.Event.Builder, org.onflow.protobuf.entities.EventOuterClass.EventOrBuilder> eventsBuilder_;
/**
* repeated .flow.entities.Event events = 3;
*/
public java.util.List getEventsList() {
if (eventsBuilder_ == null) {
return java.util.Collections.unmodifiableList(events_);
} else {
return eventsBuilder_.getMessageList();
}
}
/**
* repeated .flow.entities.Event events = 3;
*/
public int getEventsCount() {
if (eventsBuilder_ == null) {
return events_.size();
} else {
return eventsBuilder_.getCount();
}
}
/**
* repeated .flow.entities.Event events = 3;
*/
public org.onflow.protobuf.entities.EventOuterClass.Event getEvents(int index) {
if (eventsBuilder_ == null) {
return events_.get(index);
} else {
return eventsBuilder_.getMessage(index);
}
}
/**
* repeated .flow.entities.Event events = 3;
*/
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;
}
/**
* repeated .flow.entities.Event events = 3;
*/
public Builder setEvents(
int index, org.onflow.protobuf.entities.EventOuterClass.Event.Builder builderForValue) {
if (eventsBuilder_ == null) {
ensureEventsIsMutable();
events_.set(index, builderForValue.build());
onChanged();
} else {
eventsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .flow.entities.Event events = 3;
*/
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;
}
/**
* repeated .flow.entities.Event events = 3;
*/
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;
}
/**
* repeated .flow.entities.Event events = 3;
*/
public Builder addEvents(
org.onflow.protobuf.entities.EventOuterClass.Event.Builder builderForValue) {
if (eventsBuilder_ == null) {
ensureEventsIsMutable();
events_.add(builderForValue.build());
onChanged();
} else {
eventsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .flow.entities.Event events = 3;
*/
public Builder addEvents(
int index, org.onflow.protobuf.entities.EventOuterClass.Event.Builder builderForValue) {
if (eventsBuilder_ == null) {
ensureEventsIsMutable();
events_.add(index, builderForValue.build());
onChanged();
} else {
eventsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .flow.entities.Event events = 3;
*/
public Builder addAllEvents(
java.lang.Iterable extends org.onflow.protobuf.entities.EventOuterClass.Event> values) {
if (eventsBuilder_ == null) {
ensureEventsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, events_);
onChanged();
} else {
eventsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .flow.entities.Event events = 3;
*/
public Builder clearEvents() {
if (eventsBuilder_ == null) {
events_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
eventsBuilder_.clear();
}
return this;
}
/**
* repeated .flow.entities.Event events = 3;
*/
public Builder removeEvents(int index) {
if (eventsBuilder_ == null) {
ensureEventsIsMutable();
events_.remove(index);
onChanged();
} else {
eventsBuilder_.remove(index);
}
return this;
}
/**
* repeated .flow.entities.Event events = 3;
*/
public org.onflow.protobuf.entities.EventOuterClass.Event.Builder getEventsBuilder(
int index) {
return getEventsFieldBuilder().getBuilder(index);
}
/**
* repeated .flow.entities.Event events = 3;
*/
public org.onflow.protobuf.entities.EventOuterClass.EventOrBuilder getEventsOrBuilder(
int index) {
if (eventsBuilder_ == null) {
return events_.get(index); } else {
return eventsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .flow.entities.Event events = 3;
*/
public java.util.List extends org.onflow.protobuf.entities.EventOuterClass.EventOrBuilder>
getEventsOrBuilderList() {
if (eventsBuilder_ != null) {
return eventsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(events_);
}
}
/**
* repeated .flow.entities.Event events = 3;
*/
public org.onflow.protobuf.entities.EventOuterClass.Event.Builder addEventsBuilder() {
return getEventsFieldBuilder().addBuilder(
org.onflow.protobuf.entities.EventOuterClass.Event.getDefaultInstance());
}
/**
* repeated .flow.entities.Event events = 3;
*/
public org.onflow.protobuf.entities.EventOuterClass.Event.Builder addEventsBuilder(
int index) {
return getEventsFieldBuilder().addBuilder(
index, org.onflow.protobuf.entities.EventOuterClass.Event.getDefaultInstance());
}
/**
* repeated .flow.entities.Event events = 3;
*/
public java.util.List
getEventsBuilderList() {
return getEventsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.onflow.protobuf.entities.EventOuterClass.Event, org.onflow.protobuf.entities.EventOuterClass.Event.Builder, org.onflow.protobuf.entities.EventOuterClass.EventOrBuilder>
getEventsFieldBuilder() {
if (eventsBuilder_ == null) {
eventsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.onflow.protobuf.entities.EventOuterClass.Event, org.onflow.protobuf.entities.EventOuterClass.Event.Builder, org.onflow.protobuf.entities.EventOuterClass.EventOrBuilder>(
events_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
events_ = null;
}
return eventsBuilder_;
}
@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.execution.GetEventsForBlockIDsResponse.Result)
}
// @@protoc_insertion_point(class_scope:flow.execution.GetEventsForBlockIDsResponse.Result)
private static final org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result();
}
public static org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Result parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Result(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.execution.Execution.GetEventsForBlockIDsResponse.Result getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int RESULTS_FIELD_NUMBER = 1;
private java.util.List results_;
/**
* repeated .flow.execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
@java.lang.Override
public java.util.List getResultsList() {
return results_;
}
/**
* repeated .flow.execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
@java.lang.Override
public java.util.List extends org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.ResultOrBuilder>
getResultsOrBuilderList() {
return results_;
}
/**
* repeated .flow.execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
@java.lang.Override
public int getResultsCount() {
return results_.size();
}
/**
* repeated .flow.execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result getResults(int index) {
return results_.get(index);
}
/**
* repeated .flow.execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.ResultOrBuilder getResultsOrBuilder(
int index) {
return results_.get(index);
}
public static final int EVENT_ENCODING_VERSION_FIELD_NUMBER = 2;
private int eventEncodingVersion_;
/**
* .flow.entities.EventEncodingVersion event_encoding_version = 2;
* @return The enum numeric value on the wire for eventEncodingVersion.
*/
@java.lang.Override public int getEventEncodingVersionValue() {
return eventEncodingVersion_;
}
/**
* .flow.entities.EventEncodingVersion event_encoding_version = 2;
* @return The eventEncodingVersion.
*/
@java.lang.Override public org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion getEventEncodingVersion() {
@SuppressWarnings("deprecation")
org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion result = org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.valueOf(eventEncodingVersion_);
return result == null ? org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.UNRECOGNIZED : result;
}
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 < results_.size(); i++) {
output.writeMessage(1, results_.get(i));
}
if (eventEncodingVersion_ != org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.JSON_CDC_V0.getNumber()) {
output.writeEnum(2, eventEncodingVersion_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < results_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, results_.get(i));
}
if (eventEncodingVersion_ != org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.JSON_CDC_V0.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, eventEncodingVersion_);
}
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.execution.Execution.GetEventsForBlockIDsResponse)) {
return super.equals(obj);
}
org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse other = (org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse) obj;
if (!getResultsList()
.equals(other.getResultsList())) return false;
if (eventEncodingVersion_ != other.eventEncodingVersion_) 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 (getResultsCount() > 0) {
hash = (37 * hash) + RESULTS_FIELD_NUMBER;
hash = (53 * hash) + getResultsList().hashCode();
}
hash = (37 * hash) + EVENT_ENCODING_VERSION_FIELD_NUMBER;
hash = (53 * hash) + eventEncodingVersion_;
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse 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.execution.Execution.GetEventsForBlockIDsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse 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.execution.Execution.GetEventsForBlockIDsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse 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.execution.Execution.GetEventsForBlockIDsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse 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.execution.Execution.GetEventsForBlockIDsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse 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.execution.Execution.GetEventsForBlockIDsResponse 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;
}
/**
* Protobuf type {@code flow.execution.GetEventsForBlockIDsResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flow.execution.GetEventsForBlockIDsResponse)
org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetEventsForBlockIDsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetEventsForBlockIDsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.class, org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Builder.class);
}
// Construct using org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getResultsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (resultsBuilder_ == null) {
results_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
resultsBuilder_.clear();
}
eventEncodingVersion_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetEventsForBlockIDsResponse_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse getDefaultInstanceForType() {
return org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse build() {
org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse buildPartial() {
org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse result = new org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse(this);
int from_bitField0_ = bitField0_;
if (resultsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
results_ = java.util.Collections.unmodifiableList(results_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.results_ = results_;
} else {
result.results_ = resultsBuilder_.build();
}
result.eventEncodingVersion_ = eventEncodingVersion_;
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.execution.Execution.GetEventsForBlockIDsResponse) {
return mergeFrom((org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse other) {
if (other == org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.getDefaultInstance()) return this;
if (resultsBuilder_ == null) {
if (!other.results_.isEmpty()) {
if (results_.isEmpty()) {
results_ = other.results_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureResultsIsMutable();
results_.addAll(other.results_);
}
onChanged();
}
} else {
if (!other.results_.isEmpty()) {
if (resultsBuilder_.isEmpty()) {
resultsBuilder_.dispose();
resultsBuilder_ = null;
results_ = other.results_;
bitField0_ = (bitField0_ & ~0x00000001);
resultsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getResultsFieldBuilder() : null;
} else {
resultsBuilder_.addAllMessages(other.results_);
}
}
}
if (other.eventEncodingVersion_ != 0) {
setEventEncodingVersionValue(other.getEventEncodingVersionValue());
}
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.execution.Execution.GetEventsForBlockIDsResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List results_ =
java.util.Collections.emptyList();
private void ensureResultsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
results_ = new java.util.ArrayList(results_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result, org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result.Builder, org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.ResultOrBuilder> resultsBuilder_;
/**
* repeated .flow.execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public java.util.List getResultsList() {
if (resultsBuilder_ == null) {
return java.util.Collections.unmodifiableList(results_);
} else {
return resultsBuilder_.getMessageList();
}
}
/**
* repeated .flow.execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public int getResultsCount() {
if (resultsBuilder_ == null) {
return results_.size();
} else {
return resultsBuilder_.getCount();
}
}
/**
* repeated .flow.execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result getResults(int index) {
if (resultsBuilder_ == null) {
return results_.get(index);
} else {
return resultsBuilder_.getMessage(index);
}
}
/**
* repeated .flow.execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public Builder setResults(
int index, org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result value) {
if (resultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureResultsIsMutable();
results_.set(index, value);
onChanged();
} else {
resultsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .flow.execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public Builder setResults(
int index, org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result.Builder builderForValue) {
if (resultsBuilder_ == null) {
ensureResultsIsMutable();
results_.set(index, builderForValue.build());
onChanged();
} else {
resultsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .flow.execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public Builder addResults(org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result value) {
if (resultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureResultsIsMutable();
results_.add(value);
onChanged();
} else {
resultsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .flow.execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public Builder addResults(
int index, org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result value) {
if (resultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureResultsIsMutable();
results_.add(index, value);
onChanged();
} else {
resultsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .flow.execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public Builder addResults(
org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result.Builder builderForValue) {
if (resultsBuilder_ == null) {
ensureResultsIsMutable();
results_.add(builderForValue.build());
onChanged();
} else {
resultsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .flow.execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public Builder addResults(
int index, org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result.Builder builderForValue) {
if (resultsBuilder_ == null) {
ensureResultsIsMutable();
results_.add(index, builderForValue.build());
onChanged();
} else {
resultsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .flow.execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public Builder addAllResults(
java.lang.Iterable extends org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result> values) {
if (resultsBuilder_ == null) {
ensureResultsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, results_);
onChanged();
} else {
resultsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .flow.execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public Builder clearResults() {
if (resultsBuilder_ == null) {
results_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
resultsBuilder_.clear();
}
return this;
}
/**
* repeated .flow.execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public Builder removeResults(int index) {
if (resultsBuilder_ == null) {
ensureResultsIsMutable();
results_.remove(index);
onChanged();
} else {
resultsBuilder_.remove(index);
}
return this;
}
/**
* repeated .flow.execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result.Builder getResultsBuilder(
int index) {
return getResultsFieldBuilder().getBuilder(index);
}
/**
* repeated .flow.execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.ResultOrBuilder getResultsOrBuilder(
int index) {
if (resultsBuilder_ == null) {
return results_.get(index); } else {
return resultsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .flow.execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public java.util.List extends org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.ResultOrBuilder>
getResultsOrBuilderList() {
if (resultsBuilder_ != null) {
return resultsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(results_);
}
}
/**
* repeated .flow.execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result.Builder addResultsBuilder() {
return getResultsFieldBuilder().addBuilder(
org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result.getDefaultInstance());
}
/**
* repeated .flow.execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result.Builder addResultsBuilder(
int index) {
return getResultsFieldBuilder().addBuilder(
index, org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result.getDefaultInstance());
}
/**
* repeated .flow.execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public java.util.List
getResultsBuilderList() {
return getResultsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result, org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result.Builder, org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.ResultOrBuilder>
getResultsFieldBuilder() {
if (resultsBuilder_ == null) {
resultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result, org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.Result.Builder, org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse.ResultOrBuilder>(
results_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
results_ = null;
}
return resultsBuilder_;
}
private int eventEncodingVersion_ = 0;
/**
* .flow.entities.EventEncodingVersion event_encoding_version = 2;
* @return The enum numeric value on the wire for eventEncodingVersion.
*/
@java.lang.Override public int getEventEncodingVersionValue() {
return eventEncodingVersion_;
}
/**
* .flow.entities.EventEncodingVersion event_encoding_version = 2;
* @param value The enum numeric value on the wire for eventEncodingVersion to set.
* @return This builder for chaining.
*/
public Builder setEventEncodingVersionValue(int value) {
eventEncodingVersion_ = value;
onChanged();
return this;
}
/**
* .flow.entities.EventEncodingVersion event_encoding_version = 2;
* @return The eventEncodingVersion.
*/
@java.lang.Override
public org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion getEventEncodingVersion() {
@SuppressWarnings("deprecation")
org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion result = org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.valueOf(eventEncodingVersion_);
return result == null ? org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.UNRECOGNIZED : result;
}
/**
* .flow.entities.EventEncodingVersion event_encoding_version = 2;
* @param value The eventEncodingVersion to set.
* @return This builder for chaining.
*/
public Builder setEventEncodingVersion(org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion value) {
if (value == null) {
throw new NullPointerException();
}
eventEncodingVersion_ = value.getNumber();
onChanged();
return this;
}
/**
* .flow.entities.EventEncodingVersion event_encoding_version = 2;
* @return This builder for chaining.
*/
public Builder clearEventEncodingVersion() {
eventEncodingVersion_ = 0;
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.execution.GetEventsForBlockIDsResponse)
}
// @@protoc_insertion_point(class_scope:flow.execution.GetEventsForBlockIDsResponse)
private static final org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse();
}
public static org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetEventsForBlockIDsResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetEventsForBlockIDsResponse(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.execution.Execution.GetEventsForBlockIDsResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetEventsForBlockIDsRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:flow.execution.GetEventsForBlockIDsRequest)
com.google.protobuf.MessageOrBuilder {
/**
* string type = 1;
* @return The type.
*/
java.lang.String getType();
/**
* string type = 1;
* @return The bytes for type.
*/
com.google.protobuf.ByteString
getTypeBytes();
/**
* repeated bytes block_ids = 2;
* @return A list containing the blockIds.
*/
java.util.List getBlockIdsList();
/**
* repeated bytes block_ids = 2;
* @return The count of blockIds.
*/
int getBlockIdsCount();
/**
* repeated bytes block_ids = 2;
* @param index The index of the element to return.
* @return The blockIds at the given index.
*/
com.google.protobuf.ByteString getBlockIds(int index);
}
/**
* Protobuf type {@code flow.execution.GetEventsForBlockIDsRequest}
*/
public static final class GetEventsForBlockIDsRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flow.execution.GetEventsForBlockIDsRequest)
GetEventsForBlockIDsRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetEventsForBlockIDsRequest.newBuilder() to construct.
private GetEventsForBlockIDsRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetEventsForBlockIDsRequest() {
type_ = "";
blockIds_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetEventsForBlockIDsRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetEventsForBlockIDsRequest(
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: {
java.lang.String s = input.readStringRequireUtf8();
type_ = s;
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
blockIds_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
blockIds_.add(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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
blockIds_ = java.util.Collections.unmodifiableList(blockIds_); // C
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetEventsForBlockIDsRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetEventsForBlockIDsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsRequest.class, org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsRequest.Builder.class);
}
public static final int TYPE_FIELD_NUMBER = 1;
private volatile java.lang.Object type_;
/**
* string type = 1;
* @return The type.
*/
@java.lang.Override
public java.lang.String getType() {
java.lang.Object ref = type_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
type_ = s;
return s;
}
}
/**
* string type = 1;
* @return The bytes for type.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTypeBytes() {
java.lang.Object ref = type_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
type_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BLOCK_IDS_FIELD_NUMBER = 2;
private java.util.List blockIds_;
/**
* repeated bytes block_ids = 2;
* @return A list containing the blockIds.
*/
@java.lang.Override
public java.util.List
getBlockIdsList() {
return blockIds_;
}
/**
* repeated bytes block_ids = 2;
* @return The count of blockIds.
*/
public int getBlockIdsCount() {
return blockIds_.size();
}
/**
* repeated bytes block_ids = 2;
* @param index The index of the element to return.
* @return The blockIds at the given index.
*/
public com.google.protobuf.ByteString getBlockIds(int index) {
return blockIds_.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 (!getTypeBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_);
}
for (int i = 0; i < blockIds_.size(); i++) {
output.writeBytes(2, blockIds_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getTypeBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, type_);
}
{
int dataSize = 0;
for (int i = 0; i < blockIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(blockIds_.get(i));
}
size += dataSize;
size += 1 * getBlockIdsList().size();
}
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.execution.Execution.GetEventsForBlockIDsRequest)) {
return super.equals(obj);
}
org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsRequest other = (org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsRequest) obj;
if (!getType()
.equals(other.getType())) return false;
if (!getBlockIdsList()
.equals(other.getBlockIdsList())) 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().hashCode();
if (getBlockIdsCount() > 0) {
hash = (37 * hash) + BLOCK_IDS_FIELD_NUMBER;
hash = (53 * hash) + getBlockIdsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsRequest 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.execution.Execution.GetEventsForBlockIDsRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsRequest 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.execution.Execution.GetEventsForBlockIDsRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsRequest 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.execution.Execution.GetEventsForBlockIDsRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsRequest 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.execution.Execution.GetEventsForBlockIDsRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsRequest 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.execution.Execution.GetEventsForBlockIDsRequest 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;
}
/**
* Protobuf type {@code flow.execution.GetEventsForBlockIDsRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flow.execution.GetEventsForBlockIDsRequest)
org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetEventsForBlockIDsRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetEventsForBlockIDsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsRequest.class, org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsRequest.Builder.class);
}
// Construct using org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsRequest.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_ = "";
blockIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetEventsForBlockIDsRequest_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsRequest getDefaultInstanceForType() {
return org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsRequest.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsRequest build() {
org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsRequest buildPartial() {
org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsRequest result = new org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsRequest(this);
int from_bitField0_ = bitField0_;
result.type_ = type_;
if (((bitField0_ & 0x00000001) != 0)) {
blockIds_ = java.util.Collections.unmodifiableList(blockIds_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.blockIds_ = blockIds_;
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.execution.Execution.GetEventsForBlockIDsRequest) {
return mergeFrom((org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsRequest other) {
if (other == org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsRequest.getDefaultInstance()) return this;
if (!other.getType().isEmpty()) {
type_ = other.type_;
onChanged();
}
if (!other.blockIds_.isEmpty()) {
if (blockIds_.isEmpty()) {
blockIds_ = other.blockIds_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureBlockIdsIsMutable();
blockIds_.addAll(other.blockIds_);
}
onChanged();
}
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.execution.Execution.GetEventsForBlockIDsRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object type_ = "";
/**
* string type = 1;
* @return The type.
*/
public java.lang.String getType() {
java.lang.Object ref = type_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
type_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string type = 1;
* @return The bytes for type.
*/
public com.google.protobuf.ByteString
getTypeBytes() {
java.lang.Object ref = type_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
type_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string type = 1;
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
type_ = value;
onChanged();
return this;
}
/**
* string type = 1;
* @return This builder for chaining.
*/
public Builder clearType() {
type_ = getDefaultInstance().getType();
onChanged();
return this;
}
/**
* string type = 1;
* @param value The bytes for type to set.
* @return This builder for chaining.
*/
public Builder setTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
type_ = value;
onChanged();
return this;
}
private java.util.List blockIds_ = java.util.Collections.emptyList();
private void ensureBlockIdsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
blockIds_ = new java.util.ArrayList(blockIds_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated bytes block_ids = 2;
* @return A list containing the blockIds.
*/
public java.util.List
getBlockIdsList() {
return ((bitField0_ & 0x00000001) != 0) ?
java.util.Collections.unmodifiableList(blockIds_) : blockIds_;
}
/**
* repeated bytes block_ids = 2;
* @return The count of blockIds.
*/
public int getBlockIdsCount() {
return blockIds_.size();
}
/**
* repeated bytes block_ids = 2;
* @param index The index of the element to return.
* @return The blockIds at the given index.
*/
public com.google.protobuf.ByteString getBlockIds(int index) {
return blockIds_.get(index);
}
/**
* repeated bytes block_ids = 2;
* @param index The index to set the value at.
* @param value The blockIds to set.
* @return This builder for chaining.
*/
public Builder setBlockIds(
int index, com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureBlockIdsIsMutable();
blockIds_.set(index, value);
onChanged();
return this;
}
/**
* repeated bytes block_ids = 2;
* @param value The blockIds to add.
* @return This builder for chaining.
*/
public Builder addBlockIds(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureBlockIdsIsMutable();
blockIds_.add(value);
onChanged();
return this;
}
/**
* repeated bytes block_ids = 2;
* @param values The blockIds to add.
* @return This builder for chaining.
*/
public Builder addAllBlockIds(
java.lang.Iterable extends com.google.protobuf.ByteString> values) {
ensureBlockIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, blockIds_);
onChanged();
return this;
}
/**
* repeated bytes block_ids = 2;
* @return This builder for chaining.
*/
public Builder clearBlockIds() {
blockIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
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.execution.GetEventsForBlockIDsRequest)
}
// @@protoc_insertion_point(class_scope:flow.execution.GetEventsForBlockIDsRequest)
private static final org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsRequest();
}
public static org.onflow.protobuf.execution.Execution.GetEventsForBlockIDsRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetEventsForBlockIDsRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetEventsForBlockIDsRequest(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.execution.Execution.GetEventsForBlockIDsRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetTransactionResultRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:flow.execution.GetTransactionResultRequest)
com.google.protobuf.MessageOrBuilder {
/**
* bytes block_id = 1;
* @return The blockId.
*/
com.google.protobuf.ByteString getBlockId();
/**
* bytes transaction_id = 2;
* @return The transactionId.
*/
com.google.protobuf.ByteString getTransactionId();
}
/**
* Protobuf type {@code flow.execution.GetTransactionResultRequest}
*/
public static final class GetTransactionResultRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flow.execution.GetTransactionResultRequest)
GetTransactionResultRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetTransactionResultRequest.newBuilder() to construct.
private GetTransactionResultRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetTransactionResultRequest() {
blockId_ = com.google.protobuf.ByteString.EMPTY;
transactionId_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetTransactionResultRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetTransactionResultRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
blockId_ = input.readBytes();
break;
}
case 18: {
transactionId_ = 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.execution.Execution.internal_static_flow_execution_GetTransactionResultRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionResultRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetTransactionResultRequest.class, org.onflow.protobuf.execution.Execution.GetTransactionResultRequest.Builder.class);
}
public static final int BLOCK_ID_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString blockId_;
/**
* bytes block_id = 1;
* @return The blockId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getBlockId() {
return blockId_;
}
public static final int TRANSACTION_ID_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString transactionId_;
/**
* bytes transaction_id = 2;
* @return The transactionId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getTransactionId() {
return transactionId_;
}
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_);
}
if (!transactionId_.isEmpty()) {
output.writeBytes(2, transactionId_);
}
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_);
}
if (!transactionId_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, transactionId_);
}
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.execution.Execution.GetTransactionResultRequest)) {
return super.equals(obj);
}
org.onflow.protobuf.execution.Execution.GetTransactionResultRequest other = (org.onflow.protobuf.execution.Execution.GetTransactionResultRequest) obj;
if (!getBlockId()
.equals(other.getBlockId())) return false;
if (!getTransactionId()
.equals(other.getTransactionId())) 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();
hash = (37 * hash) + TRANSACTION_ID_FIELD_NUMBER;
hash = (53 * hash) + getTransactionId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.onflow.protobuf.execution.Execution.GetTransactionResultRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionResultRequest 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.execution.Execution.GetTransactionResultRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionResultRequest 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.execution.Execution.GetTransactionResultRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionResultRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionResultRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionResultRequest 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.execution.Execution.GetTransactionResultRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionResultRequest 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.execution.Execution.GetTransactionResultRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionResultRequest 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.execution.Execution.GetTransactionResultRequest 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;
}
/**
* Protobuf type {@code flow.execution.GetTransactionResultRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flow.execution.GetTransactionResultRequest)
org.onflow.protobuf.execution.Execution.GetTransactionResultRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionResultRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionResultRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetTransactionResultRequest.class, org.onflow.protobuf.execution.Execution.GetTransactionResultRequest.Builder.class);
}
// Construct using org.onflow.protobuf.execution.Execution.GetTransactionResultRequest.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();
blockId_ = com.google.protobuf.ByteString.EMPTY;
transactionId_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionResultRequest_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionResultRequest getDefaultInstanceForType() {
return org.onflow.protobuf.execution.Execution.GetTransactionResultRequest.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionResultRequest build() {
org.onflow.protobuf.execution.Execution.GetTransactionResultRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionResultRequest buildPartial() {
org.onflow.protobuf.execution.Execution.GetTransactionResultRequest result = new org.onflow.protobuf.execution.Execution.GetTransactionResultRequest(this);
result.blockId_ = blockId_;
result.transactionId_ = transactionId_;
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.execution.Execution.GetTransactionResultRequest) {
return mergeFrom((org.onflow.protobuf.execution.Execution.GetTransactionResultRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.execution.Execution.GetTransactionResultRequest other) {
if (other == org.onflow.protobuf.execution.Execution.GetTransactionResultRequest.getDefaultInstance()) return this;
if (other.getBlockId() != com.google.protobuf.ByteString.EMPTY) {
setBlockId(other.getBlockId());
}
if (other.getTransactionId() != com.google.protobuf.ByteString.EMPTY) {
setTransactionId(other.getTransactionId());
}
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.execution.Execution.GetTransactionResultRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.execution.Execution.GetTransactionResultRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.ByteString blockId_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes block_id = 1;
* @return The blockId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getBlockId() {
return blockId_;
}
/**
* bytes block_id = 1;
* @param value The blockId to set.
* @return This builder for chaining.
*/
public Builder setBlockId(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
blockId_ = value;
onChanged();
return this;
}
/**
* bytes block_id = 1;
* @return This builder for chaining.
*/
public Builder clearBlockId() {
blockId_ = getDefaultInstance().getBlockId();
onChanged();
return this;
}
private com.google.protobuf.ByteString transactionId_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes transaction_id = 2;
* @return The transactionId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getTransactionId() {
return transactionId_;
}
/**
* bytes transaction_id = 2;
* @param value The transactionId to set.
* @return This builder for chaining.
*/
public Builder setTransactionId(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
transactionId_ = value;
onChanged();
return this;
}
/**
* bytes transaction_id = 2;
* @return This builder for chaining.
*/
public Builder clearTransactionId() {
transactionId_ = getDefaultInstance().getTransactionId();
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.execution.GetTransactionResultRequest)
}
// @@protoc_insertion_point(class_scope:flow.execution.GetTransactionResultRequest)
private static final org.onflow.protobuf.execution.Execution.GetTransactionResultRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.execution.Execution.GetTransactionResultRequest();
}
public static org.onflow.protobuf.execution.Execution.GetTransactionResultRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetTransactionResultRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetTransactionResultRequest(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.execution.Execution.GetTransactionResultRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetTransactionByIndexRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:flow.execution.GetTransactionByIndexRequest)
com.google.protobuf.MessageOrBuilder {
/**
* bytes block_id = 1;
* @return The blockId.
*/
com.google.protobuf.ByteString getBlockId();
/**
* uint32 index = 2;
* @return The index.
*/
int getIndex();
}
/**
* Protobuf type {@code flow.execution.GetTransactionByIndexRequest}
*/
public static final class GetTransactionByIndexRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flow.execution.GetTransactionByIndexRequest)
GetTransactionByIndexRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetTransactionByIndexRequest.newBuilder() to construct.
private GetTransactionByIndexRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetTransactionByIndexRequest() {
blockId_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetTransactionByIndexRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetTransactionByIndexRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
blockId_ = input.readBytes();
break;
}
case 16: {
index_ = input.readUInt32();
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.execution.Execution.internal_static_flow_execution_GetTransactionByIndexRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionByIndexRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetTransactionByIndexRequest.class, org.onflow.protobuf.execution.Execution.GetTransactionByIndexRequest.Builder.class);
}
public static final int BLOCK_ID_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString blockId_;
/**
* bytes block_id = 1;
* @return The blockId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getBlockId() {
return blockId_;
}
public static final int INDEX_FIELD_NUMBER = 2;
private int index_;
/**
* uint32 index = 2;
* @return The index.
*/
@java.lang.Override
public int getIndex() {
return 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_);
}
if (index_ != 0) {
output.writeUInt32(2, index_);
}
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_);
}
if (index_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, index_);
}
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.execution.Execution.GetTransactionByIndexRequest)) {
return super.equals(obj);
}
org.onflow.protobuf.execution.Execution.GetTransactionByIndexRequest other = (org.onflow.protobuf.execution.Execution.GetTransactionByIndexRequest) obj;
if (!getBlockId()
.equals(other.getBlockId())) return false;
if (getIndex()
!= other.getIndex()) 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();
hash = (37 * hash) + INDEX_FIELD_NUMBER;
hash = (53 * hash) + getIndex();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.onflow.protobuf.execution.Execution.GetTransactionByIndexRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionByIndexRequest 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.execution.Execution.GetTransactionByIndexRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionByIndexRequest 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.execution.Execution.GetTransactionByIndexRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionByIndexRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionByIndexRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionByIndexRequest 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.execution.Execution.GetTransactionByIndexRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionByIndexRequest 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.execution.Execution.GetTransactionByIndexRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionByIndexRequest 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.execution.Execution.GetTransactionByIndexRequest 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;
}
/**
* Protobuf type {@code flow.execution.GetTransactionByIndexRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flow.execution.GetTransactionByIndexRequest)
org.onflow.protobuf.execution.Execution.GetTransactionByIndexRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionByIndexRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionByIndexRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetTransactionByIndexRequest.class, org.onflow.protobuf.execution.Execution.GetTransactionByIndexRequest.Builder.class);
}
// Construct using org.onflow.protobuf.execution.Execution.GetTransactionByIndexRequest.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();
blockId_ = com.google.protobuf.ByteString.EMPTY;
index_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionByIndexRequest_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionByIndexRequest getDefaultInstanceForType() {
return org.onflow.protobuf.execution.Execution.GetTransactionByIndexRequest.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionByIndexRequest build() {
org.onflow.protobuf.execution.Execution.GetTransactionByIndexRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionByIndexRequest buildPartial() {
org.onflow.protobuf.execution.Execution.GetTransactionByIndexRequest result = new org.onflow.protobuf.execution.Execution.GetTransactionByIndexRequest(this);
result.blockId_ = blockId_;
result.index_ = index_;
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.execution.Execution.GetTransactionByIndexRequest) {
return mergeFrom((org.onflow.protobuf.execution.Execution.GetTransactionByIndexRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.execution.Execution.GetTransactionByIndexRequest other) {
if (other == org.onflow.protobuf.execution.Execution.GetTransactionByIndexRequest.getDefaultInstance()) return this;
if (other.getBlockId() != com.google.protobuf.ByteString.EMPTY) {
setBlockId(other.getBlockId());
}
if (other.getIndex() != 0) {
setIndex(other.getIndex());
}
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.execution.Execution.GetTransactionByIndexRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.execution.Execution.GetTransactionByIndexRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.ByteString blockId_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes block_id = 1;
* @return The blockId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getBlockId() {
return blockId_;
}
/**
* bytes block_id = 1;
* @param value The blockId to set.
* @return This builder for chaining.
*/
public Builder setBlockId(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
blockId_ = value;
onChanged();
return this;
}
/**
* bytes block_id = 1;
* @return This builder for chaining.
*/
public Builder clearBlockId() {
blockId_ = getDefaultInstance().getBlockId();
onChanged();
return this;
}
private int index_ ;
/**
* uint32 index = 2;
* @return The index.
*/
@java.lang.Override
public int getIndex() {
return index_;
}
/**
* uint32 index = 2;
* @param value The index to set.
* @return This builder for chaining.
*/
public Builder setIndex(int value) {
index_ = value;
onChanged();
return this;
}
/**
* uint32 index = 2;
* @return This builder for chaining.
*/
public Builder clearIndex() {
index_ = 0;
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.execution.GetTransactionByIndexRequest)
}
// @@protoc_insertion_point(class_scope:flow.execution.GetTransactionByIndexRequest)
private static final org.onflow.protobuf.execution.Execution.GetTransactionByIndexRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.execution.Execution.GetTransactionByIndexRequest();
}
public static org.onflow.protobuf.execution.Execution.GetTransactionByIndexRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetTransactionByIndexRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetTransactionByIndexRequest(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.execution.Execution.GetTransactionByIndexRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetTransactionResultResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:flow.execution.GetTransactionResultResponse)
com.google.protobuf.MessageOrBuilder {
/**
* uint32 status_code = 1;
* @return The statusCode.
*/
int getStatusCode();
/**
* string error_message = 2;
* @return The errorMessage.
*/
java.lang.String getErrorMessage();
/**
* string error_message = 2;
* @return The bytes for errorMessage.
*/
com.google.protobuf.ByteString
getErrorMessageBytes();
/**
* repeated .flow.entities.Event events = 3;
*/
java.util.List
getEventsList();
/**
* repeated .flow.entities.Event events = 3;
*/
org.onflow.protobuf.entities.EventOuterClass.Event getEvents(int index);
/**
* repeated .flow.entities.Event events = 3;
*/
int getEventsCount();
/**
* repeated .flow.entities.Event events = 3;
*/
java.util.List extends org.onflow.protobuf.entities.EventOuterClass.EventOrBuilder>
getEventsOrBuilderList();
/**
* repeated .flow.entities.Event events = 3;
*/
org.onflow.protobuf.entities.EventOuterClass.EventOrBuilder getEventsOrBuilder(
int index);
/**
* .flow.entities.EventEncodingVersion event_encoding_version = 4;
* @return The enum numeric value on the wire for eventEncodingVersion.
*/
int getEventEncodingVersionValue();
/**
* .flow.entities.EventEncodingVersion event_encoding_version = 4;
* @return The eventEncodingVersion.
*/
org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion getEventEncodingVersion();
/**
* uint64 computation_usage = 5;
* @return The computationUsage.
*/
long getComputationUsage();
}
/**
* Protobuf type {@code flow.execution.GetTransactionResultResponse}
*/
public static final class GetTransactionResultResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flow.execution.GetTransactionResultResponse)
GetTransactionResultResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetTransactionResultResponse.newBuilder() to construct.
private GetTransactionResultResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetTransactionResultResponse() {
errorMessage_ = "";
events_ = java.util.Collections.emptyList();
eventEncodingVersion_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetTransactionResultResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetTransactionResultResponse(
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 8: {
statusCode_ = input.readUInt32();
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
errorMessage_ = s;
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
events_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
events_.add(
input.readMessage(org.onflow.protobuf.entities.EventOuterClass.Event.parser(), extensionRegistry));
break;
}
case 32: {
int rawValue = input.readEnum();
eventEncodingVersion_ = rawValue;
break;
}
case 40: {
computationUsage_ = input.readUInt64();
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)) {
events_ = java.util.Collections.unmodifiableList(events_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionResultResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionResultResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetTransactionResultResponse.class, org.onflow.protobuf.execution.Execution.GetTransactionResultResponse.Builder.class);
}
public static final int STATUS_CODE_FIELD_NUMBER = 1;
private int statusCode_;
/**
* uint32 status_code = 1;
* @return The statusCode.
*/
@java.lang.Override
public int getStatusCode() {
return statusCode_;
}
public static final int ERROR_MESSAGE_FIELD_NUMBER = 2;
private volatile java.lang.Object errorMessage_;
/**
* string error_message = 2;
* @return The errorMessage.
*/
@java.lang.Override
public java.lang.String getErrorMessage() {
java.lang.Object ref = errorMessage_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
errorMessage_ = s;
return s;
}
}
/**
* string error_message = 2;
* @return The bytes for errorMessage.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getErrorMessageBytes() {
java.lang.Object ref = errorMessage_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
errorMessage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int EVENTS_FIELD_NUMBER = 3;
private java.util.List events_;
/**
* repeated .flow.entities.Event events = 3;
*/
@java.lang.Override
public java.util.List getEventsList() {
return events_;
}
/**
* repeated .flow.entities.Event events = 3;
*/
@java.lang.Override
public java.util.List extends org.onflow.protobuf.entities.EventOuterClass.EventOrBuilder>
getEventsOrBuilderList() {
return events_;
}
/**
* repeated .flow.entities.Event events = 3;
*/
@java.lang.Override
public int getEventsCount() {
return events_.size();
}
/**
* repeated .flow.entities.Event events = 3;
*/
@java.lang.Override
public org.onflow.protobuf.entities.EventOuterClass.Event getEvents(int index) {
return events_.get(index);
}
/**
* repeated .flow.entities.Event events = 3;
*/
@java.lang.Override
public org.onflow.protobuf.entities.EventOuterClass.EventOrBuilder getEventsOrBuilder(
int index) {
return events_.get(index);
}
public static final int EVENT_ENCODING_VERSION_FIELD_NUMBER = 4;
private int eventEncodingVersion_;
/**
* .flow.entities.EventEncodingVersion event_encoding_version = 4;
* @return The enum numeric value on the wire for eventEncodingVersion.
*/
@java.lang.Override public int getEventEncodingVersionValue() {
return eventEncodingVersion_;
}
/**
* .flow.entities.EventEncodingVersion event_encoding_version = 4;
* @return The eventEncodingVersion.
*/
@java.lang.Override public org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion getEventEncodingVersion() {
@SuppressWarnings("deprecation")
org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion result = org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.valueOf(eventEncodingVersion_);
return result == null ? org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.UNRECOGNIZED : result;
}
public static final int COMPUTATION_USAGE_FIELD_NUMBER = 5;
private long computationUsage_;
/**
* uint64 computation_usage = 5;
* @return The computationUsage.
*/
@java.lang.Override
public long getComputationUsage() {
return computationUsage_;
}
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 (statusCode_ != 0) {
output.writeUInt32(1, statusCode_);
}
if (!getErrorMessageBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, errorMessage_);
}
for (int i = 0; i < events_.size(); i++) {
output.writeMessage(3, events_.get(i));
}
if (eventEncodingVersion_ != org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.JSON_CDC_V0.getNumber()) {
output.writeEnum(4, eventEncodingVersion_);
}
if (computationUsage_ != 0L) {
output.writeUInt64(5, computationUsage_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (statusCode_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, statusCode_);
}
if (!getErrorMessageBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, errorMessage_);
}
for (int i = 0; i < events_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, events_.get(i));
}
if (eventEncodingVersion_ != org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.JSON_CDC_V0.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(4, eventEncodingVersion_);
}
if (computationUsage_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(5, computationUsage_);
}
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.execution.Execution.GetTransactionResultResponse)) {
return super.equals(obj);
}
org.onflow.protobuf.execution.Execution.GetTransactionResultResponse other = (org.onflow.protobuf.execution.Execution.GetTransactionResultResponse) obj;
if (getStatusCode()
!= other.getStatusCode()) return false;
if (!getErrorMessage()
.equals(other.getErrorMessage())) return false;
if (!getEventsList()
.equals(other.getEventsList())) return false;
if (eventEncodingVersion_ != other.eventEncodingVersion_) return false;
if (getComputationUsage()
!= other.getComputationUsage()) 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) + STATUS_CODE_FIELD_NUMBER;
hash = (53 * hash) + getStatusCode();
hash = (37 * hash) + ERROR_MESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getErrorMessage().hashCode();
if (getEventsCount() > 0) {
hash = (37 * hash) + EVENTS_FIELD_NUMBER;
hash = (53 * hash) + getEventsList().hashCode();
}
hash = (37 * hash) + EVENT_ENCODING_VERSION_FIELD_NUMBER;
hash = (53 * hash) + eventEncodingVersion_;
hash = (37 * hash) + COMPUTATION_USAGE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getComputationUsage());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.onflow.protobuf.execution.Execution.GetTransactionResultResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionResultResponse 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.execution.Execution.GetTransactionResultResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionResultResponse 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.execution.Execution.GetTransactionResultResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionResultResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionResultResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionResultResponse 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.execution.Execution.GetTransactionResultResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionResultResponse 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.execution.Execution.GetTransactionResultResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionResultResponse 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.execution.Execution.GetTransactionResultResponse 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;
}
/**
* Protobuf type {@code flow.execution.GetTransactionResultResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flow.execution.GetTransactionResultResponse)
org.onflow.protobuf.execution.Execution.GetTransactionResultResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionResultResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionResultResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetTransactionResultResponse.class, org.onflow.protobuf.execution.Execution.GetTransactionResultResponse.Builder.class);
}
// Construct using org.onflow.protobuf.execution.Execution.GetTransactionResultResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getEventsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
statusCode_ = 0;
errorMessage_ = "";
if (eventsBuilder_ == null) {
events_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
eventsBuilder_.clear();
}
eventEncodingVersion_ = 0;
computationUsage_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionResultResponse_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionResultResponse getDefaultInstanceForType() {
return org.onflow.protobuf.execution.Execution.GetTransactionResultResponse.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionResultResponse build() {
org.onflow.protobuf.execution.Execution.GetTransactionResultResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionResultResponse buildPartial() {
org.onflow.protobuf.execution.Execution.GetTransactionResultResponse result = new org.onflow.protobuf.execution.Execution.GetTransactionResultResponse(this);
int from_bitField0_ = bitField0_;
result.statusCode_ = statusCode_;
result.errorMessage_ = errorMessage_;
if (eventsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
events_ = java.util.Collections.unmodifiableList(events_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.events_ = events_;
} else {
result.events_ = eventsBuilder_.build();
}
result.eventEncodingVersion_ = eventEncodingVersion_;
result.computationUsage_ = computationUsage_;
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.execution.Execution.GetTransactionResultResponse) {
return mergeFrom((org.onflow.protobuf.execution.Execution.GetTransactionResultResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.execution.Execution.GetTransactionResultResponse other) {
if (other == org.onflow.protobuf.execution.Execution.GetTransactionResultResponse.getDefaultInstance()) return this;
if (other.getStatusCode() != 0) {
setStatusCode(other.getStatusCode());
}
if (!other.getErrorMessage().isEmpty()) {
errorMessage_ = other.errorMessage_;
onChanged();
}
if (eventsBuilder_ == null) {
if (!other.events_.isEmpty()) {
if (events_.isEmpty()) {
events_ = other.events_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureEventsIsMutable();
events_.addAll(other.events_);
}
onChanged();
}
} else {
if (!other.events_.isEmpty()) {
if (eventsBuilder_.isEmpty()) {
eventsBuilder_.dispose();
eventsBuilder_ = null;
events_ = other.events_;
bitField0_ = (bitField0_ & ~0x00000001);
eventsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getEventsFieldBuilder() : null;
} else {
eventsBuilder_.addAllMessages(other.events_);
}
}
}
if (other.eventEncodingVersion_ != 0) {
setEventEncodingVersionValue(other.getEventEncodingVersionValue());
}
if (other.getComputationUsage() != 0L) {
setComputationUsage(other.getComputationUsage());
}
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.execution.Execution.GetTransactionResultResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.execution.Execution.GetTransactionResultResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int statusCode_ ;
/**
* uint32 status_code = 1;
* @return The statusCode.
*/
@java.lang.Override
public int getStatusCode() {
return statusCode_;
}
/**
* uint32 status_code = 1;
* @param value The statusCode to set.
* @return This builder for chaining.
*/
public Builder setStatusCode(int value) {
statusCode_ = value;
onChanged();
return this;
}
/**
* uint32 status_code = 1;
* @return This builder for chaining.
*/
public Builder clearStatusCode() {
statusCode_ = 0;
onChanged();
return this;
}
private java.lang.Object errorMessage_ = "";
/**
* string error_message = 2;
* @return The errorMessage.
*/
public java.lang.String getErrorMessage() {
java.lang.Object ref = errorMessage_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
errorMessage_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string error_message = 2;
* @return The bytes for errorMessage.
*/
public com.google.protobuf.ByteString
getErrorMessageBytes() {
java.lang.Object ref = errorMessage_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
errorMessage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string error_message = 2;
* @param value The errorMessage to set.
* @return This builder for chaining.
*/
public Builder setErrorMessage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
errorMessage_ = value;
onChanged();
return this;
}
/**
* string error_message = 2;
* @return This builder for chaining.
*/
public Builder clearErrorMessage() {
errorMessage_ = getDefaultInstance().getErrorMessage();
onChanged();
return this;
}
/**
* string error_message = 2;
* @param value The bytes for errorMessage to set.
* @return This builder for chaining.
*/
public Builder setErrorMessageBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
errorMessage_ = value;
onChanged();
return this;
}
private java.util.List events_ =
java.util.Collections.emptyList();
private void ensureEventsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
events_ = new java.util.ArrayList(events_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.onflow.protobuf.entities.EventOuterClass.Event, org.onflow.protobuf.entities.EventOuterClass.Event.Builder, org.onflow.protobuf.entities.EventOuterClass.EventOrBuilder> eventsBuilder_;
/**
* repeated .flow.entities.Event events = 3;
*/
public java.util.List getEventsList() {
if (eventsBuilder_ == null) {
return java.util.Collections.unmodifiableList(events_);
} else {
return eventsBuilder_.getMessageList();
}
}
/**
* repeated .flow.entities.Event events = 3;
*/
public int getEventsCount() {
if (eventsBuilder_ == null) {
return events_.size();
} else {
return eventsBuilder_.getCount();
}
}
/**
* repeated .flow.entities.Event events = 3;
*/
public org.onflow.protobuf.entities.EventOuterClass.Event getEvents(int index) {
if (eventsBuilder_ == null) {
return events_.get(index);
} else {
return eventsBuilder_.getMessage(index);
}
}
/**
* repeated .flow.entities.Event events = 3;
*/
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;
}
/**
* repeated .flow.entities.Event events = 3;
*/
public Builder setEvents(
int index, org.onflow.protobuf.entities.EventOuterClass.Event.Builder builderForValue) {
if (eventsBuilder_ == null) {
ensureEventsIsMutable();
events_.set(index, builderForValue.build());
onChanged();
} else {
eventsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .flow.entities.Event events = 3;
*/
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;
}
/**
* repeated .flow.entities.Event events = 3;
*/
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;
}
/**
* repeated .flow.entities.Event events = 3;
*/
public Builder addEvents(
org.onflow.protobuf.entities.EventOuterClass.Event.Builder builderForValue) {
if (eventsBuilder_ == null) {
ensureEventsIsMutable();
events_.add(builderForValue.build());
onChanged();
} else {
eventsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .flow.entities.Event events = 3;
*/
public Builder addEvents(
int index, org.onflow.protobuf.entities.EventOuterClass.Event.Builder builderForValue) {
if (eventsBuilder_ == null) {
ensureEventsIsMutable();
events_.add(index, builderForValue.build());
onChanged();
} else {
eventsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .flow.entities.Event events = 3;
*/
public Builder addAllEvents(
java.lang.Iterable extends org.onflow.protobuf.entities.EventOuterClass.Event> values) {
if (eventsBuilder_ == null) {
ensureEventsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, events_);
onChanged();
} else {
eventsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .flow.entities.Event events = 3;
*/
public Builder clearEvents() {
if (eventsBuilder_ == null) {
events_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
eventsBuilder_.clear();
}
return this;
}
/**
* repeated .flow.entities.Event events = 3;
*/
public Builder removeEvents(int index) {
if (eventsBuilder_ == null) {
ensureEventsIsMutable();
events_.remove(index);
onChanged();
} else {
eventsBuilder_.remove(index);
}
return this;
}
/**
* repeated .flow.entities.Event events = 3;
*/
public org.onflow.protobuf.entities.EventOuterClass.Event.Builder getEventsBuilder(
int index) {
return getEventsFieldBuilder().getBuilder(index);
}
/**
* repeated .flow.entities.Event events = 3;
*/
public org.onflow.protobuf.entities.EventOuterClass.EventOrBuilder getEventsOrBuilder(
int index) {
if (eventsBuilder_ == null) {
return events_.get(index); } else {
return eventsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .flow.entities.Event events = 3;
*/
public java.util.List extends org.onflow.protobuf.entities.EventOuterClass.EventOrBuilder>
getEventsOrBuilderList() {
if (eventsBuilder_ != null) {
return eventsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(events_);
}
}
/**
* repeated .flow.entities.Event events = 3;
*/
public org.onflow.protobuf.entities.EventOuterClass.Event.Builder addEventsBuilder() {
return getEventsFieldBuilder().addBuilder(
org.onflow.protobuf.entities.EventOuterClass.Event.getDefaultInstance());
}
/**
* repeated .flow.entities.Event events = 3;
*/
public org.onflow.protobuf.entities.EventOuterClass.Event.Builder addEventsBuilder(
int index) {
return getEventsFieldBuilder().addBuilder(
index, org.onflow.protobuf.entities.EventOuterClass.Event.getDefaultInstance());
}
/**
* repeated .flow.entities.Event events = 3;
*/
public java.util.List
getEventsBuilderList() {
return getEventsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.onflow.protobuf.entities.EventOuterClass.Event, org.onflow.protobuf.entities.EventOuterClass.Event.Builder, org.onflow.protobuf.entities.EventOuterClass.EventOrBuilder>
getEventsFieldBuilder() {
if (eventsBuilder_ == null) {
eventsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.onflow.protobuf.entities.EventOuterClass.Event, org.onflow.protobuf.entities.EventOuterClass.Event.Builder, org.onflow.protobuf.entities.EventOuterClass.EventOrBuilder>(
events_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
events_ = null;
}
return eventsBuilder_;
}
private int eventEncodingVersion_ = 0;
/**
* .flow.entities.EventEncodingVersion event_encoding_version = 4;
* @return The enum numeric value on the wire for eventEncodingVersion.
*/
@java.lang.Override public int getEventEncodingVersionValue() {
return eventEncodingVersion_;
}
/**
* .flow.entities.EventEncodingVersion event_encoding_version = 4;
* @param value The enum numeric value on the wire for eventEncodingVersion to set.
* @return This builder for chaining.
*/
public Builder setEventEncodingVersionValue(int value) {
eventEncodingVersion_ = value;
onChanged();
return this;
}
/**
* .flow.entities.EventEncodingVersion event_encoding_version = 4;
* @return The eventEncodingVersion.
*/
@java.lang.Override
public org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion getEventEncodingVersion() {
@SuppressWarnings("deprecation")
org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion result = org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.valueOf(eventEncodingVersion_);
return result == null ? org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.UNRECOGNIZED : result;
}
/**
* .flow.entities.EventEncodingVersion event_encoding_version = 4;
* @param value The eventEncodingVersion to set.
* @return This builder for chaining.
*/
public Builder setEventEncodingVersion(org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion value) {
if (value == null) {
throw new NullPointerException();
}
eventEncodingVersion_ = value.getNumber();
onChanged();
return this;
}
/**
* .flow.entities.EventEncodingVersion event_encoding_version = 4;
* @return This builder for chaining.
*/
public Builder clearEventEncodingVersion() {
eventEncodingVersion_ = 0;
onChanged();
return this;
}
private long computationUsage_ ;
/**
* uint64 computation_usage = 5;
* @return The computationUsage.
*/
@java.lang.Override
public long getComputationUsage() {
return computationUsage_;
}
/**
* uint64 computation_usage = 5;
* @param value The computationUsage to set.
* @return This builder for chaining.
*/
public Builder setComputationUsage(long value) {
computationUsage_ = value;
onChanged();
return this;
}
/**
* uint64 computation_usage = 5;
* @return This builder for chaining.
*/
public Builder clearComputationUsage() {
computationUsage_ = 0L;
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.execution.GetTransactionResultResponse)
}
// @@protoc_insertion_point(class_scope:flow.execution.GetTransactionResultResponse)
private static final org.onflow.protobuf.execution.Execution.GetTransactionResultResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.execution.Execution.GetTransactionResultResponse();
}
public static org.onflow.protobuf.execution.Execution.GetTransactionResultResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetTransactionResultResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetTransactionResultResponse(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.execution.Execution.GetTransactionResultResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetTransactionsByBlockIDRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:flow.execution.GetTransactionsByBlockIDRequest)
com.google.protobuf.MessageOrBuilder {
/**
* bytes block_id = 1;
* @return The blockId.
*/
com.google.protobuf.ByteString getBlockId();
}
/**
* Protobuf type {@code flow.execution.GetTransactionsByBlockIDRequest}
*/
public static final class GetTransactionsByBlockIDRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flow.execution.GetTransactionsByBlockIDRequest)
GetTransactionsByBlockIDRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetTransactionsByBlockIDRequest.newBuilder() to construct.
private GetTransactionsByBlockIDRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetTransactionsByBlockIDRequest() {
blockId_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetTransactionsByBlockIDRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetTransactionsByBlockIDRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
blockId_ = 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.execution.Execution.internal_static_flow_execution_GetTransactionsByBlockIDRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionsByBlockIDRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetTransactionsByBlockIDRequest.class, org.onflow.protobuf.execution.Execution.GetTransactionsByBlockIDRequest.Builder.class);
}
public static final int BLOCK_ID_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString blockId_;
/**
* bytes block_id = 1;
* @return The blockId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getBlockId() {
return blockId_;
}
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_);
}
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_);
}
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.execution.Execution.GetTransactionsByBlockIDRequest)) {
return super.equals(obj);
}
org.onflow.protobuf.execution.Execution.GetTransactionsByBlockIDRequest other = (org.onflow.protobuf.execution.Execution.GetTransactionsByBlockIDRequest) obj;
if (!getBlockId()
.equals(other.getBlockId())) 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();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.onflow.protobuf.execution.Execution.GetTransactionsByBlockIDRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionsByBlockIDRequest 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.execution.Execution.GetTransactionsByBlockIDRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionsByBlockIDRequest 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.execution.Execution.GetTransactionsByBlockIDRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionsByBlockIDRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionsByBlockIDRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionsByBlockIDRequest 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.execution.Execution.GetTransactionsByBlockIDRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionsByBlockIDRequest 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.execution.Execution.GetTransactionsByBlockIDRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionsByBlockIDRequest 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.execution.Execution.GetTransactionsByBlockIDRequest 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;
}
/**
* Protobuf type {@code flow.execution.GetTransactionsByBlockIDRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flow.execution.GetTransactionsByBlockIDRequest)
org.onflow.protobuf.execution.Execution.GetTransactionsByBlockIDRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionsByBlockIDRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionsByBlockIDRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetTransactionsByBlockIDRequest.class, org.onflow.protobuf.execution.Execution.GetTransactionsByBlockIDRequest.Builder.class);
}
// Construct using org.onflow.protobuf.execution.Execution.GetTransactionsByBlockIDRequest.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();
blockId_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionsByBlockIDRequest_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionsByBlockIDRequest getDefaultInstanceForType() {
return org.onflow.protobuf.execution.Execution.GetTransactionsByBlockIDRequest.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionsByBlockIDRequest build() {
org.onflow.protobuf.execution.Execution.GetTransactionsByBlockIDRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionsByBlockIDRequest buildPartial() {
org.onflow.protobuf.execution.Execution.GetTransactionsByBlockIDRequest result = new org.onflow.protobuf.execution.Execution.GetTransactionsByBlockIDRequest(this);
result.blockId_ = blockId_;
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.execution.Execution.GetTransactionsByBlockIDRequest) {
return mergeFrom((org.onflow.protobuf.execution.Execution.GetTransactionsByBlockIDRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.execution.Execution.GetTransactionsByBlockIDRequest other) {
if (other == org.onflow.protobuf.execution.Execution.GetTransactionsByBlockIDRequest.getDefaultInstance()) return this;
if (other.getBlockId() != com.google.protobuf.ByteString.EMPTY) {
setBlockId(other.getBlockId());
}
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.execution.Execution.GetTransactionsByBlockIDRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.execution.Execution.GetTransactionsByBlockIDRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.ByteString blockId_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes block_id = 1;
* @return The blockId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getBlockId() {
return blockId_;
}
/**
* bytes block_id = 1;
* @param value The blockId to set.
* @return This builder for chaining.
*/
public Builder setBlockId(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
blockId_ = value;
onChanged();
return this;
}
/**
* bytes block_id = 1;
* @return This builder for chaining.
*/
public Builder clearBlockId() {
blockId_ = getDefaultInstance().getBlockId();
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.execution.GetTransactionsByBlockIDRequest)
}
// @@protoc_insertion_point(class_scope:flow.execution.GetTransactionsByBlockIDRequest)
private static final org.onflow.protobuf.execution.Execution.GetTransactionsByBlockIDRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.execution.Execution.GetTransactionsByBlockIDRequest();
}
public static org.onflow.protobuf.execution.Execution.GetTransactionsByBlockIDRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetTransactionsByBlockIDRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetTransactionsByBlockIDRequest(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.execution.Execution.GetTransactionsByBlockIDRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetTransactionResultsResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:flow.execution.GetTransactionResultsResponse)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .flow.execution.GetTransactionResultResponse transaction_results = 1;
*/
java.util.List
getTransactionResultsList();
/**
* repeated .flow.execution.GetTransactionResultResponse transaction_results = 1;
*/
org.onflow.protobuf.execution.Execution.GetTransactionResultResponse getTransactionResults(int index);
/**
* repeated .flow.execution.GetTransactionResultResponse transaction_results = 1;
*/
int getTransactionResultsCount();
/**
* repeated .flow.execution.GetTransactionResultResponse transaction_results = 1;
*/
java.util.List extends org.onflow.protobuf.execution.Execution.GetTransactionResultResponseOrBuilder>
getTransactionResultsOrBuilderList();
/**
* repeated .flow.execution.GetTransactionResultResponse transaction_results = 1;
*/
org.onflow.protobuf.execution.Execution.GetTransactionResultResponseOrBuilder getTransactionResultsOrBuilder(
int index);
/**
* .flow.entities.EventEncodingVersion event_encoding_version = 2;
* @return The enum numeric value on the wire for eventEncodingVersion.
*/
int getEventEncodingVersionValue();
/**
* .flow.entities.EventEncodingVersion event_encoding_version = 2;
* @return The eventEncodingVersion.
*/
org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion getEventEncodingVersion();
}
/**
* Protobuf type {@code flow.execution.GetTransactionResultsResponse}
*/
public static final class GetTransactionResultsResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flow.execution.GetTransactionResultsResponse)
GetTransactionResultsResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetTransactionResultsResponse.newBuilder() to construct.
private GetTransactionResultsResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetTransactionResultsResponse() {
transactionResults_ = java.util.Collections.emptyList();
eventEncodingVersion_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetTransactionResultsResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetTransactionResultsResponse(
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)) {
transactionResults_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
transactionResults_.add(
input.readMessage(org.onflow.protobuf.execution.Execution.GetTransactionResultResponse.parser(), extensionRegistry));
break;
}
case 16: {
int rawValue = input.readEnum();
eventEncodingVersion_ = rawValue;
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)) {
transactionResults_ = java.util.Collections.unmodifiableList(transactionResults_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionResultsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionResultsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetTransactionResultsResponse.class, org.onflow.protobuf.execution.Execution.GetTransactionResultsResponse.Builder.class);
}
public static final int TRANSACTION_RESULTS_FIELD_NUMBER = 1;
private java.util.List transactionResults_;
/**
* repeated .flow.execution.GetTransactionResultResponse transaction_results = 1;
*/
@java.lang.Override
public java.util.List getTransactionResultsList() {
return transactionResults_;
}
/**
* repeated .flow.execution.GetTransactionResultResponse transaction_results = 1;
*/
@java.lang.Override
public java.util.List extends org.onflow.protobuf.execution.Execution.GetTransactionResultResponseOrBuilder>
getTransactionResultsOrBuilderList() {
return transactionResults_;
}
/**
* repeated .flow.execution.GetTransactionResultResponse transaction_results = 1;
*/
@java.lang.Override
public int getTransactionResultsCount() {
return transactionResults_.size();
}
/**
* repeated .flow.execution.GetTransactionResultResponse transaction_results = 1;
*/
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionResultResponse getTransactionResults(int index) {
return transactionResults_.get(index);
}
/**
* repeated .flow.execution.GetTransactionResultResponse transaction_results = 1;
*/
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionResultResponseOrBuilder getTransactionResultsOrBuilder(
int index) {
return transactionResults_.get(index);
}
public static final int EVENT_ENCODING_VERSION_FIELD_NUMBER = 2;
private int eventEncodingVersion_;
/**
* .flow.entities.EventEncodingVersion event_encoding_version = 2;
* @return The enum numeric value on the wire for eventEncodingVersion.
*/
@java.lang.Override public int getEventEncodingVersionValue() {
return eventEncodingVersion_;
}
/**
* .flow.entities.EventEncodingVersion event_encoding_version = 2;
* @return The eventEncodingVersion.
*/
@java.lang.Override public org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion getEventEncodingVersion() {
@SuppressWarnings("deprecation")
org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion result = org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.valueOf(eventEncodingVersion_);
return result == null ? org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.UNRECOGNIZED : result;
}
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 < transactionResults_.size(); i++) {
output.writeMessage(1, transactionResults_.get(i));
}
if (eventEncodingVersion_ != org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.JSON_CDC_V0.getNumber()) {
output.writeEnum(2, eventEncodingVersion_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < transactionResults_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, transactionResults_.get(i));
}
if (eventEncodingVersion_ != org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.JSON_CDC_V0.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, eventEncodingVersion_);
}
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.execution.Execution.GetTransactionResultsResponse)) {
return super.equals(obj);
}
org.onflow.protobuf.execution.Execution.GetTransactionResultsResponse other = (org.onflow.protobuf.execution.Execution.GetTransactionResultsResponse) obj;
if (!getTransactionResultsList()
.equals(other.getTransactionResultsList())) return false;
if (eventEncodingVersion_ != other.eventEncodingVersion_) 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 (getTransactionResultsCount() > 0) {
hash = (37 * hash) + TRANSACTION_RESULTS_FIELD_NUMBER;
hash = (53 * hash) + getTransactionResultsList().hashCode();
}
hash = (37 * hash) + EVENT_ENCODING_VERSION_FIELD_NUMBER;
hash = (53 * hash) + eventEncodingVersion_;
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.onflow.protobuf.execution.Execution.GetTransactionResultsResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionResultsResponse 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.execution.Execution.GetTransactionResultsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionResultsResponse 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.execution.Execution.GetTransactionResultsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionResultsResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionResultsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionResultsResponse 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.execution.Execution.GetTransactionResultsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionResultsResponse 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.execution.Execution.GetTransactionResultsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionResultsResponse 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.execution.Execution.GetTransactionResultsResponse 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;
}
/**
* Protobuf type {@code flow.execution.GetTransactionResultsResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flow.execution.GetTransactionResultsResponse)
org.onflow.protobuf.execution.Execution.GetTransactionResultsResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionResultsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionResultsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetTransactionResultsResponse.class, org.onflow.protobuf.execution.Execution.GetTransactionResultsResponse.Builder.class);
}
// Construct using org.onflow.protobuf.execution.Execution.GetTransactionResultsResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getTransactionResultsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (transactionResultsBuilder_ == null) {
transactionResults_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
transactionResultsBuilder_.clear();
}
eventEncodingVersion_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionResultsResponse_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionResultsResponse getDefaultInstanceForType() {
return org.onflow.protobuf.execution.Execution.GetTransactionResultsResponse.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionResultsResponse build() {
org.onflow.protobuf.execution.Execution.GetTransactionResultsResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionResultsResponse buildPartial() {
org.onflow.protobuf.execution.Execution.GetTransactionResultsResponse result = new org.onflow.protobuf.execution.Execution.GetTransactionResultsResponse(this);
int from_bitField0_ = bitField0_;
if (transactionResultsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
transactionResults_ = java.util.Collections.unmodifiableList(transactionResults_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.transactionResults_ = transactionResults_;
} else {
result.transactionResults_ = transactionResultsBuilder_.build();
}
result.eventEncodingVersion_ = eventEncodingVersion_;
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.execution.Execution.GetTransactionResultsResponse) {
return mergeFrom((org.onflow.protobuf.execution.Execution.GetTransactionResultsResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.execution.Execution.GetTransactionResultsResponse other) {
if (other == org.onflow.protobuf.execution.Execution.GetTransactionResultsResponse.getDefaultInstance()) return this;
if (transactionResultsBuilder_ == null) {
if (!other.transactionResults_.isEmpty()) {
if (transactionResults_.isEmpty()) {
transactionResults_ = other.transactionResults_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTransactionResultsIsMutable();
transactionResults_.addAll(other.transactionResults_);
}
onChanged();
}
} else {
if (!other.transactionResults_.isEmpty()) {
if (transactionResultsBuilder_.isEmpty()) {
transactionResultsBuilder_.dispose();
transactionResultsBuilder_ = null;
transactionResults_ = other.transactionResults_;
bitField0_ = (bitField0_ & ~0x00000001);
transactionResultsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTransactionResultsFieldBuilder() : null;
} else {
transactionResultsBuilder_.addAllMessages(other.transactionResults_);
}
}
}
if (other.eventEncodingVersion_ != 0) {
setEventEncodingVersionValue(other.getEventEncodingVersionValue());
}
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.execution.Execution.GetTransactionResultsResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.execution.Execution.GetTransactionResultsResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List transactionResults_ =
java.util.Collections.emptyList();
private void ensureTransactionResultsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
transactionResults_ = new java.util.ArrayList(transactionResults_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.onflow.protobuf.execution.Execution.GetTransactionResultResponse, org.onflow.protobuf.execution.Execution.GetTransactionResultResponse.Builder, org.onflow.protobuf.execution.Execution.GetTransactionResultResponseOrBuilder> transactionResultsBuilder_;
/**
* repeated .flow.execution.GetTransactionResultResponse transaction_results = 1;
*/
public java.util.List getTransactionResultsList() {
if (transactionResultsBuilder_ == null) {
return java.util.Collections.unmodifiableList(transactionResults_);
} else {
return transactionResultsBuilder_.getMessageList();
}
}
/**
* repeated .flow.execution.GetTransactionResultResponse transaction_results = 1;
*/
public int getTransactionResultsCount() {
if (transactionResultsBuilder_ == null) {
return transactionResults_.size();
} else {
return transactionResultsBuilder_.getCount();
}
}
/**
* repeated .flow.execution.GetTransactionResultResponse transaction_results = 1;
*/
public org.onflow.protobuf.execution.Execution.GetTransactionResultResponse getTransactionResults(int index) {
if (transactionResultsBuilder_ == null) {
return transactionResults_.get(index);
} else {
return transactionResultsBuilder_.getMessage(index);
}
}
/**
* repeated .flow.execution.GetTransactionResultResponse transaction_results = 1;
*/
public Builder setTransactionResults(
int index, org.onflow.protobuf.execution.Execution.GetTransactionResultResponse value) {
if (transactionResultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTransactionResultsIsMutable();
transactionResults_.set(index, value);
onChanged();
} else {
transactionResultsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .flow.execution.GetTransactionResultResponse transaction_results = 1;
*/
public Builder setTransactionResults(
int index, org.onflow.protobuf.execution.Execution.GetTransactionResultResponse.Builder builderForValue) {
if (transactionResultsBuilder_ == null) {
ensureTransactionResultsIsMutable();
transactionResults_.set(index, builderForValue.build());
onChanged();
} else {
transactionResultsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .flow.execution.GetTransactionResultResponse transaction_results = 1;
*/
public Builder addTransactionResults(org.onflow.protobuf.execution.Execution.GetTransactionResultResponse value) {
if (transactionResultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTransactionResultsIsMutable();
transactionResults_.add(value);
onChanged();
} else {
transactionResultsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .flow.execution.GetTransactionResultResponse transaction_results = 1;
*/
public Builder addTransactionResults(
int index, org.onflow.protobuf.execution.Execution.GetTransactionResultResponse value) {
if (transactionResultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTransactionResultsIsMutable();
transactionResults_.add(index, value);
onChanged();
} else {
transactionResultsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .flow.execution.GetTransactionResultResponse transaction_results = 1;
*/
public Builder addTransactionResults(
org.onflow.protobuf.execution.Execution.GetTransactionResultResponse.Builder builderForValue) {
if (transactionResultsBuilder_ == null) {
ensureTransactionResultsIsMutable();
transactionResults_.add(builderForValue.build());
onChanged();
} else {
transactionResultsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .flow.execution.GetTransactionResultResponse transaction_results = 1;
*/
public Builder addTransactionResults(
int index, org.onflow.protobuf.execution.Execution.GetTransactionResultResponse.Builder builderForValue) {
if (transactionResultsBuilder_ == null) {
ensureTransactionResultsIsMutable();
transactionResults_.add(index, builderForValue.build());
onChanged();
} else {
transactionResultsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .flow.execution.GetTransactionResultResponse transaction_results = 1;
*/
public Builder addAllTransactionResults(
java.lang.Iterable extends org.onflow.protobuf.execution.Execution.GetTransactionResultResponse> values) {
if (transactionResultsBuilder_ == null) {
ensureTransactionResultsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, transactionResults_);
onChanged();
} else {
transactionResultsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .flow.execution.GetTransactionResultResponse transaction_results = 1;
*/
public Builder clearTransactionResults() {
if (transactionResultsBuilder_ == null) {
transactionResults_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
transactionResultsBuilder_.clear();
}
return this;
}
/**
* repeated .flow.execution.GetTransactionResultResponse transaction_results = 1;
*/
public Builder removeTransactionResults(int index) {
if (transactionResultsBuilder_ == null) {
ensureTransactionResultsIsMutable();
transactionResults_.remove(index);
onChanged();
} else {
transactionResultsBuilder_.remove(index);
}
return this;
}
/**
* repeated .flow.execution.GetTransactionResultResponse transaction_results = 1;
*/
public org.onflow.protobuf.execution.Execution.GetTransactionResultResponse.Builder getTransactionResultsBuilder(
int index) {
return getTransactionResultsFieldBuilder().getBuilder(index);
}
/**
* repeated .flow.execution.GetTransactionResultResponse transaction_results = 1;
*/
public org.onflow.protobuf.execution.Execution.GetTransactionResultResponseOrBuilder getTransactionResultsOrBuilder(
int index) {
if (transactionResultsBuilder_ == null) {
return transactionResults_.get(index); } else {
return transactionResultsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .flow.execution.GetTransactionResultResponse transaction_results = 1;
*/
public java.util.List extends org.onflow.protobuf.execution.Execution.GetTransactionResultResponseOrBuilder>
getTransactionResultsOrBuilderList() {
if (transactionResultsBuilder_ != null) {
return transactionResultsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(transactionResults_);
}
}
/**
* repeated .flow.execution.GetTransactionResultResponse transaction_results = 1;
*/
public org.onflow.protobuf.execution.Execution.GetTransactionResultResponse.Builder addTransactionResultsBuilder() {
return getTransactionResultsFieldBuilder().addBuilder(
org.onflow.protobuf.execution.Execution.GetTransactionResultResponse.getDefaultInstance());
}
/**
* repeated .flow.execution.GetTransactionResultResponse transaction_results = 1;
*/
public org.onflow.protobuf.execution.Execution.GetTransactionResultResponse.Builder addTransactionResultsBuilder(
int index) {
return getTransactionResultsFieldBuilder().addBuilder(
index, org.onflow.protobuf.execution.Execution.GetTransactionResultResponse.getDefaultInstance());
}
/**
* repeated .flow.execution.GetTransactionResultResponse transaction_results = 1;
*/
public java.util.List
getTransactionResultsBuilderList() {
return getTransactionResultsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.onflow.protobuf.execution.Execution.GetTransactionResultResponse, org.onflow.protobuf.execution.Execution.GetTransactionResultResponse.Builder, org.onflow.protobuf.execution.Execution.GetTransactionResultResponseOrBuilder>
getTransactionResultsFieldBuilder() {
if (transactionResultsBuilder_ == null) {
transactionResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.onflow.protobuf.execution.Execution.GetTransactionResultResponse, org.onflow.protobuf.execution.Execution.GetTransactionResultResponse.Builder, org.onflow.protobuf.execution.Execution.GetTransactionResultResponseOrBuilder>(
transactionResults_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
transactionResults_ = null;
}
return transactionResultsBuilder_;
}
private int eventEncodingVersion_ = 0;
/**
* .flow.entities.EventEncodingVersion event_encoding_version = 2;
* @return The enum numeric value on the wire for eventEncodingVersion.
*/
@java.lang.Override public int getEventEncodingVersionValue() {
return eventEncodingVersion_;
}
/**
* .flow.entities.EventEncodingVersion event_encoding_version = 2;
* @param value The enum numeric value on the wire for eventEncodingVersion to set.
* @return This builder for chaining.
*/
public Builder setEventEncodingVersionValue(int value) {
eventEncodingVersion_ = value;
onChanged();
return this;
}
/**
* .flow.entities.EventEncodingVersion event_encoding_version = 2;
* @return The eventEncodingVersion.
*/
@java.lang.Override
public org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion getEventEncodingVersion() {
@SuppressWarnings("deprecation")
org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion result = org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.valueOf(eventEncodingVersion_);
return result == null ? org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion.UNRECOGNIZED : result;
}
/**
* .flow.entities.EventEncodingVersion event_encoding_version = 2;
* @param value The eventEncodingVersion to set.
* @return This builder for chaining.
*/
public Builder setEventEncodingVersion(org.onflow.protobuf.entities.EventOuterClass.EventEncodingVersion value) {
if (value == null) {
throw new NullPointerException();
}
eventEncodingVersion_ = value.getNumber();
onChanged();
return this;
}
/**
* .flow.entities.EventEncodingVersion event_encoding_version = 2;
* @return This builder for chaining.
*/
public Builder clearEventEncodingVersion() {
eventEncodingVersion_ = 0;
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.execution.GetTransactionResultsResponse)
}
// @@protoc_insertion_point(class_scope:flow.execution.GetTransactionResultsResponse)
private static final org.onflow.protobuf.execution.Execution.GetTransactionResultsResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.execution.Execution.GetTransactionResultsResponse();
}
public static org.onflow.protobuf.execution.Execution.GetTransactionResultsResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetTransactionResultsResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetTransactionResultsResponse(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.execution.Execution.GetTransactionResultsResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetTransactionErrorMessageRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:flow.execution.GetTransactionErrorMessageRequest)
com.google.protobuf.MessageOrBuilder {
/**
* bytes block_id = 1;
* @return The blockId.
*/
com.google.protobuf.ByteString getBlockId();
/**
* bytes transaction_id = 2;
* @return The transactionId.
*/
com.google.protobuf.ByteString getTransactionId();
}
/**
* Protobuf type {@code flow.execution.GetTransactionErrorMessageRequest}
*/
public static final class GetTransactionErrorMessageRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flow.execution.GetTransactionErrorMessageRequest)
GetTransactionErrorMessageRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetTransactionErrorMessageRequest.newBuilder() to construct.
private GetTransactionErrorMessageRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetTransactionErrorMessageRequest() {
blockId_ = com.google.protobuf.ByteString.EMPTY;
transactionId_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetTransactionErrorMessageRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetTransactionErrorMessageRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
blockId_ = input.readBytes();
break;
}
case 18: {
transactionId_ = 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.execution.Execution.internal_static_flow_execution_GetTransactionErrorMessageRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionErrorMessageRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageRequest.class, org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageRequest.Builder.class);
}
public static final int BLOCK_ID_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString blockId_;
/**
* bytes block_id = 1;
* @return The blockId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getBlockId() {
return blockId_;
}
public static final int TRANSACTION_ID_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString transactionId_;
/**
* bytes transaction_id = 2;
* @return The transactionId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getTransactionId() {
return transactionId_;
}
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_);
}
if (!transactionId_.isEmpty()) {
output.writeBytes(2, transactionId_);
}
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_);
}
if (!transactionId_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, transactionId_);
}
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.execution.Execution.GetTransactionErrorMessageRequest)) {
return super.equals(obj);
}
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageRequest other = (org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageRequest) obj;
if (!getBlockId()
.equals(other.getBlockId())) return false;
if (!getTransactionId()
.equals(other.getTransactionId())) 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();
hash = (37 * hash) + TRANSACTION_ID_FIELD_NUMBER;
hash = (53 * hash) + getTransactionId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageRequest 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.execution.Execution.GetTransactionErrorMessageRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageRequest 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.execution.Execution.GetTransactionErrorMessageRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageRequest 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.execution.Execution.GetTransactionErrorMessageRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageRequest 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.execution.Execution.GetTransactionErrorMessageRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageRequest 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.execution.Execution.GetTransactionErrorMessageRequest 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;
}
/**
* Protobuf type {@code flow.execution.GetTransactionErrorMessageRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flow.execution.GetTransactionErrorMessageRequest)
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionErrorMessageRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionErrorMessageRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageRequest.class, org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageRequest.Builder.class);
}
// Construct using org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageRequest.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();
blockId_ = com.google.protobuf.ByteString.EMPTY;
transactionId_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionErrorMessageRequest_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageRequest getDefaultInstanceForType() {
return org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageRequest.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageRequest build() {
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageRequest buildPartial() {
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageRequest result = new org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageRequest(this);
result.blockId_ = blockId_;
result.transactionId_ = transactionId_;
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.execution.Execution.GetTransactionErrorMessageRequest) {
return mergeFrom((org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageRequest other) {
if (other == org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageRequest.getDefaultInstance()) return this;
if (other.getBlockId() != com.google.protobuf.ByteString.EMPTY) {
setBlockId(other.getBlockId());
}
if (other.getTransactionId() != com.google.protobuf.ByteString.EMPTY) {
setTransactionId(other.getTransactionId());
}
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.execution.Execution.GetTransactionErrorMessageRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.ByteString blockId_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes block_id = 1;
* @return The blockId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getBlockId() {
return blockId_;
}
/**
* bytes block_id = 1;
* @param value The blockId to set.
* @return This builder for chaining.
*/
public Builder setBlockId(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
blockId_ = value;
onChanged();
return this;
}
/**
* bytes block_id = 1;
* @return This builder for chaining.
*/
public Builder clearBlockId() {
blockId_ = getDefaultInstance().getBlockId();
onChanged();
return this;
}
private com.google.protobuf.ByteString transactionId_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes transaction_id = 2;
* @return The transactionId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getTransactionId() {
return transactionId_;
}
/**
* bytes transaction_id = 2;
* @param value The transactionId to set.
* @return This builder for chaining.
*/
public Builder setTransactionId(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
transactionId_ = value;
onChanged();
return this;
}
/**
* bytes transaction_id = 2;
* @return This builder for chaining.
*/
public Builder clearTransactionId() {
transactionId_ = getDefaultInstance().getTransactionId();
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.execution.GetTransactionErrorMessageRequest)
}
// @@protoc_insertion_point(class_scope:flow.execution.GetTransactionErrorMessageRequest)
private static final org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageRequest();
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetTransactionErrorMessageRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetTransactionErrorMessageRequest(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.execution.Execution.GetTransactionErrorMessageRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetTransactionErrorMessageByIndexRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:flow.execution.GetTransactionErrorMessageByIndexRequest)
com.google.protobuf.MessageOrBuilder {
/**
* bytes block_id = 1;
* @return The blockId.
*/
com.google.protobuf.ByteString getBlockId();
/**
* uint32 index = 2;
* @return The index.
*/
int getIndex();
}
/**
* Protobuf type {@code flow.execution.GetTransactionErrorMessageByIndexRequest}
*/
public static final class GetTransactionErrorMessageByIndexRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flow.execution.GetTransactionErrorMessageByIndexRequest)
GetTransactionErrorMessageByIndexRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetTransactionErrorMessageByIndexRequest.newBuilder() to construct.
private GetTransactionErrorMessageByIndexRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetTransactionErrorMessageByIndexRequest() {
blockId_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetTransactionErrorMessageByIndexRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetTransactionErrorMessageByIndexRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
blockId_ = input.readBytes();
break;
}
case 16: {
index_ = input.readUInt32();
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.execution.Execution.internal_static_flow_execution_GetTransactionErrorMessageByIndexRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionErrorMessageByIndexRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageByIndexRequest.class, org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageByIndexRequest.Builder.class);
}
public static final int BLOCK_ID_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString blockId_;
/**
* bytes block_id = 1;
* @return The blockId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getBlockId() {
return blockId_;
}
public static final int INDEX_FIELD_NUMBER = 2;
private int index_;
/**
* uint32 index = 2;
* @return The index.
*/
@java.lang.Override
public int getIndex() {
return 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_);
}
if (index_ != 0) {
output.writeUInt32(2, index_);
}
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_);
}
if (index_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, index_);
}
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.execution.Execution.GetTransactionErrorMessageByIndexRequest)) {
return super.equals(obj);
}
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageByIndexRequest other = (org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageByIndexRequest) obj;
if (!getBlockId()
.equals(other.getBlockId())) return false;
if (getIndex()
!= other.getIndex()) 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();
hash = (37 * hash) + INDEX_FIELD_NUMBER;
hash = (53 * hash) + getIndex();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageByIndexRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageByIndexRequest 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.execution.Execution.GetTransactionErrorMessageByIndexRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageByIndexRequest 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.execution.Execution.GetTransactionErrorMessageByIndexRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageByIndexRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageByIndexRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageByIndexRequest 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.execution.Execution.GetTransactionErrorMessageByIndexRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageByIndexRequest 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.execution.Execution.GetTransactionErrorMessageByIndexRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageByIndexRequest 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.execution.Execution.GetTransactionErrorMessageByIndexRequest 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;
}
/**
* Protobuf type {@code flow.execution.GetTransactionErrorMessageByIndexRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flow.execution.GetTransactionErrorMessageByIndexRequest)
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageByIndexRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionErrorMessageByIndexRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionErrorMessageByIndexRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageByIndexRequest.class, org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageByIndexRequest.Builder.class);
}
// Construct using org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageByIndexRequest.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();
blockId_ = com.google.protobuf.ByteString.EMPTY;
index_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionErrorMessageByIndexRequest_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageByIndexRequest getDefaultInstanceForType() {
return org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageByIndexRequest.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageByIndexRequest build() {
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageByIndexRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageByIndexRequest buildPartial() {
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageByIndexRequest result = new org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageByIndexRequest(this);
result.blockId_ = blockId_;
result.index_ = index_;
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.execution.Execution.GetTransactionErrorMessageByIndexRequest) {
return mergeFrom((org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageByIndexRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageByIndexRequest other) {
if (other == org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageByIndexRequest.getDefaultInstance()) return this;
if (other.getBlockId() != com.google.protobuf.ByteString.EMPTY) {
setBlockId(other.getBlockId());
}
if (other.getIndex() != 0) {
setIndex(other.getIndex());
}
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.execution.Execution.GetTransactionErrorMessageByIndexRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageByIndexRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.ByteString blockId_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes block_id = 1;
* @return The blockId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getBlockId() {
return blockId_;
}
/**
* bytes block_id = 1;
* @param value The blockId to set.
* @return This builder for chaining.
*/
public Builder setBlockId(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
blockId_ = value;
onChanged();
return this;
}
/**
* bytes block_id = 1;
* @return This builder for chaining.
*/
public Builder clearBlockId() {
blockId_ = getDefaultInstance().getBlockId();
onChanged();
return this;
}
private int index_ ;
/**
* uint32 index = 2;
* @return The index.
*/
@java.lang.Override
public int getIndex() {
return index_;
}
/**
* uint32 index = 2;
* @param value The index to set.
* @return This builder for chaining.
*/
public Builder setIndex(int value) {
index_ = value;
onChanged();
return this;
}
/**
* uint32 index = 2;
* @return This builder for chaining.
*/
public Builder clearIndex() {
index_ = 0;
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.execution.GetTransactionErrorMessageByIndexRequest)
}
// @@protoc_insertion_point(class_scope:flow.execution.GetTransactionErrorMessageByIndexRequest)
private static final org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageByIndexRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageByIndexRequest();
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageByIndexRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetTransactionErrorMessageByIndexRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetTransactionErrorMessageByIndexRequest(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.execution.Execution.GetTransactionErrorMessageByIndexRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetTransactionErrorMessageResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:flow.execution.GetTransactionErrorMessageResponse)
com.google.protobuf.MessageOrBuilder {
/**
* bytes transaction_id = 1;
* @return The transactionId.
*/
com.google.protobuf.ByteString getTransactionId();
/**
* string error_message = 2;
* @return The errorMessage.
*/
java.lang.String getErrorMessage();
/**
* string error_message = 2;
* @return The bytes for errorMessage.
*/
com.google.protobuf.ByteString
getErrorMessageBytes();
}
/**
* Protobuf type {@code flow.execution.GetTransactionErrorMessageResponse}
*/
public static final class GetTransactionErrorMessageResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flow.execution.GetTransactionErrorMessageResponse)
GetTransactionErrorMessageResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetTransactionErrorMessageResponse.newBuilder() to construct.
private GetTransactionErrorMessageResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetTransactionErrorMessageResponse() {
transactionId_ = com.google.protobuf.ByteString.EMPTY;
errorMessage_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetTransactionErrorMessageResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetTransactionErrorMessageResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
transactionId_ = input.readBytes();
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
errorMessage_ = s;
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.execution.Execution.internal_static_flow_execution_GetTransactionErrorMessageResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionErrorMessageResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageResponse.class, org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageResponse.Builder.class);
}
public static final int TRANSACTION_ID_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString transactionId_;
/**
* bytes transaction_id = 1;
* @return The transactionId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getTransactionId() {
return transactionId_;
}
public static final int ERROR_MESSAGE_FIELD_NUMBER = 2;
private volatile java.lang.Object errorMessage_;
/**
* string error_message = 2;
* @return The errorMessage.
*/
@java.lang.Override
public java.lang.String getErrorMessage() {
java.lang.Object ref = errorMessage_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
errorMessage_ = s;
return s;
}
}
/**
* string error_message = 2;
* @return The bytes for errorMessage.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getErrorMessageBytes() {
java.lang.Object ref = errorMessage_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
errorMessage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (!transactionId_.isEmpty()) {
output.writeBytes(1, transactionId_);
}
if (!getErrorMessageBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, errorMessage_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!transactionId_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, transactionId_);
}
if (!getErrorMessageBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, errorMessage_);
}
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.execution.Execution.GetTransactionErrorMessageResponse)) {
return super.equals(obj);
}
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageResponse other = (org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageResponse) obj;
if (!getTransactionId()
.equals(other.getTransactionId())) return false;
if (!getErrorMessage()
.equals(other.getErrorMessage())) 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) + TRANSACTION_ID_FIELD_NUMBER;
hash = (53 * hash) + getTransactionId().hashCode();
hash = (37 * hash) + ERROR_MESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getErrorMessage().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageResponse 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.execution.Execution.GetTransactionErrorMessageResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageResponse 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.execution.Execution.GetTransactionErrorMessageResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageResponse 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.execution.Execution.GetTransactionErrorMessageResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageResponse 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.execution.Execution.GetTransactionErrorMessageResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageResponse 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.execution.Execution.GetTransactionErrorMessageResponse 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;
}
/**
* Protobuf type {@code flow.execution.GetTransactionErrorMessageResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flow.execution.GetTransactionErrorMessageResponse)
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionErrorMessageResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionErrorMessageResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageResponse.class, org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageResponse.Builder.class);
}
// Construct using org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageResponse.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();
transactionId_ = com.google.protobuf.ByteString.EMPTY;
errorMessage_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionErrorMessageResponse_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageResponse getDefaultInstanceForType() {
return org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageResponse.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageResponse build() {
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageResponse buildPartial() {
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageResponse result = new org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageResponse(this);
result.transactionId_ = transactionId_;
result.errorMessage_ = errorMessage_;
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.execution.Execution.GetTransactionErrorMessageResponse) {
return mergeFrom((org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageResponse other) {
if (other == org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageResponse.getDefaultInstance()) return this;
if (other.getTransactionId() != com.google.protobuf.ByteString.EMPTY) {
setTransactionId(other.getTransactionId());
}
if (!other.getErrorMessage().isEmpty()) {
errorMessage_ = other.errorMessage_;
onChanged();
}
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.execution.Execution.GetTransactionErrorMessageResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.ByteString transactionId_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes transaction_id = 1;
* @return The transactionId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getTransactionId() {
return transactionId_;
}
/**
* bytes transaction_id = 1;
* @param value The transactionId to set.
* @return This builder for chaining.
*/
public Builder setTransactionId(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
transactionId_ = value;
onChanged();
return this;
}
/**
* bytes transaction_id = 1;
* @return This builder for chaining.
*/
public Builder clearTransactionId() {
transactionId_ = getDefaultInstance().getTransactionId();
onChanged();
return this;
}
private java.lang.Object errorMessage_ = "";
/**
* string error_message = 2;
* @return The errorMessage.
*/
public java.lang.String getErrorMessage() {
java.lang.Object ref = errorMessage_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
errorMessage_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string error_message = 2;
* @return The bytes for errorMessage.
*/
public com.google.protobuf.ByteString
getErrorMessageBytes() {
java.lang.Object ref = errorMessage_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
errorMessage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string error_message = 2;
* @param value The errorMessage to set.
* @return This builder for chaining.
*/
public Builder setErrorMessage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
errorMessage_ = value;
onChanged();
return this;
}
/**
* string error_message = 2;
* @return This builder for chaining.
*/
public Builder clearErrorMessage() {
errorMessage_ = getDefaultInstance().getErrorMessage();
onChanged();
return this;
}
/**
* string error_message = 2;
* @param value The bytes for errorMessage to set.
* @return This builder for chaining.
*/
public Builder setErrorMessageBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
errorMessage_ = value;
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.execution.GetTransactionErrorMessageResponse)
}
// @@protoc_insertion_point(class_scope:flow.execution.GetTransactionErrorMessageResponse)
private static final org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageResponse();
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessageResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetTransactionErrorMessageResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetTransactionErrorMessageResponse(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.execution.Execution.GetTransactionErrorMessageResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetTransactionErrorMessagesByBlockIDRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:flow.execution.GetTransactionErrorMessagesByBlockIDRequest)
com.google.protobuf.MessageOrBuilder {
/**
* bytes block_id = 1;
* @return The blockId.
*/
com.google.protobuf.ByteString getBlockId();
}
/**
* Protobuf type {@code flow.execution.GetTransactionErrorMessagesByBlockIDRequest}
*/
public static final class GetTransactionErrorMessagesByBlockIDRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flow.execution.GetTransactionErrorMessagesByBlockIDRequest)
GetTransactionErrorMessagesByBlockIDRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetTransactionErrorMessagesByBlockIDRequest.newBuilder() to construct.
private GetTransactionErrorMessagesByBlockIDRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetTransactionErrorMessagesByBlockIDRequest() {
blockId_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetTransactionErrorMessagesByBlockIDRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetTransactionErrorMessagesByBlockIDRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
blockId_ = 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.execution.Execution.internal_static_flow_execution_GetTransactionErrorMessagesByBlockIDRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionErrorMessagesByBlockIDRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest.class, org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest.Builder.class);
}
public static final int BLOCK_ID_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString blockId_;
/**
* bytes block_id = 1;
* @return The blockId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getBlockId() {
return blockId_;
}
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_);
}
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_);
}
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.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest)) {
return super.equals(obj);
}
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest other = (org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest) obj;
if (!getBlockId()
.equals(other.getBlockId())) 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();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest 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.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest 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.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest 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.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest 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.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest 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.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest 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;
}
/**
* Protobuf type {@code flow.execution.GetTransactionErrorMessagesByBlockIDRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flow.execution.GetTransactionErrorMessagesByBlockIDRequest)
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesByBlockIDRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionErrorMessagesByBlockIDRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionErrorMessagesByBlockIDRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest.class, org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest.Builder.class);
}
// Construct using org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest.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();
blockId_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionErrorMessagesByBlockIDRequest_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest getDefaultInstanceForType() {
return org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest build() {
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest buildPartial() {
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest result = new org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest(this);
result.blockId_ = blockId_;
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.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest) {
return mergeFrom((org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest other) {
if (other == org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest.getDefaultInstance()) return this;
if (other.getBlockId() != com.google.protobuf.ByteString.EMPTY) {
setBlockId(other.getBlockId());
}
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.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.ByteString blockId_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes block_id = 1;
* @return The blockId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getBlockId() {
return blockId_;
}
/**
* bytes block_id = 1;
* @param value The blockId to set.
* @return This builder for chaining.
*/
public Builder setBlockId(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
blockId_ = value;
onChanged();
return this;
}
/**
* bytes block_id = 1;
* @return This builder for chaining.
*/
public Builder clearBlockId() {
blockId_ = getDefaultInstance().getBlockId();
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.execution.GetTransactionErrorMessagesByBlockIDRequest)
}
// @@protoc_insertion_point(class_scope:flow.execution.GetTransactionErrorMessagesByBlockIDRequest)
private static final org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest();
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetTransactionErrorMessagesByBlockIDRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetTransactionErrorMessagesByBlockIDRequest(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.execution.Execution.GetTransactionErrorMessagesByBlockIDRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetTransactionErrorMessagesResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:flow.execution.GetTransactionErrorMessagesResponse)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .flow.execution.GetTransactionErrorMessagesResponse.Result results = 1;
*/
java.util.List
getResultsList();
/**
* repeated .flow.execution.GetTransactionErrorMessagesResponse.Result results = 1;
*/
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result getResults(int index);
/**
* repeated .flow.execution.GetTransactionErrorMessagesResponse.Result results = 1;
*/
int getResultsCount();
/**
* repeated .flow.execution.GetTransactionErrorMessagesResponse.Result results = 1;
*/
java.util.List extends org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.ResultOrBuilder>
getResultsOrBuilderList();
/**
* repeated .flow.execution.GetTransactionErrorMessagesResponse.Result results = 1;
*/
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.ResultOrBuilder getResultsOrBuilder(
int index);
}
/**
* Protobuf type {@code flow.execution.GetTransactionErrorMessagesResponse}
*/
public static final class GetTransactionErrorMessagesResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flow.execution.GetTransactionErrorMessagesResponse)
GetTransactionErrorMessagesResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetTransactionErrorMessagesResponse.newBuilder() to construct.
private GetTransactionErrorMessagesResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetTransactionErrorMessagesResponse() {
results_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetTransactionErrorMessagesResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetTransactionErrorMessagesResponse(
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)) {
results_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
results_.add(
input.readMessage(org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result.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)) {
results_ = java.util.Collections.unmodifiableList(results_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionErrorMessagesResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionErrorMessagesResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.class, org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Builder.class);
}
public interface ResultOrBuilder extends
// @@protoc_insertion_point(interface_extends:flow.execution.GetTransactionErrorMessagesResponse.Result)
com.google.protobuf.MessageOrBuilder {
/**
* bytes transaction_id = 1;
* @return The transactionId.
*/
com.google.protobuf.ByteString getTransactionId();
/**
* uint32 index = 2;
* @return The index.
*/
int getIndex();
/**
* string error_message = 3;
* @return The errorMessage.
*/
java.lang.String getErrorMessage();
/**
* string error_message = 3;
* @return The bytes for errorMessage.
*/
com.google.protobuf.ByteString
getErrorMessageBytes();
}
/**
* Protobuf type {@code flow.execution.GetTransactionErrorMessagesResponse.Result}
*/
public static final class Result extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flow.execution.GetTransactionErrorMessagesResponse.Result)
ResultOrBuilder {
private static final long serialVersionUID = 0L;
// Use Result.newBuilder() to construct.
private Result(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Result() {
transactionId_ = com.google.protobuf.ByteString.EMPTY;
errorMessage_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Result();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Result(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
transactionId_ = input.readBytes();
break;
}
case 16: {
index_ = input.readUInt32();
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
errorMessage_ = s;
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.execution.Execution.internal_static_flow_execution_GetTransactionErrorMessagesResponse_Result_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionErrorMessagesResponse_Result_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result.class, org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result.Builder.class);
}
public static final int TRANSACTION_ID_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString transactionId_;
/**
* bytes transaction_id = 1;
* @return The transactionId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getTransactionId() {
return transactionId_;
}
public static final int INDEX_FIELD_NUMBER = 2;
private int index_;
/**
* uint32 index = 2;
* @return The index.
*/
@java.lang.Override
public int getIndex() {
return index_;
}
public static final int ERROR_MESSAGE_FIELD_NUMBER = 3;
private volatile java.lang.Object errorMessage_;
/**
* string error_message = 3;
* @return The errorMessage.
*/
@java.lang.Override
public java.lang.String getErrorMessage() {
java.lang.Object ref = errorMessage_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
errorMessage_ = s;
return s;
}
}
/**
* string error_message = 3;
* @return The bytes for errorMessage.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getErrorMessageBytes() {
java.lang.Object ref = errorMessage_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
errorMessage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (!transactionId_.isEmpty()) {
output.writeBytes(1, transactionId_);
}
if (index_ != 0) {
output.writeUInt32(2, index_);
}
if (!getErrorMessageBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, errorMessage_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!transactionId_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, transactionId_);
}
if (index_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, index_);
}
if (!getErrorMessageBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, errorMessage_);
}
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.execution.Execution.GetTransactionErrorMessagesResponse.Result)) {
return super.equals(obj);
}
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result other = (org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result) obj;
if (!getTransactionId()
.equals(other.getTransactionId())) return false;
if (getIndex()
!= other.getIndex()) return false;
if (!getErrorMessage()
.equals(other.getErrorMessage())) 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) + TRANSACTION_ID_FIELD_NUMBER;
hash = (53 * hash) + getTransactionId().hashCode();
hash = (37 * hash) + INDEX_FIELD_NUMBER;
hash = (53 * hash) + getIndex();
hash = (37 * hash) + ERROR_MESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getErrorMessage().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result 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.execution.Execution.GetTransactionErrorMessagesResponse.Result parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result 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.execution.Execution.GetTransactionErrorMessagesResponse.Result parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result 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.execution.Execution.GetTransactionErrorMessagesResponse.Result parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result 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.execution.Execution.GetTransactionErrorMessagesResponse.Result parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result 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.execution.Execution.GetTransactionErrorMessagesResponse.Result 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;
}
/**
* Protobuf type {@code flow.execution.GetTransactionErrorMessagesResponse.Result}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flow.execution.GetTransactionErrorMessagesResponse.Result)
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.ResultOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionErrorMessagesResponse_Result_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionErrorMessagesResponse_Result_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result.class, org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result.Builder.class);
}
// Construct using org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result.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();
transactionId_ = com.google.protobuf.ByteString.EMPTY;
index_ = 0;
errorMessage_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionErrorMessagesResponse_Result_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result getDefaultInstanceForType() {
return org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result build() {
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result buildPartial() {
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result result = new org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result(this);
result.transactionId_ = transactionId_;
result.index_ = index_;
result.errorMessage_ = errorMessage_;
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.execution.Execution.GetTransactionErrorMessagesResponse.Result) {
return mergeFrom((org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result other) {
if (other == org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result.getDefaultInstance()) return this;
if (other.getTransactionId() != com.google.protobuf.ByteString.EMPTY) {
setTransactionId(other.getTransactionId());
}
if (other.getIndex() != 0) {
setIndex(other.getIndex());
}
if (!other.getErrorMessage().isEmpty()) {
errorMessage_ = other.errorMessage_;
onChanged();
}
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.execution.Execution.GetTransactionErrorMessagesResponse.Result parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.ByteString transactionId_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes transaction_id = 1;
* @return The transactionId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getTransactionId() {
return transactionId_;
}
/**
* bytes transaction_id = 1;
* @param value The transactionId to set.
* @return This builder for chaining.
*/
public Builder setTransactionId(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
transactionId_ = value;
onChanged();
return this;
}
/**
* bytes transaction_id = 1;
* @return This builder for chaining.
*/
public Builder clearTransactionId() {
transactionId_ = getDefaultInstance().getTransactionId();
onChanged();
return this;
}
private int index_ ;
/**
* uint32 index = 2;
* @return The index.
*/
@java.lang.Override
public int getIndex() {
return index_;
}
/**
* uint32 index = 2;
* @param value The index to set.
* @return This builder for chaining.
*/
public Builder setIndex(int value) {
index_ = value;
onChanged();
return this;
}
/**
* uint32 index = 2;
* @return This builder for chaining.
*/
public Builder clearIndex() {
index_ = 0;
onChanged();
return this;
}
private java.lang.Object errorMessage_ = "";
/**
* string error_message = 3;
* @return The errorMessage.
*/
public java.lang.String getErrorMessage() {
java.lang.Object ref = errorMessage_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
errorMessage_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string error_message = 3;
* @return The bytes for errorMessage.
*/
public com.google.protobuf.ByteString
getErrorMessageBytes() {
java.lang.Object ref = errorMessage_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
errorMessage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string error_message = 3;
* @param value The errorMessage to set.
* @return This builder for chaining.
*/
public Builder setErrorMessage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
errorMessage_ = value;
onChanged();
return this;
}
/**
* string error_message = 3;
* @return This builder for chaining.
*/
public Builder clearErrorMessage() {
errorMessage_ = getDefaultInstance().getErrorMessage();
onChanged();
return this;
}
/**
* string error_message = 3;
* @param value The bytes for errorMessage to set.
* @return This builder for chaining.
*/
public Builder setErrorMessageBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
errorMessage_ = value;
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.execution.GetTransactionErrorMessagesResponse.Result)
}
// @@protoc_insertion_point(class_scope:flow.execution.GetTransactionErrorMessagesResponse.Result)
private static final org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result();
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Result parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Result(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.execution.Execution.GetTransactionErrorMessagesResponse.Result getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int RESULTS_FIELD_NUMBER = 1;
private java.util.List results_;
/**
* repeated .flow.execution.GetTransactionErrorMessagesResponse.Result results = 1;
*/
@java.lang.Override
public java.util.List getResultsList() {
return results_;
}
/**
* repeated .flow.execution.GetTransactionErrorMessagesResponse.Result results = 1;
*/
@java.lang.Override
public java.util.List extends org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.ResultOrBuilder>
getResultsOrBuilderList() {
return results_;
}
/**
* repeated .flow.execution.GetTransactionErrorMessagesResponse.Result results = 1;
*/
@java.lang.Override
public int getResultsCount() {
return results_.size();
}
/**
* repeated .flow.execution.GetTransactionErrorMessagesResponse.Result results = 1;
*/
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result getResults(int index) {
return results_.get(index);
}
/**
* repeated .flow.execution.GetTransactionErrorMessagesResponse.Result results = 1;
*/
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.ResultOrBuilder getResultsOrBuilder(
int index) {
return results_.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 < results_.size(); i++) {
output.writeMessage(1, results_.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 < results_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, results_.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.execution.Execution.GetTransactionErrorMessagesResponse)) {
return super.equals(obj);
}
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse other = (org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse) obj;
if (!getResultsList()
.equals(other.getResultsList())) 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 (getResultsCount() > 0) {
hash = (37 * hash) + RESULTS_FIELD_NUMBER;
hash = (53 * hash) + getResultsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse 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.execution.Execution.GetTransactionErrorMessagesResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse 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.execution.Execution.GetTransactionErrorMessagesResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse 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.execution.Execution.GetTransactionErrorMessagesResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse 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.execution.Execution.GetTransactionErrorMessagesResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse 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.execution.Execution.GetTransactionErrorMessagesResponse 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;
}
/**
* Protobuf type {@code flow.execution.GetTransactionErrorMessagesResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flow.execution.GetTransactionErrorMessagesResponse)
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionErrorMessagesResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionErrorMessagesResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.class, org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Builder.class);
}
// Construct using org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getResultsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (resultsBuilder_ == null) {
results_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
resultsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetTransactionErrorMessagesResponse_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse getDefaultInstanceForType() {
return org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse build() {
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse buildPartial() {
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse result = new org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse(this);
int from_bitField0_ = bitField0_;
if (resultsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
results_ = java.util.Collections.unmodifiableList(results_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.results_ = results_;
} else {
result.results_ = resultsBuilder_.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.execution.Execution.GetTransactionErrorMessagesResponse) {
return mergeFrom((org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse other) {
if (other == org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.getDefaultInstance()) return this;
if (resultsBuilder_ == null) {
if (!other.results_.isEmpty()) {
if (results_.isEmpty()) {
results_ = other.results_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureResultsIsMutable();
results_.addAll(other.results_);
}
onChanged();
}
} else {
if (!other.results_.isEmpty()) {
if (resultsBuilder_.isEmpty()) {
resultsBuilder_.dispose();
resultsBuilder_ = null;
results_ = other.results_;
bitField0_ = (bitField0_ & ~0x00000001);
resultsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getResultsFieldBuilder() : null;
} else {
resultsBuilder_.addAllMessages(other.results_);
}
}
}
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.execution.Execution.GetTransactionErrorMessagesResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List results_ =
java.util.Collections.emptyList();
private void ensureResultsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
results_ = new java.util.ArrayList(results_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result, org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result.Builder, org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.ResultOrBuilder> resultsBuilder_;
/**
* repeated .flow.execution.GetTransactionErrorMessagesResponse.Result results = 1;
*/
public java.util.List getResultsList() {
if (resultsBuilder_ == null) {
return java.util.Collections.unmodifiableList(results_);
} else {
return resultsBuilder_.getMessageList();
}
}
/**
* repeated .flow.execution.GetTransactionErrorMessagesResponse.Result results = 1;
*/
public int getResultsCount() {
if (resultsBuilder_ == null) {
return results_.size();
} else {
return resultsBuilder_.getCount();
}
}
/**
* repeated .flow.execution.GetTransactionErrorMessagesResponse.Result results = 1;
*/
public org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result getResults(int index) {
if (resultsBuilder_ == null) {
return results_.get(index);
} else {
return resultsBuilder_.getMessage(index);
}
}
/**
* repeated .flow.execution.GetTransactionErrorMessagesResponse.Result results = 1;
*/
public Builder setResults(
int index, org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result value) {
if (resultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureResultsIsMutable();
results_.set(index, value);
onChanged();
} else {
resultsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .flow.execution.GetTransactionErrorMessagesResponse.Result results = 1;
*/
public Builder setResults(
int index, org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result.Builder builderForValue) {
if (resultsBuilder_ == null) {
ensureResultsIsMutable();
results_.set(index, builderForValue.build());
onChanged();
} else {
resultsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .flow.execution.GetTransactionErrorMessagesResponse.Result results = 1;
*/
public Builder addResults(org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result value) {
if (resultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureResultsIsMutable();
results_.add(value);
onChanged();
} else {
resultsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .flow.execution.GetTransactionErrorMessagesResponse.Result results = 1;
*/
public Builder addResults(
int index, org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result value) {
if (resultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureResultsIsMutable();
results_.add(index, value);
onChanged();
} else {
resultsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .flow.execution.GetTransactionErrorMessagesResponse.Result results = 1;
*/
public Builder addResults(
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result.Builder builderForValue) {
if (resultsBuilder_ == null) {
ensureResultsIsMutable();
results_.add(builderForValue.build());
onChanged();
} else {
resultsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .flow.execution.GetTransactionErrorMessagesResponse.Result results = 1;
*/
public Builder addResults(
int index, org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result.Builder builderForValue) {
if (resultsBuilder_ == null) {
ensureResultsIsMutable();
results_.add(index, builderForValue.build());
onChanged();
} else {
resultsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .flow.execution.GetTransactionErrorMessagesResponse.Result results = 1;
*/
public Builder addAllResults(
java.lang.Iterable extends org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result> values) {
if (resultsBuilder_ == null) {
ensureResultsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, results_);
onChanged();
} else {
resultsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .flow.execution.GetTransactionErrorMessagesResponse.Result results = 1;
*/
public Builder clearResults() {
if (resultsBuilder_ == null) {
results_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
resultsBuilder_.clear();
}
return this;
}
/**
* repeated .flow.execution.GetTransactionErrorMessagesResponse.Result results = 1;
*/
public Builder removeResults(int index) {
if (resultsBuilder_ == null) {
ensureResultsIsMutable();
results_.remove(index);
onChanged();
} else {
resultsBuilder_.remove(index);
}
return this;
}
/**
* repeated .flow.execution.GetTransactionErrorMessagesResponse.Result results = 1;
*/
public org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result.Builder getResultsBuilder(
int index) {
return getResultsFieldBuilder().getBuilder(index);
}
/**
* repeated .flow.execution.GetTransactionErrorMessagesResponse.Result results = 1;
*/
public org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.ResultOrBuilder getResultsOrBuilder(
int index) {
if (resultsBuilder_ == null) {
return results_.get(index); } else {
return resultsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .flow.execution.GetTransactionErrorMessagesResponse.Result results = 1;
*/
public java.util.List extends org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.ResultOrBuilder>
getResultsOrBuilderList() {
if (resultsBuilder_ != null) {
return resultsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(results_);
}
}
/**
* repeated .flow.execution.GetTransactionErrorMessagesResponse.Result results = 1;
*/
public org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result.Builder addResultsBuilder() {
return getResultsFieldBuilder().addBuilder(
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result.getDefaultInstance());
}
/**
* repeated .flow.execution.GetTransactionErrorMessagesResponse.Result results = 1;
*/
public org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result.Builder addResultsBuilder(
int index) {
return getResultsFieldBuilder().addBuilder(
index, org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result.getDefaultInstance());
}
/**
* repeated .flow.execution.GetTransactionErrorMessagesResponse.Result results = 1;
*/
public java.util.List
getResultsBuilderList() {
return getResultsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result, org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result.Builder, org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.ResultOrBuilder>
getResultsFieldBuilder() {
if (resultsBuilder_ == null) {
resultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result, org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.Result.Builder, org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse.ResultOrBuilder>(
results_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
results_ = null;
}
return resultsBuilder_;
}
@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.execution.GetTransactionErrorMessagesResponse)
}
// @@protoc_insertion_point(class_scope:flow.execution.GetTransactionErrorMessagesResponse)
private static final org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse();
}
public static org.onflow.protobuf.execution.Execution.GetTransactionErrorMessagesResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetTransactionErrorMessagesResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetTransactionErrorMessagesResponse(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.execution.Execution.GetTransactionErrorMessagesResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetRegisterAtBlockIDRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:flow.execution.GetRegisterAtBlockIDRequest)
com.google.protobuf.MessageOrBuilder {
/**
* bytes block_id = 1;
* @return The blockId.
*/
com.google.protobuf.ByteString getBlockId();
/**
* bytes register_owner = 2;
* @return The registerOwner.
*/
com.google.protobuf.ByteString getRegisterOwner();
/**
*
* bytes register_controller = 3; @deprecated
*
*
* bytes register_key = 4;
* @return The registerKey.
*/
com.google.protobuf.ByteString getRegisterKey();
}
/**
* Protobuf type {@code flow.execution.GetRegisterAtBlockIDRequest}
*/
public static final class GetRegisterAtBlockIDRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flow.execution.GetRegisterAtBlockIDRequest)
GetRegisterAtBlockIDRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetRegisterAtBlockIDRequest.newBuilder() to construct.
private GetRegisterAtBlockIDRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetRegisterAtBlockIDRequest() {
blockId_ = com.google.protobuf.ByteString.EMPTY;
registerOwner_ = com.google.protobuf.ByteString.EMPTY;
registerKey_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetRegisterAtBlockIDRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetRegisterAtBlockIDRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
blockId_ = input.readBytes();
break;
}
case 18: {
registerOwner_ = input.readBytes();
break;
}
case 34: {
registerKey_ = 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.execution.Execution.internal_static_flow_execution_GetRegisterAtBlockIDRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetRegisterAtBlockIDRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDRequest.class, org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDRequest.Builder.class);
}
public static final int BLOCK_ID_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString blockId_;
/**
* bytes block_id = 1;
* @return The blockId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getBlockId() {
return blockId_;
}
public static final int REGISTER_OWNER_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString registerOwner_;
/**
* bytes register_owner = 2;
* @return The registerOwner.
*/
@java.lang.Override
public com.google.protobuf.ByteString getRegisterOwner() {
return registerOwner_;
}
public static final int REGISTER_KEY_FIELD_NUMBER = 4;
private com.google.protobuf.ByteString registerKey_;
/**
*
* bytes register_controller = 3; @deprecated
*
*
* bytes register_key = 4;
* @return The registerKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getRegisterKey() {
return registerKey_;
}
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_);
}
if (!registerOwner_.isEmpty()) {
output.writeBytes(2, registerOwner_);
}
if (!registerKey_.isEmpty()) {
output.writeBytes(4, registerKey_);
}
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_);
}
if (!registerOwner_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, registerOwner_);
}
if (!registerKey_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(4, registerKey_);
}
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.execution.Execution.GetRegisterAtBlockIDRequest)) {
return super.equals(obj);
}
org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDRequest other = (org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDRequest) obj;
if (!getBlockId()
.equals(other.getBlockId())) return false;
if (!getRegisterOwner()
.equals(other.getRegisterOwner())) return false;
if (!getRegisterKey()
.equals(other.getRegisterKey())) 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();
hash = (37 * hash) + REGISTER_OWNER_FIELD_NUMBER;
hash = (53 * hash) + getRegisterOwner().hashCode();
hash = (37 * hash) + REGISTER_KEY_FIELD_NUMBER;
hash = (53 * hash) + getRegisterKey().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDRequest 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.execution.Execution.GetRegisterAtBlockIDRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDRequest 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.execution.Execution.GetRegisterAtBlockIDRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDRequest 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.execution.Execution.GetRegisterAtBlockIDRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDRequest 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.execution.Execution.GetRegisterAtBlockIDRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDRequest 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.execution.Execution.GetRegisterAtBlockIDRequest 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;
}
/**
* Protobuf type {@code flow.execution.GetRegisterAtBlockIDRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flow.execution.GetRegisterAtBlockIDRequest)
org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetRegisterAtBlockIDRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetRegisterAtBlockIDRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDRequest.class, org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDRequest.Builder.class);
}
// Construct using org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDRequest.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();
blockId_ = com.google.protobuf.ByteString.EMPTY;
registerOwner_ = com.google.protobuf.ByteString.EMPTY;
registerKey_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetRegisterAtBlockIDRequest_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDRequest getDefaultInstanceForType() {
return org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDRequest.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDRequest build() {
org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDRequest buildPartial() {
org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDRequest result = new org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDRequest(this);
result.blockId_ = blockId_;
result.registerOwner_ = registerOwner_;
result.registerKey_ = registerKey_;
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.execution.Execution.GetRegisterAtBlockIDRequest) {
return mergeFrom((org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDRequest other) {
if (other == org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDRequest.getDefaultInstance()) return this;
if (other.getBlockId() != com.google.protobuf.ByteString.EMPTY) {
setBlockId(other.getBlockId());
}
if (other.getRegisterOwner() != com.google.protobuf.ByteString.EMPTY) {
setRegisterOwner(other.getRegisterOwner());
}
if (other.getRegisterKey() != com.google.protobuf.ByteString.EMPTY) {
setRegisterKey(other.getRegisterKey());
}
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.execution.Execution.GetRegisterAtBlockIDRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.ByteString blockId_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes block_id = 1;
* @return The blockId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getBlockId() {
return blockId_;
}
/**
* bytes block_id = 1;
* @param value The blockId to set.
* @return This builder for chaining.
*/
public Builder setBlockId(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
blockId_ = value;
onChanged();
return this;
}
/**
* bytes block_id = 1;
* @return This builder for chaining.
*/
public Builder clearBlockId() {
blockId_ = getDefaultInstance().getBlockId();
onChanged();
return this;
}
private com.google.protobuf.ByteString registerOwner_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes register_owner = 2;
* @return The registerOwner.
*/
@java.lang.Override
public com.google.protobuf.ByteString getRegisterOwner() {
return registerOwner_;
}
/**
* bytes register_owner = 2;
* @param value The registerOwner to set.
* @return This builder for chaining.
*/
public Builder setRegisterOwner(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
registerOwner_ = value;
onChanged();
return this;
}
/**
* bytes register_owner = 2;
* @return This builder for chaining.
*/
public Builder clearRegisterOwner() {
registerOwner_ = getDefaultInstance().getRegisterOwner();
onChanged();
return this;
}
private com.google.protobuf.ByteString registerKey_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* bytes register_controller = 3; @deprecated
*
*
* bytes register_key = 4;
* @return The registerKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getRegisterKey() {
return registerKey_;
}
/**
*
* bytes register_controller = 3; @deprecated
*
*
* bytes register_key = 4;
* @param value The registerKey to set.
* @return This builder for chaining.
*/
public Builder setRegisterKey(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
registerKey_ = value;
onChanged();
return this;
}
/**
*
* bytes register_controller = 3; @deprecated
*
*
* bytes register_key = 4;
* @return This builder for chaining.
*/
public Builder clearRegisterKey() {
registerKey_ = getDefaultInstance().getRegisterKey();
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.execution.GetRegisterAtBlockIDRequest)
}
// @@protoc_insertion_point(class_scope:flow.execution.GetRegisterAtBlockIDRequest)
private static final org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDRequest();
}
public static org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetRegisterAtBlockIDRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetRegisterAtBlockIDRequest(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.execution.Execution.GetRegisterAtBlockIDRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetRegisterAtBlockIDResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:flow.execution.GetRegisterAtBlockIDResponse)
com.google.protobuf.MessageOrBuilder {
/**
* bytes value = 1;
* @return The value.
*/
com.google.protobuf.ByteString getValue();
}
/**
* Protobuf type {@code flow.execution.GetRegisterAtBlockIDResponse}
*/
public static final class GetRegisterAtBlockIDResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flow.execution.GetRegisterAtBlockIDResponse)
GetRegisterAtBlockIDResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetRegisterAtBlockIDResponse.newBuilder() to construct.
private GetRegisterAtBlockIDResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetRegisterAtBlockIDResponse() {
value_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetRegisterAtBlockIDResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetRegisterAtBlockIDResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
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.execution.Execution.internal_static_flow_execution_GetRegisterAtBlockIDResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetRegisterAtBlockIDResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDResponse.class, org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDResponse.Builder.class);
}
public static final int VALUE_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString value_;
/**
* bytes value = 1;
* @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 (!value_.isEmpty()) {
output.writeBytes(1, value_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!value_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, 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.execution.Execution.GetRegisterAtBlockIDResponse)) {
return super.equals(obj);
}
org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDResponse other = (org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDResponse) obj;
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) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDResponse 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.execution.Execution.GetRegisterAtBlockIDResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDResponse 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.execution.Execution.GetRegisterAtBlockIDResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDResponse 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.execution.Execution.GetRegisterAtBlockIDResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDResponse 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.execution.Execution.GetRegisterAtBlockIDResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDResponse 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.execution.Execution.GetRegisterAtBlockIDResponse 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;
}
/**
* Protobuf type {@code flow.execution.GetRegisterAtBlockIDResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flow.execution.GetRegisterAtBlockIDResponse)
org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetRegisterAtBlockIDResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetRegisterAtBlockIDResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDResponse.class, org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDResponse.Builder.class);
}
// Construct using org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDResponse.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();
value_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetRegisterAtBlockIDResponse_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDResponse getDefaultInstanceForType() {
return org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDResponse.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDResponse build() {
org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDResponse buildPartial() {
org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDResponse result = new org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDResponse(this);
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.execution.Execution.GetRegisterAtBlockIDResponse) {
return mergeFrom((org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDResponse other) {
if (other == org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDResponse.getDefaultInstance()) return this;
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.execution.Execution.GetRegisterAtBlockIDResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes value = 1;
* @return The value.
*/
@java.lang.Override
public com.google.protobuf.ByteString getValue() {
return value_;
}
/**
* bytes value = 1;
* @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;
}
/**
* bytes value = 1;
* @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.execution.GetRegisterAtBlockIDResponse)
}
// @@protoc_insertion_point(class_scope:flow.execution.GetRegisterAtBlockIDResponse)
private static final org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDResponse();
}
public static org.onflow.protobuf.execution.Execution.GetRegisterAtBlockIDResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetRegisterAtBlockIDResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetRegisterAtBlockIDResponse(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.execution.Execution.GetRegisterAtBlockIDResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetLatestBlockHeaderRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:flow.execution.GetLatestBlockHeaderRequest)
com.google.protobuf.MessageOrBuilder {
/**
* bool is_sealed = 1;
* @return The isSealed.
*/
boolean getIsSealed();
}
/**
* Protobuf type {@code flow.execution.GetLatestBlockHeaderRequest}
*/
public static final class GetLatestBlockHeaderRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flow.execution.GetLatestBlockHeaderRequest)
GetLatestBlockHeaderRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetLatestBlockHeaderRequest.newBuilder() to construct.
private GetLatestBlockHeaderRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetLatestBlockHeaderRequest() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetLatestBlockHeaderRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetLatestBlockHeaderRequest(
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: {
isSealed_ = input.readBool();
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.execution.Execution.internal_static_flow_execution_GetLatestBlockHeaderRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetLatestBlockHeaderRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetLatestBlockHeaderRequest.class, org.onflow.protobuf.execution.Execution.GetLatestBlockHeaderRequest.Builder.class);
}
public static final int IS_SEALED_FIELD_NUMBER = 1;
private boolean isSealed_;
/**
* bool is_sealed = 1;
* @return The isSealed.
*/
@java.lang.Override
public boolean getIsSealed() {
return isSealed_;
}
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 (isSealed_ != false) {
output.writeBool(1, isSealed_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (isSealed_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, isSealed_);
}
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.execution.Execution.GetLatestBlockHeaderRequest)) {
return super.equals(obj);
}
org.onflow.protobuf.execution.Execution.GetLatestBlockHeaderRequest other = (org.onflow.protobuf.execution.Execution.GetLatestBlockHeaderRequest) obj;
if (getIsSealed()
!= other.getIsSealed()) 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) + IS_SEALED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsSealed());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.onflow.protobuf.execution.Execution.GetLatestBlockHeaderRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetLatestBlockHeaderRequest 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.execution.Execution.GetLatestBlockHeaderRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetLatestBlockHeaderRequest 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.execution.Execution.GetLatestBlockHeaderRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetLatestBlockHeaderRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.execution.Execution.GetLatestBlockHeaderRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetLatestBlockHeaderRequest 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.execution.Execution.GetLatestBlockHeaderRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetLatestBlockHeaderRequest 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.execution.Execution.GetLatestBlockHeaderRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetLatestBlockHeaderRequest 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.execution.Execution.GetLatestBlockHeaderRequest 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;
}
/**
* Protobuf type {@code flow.execution.GetLatestBlockHeaderRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flow.execution.GetLatestBlockHeaderRequest)
org.onflow.protobuf.execution.Execution.GetLatestBlockHeaderRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetLatestBlockHeaderRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetLatestBlockHeaderRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetLatestBlockHeaderRequest.class, org.onflow.protobuf.execution.Execution.GetLatestBlockHeaderRequest.Builder.class);
}
// Construct using org.onflow.protobuf.execution.Execution.GetLatestBlockHeaderRequest.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();
isSealed_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetLatestBlockHeaderRequest_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetLatestBlockHeaderRequest getDefaultInstanceForType() {
return org.onflow.protobuf.execution.Execution.GetLatestBlockHeaderRequest.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetLatestBlockHeaderRequest build() {
org.onflow.protobuf.execution.Execution.GetLatestBlockHeaderRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetLatestBlockHeaderRequest buildPartial() {
org.onflow.protobuf.execution.Execution.GetLatestBlockHeaderRequest result = new org.onflow.protobuf.execution.Execution.GetLatestBlockHeaderRequest(this);
result.isSealed_ = isSealed_;
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.execution.Execution.GetLatestBlockHeaderRequest) {
return mergeFrom((org.onflow.protobuf.execution.Execution.GetLatestBlockHeaderRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.execution.Execution.GetLatestBlockHeaderRequest other) {
if (other == org.onflow.protobuf.execution.Execution.GetLatestBlockHeaderRequest.getDefaultInstance()) return this;
if (other.getIsSealed() != false) {
setIsSealed(other.getIsSealed());
}
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.execution.Execution.GetLatestBlockHeaderRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.execution.Execution.GetLatestBlockHeaderRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private boolean isSealed_ ;
/**
* bool is_sealed = 1;
* @return The isSealed.
*/
@java.lang.Override
public boolean getIsSealed() {
return isSealed_;
}
/**
* bool is_sealed = 1;
* @param value The isSealed to set.
* @return This builder for chaining.
*/
public Builder setIsSealed(boolean value) {
isSealed_ = value;
onChanged();
return this;
}
/**
* bool is_sealed = 1;
* @return This builder for chaining.
*/
public Builder clearIsSealed() {
isSealed_ = false;
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.execution.GetLatestBlockHeaderRequest)
}
// @@protoc_insertion_point(class_scope:flow.execution.GetLatestBlockHeaderRequest)
private static final org.onflow.protobuf.execution.Execution.GetLatestBlockHeaderRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.execution.Execution.GetLatestBlockHeaderRequest();
}
public static org.onflow.protobuf.execution.Execution.GetLatestBlockHeaderRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetLatestBlockHeaderRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetLatestBlockHeaderRequest(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.execution.Execution.GetLatestBlockHeaderRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetBlockHeaderByIDRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:flow.execution.GetBlockHeaderByIDRequest)
com.google.protobuf.MessageOrBuilder {
/**
* bytes id = 1;
* @return The id.
*/
com.google.protobuf.ByteString getId();
}
/**
* Protobuf type {@code flow.execution.GetBlockHeaderByIDRequest}
*/
public static final class GetBlockHeaderByIDRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flow.execution.GetBlockHeaderByIDRequest)
GetBlockHeaderByIDRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetBlockHeaderByIDRequest.newBuilder() to construct.
private GetBlockHeaderByIDRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetBlockHeaderByIDRequest() {
id_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetBlockHeaderByIDRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetBlockHeaderByIDRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
id_ = 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.execution.Execution.internal_static_flow_execution_GetBlockHeaderByIDRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetBlockHeaderByIDRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetBlockHeaderByIDRequest.class, org.onflow.protobuf.execution.Execution.GetBlockHeaderByIDRequest.Builder.class);
}
public static final int ID_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString id_;
/**
* bytes id = 1;
* @return The id.
*/
@java.lang.Override
public com.google.protobuf.ByteString getId() {
return id_;
}
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 (!id_.isEmpty()) {
output.writeBytes(1, id_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!id_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, id_);
}
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.execution.Execution.GetBlockHeaderByIDRequest)) {
return super.equals(obj);
}
org.onflow.protobuf.execution.Execution.GetBlockHeaderByIDRequest other = (org.onflow.protobuf.execution.Execution.GetBlockHeaderByIDRequest) obj;
if (!getId()
.equals(other.getId())) 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) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.onflow.protobuf.execution.Execution.GetBlockHeaderByIDRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetBlockHeaderByIDRequest 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.execution.Execution.GetBlockHeaderByIDRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetBlockHeaderByIDRequest 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.execution.Execution.GetBlockHeaderByIDRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.GetBlockHeaderByIDRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.execution.Execution.GetBlockHeaderByIDRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetBlockHeaderByIDRequest 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.execution.Execution.GetBlockHeaderByIDRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetBlockHeaderByIDRequest 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.execution.Execution.GetBlockHeaderByIDRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.GetBlockHeaderByIDRequest 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.execution.Execution.GetBlockHeaderByIDRequest 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;
}
/**
* Protobuf type {@code flow.execution.GetBlockHeaderByIDRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flow.execution.GetBlockHeaderByIDRequest)
org.onflow.protobuf.execution.Execution.GetBlockHeaderByIDRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetBlockHeaderByIDRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetBlockHeaderByIDRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.GetBlockHeaderByIDRequest.class, org.onflow.protobuf.execution.Execution.GetBlockHeaderByIDRequest.Builder.class);
}
// Construct using org.onflow.protobuf.execution.Execution.GetBlockHeaderByIDRequest.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();
id_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_GetBlockHeaderByIDRequest_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetBlockHeaderByIDRequest getDefaultInstanceForType() {
return org.onflow.protobuf.execution.Execution.GetBlockHeaderByIDRequest.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetBlockHeaderByIDRequest build() {
org.onflow.protobuf.execution.Execution.GetBlockHeaderByIDRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.GetBlockHeaderByIDRequest buildPartial() {
org.onflow.protobuf.execution.Execution.GetBlockHeaderByIDRequest result = new org.onflow.protobuf.execution.Execution.GetBlockHeaderByIDRequest(this);
result.id_ = id_;
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.execution.Execution.GetBlockHeaderByIDRequest) {
return mergeFrom((org.onflow.protobuf.execution.Execution.GetBlockHeaderByIDRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.execution.Execution.GetBlockHeaderByIDRequest other) {
if (other == org.onflow.protobuf.execution.Execution.GetBlockHeaderByIDRequest.getDefaultInstance()) return this;
if (other.getId() != com.google.protobuf.ByteString.EMPTY) {
setId(other.getId());
}
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.execution.Execution.GetBlockHeaderByIDRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.execution.Execution.GetBlockHeaderByIDRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.ByteString id_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes id = 1;
* @return The id.
*/
@java.lang.Override
public com.google.protobuf.ByteString getId() {
return id_;
}
/**
* bytes id = 1;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
id_ = value;
onChanged();
return this;
}
/**
* bytes id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
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.execution.GetBlockHeaderByIDRequest)
}
// @@protoc_insertion_point(class_scope:flow.execution.GetBlockHeaderByIDRequest)
private static final org.onflow.protobuf.execution.Execution.GetBlockHeaderByIDRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.execution.Execution.GetBlockHeaderByIDRequest();
}
public static org.onflow.protobuf.execution.Execution.GetBlockHeaderByIDRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetBlockHeaderByIDRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetBlockHeaderByIDRequest(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.execution.Execution.GetBlockHeaderByIDRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface BlockHeaderResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:flow.execution.BlockHeaderResponse)
com.google.protobuf.MessageOrBuilder {
/**
* .flow.entities.BlockHeader block = 1;
* @return Whether the block field is set.
*/
boolean hasBlock();
/**
* .flow.entities.BlockHeader block = 1;
* @return The block.
*/
org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader getBlock();
/**
* .flow.entities.BlockHeader block = 1;
*/
org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeaderOrBuilder getBlockOrBuilder();
}
/**
* Protobuf type {@code flow.execution.BlockHeaderResponse}
*/
public static final class BlockHeaderResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flow.execution.BlockHeaderResponse)
BlockHeaderResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use BlockHeaderResponse.newBuilder() to construct.
private BlockHeaderResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private BlockHeaderResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new BlockHeaderResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BlockHeaderResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.Builder subBuilder = null;
if (block_ != null) {
subBuilder = block_.toBuilder();
}
block_ = input.readMessage(org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(block_);
block_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_BlockHeaderResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_BlockHeaderResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.BlockHeaderResponse.class, org.onflow.protobuf.execution.Execution.BlockHeaderResponse.Builder.class);
}
public static final int BLOCK_FIELD_NUMBER = 1;
private org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader block_;
/**
* .flow.entities.BlockHeader block = 1;
* @return Whether the block field is set.
*/
@java.lang.Override
public boolean hasBlock() {
return block_ != null;
}
/**
* .flow.entities.BlockHeader block = 1;
* @return The block.
*/
@java.lang.Override
public org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader getBlock() {
return block_ == null ? org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.getDefaultInstance() : block_;
}
/**
* .flow.entities.BlockHeader block = 1;
*/
@java.lang.Override
public org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeaderOrBuilder getBlockOrBuilder() {
return getBlock();
}
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 (block_ != null) {
output.writeMessage(1, getBlock());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (block_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getBlock());
}
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.execution.Execution.BlockHeaderResponse)) {
return super.equals(obj);
}
org.onflow.protobuf.execution.Execution.BlockHeaderResponse other = (org.onflow.protobuf.execution.Execution.BlockHeaderResponse) obj;
if (hasBlock() != other.hasBlock()) return false;
if (hasBlock()) {
if (!getBlock()
.equals(other.getBlock())) 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 (hasBlock()) {
hash = (37 * hash) + BLOCK_FIELD_NUMBER;
hash = (53 * hash) + getBlock().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.onflow.protobuf.execution.Execution.BlockHeaderResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.BlockHeaderResponse 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.execution.Execution.BlockHeaderResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.BlockHeaderResponse 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.execution.Execution.BlockHeaderResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.execution.Execution.BlockHeaderResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.onflow.protobuf.execution.Execution.BlockHeaderResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.BlockHeaderResponse 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.execution.Execution.BlockHeaderResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.BlockHeaderResponse 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.execution.Execution.BlockHeaderResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.onflow.protobuf.execution.Execution.BlockHeaderResponse 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.execution.Execution.BlockHeaderResponse 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;
}
/**
* Protobuf type {@code flow.execution.BlockHeaderResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flow.execution.BlockHeaderResponse)
org.onflow.protobuf.execution.Execution.BlockHeaderResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_BlockHeaderResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_BlockHeaderResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.execution.Execution.BlockHeaderResponse.class, org.onflow.protobuf.execution.Execution.BlockHeaderResponse.Builder.class);
}
// Construct using org.onflow.protobuf.execution.Execution.BlockHeaderResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (blockBuilder_ == null) {
block_ = null;
} else {
block_ = null;
blockBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.onflow.protobuf.execution.Execution.internal_static_flow_execution_BlockHeaderResponse_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.BlockHeaderResponse getDefaultInstanceForType() {
return org.onflow.protobuf.execution.Execution.BlockHeaderResponse.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.BlockHeaderResponse build() {
org.onflow.protobuf.execution.Execution.BlockHeaderResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.execution.Execution.BlockHeaderResponse buildPartial() {
org.onflow.protobuf.execution.Execution.BlockHeaderResponse result = new org.onflow.protobuf.execution.Execution.BlockHeaderResponse(this);
if (blockBuilder_ == null) {
result.block_ = block_;
} else {
result.block_ = blockBuilder_.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.execution.Execution.BlockHeaderResponse) {
return mergeFrom((org.onflow.protobuf.execution.Execution.BlockHeaderResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.execution.Execution.BlockHeaderResponse other) {
if (other == org.onflow.protobuf.execution.Execution.BlockHeaderResponse.getDefaultInstance()) return this;
if (other.hasBlock()) {
mergeBlock(other.getBlock());
}
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.execution.Execution.BlockHeaderResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.execution.Execution.BlockHeaderResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader block_;
private com.google.protobuf.SingleFieldBuilderV3<
org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader, org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.Builder, org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeaderOrBuilder> blockBuilder_;
/**
* .flow.entities.BlockHeader block = 1;
* @return Whether the block field is set.
*/
public boolean hasBlock() {
return blockBuilder_ != null || block_ != null;
}
/**
* .flow.entities.BlockHeader block = 1;
* @return The block.
*/
public org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader getBlock() {
if (blockBuilder_ == null) {
return block_ == null ? org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.getDefaultInstance() : block_;
} else {
return blockBuilder_.getMessage();
}
}
/**
* .flow.entities.BlockHeader block = 1;
*/
public Builder setBlock(org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader value) {
if (blockBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
block_ = value;
onChanged();
} else {
blockBuilder_.setMessage(value);
}
return this;
}
/**
* .flow.entities.BlockHeader block = 1;
*/
public Builder setBlock(
org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.Builder builderForValue) {
if (blockBuilder_ == null) {
block_ = builderForValue.build();
onChanged();
} else {
blockBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .flow.entities.BlockHeader block = 1;
*/
public Builder mergeBlock(org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader value) {
if (blockBuilder_ == null) {
if (block_ != null) {
block_ =
org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.newBuilder(block_).mergeFrom(value).buildPartial();
} else {
block_ = value;
}
onChanged();
} else {
blockBuilder_.mergeFrom(value);
}
return this;
}
/**
* .flow.entities.BlockHeader block = 1;
*/
public Builder clearBlock() {
if (blockBuilder_ == null) {
block_ = null;
onChanged();
} else {
block_ = null;
blockBuilder_ = null;
}
return this;
}
/**
* .flow.entities.BlockHeader block = 1;
*/
public org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.Builder getBlockBuilder() {
onChanged();
return getBlockFieldBuilder().getBuilder();
}
/**
* .flow.entities.BlockHeader block = 1;
*/
public org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeaderOrBuilder getBlockOrBuilder() {
if (blockBuilder_ != null) {
return blockBuilder_.getMessageOrBuilder();
} else {
return block_ == null ?
org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.getDefaultInstance() : block_;
}
}
/**
* .flow.entities.BlockHeader block = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader, org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.Builder, org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeaderOrBuilder>
getBlockFieldBuilder() {
if (blockBuilder_ == null) {
blockBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader, org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeader.Builder, org.onflow.protobuf.entities.BlockHeaderOuterClass.BlockHeaderOrBuilder>(
getBlock(),
getParentForChildren(),
isClean());
block_ = null;
}
return blockBuilder_;
}
@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.execution.BlockHeaderResponse)
}
// @@protoc_insertion_point(class_scope:flow.execution.BlockHeaderResponse)
private static final org.onflow.protobuf.execution.Execution.BlockHeaderResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.execution.Execution.BlockHeaderResponse();
}
public static org.onflow.protobuf.execution.Execution.BlockHeaderResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public BlockHeaderResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new BlockHeaderResponse(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.execution.Execution.BlockHeaderResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flow_execution_PingRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flow_execution_PingRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flow_execution_PingResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flow_execution_PingResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flow_execution_GetAccountAtBlockIDRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flow_execution_GetAccountAtBlockIDRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flow_execution_GetAccountAtBlockIDResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flow_execution_GetAccountAtBlockIDResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flow_execution_ExecuteScriptAtBlockIDRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flow_execution_ExecuteScriptAtBlockIDRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flow_execution_ExecuteScriptAtBlockIDResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flow_execution_ExecuteScriptAtBlockIDResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flow_execution_GetEventsForBlockIDsResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flow_execution_GetEventsForBlockIDsResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flow_execution_GetEventsForBlockIDsResponse_Result_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flow_execution_GetEventsForBlockIDsResponse_Result_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flow_execution_GetEventsForBlockIDsRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flow_execution_GetEventsForBlockIDsRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flow_execution_GetTransactionResultRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flow_execution_GetTransactionResultRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flow_execution_GetTransactionByIndexRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flow_execution_GetTransactionByIndexRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flow_execution_GetTransactionResultResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flow_execution_GetTransactionResultResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flow_execution_GetTransactionsByBlockIDRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flow_execution_GetTransactionsByBlockIDRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flow_execution_GetTransactionResultsResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flow_execution_GetTransactionResultsResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flow_execution_GetTransactionErrorMessageRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flow_execution_GetTransactionErrorMessageRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flow_execution_GetTransactionErrorMessageByIndexRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flow_execution_GetTransactionErrorMessageByIndexRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flow_execution_GetTransactionErrorMessageResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flow_execution_GetTransactionErrorMessageResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flow_execution_GetTransactionErrorMessagesByBlockIDRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flow_execution_GetTransactionErrorMessagesByBlockIDRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flow_execution_GetTransactionErrorMessagesResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flow_execution_GetTransactionErrorMessagesResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flow_execution_GetTransactionErrorMessagesResponse_Result_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flow_execution_GetTransactionErrorMessagesResponse_Result_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flow_execution_GetRegisterAtBlockIDRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flow_execution_GetRegisterAtBlockIDRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flow_execution_GetRegisterAtBlockIDResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flow_execution_GetRegisterAtBlockIDResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flow_execution_GetLatestBlockHeaderRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flow_execution_GetLatestBlockHeaderRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flow_execution_GetBlockHeaderByIDRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flow_execution_GetBlockHeaderByIDRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flow_execution_BlockHeaderResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flow_execution_BlockHeaderResponse_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\036flow/execution/execution.proto\022\016flow.e" +
"xecution\032\033flow/entities/account.proto\032 f" +
"low/entities/block_header.proto\032\031flow/en" +
"tities/event.proto\032\037flow/entities/transa" +
"ction.proto\"\r\n\013PingRequest\"\016\n\014PingRespon" +
"se\"?\n\032GetAccountAtBlockIDRequest\022\020\n\010bloc" +
"k_id\030\001 \001(\014\022\017\n\007address\030\002 \001(\014\"F\n\033GetAccoun" +
"tAtBlockIDResponse\022\'\n\007account\030\001 \001(\0132\026.fl" +
"ow.entities.Account\"T\n\035ExecuteScriptAtBl" +
"ockIDRequest\022\020\n\010block_id\030\001 \001(\014\022\016\n\006script" +
"\030\002 \001(\014\022\021\n\targuments\030\003 \003(\014\"J\n\036ExecuteScri" +
"ptAtBlockIDResponse\022\r\n\005value\030\001 \001(\014\022\031\n\021co" +
"mputation_usage\030\002 \001(\004\"\201\002\n\034GetEventsForBl" +
"ockIDsResponse\022D\n\007results\030\001 \003(\01323.flow.e" +
"xecution.GetEventsForBlockIDsResponse.Re" +
"sult\022C\n\026event_encoding_version\030\002 \001(\0162#.f" +
"low.entities.EventEncodingVersion\032V\n\006Res" +
"ult\022\020\n\010block_id\030\001 \001(\014\022\024\n\014block_height\030\002 " +
"\001(\004\022$\n\006events\030\003 \003(\0132\024.flow.entities.Even" +
"t\">\n\033GetEventsForBlockIDsRequest\022\014\n\004type" +
"\030\001 \001(\t\022\021\n\tblock_ids\030\002 \003(\014\"G\n\033GetTransact" +
"ionResultRequest\022\020\n\010block_id\030\001 \001(\014\022\026\n\016tr" +
"ansaction_id\030\002 \001(\014\"?\n\034GetTransactionByIn" +
"dexRequest\022\020\n\010block_id\030\001 \001(\014\022\r\n\005index\030\002 " +
"\001(\r\"\320\001\n\034GetTransactionResultResponse\022\023\n\013" +
"status_code\030\001 \001(\r\022\025\n\rerror_message\030\002 \001(\t" +
"\022$\n\006events\030\003 \003(\0132\024.flow.entities.Event\022C" +
"\n\026event_encoding_version\030\004 \001(\0162#.flow.en" +
"tities.EventEncodingVersion\022\031\n\021computati" +
"on_usage\030\005 \001(\004\"3\n\037GetTransactionsByBlock" +
"IDRequest\022\020\n\010block_id\030\001 \001(\014\"\257\001\n\035GetTrans" +
"actionResultsResponse\022I\n\023transaction_res" +
"ults\030\001 \003(\0132,.flow.execution.GetTransacti" +
"onResultResponse\022C\n\026event_encoding_versi" +
"on\030\002 \001(\0162#.flow.entities.EventEncodingVe" +
"rsion\"M\n!GetTransactionErrorMessageReque" +
"st\022\020\n\010block_id\030\001 \001(\014\022\026\n\016transaction_id\030\002" +
" \001(\014\"K\n(GetTransactionErrorMessageByInde" +
"xRequest\022\020\n\010block_id\030\001 \001(\014\022\r\n\005index\030\002 \001(" +
"\r\"S\n\"GetTransactionErrorMessageResponse\022" +
"\026\n\016transaction_id\030\001 \001(\014\022\025\n\rerror_message" +
"\030\002 \001(\t\"?\n+GetTransactionErrorMessagesByB" +
"lockIDRequest\022\020\n\010block_id\030\001 \001(\014\"\272\001\n#GetT" +
"ransactionErrorMessagesResponse\022K\n\007resul" +
"ts\030\001 \003(\0132:.flow.execution.GetTransaction" +
"ErrorMessagesResponse.Result\032F\n\006Result\022\026" +
"\n\016transaction_id\030\001 \001(\014\022\r\n\005index\030\002 \001(\r\022\025\n" +
"\rerror_message\030\003 \001(\t\"c\n\033GetRegisterAtBlo" +
"ckIDRequest\022\020\n\010block_id\030\001 \001(\014\022\026\n\016registe" +
"r_owner\030\002 \001(\014\022\024\n\014register_key\030\004 \001(\014J\004\010\003\020" +
"\004\"-\n\034GetRegisterAtBlockIDResponse\022\r\n\005val" +
"ue\030\001 \001(\014\"0\n\033GetLatestBlockHeaderRequest\022" +
"\021\n\tis_sealed\030\001 \001(\010\"\'\n\031GetBlockHeaderByID" +
"Request\022\n\n\002id\030\001 \001(\014\"@\n\023BlockHeaderRespon" +
"se\022)\n\005block\030\001 \001(\0132\032.flow.entities.BlockH" +
"eader2\226\014\n\014ExecutionAPI\022A\n\004Ping\022\033.flow.ex" +
"ecution.PingRequest\032\034.flow.execution.Pin" +
"gResponse\022n\n\023GetAccountAtBlockID\022*.flow." +
"execution.GetAccountAtBlockIDRequest\032+.f" +
"low.execution.GetAccountAtBlockIDRespons" +
"e\022w\n\026ExecuteScriptAtBlockID\022-.flow.execu" +
"tion.ExecuteScriptAtBlockIDRequest\032..flo" +
"w.execution.ExecuteScriptAtBlockIDRespon" +
"se\022q\n\024GetEventsForBlockIDs\022+.flow.execut" +
"ion.GetEventsForBlockIDsRequest\032,.flow.e" +
"xecution.GetEventsForBlockIDsResponse\022q\n" +
"\024GetTransactionResult\022+.flow.execution.G" +
"etTransactionResultRequest\032,.flow.execut" +
"ion.GetTransactionResultResponse\022y\n\033GetT" +
"ransactionResultByIndex\022,.flow.execution" +
".GetTransactionByIndexRequest\032,.flow.exe" +
"cution.GetTransactionResultResponse\022\200\001\n\036" +
"GetTransactionResultsByBlockID\022/.flow.ex" +
"ecution.GetTransactionsByBlockIDRequest\032" +
"-.flow.execution.GetTransactionResultsRe" +
"sponse\022\203\001\n\032GetTransactionErrorMessage\0221." +
"flow.execution.GetTransactionErrorMessag" +
"eRequest\0322.flow.execution.GetTransaction" +
"ErrorMessageResponse\022\221\001\n!GetTransactionE" +
"rrorMessageByIndex\0228.flow.execution.GetT" +
"ransactionErrorMessageByIndexRequest\0322.f" +
"low.execution.GetTransactionErrorMessage" +
"Response\022\230\001\n$GetTransactionErrorMessages" +
"ByBlockID\022;.flow.execution.GetTransactio" +
"nErrorMessagesByBlockIDRequest\0323.flow.ex" +
"ecution.GetTransactionErrorMessagesRespo" +
"nse\022q\n\024GetRegisterAtBlockID\022+.flow.execu" +
"tion.GetRegisterAtBlockIDRequest\032,.flow." +
"execution.GetRegisterAtBlockIDResponse\022h" +
"\n\024GetLatestBlockHeader\022+.flow.execution." +
"GetLatestBlockHeaderRequest\032#.flow.execu" +
"tion.BlockHeaderResponse\022d\n\022GetBlockHead" +
"erByID\022).flow.execution.GetBlockHeaderBy" +
"IDRequest\032#.flow.execution.BlockHeaderRe" +
"sponseBR\n\035org.onflow.protobuf.executionZ" +
"1github.com/onflow/flow/protobuf/go/flow" +
"/executionb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
org.onflow.protobuf.entities.AccountOuterClass.getDescriptor(),
org.onflow.protobuf.entities.BlockHeaderOuterClass.getDescriptor(),
org.onflow.protobuf.entities.EventOuterClass.getDescriptor(),
org.onflow.protobuf.entities.TransactionOuterClass.getDescriptor(),
});
internal_static_flow_execution_PingRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_flow_execution_PingRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flow_execution_PingRequest_descriptor,
new java.lang.String[] { });
internal_static_flow_execution_PingResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_flow_execution_PingResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flow_execution_PingResponse_descriptor,
new java.lang.String[] { });
internal_static_flow_execution_GetAccountAtBlockIDRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_flow_execution_GetAccountAtBlockIDRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flow_execution_GetAccountAtBlockIDRequest_descriptor,
new java.lang.String[] { "BlockId", "Address", });
internal_static_flow_execution_GetAccountAtBlockIDResponse_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_flow_execution_GetAccountAtBlockIDResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flow_execution_GetAccountAtBlockIDResponse_descriptor,
new java.lang.String[] { "Account", });
internal_static_flow_execution_ExecuteScriptAtBlockIDRequest_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_flow_execution_ExecuteScriptAtBlockIDRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flow_execution_ExecuteScriptAtBlockIDRequest_descriptor,
new java.lang.String[] { "BlockId", "Script", "Arguments", });
internal_static_flow_execution_ExecuteScriptAtBlockIDResponse_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_flow_execution_ExecuteScriptAtBlockIDResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flow_execution_ExecuteScriptAtBlockIDResponse_descriptor,
new java.lang.String[] { "Value", "ComputationUsage", });
internal_static_flow_execution_GetEventsForBlockIDsResponse_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_flow_execution_GetEventsForBlockIDsResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flow_execution_GetEventsForBlockIDsResponse_descriptor,
new java.lang.String[] { "Results", "EventEncodingVersion", });
internal_static_flow_execution_GetEventsForBlockIDsResponse_Result_descriptor =
internal_static_flow_execution_GetEventsForBlockIDsResponse_descriptor.getNestedTypes().get(0);
internal_static_flow_execution_GetEventsForBlockIDsResponse_Result_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flow_execution_GetEventsForBlockIDsResponse_Result_descriptor,
new java.lang.String[] { "BlockId", "BlockHeight", "Events", });
internal_static_flow_execution_GetEventsForBlockIDsRequest_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_flow_execution_GetEventsForBlockIDsRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flow_execution_GetEventsForBlockIDsRequest_descriptor,
new java.lang.String[] { "Type", "BlockIds", });
internal_static_flow_execution_GetTransactionResultRequest_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_flow_execution_GetTransactionResultRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flow_execution_GetTransactionResultRequest_descriptor,
new java.lang.String[] { "BlockId", "TransactionId", });
internal_static_flow_execution_GetTransactionByIndexRequest_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_flow_execution_GetTransactionByIndexRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flow_execution_GetTransactionByIndexRequest_descriptor,
new java.lang.String[] { "BlockId", "Index", });
internal_static_flow_execution_GetTransactionResultResponse_descriptor =
getDescriptor().getMessageTypes().get(10);
internal_static_flow_execution_GetTransactionResultResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flow_execution_GetTransactionResultResponse_descriptor,
new java.lang.String[] { "StatusCode", "ErrorMessage", "Events", "EventEncodingVersion", "ComputationUsage", });
internal_static_flow_execution_GetTransactionsByBlockIDRequest_descriptor =
getDescriptor().getMessageTypes().get(11);
internal_static_flow_execution_GetTransactionsByBlockIDRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flow_execution_GetTransactionsByBlockIDRequest_descriptor,
new java.lang.String[] { "BlockId", });
internal_static_flow_execution_GetTransactionResultsResponse_descriptor =
getDescriptor().getMessageTypes().get(12);
internal_static_flow_execution_GetTransactionResultsResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flow_execution_GetTransactionResultsResponse_descriptor,
new java.lang.String[] { "TransactionResults", "EventEncodingVersion", });
internal_static_flow_execution_GetTransactionErrorMessageRequest_descriptor =
getDescriptor().getMessageTypes().get(13);
internal_static_flow_execution_GetTransactionErrorMessageRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flow_execution_GetTransactionErrorMessageRequest_descriptor,
new java.lang.String[] { "BlockId", "TransactionId", });
internal_static_flow_execution_GetTransactionErrorMessageByIndexRequest_descriptor =
getDescriptor().getMessageTypes().get(14);
internal_static_flow_execution_GetTransactionErrorMessageByIndexRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flow_execution_GetTransactionErrorMessageByIndexRequest_descriptor,
new java.lang.String[] { "BlockId", "Index", });
internal_static_flow_execution_GetTransactionErrorMessageResponse_descriptor =
getDescriptor().getMessageTypes().get(15);
internal_static_flow_execution_GetTransactionErrorMessageResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flow_execution_GetTransactionErrorMessageResponse_descriptor,
new java.lang.String[] { "TransactionId", "ErrorMessage", });
internal_static_flow_execution_GetTransactionErrorMessagesByBlockIDRequest_descriptor =
getDescriptor().getMessageTypes().get(16);
internal_static_flow_execution_GetTransactionErrorMessagesByBlockIDRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flow_execution_GetTransactionErrorMessagesByBlockIDRequest_descriptor,
new java.lang.String[] { "BlockId", });
internal_static_flow_execution_GetTransactionErrorMessagesResponse_descriptor =
getDescriptor().getMessageTypes().get(17);
internal_static_flow_execution_GetTransactionErrorMessagesResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flow_execution_GetTransactionErrorMessagesResponse_descriptor,
new java.lang.String[] { "Results", });
internal_static_flow_execution_GetTransactionErrorMessagesResponse_Result_descriptor =
internal_static_flow_execution_GetTransactionErrorMessagesResponse_descriptor.getNestedTypes().get(0);
internal_static_flow_execution_GetTransactionErrorMessagesResponse_Result_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flow_execution_GetTransactionErrorMessagesResponse_Result_descriptor,
new java.lang.String[] { "TransactionId", "Index", "ErrorMessage", });
internal_static_flow_execution_GetRegisterAtBlockIDRequest_descriptor =
getDescriptor().getMessageTypes().get(18);
internal_static_flow_execution_GetRegisterAtBlockIDRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flow_execution_GetRegisterAtBlockIDRequest_descriptor,
new java.lang.String[] { "BlockId", "RegisterOwner", "RegisterKey", });
internal_static_flow_execution_GetRegisterAtBlockIDResponse_descriptor =
getDescriptor().getMessageTypes().get(19);
internal_static_flow_execution_GetRegisterAtBlockIDResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flow_execution_GetRegisterAtBlockIDResponse_descriptor,
new java.lang.String[] { "Value", });
internal_static_flow_execution_GetLatestBlockHeaderRequest_descriptor =
getDescriptor().getMessageTypes().get(20);
internal_static_flow_execution_GetLatestBlockHeaderRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flow_execution_GetLatestBlockHeaderRequest_descriptor,
new java.lang.String[] { "IsSealed", });
internal_static_flow_execution_GetBlockHeaderByIDRequest_descriptor =
getDescriptor().getMessageTypes().get(21);
internal_static_flow_execution_GetBlockHeaderByIDRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flow_execution_GetBlockHeaderByIDRequest_descriptor,
new java.lang.String[] { "Id", });
internal_static_flow_execution_BlockHeaderResponse_descriptor =
getDescriptor().getMessageTypes().get(22);
internal_static_flow_execution_BlockHeaderResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flow_execution_BlockHeaderResponse_descriptor,
new java.lang.String[] { "Block", });
org.onflow.protobuf.entities.AccountOuterClass.getDescriptor();
org.onflow.protobuf.entities.BlockHeaderOuterClass.getDescriptor();
org.onflow.protobuf.entities.EventOuterClass.getDescriptor();
org.onflow.protobuf.entities.TransactionOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}