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.legacy.execution.Execution Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: flow/legacy/execution/execution.proto
package org.onflow.protobuf.legacy.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:execution.PingRequest)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code execution.PingRequest}
*/
public static final class PingRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements: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.legacy.execution.Execution.internal_static_execution_PingRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_PingRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.legacy.execution.Execution.PingRequest.class, org.onflow.protobuf.legacy.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.legacy.execution.Execution.PingRequest)) {
return super.equals(obj);
}
org.onflow.protobuf.legacy.execution.Execution.PingRequest other = (org.onflow.protobuf.legacy.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.legacy.execution.Execution.PingRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.legacy.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.legacy.execution.Execution.PingRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.legacy.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.legacy.execution.Execution.PingRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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 execution.PingRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:execution.PingRequest)
org.onflow.protobuf.legacy.execution.Execution.PingRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_PingRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_PingRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.legacy.execution.Execution.PingRequest.class, org.onflow.protobuf.legacy.execution.Execution.PingRequest.Builder.class);
}
// Construct using org.onflow.protobuf.legacy.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.legacy.execution.Execution.internal_static_execution_PingRequest_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.PingRequest getDefaultInstanceForType() {
return org.onflow.protobuf.legacy.execution.Execution.PingRequest.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.PingRequest build() {
org.onflow.protobuf.legacy.execution.Execution.PingRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.PingRequest buildPartial() {
org.onflow.protobuf.legacy.execution.Execution.PingRequest result = new org.onflow.protobuf.legacy.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.legacy.execution.Execution.PingRequest) {
return mergeFrom((org.onflow.protobuf.legacy.execution.Execution.PingRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.legacy.execution.Execution.PingRequest other) {
if (other == org.onflow.protobuf.legacy.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.legacy.execution.Execution.PingRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.legacy.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:execution.PingRequest)
}
// @@protoc_insertion_point(class_scope:execution.PingRequest)
private static final org.onflow.protobuf.legacy.execution.Execution.PingRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.legacy.execution.Execution.PingRequest();
}
public static org.onflow.protobuf.legacy.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.legacy.execution.Execution.PingRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PingResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:execution.PingResponse)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code execution.PingResponse}
*/
public static final class PingResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements: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.legacy.execution.Execution.internal_static_execution_PingResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_PingResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.legacy.execution.Execution.PingResponse.class, org.onflow.protobuf.legacy.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.legacy.execution.Execution.PingResponse)) {
return super.equals(obj);
}
org.onflow.protobuf.legacy.execution.Execution.PingResponse other = (org.onflow.protobuf.legacy.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.legacy.execution.Execution.PingResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.legacy.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.legacy.execution.Execution.PingResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.legacy.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.legacy.execution.Execution.PingResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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 execution.PingResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:execution.PingResponse)
org.onflow.protobuf.legacy.execution.Execution.PingResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_PingResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_PingResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.legacy.execution.Execution.PingResponse.class, org.onflow.protobuf.legacy.execution.Execution.PingResponse.Builder.class);
}
// Construct using org.onflow.protobuf.legacy.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.legacy.execution.Execution.internal_static_execution_PingResponse_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.PingResponse getDefaultInstanceForType() {
return org.onflow.protobuf.legacy.execution.Execution.PingResponse.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.PingResponse build() {
org.onflow.protobuf.legacy.execution.Execution.PingResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.PingResponse buildPartial() {
org.onflow.protobuf.legacy.execution.Execution.PingResponse result = new org.onflow.protobuf.legacy.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.legacy.execution.Execution.PingResponse) {
return mergeFrom((org.onflow.protobuf.legacy.execution.Execution.PingResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.legacy.execution.Execution.PingResponse other) {
if (other == org.onflow.protobuf.legacy.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.legacy.execution.Execution.PingResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.legacy.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:execution.PingResponse)
}
// @@protoc_insertion_point(class_scope:execution.PingResponse)
private static final org.onflow.protobuf.legacy.execution.Execution.PingResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.legacy.execution.Execution.PingResponse();
}
public static org.onflow.protobuf.legacy.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.legacy.execution.Execution.PingResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetAccountAtBlockIDRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends: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 execution.GetAccountAtBlockIDRequest}
*/
public static final class GetAccountAtBlockIDRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements: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.legacy.execution.Execution.internal_static_execution_GetAccountAtBlockIDRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_GetAccountAtBlockIDRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.legacy.execution.Execution.GetAccountAtBlockIDRequest.class, org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetAccountAtBlockIDRequest)) {
return super.equals(obj);
}
org.onflow.protobuf.legacy.execution.Execution.GetAccountAtBlockIDRequest other = (org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetAccountAtBlockIDRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetAccountAtBlockIDRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetAccountAtBlockIDRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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 execution.GetAccountAtBlockIDRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:execution.GetAccountAtBlockIDRequest)
org.onflow.protobuf.legacy.execution.Execution.GetAccountAtBlockIDRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_GetAccountAtBlockIDRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_GetAccountAtBlockIDRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.legacy.execution.Execution.GetAccountAtBlockIDRequest.class, org.onflow.protobuf.legacy.execution.Execution.GetAccountAtBlockIDRequest.Builder.class);
}
// Construct using org.onflow.protobuf.legacy.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.legacy.execution.Execution.internal_static_execution_GetAccountAtBlockIDRequest_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.GetAccountAtBlockIDRequest getDefaultInstanceForType() {
return org.onflow.protobuf.legacy.execution.Execution.GetAccountAtBlockIDRequest.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.GetAccountAtBlockIDRequest build() {
org.onflow.protobuf.legacy.execution.Execution.GetAccountAtBlockIDRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.GetAccountAtBlockIDRequest buildPartial() {
org.onflow.protobuf.legacy.execution.Execution.GetAccountAtBlockIDRequest result = new org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetAccountAtBlockIDRequest) {
return mergeFrom((org.onflow.protobuf.legacy.execution.Execution.GetAccountAtBlockIDRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.legacy.execution.Execution.GetAccountAtBlockIDRequest other) {
if (other == org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetAccountAtBlockIDRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.legacy.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:execution.GetAccountAtBlockIDRequest)
}
// @@protoc_insertion_point(class_scope:execution.GetAccountAtBlockIDRequest)
private static final org.onflow.protobuf.legacy.execution.Execution.GetAccountAtBlockIDRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.legacy.execution.Execution.GetAccountAtBlockIDRequest();
}
public static org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetAccountAtBlockIDRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetAccountAtBlockIDResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:execution.GetAccountAtBlockIDResponse)
com.google.protobuf.MessageOrBuilder {
/**
* .entities.Account account = 1;
* @return Whether the account field is set.
*/
boolean hasAccount();
/**
* .entities.Account account = 1;
* @return The account.
*/
org.onflow.protobuf.legacy.entities.AccountOuterClass.Account getAccount();
/**
* .entities.Account account = 1;
*/
org.onflow.protobuf.legacy.entities.AccountOuterClass.AccountOrBuilder getAccountOrBuilder();
}
/**
* Protobuf type {@code execution.GetAccountAtBlockIDResponse}
*/
public static final class GetAccountAtBlockIDResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements: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.legacy.entities.AccountOuterClass.Account.Builder subBuilder = null;
if (account_ != null) {
subBuilder = account_.toBuilder();
}
account_ = input.readMessage(org.onflow.protobuf.legacy.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.legacy.execution.Execution.internal_static_execution_GetAccountAtBlockIDResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_GetAccountAtBlockIDResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.legacy.execution.Execution.GetAccountAtBlockIDResponse.class, org.onflow.protobuf.legacy.execution.Execution.GetAccountAtBlockIDResponse.Builder.class);
}
public static final int ACCOUNT_FIELD_NUMBER = 1;
private org.onflow.protobuf.legacy.entities.AccountOuterClass.Account account_;
/**
* .entities.Account account = 1;
* @return Whether the account field is set.
*/
@java.lang.Override
public boolean hasAccount() {
return account_ != null;
}
/**
* .entities.Account account = 1;
* @return The account.
*/
@java.lang.Override
public org.onflow.protobuf.legacy.entities.AccountOuterClass.Account getAccount() {
return account_ == null ? org.onflow.protobuf.legacy.entities.AccountOuterClass.Account.getDefaultInstance() : account_;
}
/**
* .entities.Account account = 1;
*/
@java.lang.Override
public org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetAccountAtBlockIDResponse)) {
return super.equals(obj);
}
org.onflow.protobuf.legacy.execution.Execution.GetAccountAtBlockIDResponse other = (org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetAccountAtBlockIDResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetAccountAtBlockIDResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetAccountAtBlockIDResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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 execution.GetAccountAtBlockIDResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:execution.GetAccountAtBlockIDResponse)
org.onflow.protobuf.legacy.execution.Execution.GetAccountAtBlockIDResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_GetAccountAtBlockIDResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_GetAccountAtBlockIDResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.legacy.execution.Execution.GetAccountAtBlockIDResponse.class, org.onflow.protobuf.legacy.execution.Execution.GetAccountAtBlockIDResponse.Builder.class);
}
// Construct using org.onflow.protobuf.legacy.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.legacy.execution.Execution.internal_static_execution_GetAccountAtBlockIDResponse_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.GetAccountAtBlockIDResponse getDefaultInstanceForType() {
return org.onflow.protobuf.legacy.execution.Execution.GetAccountAtBlockIDResponse.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.GetAccountAtBlockIDResponse build() {
org.onflow.protobuf.legacy.execution.Execution.GetAccountAtBlockIDResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.GetAccountAtBlockIDResponse buildPartial() {
org.onflow.protobuf.legacy.execution.Execution.GetAccountAtBlockIDResponse result = new org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetAccountAtBlockIDResponse) {
return mergeFrom((org.onflow.protobuf.legacy.execution.Execution.GetAccountAtBlockIDResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.legacy.execution.Execution.GetAccountAtBlockIDResponse other) {
if (other == org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetAccountAtBlockIDResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.legacy.execution.Execution.GetAccountAtBlockIDResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private org.onflow.protobuf.legacy.entities.AccountOuterClass.Account account_;
private com.google.protobuf.SingleFieldBuilderV3<
org.onflow.protobuf.legacy.entities.AccountOuterClass.Account, org.onflow.protobuf.legacy.entities.AccountOuterClass.Account.Builder, org.onflow.protobuf.legacy.entities.AccountOuterClass.AccountOrBuilder> accountBuilder_;
/**
* .entities.Account account = 1;
* @return Whether the account field is set.
*/
public boolean hasAccount() {
return accountBuilder_ != null || account_ != null;
}
/**
* .entities.Account account = 1;
* @return The account.
*/
public org.onflow.protobuf.legacy.entities.AccountOuterClass.Account getAccount() {
if (accountBuilder_ == null) {
return account_ == null ? org.onflow.protobuf.legacy.entities.AccountOuterClass.Account.getDefaultInstance() : account_;
} else {
return accountBuilder_.getMessage();
}
}
/**
* .entities.Account account = 1;
*/
public Builder setAccount(org.onflow.protobuf.legacy.entities.AccountOuterClass.Account value) {
if (accountBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
account_ = value;
onChanged();
} else {
accountBuilder_.setMessage(value);
}
return this;
}
/**
* .entities.Account account = 1;
*/
public Builder setAccount(
org.onflow.protobuf.legacy.entities.AccountOuterClass.Account.Builder builderForValue) {
if (accountBuilder_ == null) {
account_ = builderForValue.build();
onChanged();
} else {
accountBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .entities.Account account = 1;
*/
public Builder mergeAccount(org.onflow.protobuf.legacy.entities.AccountOuterClass.Account value) {
if (accountBuilder_ == null) {
if (account_ != null) {
account_ =
org.onflow.protobuf.legacy.entities.AccountOuterClass.Account.newBuilder(account_).mergeFrom(value).buildPartial();
} else {
account_ = value;
}
onChanged();
} else {
accountBuilder_.mergeFrom(value);
}
return this;
}
/**
* .entities.Account account = 1;
*/
public Builder clearAccount() {
if (accountBuilder_ == null) {
account_ = null;
onChanged();
} else {
account_ = null;
accountBuilder_ = null;
}
return this;
}
/**
* .entities.Account account = 1;
*/
public org.onflow.protobuf.legacy.entities.AccountOuterClass.Account.Builder getAccountBuilder() {
onChanged();
return getAccountFieldBuilder().getBuilder();
}
/**
* .entities.Account account = 1;
*/
public org.onflow.protobuf.legacy.entities.AccountOuterClass.AccountOrBuilder getAccountOrBuilder() {
if (accountBuilder_ != null) {
return accountBuilder_.getMessageOrBuilder();
} else {
return account_ == null ?
org.onflow.protobuf.legacy.entities.AccountOuterClass.Account.getDefaultInstance() : account_;
}
}
/**
* .entities.Account account = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.onflow.protobuf.legacy.entities.AccountOuterClass.Account, org.onflow.protobuf.legacy.entities.AccountOuterClass.Account.Builder, org.onflow.protobuf.legacy.entities.AccountOuterClass.AccountOrBuilder>
getAccountFieldBuilder() {
if (accountBuilder_ == null) {
accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.onflow.protobuf.legacy.entities.AccountOuterClass.Account, org.onflow.protobuf.legacy.entities.AccountOuterClass.Account.Builder, org.onflow.protobuf.legacy.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:execution.GetAccountAtBlockIDResponse)
}
// @@protoc_insertion_point(class_scope:execution.GetAccountAtBlockIDResponse)
private static final org.onflow.protobuf.legacy.execution.Execution.GetAccountAtBlockIDResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.legacy.execution.Execution.GetAccountAtBlockIDResponse();
}
public static org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetAccountAtBlockIDResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ExecuteScriptAtBlockIDRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends: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 execution.ExecuteScriptAtBlockIDRequest}
*/
public static final class ExecuteScriptAtBlockIDRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements: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.legacy.execution.Execution.internal_static_execution_ExecuteScriptAtBlockIDRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_ExecuteScriptAtBlockIDRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.legacy.execution.Execution.ExecuteScriptAtBlockIDRequest.class, org.onflow.protobuf.legacy.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.legacy.execution.Execution.ExecuteScriptAtBlockIDRequest)) {
return super.equals(obj);
}
org.onflow.protobuf.legacy.execution.Execution.ExecuteScriptAtBlockIDRequest other = (org.onflow.protobuf.legacy.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.legacy.execution.Execution.ExecuteScriptAtBlockIDRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.legacy.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.legacy.execution.Execution.ExecuteScriptAtBlockIDRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.legacy.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.legacy.execution.Execution.ExecuteScriptAtBlockIDRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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 execution.ExecuteScriptAtBlockIDRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:execution.ExecuteScriptAtBlockIDRequest)
org.onflow.protobuf.legacy.execution.Execution.ExecuteScriptAtBlockIDRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_ExecuteScriptAtBlockIDRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_ExecuteScriptAtBlockIDRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.legacy.execution.Execution.ExecuteScriptAtBlockIDRequest.class, org.onflow.protobuf.legacy.execution.Execution.ExecuteScriptAtBlockIDRequest.Builder.class);
}
// Construct using org.onflow.protobuf.legacy.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.legacy.execution.Execution.internal_static_execution_ExecuteScriptAtBlockIDRequest_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.ExecuteScriptAtBlockIDRequest getDefaultInstanceForType() {
return org.onflow.protobuf.legacy.execution.Execution.ExecuteScriptAtBlockIDRequest.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.ExecuteScriptAtBlockIDRequest build() {
org.onflow.protobuf.legacy.execution.Execution.ExecuteScriptAtBlockIDRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.ExecuteScriptAtBlockIDRequest buildPartial() {
org.onflow.protobuf.legacy.execution.Execution.ExecuteScriptAtBlockIDRequest result = new org.onflow.protobuf.legacy.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.legacy.execution.Execution.ExecuteScriptAtBlockIDRequest) {
return mergeFrom((org.onflow.protobuf.legacy.execution.Execution.ExecuteScriptAtBlockIDRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.legacy.execution.Execution.ExecuteScriptAtBlockIDRequest other) {
if (other == org.onflow.protobuf.legacy.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.legacy.execution.Execution.ExecuteScriptAtBlockIDRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.legacy.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:execution.ExecuteScriptAtBlockIDRequest)
}
// @@protoc_insertion_point(class_scope:execution.ExecuteScriptAtBlockIDRequest)
private static final org.onflow.protobuf.legacy.execution.Execution.ExecuteScriptAtBlockIDRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.legacy.execution.Execution.ExecuteScriptAtBlockIDRequest();
}
public static org.onflow.protobuf.legacy.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.legacy.execution.Execution.ExecuteScriptAtBlockIDRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ExecuteScriptAtBlockIDResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:execution.ExecuteScriptAtBlockIDResponse)
com.google.protobuf.MessageOrBuilder {
/**
* bytes value = 1;
* @return The value.
*/
com.google.protobuf.ByteString getValue();
}
/**
* Protobuf type {@code execution.ExecuteScriptAtBlockIDResponse}
*/
public static final class ExecuteScriptAtBlockIDResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements: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;
}
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.legacy.execution.Execution.internal_static_execution_ExecuteScriptAtBlockIDResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_ExecuteScriptAtBlockIDResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.legacy.execution.Execution.ExecuteScriptAtBlockIDResponse.class, org.onflow.protobuf.legacy.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_;
}
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.legacy.execution.Execution.ExecuteScriptAtBlockIDResponse)) {
return super.equals(obj);
}
org.onflow.protobuf.legacy.execution.Execution.ExecuteScriptAtBlockIDResponse other = (org.onflow.protobuf.legacy.execution.Execution.ExecuteScriptAtBlockIDResponse) 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.legacy.execution.Execution.ExecuteScriptAtBlockIDResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.legacy.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.legacy.execution.Execution.ExecuteScriptAtBlockIDResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.legacy.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.legacy.execution.Execution.ExecuteScriptAtBlockIDResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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 execution.ExecuteScriptAtBlockIDResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:execution.ExecuteScriptAtBlockIDResponse)
org.onflow.protobuf.legacy.execution.Execution.ExecuteScriptAtBlockIDResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_ExecuteScriptAtBlockIDResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_ExecuteScriptAtBlockIDResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.legacy.execution.Execution.ExecuteScriptAtBlockIDResponse.class, org.onflow.protobuf.legacy.execution.Execution.ExecuteScriptAtBlockIDResponse.Builder.class);
}
// Construct using org.onflow.protobuf.legacy.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;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_ExecuteScriptAtBlockIDResponse_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.ExecuteScriptAtBlockIDResponse getDefaultInstanceForType() {
return org.onflow.protobuf.legacy.execution.Execution.ExecuteScriptAtBlockIDResponse.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.ExecuteScriptAtBlockIDResponse build() {
org.onflow.protobuf.legacy.execution.Execution.ExecuteScriptAtBlockIDResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.ExecuteScriptAtBlockIDResponse buildPartial() {
org.onflow.protobuf.legacy.execution.Execution.ExecuteScriptAtBlockIDResponse result = new org.onflow.protobuf.legacy.execution.Execution.ExecuteScriptAtBlockIDResponse(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.legacy.execution.Execution.ExecuteScriptAtBlockIDResponse) {
return mergeFrom((org.onflow.protobuf.legacy.execution.Execution.ExecuteScriptAtBlockIDResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.legacy.execution.Execution.ExecuteScriptAtBlockIDResponse other) {
if (other == org.onflow.protobuf.legacy.execution.Execution.ExecuteScriptAtBlockIDResponse.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.legacy.execution.Execution.ExecuteScriptAtBlockIDResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.legacy.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;
}
@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:execution.ExecuteScriptAtBlockIDResponse)
}
// @@protoc_insertion_point(class_scope:execution.ExecuteScriptAtBlockIDResponse)
private static final org.onflow.protobuf.legacy.execution.Execution.ExecuteScriptAtBlockIDResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.legacy.execution.Execution.ExecuteScriptAtBlockIDResponse();
}
public static org.onflow.protobuf.legacy.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.legacy.execution.Execution.ExecuteScriptAtBlockIDResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetEventsForBlockIDsResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:execution.GetEventsForBlockIDsResponse)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
java.util.List
getResultsList();
/**
* repeated .execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result getResults(int index);
/**
* repeated .execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
int getResultsCount();
/**
* repeated .execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
java.util.List extends org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.ResultOrBuilder>
getResultsOrBuilderList();
/**
* repeated .execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.ResultOrBuilder getResultsOrBuilder(
int index);
}
/**
* Protobuf type {@code execution.GetEventsForBlockIDsResponse}
*/
public static final class GetEventsForBlockIDsResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements: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();
}
@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.legacy.execution.Execution.GetEventsForBlockIDsResponse.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.legacy.execution.Execution.internal_static_execution_GetEventsForBlockIDsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_GetEventsForBlockIDsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.class, org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.Builder.class);
}
public interface ResultOrBuilder extends
// @@protoc_insertion_point(interface_extends: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 .entities.Event events = 3;
*/
java.util.List
getEventsList();
/**
* repeated .entities.Event events = 3;
*/
org.onflow.protobuf.legacy.entities.EventOuterClass.Event getEvents(int index);
/**
* repeated .entities.Event events = 3;
*/
int getEventsCount();
/**
* repeated .entities.Event events = 3;
*/
java.util.List extends org.onflow.protobuf.legacy.entities.EventOuterClass.EventOrBuilder>
getEventsOrBuilderList();
/**
* repeated .entities.Event events = 3;
*/
org.onflow.protobuf.legacy.entities.EventOuterClass.EventOrBuilder getEventsOrBuilder(
int index);
}
/**
* Protobuf type {@code execution.GetEventsForBlockIDsResponse.Result}
*/
public static final class Result extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements: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.legacy.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.legacy.execution.Execution.internal_static_execution_GetEventsForBlockIDsResponse_Result_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_GetEventsForBlockIDsResponse_Result_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result.class, org.onflow.protobuf.legacy.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 .entities.Event events = 3;
*/
@java.lang.Override
public java.util.List getEventsList() {
return events_;
}
/**
* repeated .entities.Event events = 3;
*/
@java.lang.Override
public java.util.List extends org.onflow.protobuf.legacy.entities.EventOuterClass.EventOrBuilder>
getEventsOrBuilderList() {
return events_;
}
/**
* repeated .entities.Event events = 3;
*/
@java.lang.Override
public int getEventsCount() {
return events_.size();
}
/**
* repeated .entities.Event events = 3;
*/
@java.lang.Override
public org.onflow.protobuf.legacy.entities.EventOuterClass.Event getEvents(int index) {
return events_.get(index);
}
/**
* repeated .entities.Event events = 3;
*/
@java.lang.Override
public org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result)) {
return super.equals(obj);
}
org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result other = (org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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 execution.GetEventsForBlockIDsResponse.Result}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:execution.GetEventsForBlockIDsResponse.Result)
org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.ResultOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_GetEventsForBlockIDsResponse_Result_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_GetEventsForBlockIDsResponse_Result_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result.class, org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result.Builder.class);
}
// Construct using org.onflow.protobuf.legacy.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.legacy.execution.Execution.internal_static_execution_GetEventsForBlockIDsResponse_Result_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result getDefaultInstanceForType() {
return org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result build() {
org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result buildPartial() {
org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result result = new org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result) {
return mergeFrom((org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result other) {
if (other == org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.legacy.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.legacy.entities.EventOuterClass.Event, org.onflow.protobuf.legacy.entities.EventOuterClass.Event.Builder, org.onflow.protobuf.legacy.entities.EventOuterClass.EventOrBuilder> eventsBuilder_;
/**
* repeated .entities.Event events = 3;
*/
public java.util.List getEventsList() {
if (eventsBuilder_ == null) {
return java.util.Collections.unmodifiableList(events_);
} else {
return eventsBuilder_.getMessageList();
}
}
/**
* repeated .entities.Event events = 3;
*/
public int getEventsCount() {
if (eventsBuilder_ == null) {
return events_.size();
} else {
return eventsBuilder_.getCount();
}
}
/**
* repeated .entities.Event events = 3;
*/
public org.onflow.protobuf.legacy.entities.EventOuterClass.Event getEvents(int index) {
if (eventsBuilder_ == null) {
return events_.get(index);
} else {
return eventsBuilder_.getMessage(index);
}
}
/**
* repeated .entities.Event events = 3;
*/
public Builder setEvents(
int index, org.onflow.protobuf.legacy.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 .entities.Event events = 3;
*/
public Builder setEvents(
int index, org.onflow.protobuf.legacy.entities.EventOuterClass.Event.Builder builderForValue) {
if (eventsBuilder_ == null) {
ensureEventsIsMutable();
events_.set(index, builderForValue.build());
onChanged();
} else {
eventsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .entities.Event events = 3;
*/
public Builder addEvents(org.onflow.protobuf.legacy.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 .entities.Event events = 3;
*/
public Builder addEvents(
int index, org.onflow.protobuf.legacy.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 .entities.Event events = 3;
*/
public Builder addEvents(
org.onflow.protobuf.legacy.entities.EventOuterClass.Event.Builder builderForValue) {
if (eventsBuilder_ == null) {
ensureEventsIsMutable();
events_.add(builderForValue.build());
onChanged();
} else {
eventsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .entities.Event events = 3;
*/
public Builder addEvents(
int index, org.onflow.protobuf.legacy.entities.EventOuterClass.Event.Builder builderForValue) {
if (eventsBuilder_ == null) {
ensureEventsIsMutable();
events_.add(index, builderForValue.build());
onChanged();
} else {
eventsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .entities.Event events = 3;
*/
public Builder addAllEvents(
java.lang.Iterable extends org.onflow.protobuf.legacy.entities.EventOuterClass.Event> values) {
if (eventsBuilder_ == null) {
ensureEventsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, events_);
onChanged();
} else {
eventsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .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 .entities.Event events = 3;
*/
public Builder removeEvents(int index) {
if (eventsBuilder_ == null) {
ensureEventsIsMutable();
events_.remove(index);
onChanged();
} else {
eventsBuilder_.remove(index);
}
return this;
}
/**
* repeated .entities.Event events = 3;
*/
public org.onflow.protobuf.legacy.entities.EventOuterClass.Event.Builder getEventsBuilder(
int index) {
return getEventsFieldBuilder().getBuilder(index);
}
/**
* repeated .entities.Event events = 3;
*/
public org.onflow.protobuf.legacy.entities.EventOuterClass.EventOrBuilder getEventsOrBuilder(
int index) {
if (eventsBuilder_ == null) {
return events_.get(index); } else {
return eventsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .entities.Event events = 3;
*/
public java.util.List extends org.onflow.protobuf.legacy.entities.EventOuterClass.EventOrBuilder>
getEventsOrBuilderList() {
if (eventsBuilder_ != null) {
return eventsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(events_);
}
}
/**
* repeated .entities.Event events = 3;
*/
public org.onflow.protobuf.legacy.entities.EventOuterClass.Event.Builder addEventsBuilder() {
return getEventsFieldBuilder().addBuilder(
org.onflow.protobuf.legacy.entities.EventOuterClass.Event.getDefaultInstance());
}
/**
* repeated .entities.Event events = 3;
*/
public org.onflow.protobuf.legacy.entities.EventOuterClass.Event.Builder addEventsBuilder(
int index) {
return getEventsFieldBuilder().addBuilder(
index, org.onflow.protobuf.legacy.entities.EventOuterClass.Event.getDefaultInstance());
}
/**
* repeated .entities.Event events = 3;
*/
public java.util.List
getEventsBuilderList() {
return getEventsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.onflow.protobuf.legacy.entities.EventOuterClass.Event, org.onflow.protobuf.legacy.entities.EventOuterClass.Event.Builder, org.onflow.protobuf.legacy.entities.EventOuterClass.EventOrBuilder>
getEventsFieldBuilder() {
if (eventsBuilder_ == null) {
eventsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.onflow.protobuf.legacy.entities.EventOuterClass.Event, org.onflow.protobuf.legacy.entities.EventOuterClass.Event.Builder, org.onflow.protobuf.legacy.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:execution.GetEventsForBlockIDsResponse.Result)
}
// @@protoc_insertion_point(class_scope:execution.GetEventsForBlockIDsResponse.Result)
private static final org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result();
}
public static org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int RESULTS_FIELD_NUMBER = 1;
private java.util.List results_;
/**
* repeated .execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
@java.lang.Override
public java.util.List getResultsList() {
return results_;
}
/**
* repeated .execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
@java.lang.Override
public java.util.List extends org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.ResultOrBuilder>
getResultsOrBuilderList() {
return results_;
}
/**
* repeated .execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
@java.lang.Override
public int getResultsCount() {
return results_.size();
}
/**
* repeated .execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result getResults(int index) {
return results_.get(index);
}
/**
* repeated .execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.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.legacy.execution.Execution.GetEventsForBlockIDsResponse)) {
return super.equals(obj);
}
org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse other = (org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse) 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.legacy.execution.Execution.GetEventsForBlockIDsResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetEventsForBlockIDsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetEventsForBlockIDsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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 execution.GetEventsForBlockIDsResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:execution.GetEventsForBlockIDsResponse)
org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_GetEventsForBlockIDsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_GetEventsForBlockIDsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.class, org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.Builder.class);
}
// Construct using org.onflow.protobuf.legacy.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();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_GetEventsForBlockIDsResponse_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse getDefaultInstanceForType() {
return org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse build() {
org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse buildPartial() {
org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse result = new org.onflow.protobuf.legacy.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();
}
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.legacy.execution.Execution.GetEventsForBlockIDsResponse) {
return mergeFrom((org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse other) {
if (other == org.onflow.protobuf.legacy.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_);
}
}
}
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.legacy.execution.Execution.GetEventsForBlockIDsResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result, org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result.Builder, org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.ResultOrBuilder> resultsBuilder_;
/**
* repeated .execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public java.util.List getResultsList() {
if (resultsBuilder_ == null) {
return java.util.Collections.unmodifiableList(results_);
} else {
return resultsBuilder_.getMessageList();
}
}
/**
* repeated .execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public int getResultsCount() {
if (resultsBuilder_ == null) {
return results_.size();
} else {
return resultsBuilder_.getCount();
}
}
/**
* repeated .execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result getResults(int index) {
if (resultsBuilder_ == null) {
return results_.get(index);
} else {
return resultsBuilder_.getMessage(index);
}
}
/**
* repeated .execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public Builder setResults(
int index, org.onflow.protobuf.legacy.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 .execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public Builder setResults(
int index, org.onflow.protobuf.legacy.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 .execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public Builder addResults(org.onflow.protobuf.legacy.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 .execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public Builder addResults(
int index, org.onflow.protobuf.legacy.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 .execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public Builder addResults(
org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result.Builder builderForValue) {
if (resultsBuilder_ == null) {
ensureResultsIsMutable();
results_.add(builderForValue.build());
onChanged();
} else {
resultsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public Builder addResults(
int index, org.onflow.protobuf.legacy.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 .execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public Builder addAllResults(
java.lang.Iterable extends org.onflow.protobuf.legacy.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 .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 .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 .execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result.Builder getResultsBuilder(
int index) {
return getResultsFieldBuilder().getBuilder(index);
}
/**
* repeated .execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.ResultOrBuilder getResultsOrBuilder(
int index) {
if (resultsBuilder_ == null) {
return results_.get(index); } else {
return resultsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public java.util.List extends org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.ResultOrBuilder>
getResultsOrBuilderList() {
if (resultsBuilder_ != null) {
return resultsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(results_);
}
}
/**
* repeated .execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result.Builder addResultsBuilder() {
return getResultsFieldBuilder().addBuilder(
org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result.getDefaultInstance());
}
/**
* repeated .execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result.Builder addResultsBuilder(
int index) {
return getResultsFieldBuilder().addBuilder(
index, org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result.getDefaultInstance());
}
/**
* repeated .execution.GetEventsForBlockIDsResponse.Result results = 1;
*/
public java.util.List
getResultsBuilderList() {
return getResultsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result, org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result.Builder, org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.ResultOrBuilder>
getResultsFieldBuilder() {
if (resultsBuilder_ == null) {
resultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result, org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.Result.Builder, org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse.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:execution.GetEventsForBlockIDsResponse)
}
// @@protoc_insertion_point(class_scope:execution.GetEventsForBlockIDsResponse)
private static final org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsResponse();
}
public static org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetEventsForBlockIDsResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetEventsForBlockIDsRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends: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 execution.GetEventsForBlockIDsRequest}
*/
public static final class GetEventsForBlockIDsRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements: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.legacy.execution.Execution.internal_static_execution_GetEventsForBlockIDsRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_GetEventsForBlockIDsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsRequest.class, org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetEventsForBlockIDsRequest)) {
return super.equals(obj);
}
org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsRequest other = (org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetEventsForBlockIDsRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetEventsForBlockIDsRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetEventsForBlockIDsRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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 execution.GetEventsForBlockIDsRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:execution.GetEventsForBlockIDsRequest)
org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_GetEventsForBlockIDsRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_GetEventsForBlockIDsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsRequest.class, org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsRequest.Builder.class);
}
// Construct using org.onflow.protobuf.legacy.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.legacy.execution.Execution.internal_static_execution_GetEventsForBlockIDsRequest_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsRequest getDefaultInstanceForType() {
return org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsRequest.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsRequest build() {
org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsRequest buildPartial() {
org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsRequest result = new org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetEventsForBlockIDsRequest) {
return mergeFrom((org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsRequest other) {
if (other == org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetEventsForBlockIDsRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.legacy.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:execution.GetEventsForBlockIDsRequest)
}
// @@protoc_insertion_point(class_scope:execution.GetEventsForBlockIDsRequest)
private static final org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.legacy.execution.Execution.GetEventsForBlockIDsRequest();
}
public static org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetEventsForBlockIDsRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetTransactionResultRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends: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 execution.GetTransactionResultRequest}
*/
public static final class GetTransactionResultRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements: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.legacy.execution.Execution.internal_static_execution_GetTransactionResultRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_GetTransactionResultRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.legacy.execution.Execution.GetTransactionResultRequest.class, org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetTransactionResultRequest)) {
return super.equals(obj);
}
org.onflow.protobuf.legacy.execution.Execution.GetTransactionResultRequest other = (org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetTransactionResultRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetTransactionResultRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetTransactionResultRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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 execution.GetTransactionResultRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:execution.GetTransactionResultRequest)
org.onflow.protobuf.legacy.execution.Execution.GetTransactionResultRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_GetTransactionResultRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_GetTransactionResultRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.legacy.execution.Execution.GetTransactionResultRequest.class, org.onflow.protobuf.legacy.execution.Execution.GetTransactionResultRequest.Builder.class);
}
// Construct using org.onflow.protobuf.legacy.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.legacy.execution.Execution.internal_static_execution_GetTransactionResultRequest_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.GetTransactionResultRequest getDefaultInstanceForType() {
return org.onflow.protobuf.legacy.execution.Execution.GetTransactionResultRequest.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.GetTransactionResultRequest build() {
org.onflow.protobuf.legacy.execution.Execution.GetTransactionResultRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.GetTransactionResultRequest buildPartial() {
org.onflow.protobuf.legacy.execution.Execution.GetTransactionResultRequest result = new org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetTransactionResultRequest) {
return mergeFrom((org.onflow.protobuf.legacy.execution.Execution.GetTransactionResultRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.legacy.execution.Execution.GetTransactionResultRequest other) {
if (other == org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetTransactionResultRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.legacy.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:execution.GetTransactionResultRequest)
}
// @@protoc_insertion_point(class_scope:execution.GetTransactionResultRequest)
private static final org.onflow.protobuf.legacy.execution.Execution.GetTransactionResultRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.legacy.execution.Execution.GetTransactionResultRequest();
}
public static org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetTransactionResultRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetTransactionResultResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends: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 .entities.Event events = 3;
*/
java.util.List
getEventsList();
/**
* repeated .entities.Event events = 3;
*/
org.onflow.protobuf.legacy.entities.EventOuterClass.Event getEvents(int index);
/**
* repeated .entities.Event events = 3;
*/
int getEventsCount();
/**
* repeated .entities.Event events = 3;
*/
java.util.List extends org.onflow.protobuf.legacy.entities.EventOuterClass.EventOrBuilder>
getEventsOrBuilderList();
/**
* repeated .entities.Event events = 3;
*/
org.onflow.protobuf.legacy.entities.EventOuterClass.EventOrBuilder getEventsOrBuilder(
int index);
}
/**
* Protobuf type {@code execution.GetTransactionResultResponse}
*/
public static final class GetTransactionResultResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements: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();
}
@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.legacy.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.legacy.execution.Execution.internal_static_execution_GetTransactionResultResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_GetTransactionResultResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.legacy.execution.Execution.GetTransactionResultResponse.class, org.onflow.protobuf.legacy.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 .entities.Event events = 3;
*/
@java.lang.Override
public java.util.List getEventsList() {
return events_;
}
/**
* repeated .entities.Event events = 3;
*/
@java.lang.Override
public java.util.List extends org.onflow.protobuf.legacy.entities.EventOuterClass.EventOrBuilder>
getEventsOrBuilderList() {
return events_;
}
/**
* repeated .entities.Event events = 3;
*/
@java.lang.Override
public int getEventsCount() {
return events_.size();
}
/**
* repeated .entities.Event events = 3;
*/
@java.lang.Override
public org.onflow.protobuf.legacy.entities.EventOuterClass.Event getEvents(int index) {
return events_.get(index);
}
/**
* repeated .entities.Event events = 3;
*/
@java.lang.Override
public org.onflow.protobuf.legacy.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 (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));
}
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));
}
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.legacy.execution.Execution.GetTransactionResultResponse)) {
return super.equals(obj);
}
org.onflow.protobuf.legacy.execution.Execution.GetTransactionResultResponse other = (org.onflow.protobuf.legacy.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 (!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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.onflow.protobuf.legacy.execution.Execution.GetTransactionResultResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetTransactionResultResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetTransactionResultResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.onflow.protobuf.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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.legacy.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 execution.GetTransactionResultResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:execution.GetTransactionResultResponse)
org.onflow.protobuf.legacy.execution.Execution.GetTransactionResultResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_GetTransactionResultResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_GetTransactionResultResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.onflow.protobuf.legacy.execution.Execution.GetTransactionResultResponse.class, org.onflow.protobuf.legacy.execution.Execution.GetTransactionResultResponse.Builder.class);
}
// Construct using org.onflow.protobuf.legacy.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();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.onflow.protobuf.legacy.execution.Execution.internal_static_execution_GetTransactionResultResponse_descriptor;
}
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.GetTransactionResultResponse getDefaultInstanceForType() {
return org.onflow.protobuf.legacy.execution.Execution.GetTransactionResultResponse.getDefaultInstance();
}
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.GetTransactionResultResponse build() {
org.onflow.protobuf.legacy.execution.Execution.GetTransactionResultResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.onflow.protobuf.legacy.execution.Execution.GetTransactionResultResponse buildPartial() {
org.onflow.protobuf.legacy.execution.Execution.GetTransactionResultResponse result = new org.onflow.protobuf.legacy.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();
}
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.legacy.execution.Execution.GetTransactionResultResponse) {
return mergeFrom((org.onflow.protobuf.legacy.execution.Execution.GetTransactionResultResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.onflow.protobuf.legacy.execution.Execution.GetTransactionResultResponse other) {
if (other == org.onflow.protobuf.legacy.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_);
}
}
}
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.legacy.execution.Execution.GetTransactionResultResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.onflow.protobuf.legacy.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.legacy.entities.EventOuterClass.Event, org.onflow.protobuf.legacy.entities.EventOuterClass.Event.Builder, org.onflow.protobuf.legacy.entities.EventOuterClass.EventOrBuilder> eventsBuilder_;
/**
* repeated .entities.Event events = 3;
*/
public java.util.List getEventsList() {
if (eventsBuilder_ == null) {
return java.util.Collections.unmodifiableList(events_);
} else {
return eventsBuilder_.getMessageList();
}
}
/**
* repeated .entities.Event events = 3;
*/
public int getEventsCount() {
if (eventsBuilder_ == null) {
return events_.size();
} else {
return eventsBuilder_.getCount();
}
}
/**
* repeated .entities.Event events = 3;
*/
public org.onflow.protobuf.legacy.entities.EventOuterClass.Event getEvents(int index) {
if (eventsBuilder_ == null) {
return events_.get(index);
} else {
return eventsBuilder_.getMessage(index);
}
}
/**
* repeated .entities.Event events = 3;
*/
public Builder setEvents(
int index, org.onflow.protobuf.legacy.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 .entities.Event events = 3;
*/
public Builder setEvents(
int index, org.onflow.protobuf.legacy.entities.EventOuterClass.Event.Builder builderForValue) {
if (eventsBuilder_ == null) {
ensureEventsIsMutable();
events_.set(index, builderForValue.build());
onChanged();
} else {
eventsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .entities.Event events = 3;
*/
public Builder addEvents(org.onflow.protobuf.legacy.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 .entities.Event events = 3;
*/
public Builder addEvents(
int index, org.onflow.protobuf.legacy.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 .entities.Event events = 3;
*/
public Builder addEvents(
org.onflow.protobuf.legacy.entities.EventOuterClass.Event.Builder builderForValue) {
if (eventsBuilder_ == null) {
ensureEventsIsMutable();
events_.add(builderForValue.build());
onChanged();
} else {
eventsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .entities.Event events = 3;
*/
public Builder addEvents(
int index, org.onflow.protobuf.legacy.entities.EventOuterClass.Event.Builder builderForValue) {
if (eventsBuilder_ == null) {
ensureEventsIsMutable();
events_.add(index, builderForValue.build());
onChanged();
} else {
eventsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .entities.Event events = 3;
*/
public Builder addAllEvents(
java.lang.Iterable extends org.onflow.protobuf.legacy.entities.EventOuterClass.Event> values) {
if (eventsBuilder_ == null) {
ensureEventsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, events_);
onChanged();
} else {
eventsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .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 .entities.Event events = 3;
*/
public Builder removeEvents(int index) {
if (eventsBuilder_ == null) {
ensureEventsIsMutable();
events_.remove(index);
onChanged();
} else {
eventsBuilder_.remove(index);
}
return this;
}
/**
* repeated .entities.Event events = 3;
*/
public org.onflow.protobuf.legacy.entities.EventOuterClass.Event.Builder getEventsBuilder(
int index) {
return getEventsFieldBuilder().getBuilder(index);
}
/**
* repeated .entities.Event events = 3;
*/
public org.onflow.protobuf.legacy.entities.EventOuterClass.EventOrBuilder getEventsOrBuilder(
int index) {
if (eventsBuilder_ == null) {
return events_.get(index); } else {
return eventsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .entities.Event events = 3;
*/
public java.util.List extends org.onflow.protobuf.legacy.entities.EventOuterClass.EventOrBuilder>
getEventsOrBuilderList() {
if (eventsBuilder_ != null) {
return eventsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(events_);
}
}
/**
* repeated .entities.Event events = 3;
*/
public org.onflow.protobuf.legacy.entities.EventOuterClass.Event.Builder addEventsBuilder() {
return getEventsFieldBuilder().addBuilder(
org.onflow.protobuf.legacy.entities.EventOuterClass.Event.getDefaultInstance());
}
/**
* repeated .entities.Event events = 3;
*/
public org.onflow.protobuf.legacy.entities.EventOuterClass.Event.Builder addEventsBuilder(
int index) {
return getEventsFieldBuilder().addBuilder(
index, org.onflow.protobuf.legacy.entities.EventOuterClass.Event.getDefaultInstance());
}
/**
* repeated .entities.Event events = 3;
*/
public java.util.List
getEventsBuilderList() {
return getEventsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.onflow.protobuf.legacy.entities.EventOuterClass.Event, org.onflow.protobuf.legacy.entities.EventOuterClass.Event.Builder, org.onflow.protobuf.legacy.entities.EventOuterClass.EventOrBuilder>
getEventsFieldBuilder() {
if (eventsBuilder_ == null) {
eventsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.onflow.protobuf.legacy.entities.EventOuterClass.Event, org.onflow.protobuf.legacy.entities.EventOuterClass.Event.Builder, org.onflow.protobuf.legacy.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:execution.GetTransactionResultResponse)
}
// @@protoc_insertion_point(class_scope:execution.GetTransactionResultResponse)
private static final org.onflow.protobuf.legacy.execution.Execution.GetTransactionResultResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.onflow.protobuf.legacy.execution.Execution.GetTransactionResultResponse();
}
public static org.onflow.protobuf.legacy.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.legacy.execution.Execution.GetTransactionResultResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_execution_PingRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_execution_PingRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_execution_PingResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_execution_PingResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_execution_GetAccountAtBlockIDRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_execution_GetAccountAtBlockIDRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_execution_GetAccountAtBlockIDResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_execution_GetAccountAtBlockIDResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_execution_ExecuteScriptAtBlockIDRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_execution_ExecuteScriptAtBlockIDRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_execution_ExecuteScriptAtBlockIDResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_execution_ExecuteScriptAtBlockIDResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_execution_GetEventsForBlockIDsResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_execution_GetEventsForBlockIDsResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_execution_GetEventsForBlockIDsResponse_Result_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_execution_GetEventsForBlockIDsResponse_Result_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_execution_GetEventsForBlockIDsRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_execution_GetEventsForBlockIDsRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_execution_GetTransactionResultRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_execution_GetTransactionResultRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_execution_GetTransactionResultResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_execution_GetTransactionResultResponse_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%flow/legacy/execution/execution.proto\022" +
"\texecution\032\"flow/legacy/entities/account" +
".proto\032 flow/legacy/entities/event.proto" +
"\"\r\n\013PingRequest\"\016\n\014PingResponse\"?\n\032GetAc" +
"countAtBlockIDRequest\022\020\n\010block_id\030\001 \001(\014\022" +
"\017\n\007address\030\002 \001(\014\"A\n\033GetAccountAtBlockIDR" +
"esponse\022\"\n\007account\030\001 \001(\0132\021.entities.Acco" +
"unt\"T\n\035ExecuteScriptAtBlockIDRequest\022\020\n\010" +
"block_id\030\001 \001(\014\022\016\n\006script\030\002 \001(\014\022\021\n\targume" +
"nts\030\003 \003(\014\"/\n\036ExecuteScriptAtBlockIDRespo" +
"nse\022\r\n\005value\030\001 \001(\014\"\262\001\n\034GetEventsForBlock" +
"IDsResponse\022?\n\007results\030\001 \003(\0132..execution" +
".GetEventsForBlockIDsResponse.Result\032Q\n\006" +
"Result\022\020\n\010block_id\030\001 \001(\014\022\024\n\014block_height" +
"\030\002 \001(\004\022\037\n\006events\030\003 \003(\0132\017.entities.Event\"" +
">\n\033GetEventsForBlockIDsRequest\022\014\n\004type\030\001" +
" \001(\t\022\021\n\tblock_ids\030\002 \003(\014\"G\n\033GetTransactio" +
"nResultRequest\022\020\n\010block_id\030\001 \001(\014\022\026\n\016tran" +
"saction_id\030\002 \001(\014\"k\n\034GetTransactionResult" +
"Response\022\023\n\013status_code\030\001 \001(\r\022\025\n\rerror_m" +
"essage\030\002 \001(\t\022\037\n\006events\030\003 \003(\0132\017.entities." +
"Event2\356\003\n\014ExecutionAPI\0227\n\004Ping\022\026.executi" +
"on.PingRequest\032\027.execution.PingResponse\022" +
"d\n\023GetAccountAtBlockID\022%.execution.GetAc" +
"countAtBlockIDRequest\032&.execution.GetAcc" +
"ountAtBlockIDResponse\022m\n\026ExecuteScriptAt" +
"BlockID\022(.execution.ExecuteScriptAtBlock" +
"IDRequest\032).execution.ExecuteScriptAtBlo" +
"ckIDResponse\022g\n\024GetEventsForBlockIDs\022&.e" +
"xecution.GetEventsForBlockIDsRequest\032\'.e" +
"xecution.GetEventsForBlockIDsResponse\022g\n" +
"\024GetTransactionResult\022&.execution.GetTra" +
"nsactionResultRequest\032\'.execution.GetTra" +
"nsactionResultResponseB`\n$org.onflow.pro" +
"tobuf.legacy.executionZ8github.com/onflo" +
"w/flow/protobuf/go/flow/legacy/execution" +
"b\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
org.onflow.protobuf.legacy.entities.AccountOuterClass.getDescriptor(),
org.onflow.protobuf.legacy.entities.EventOuterClass.getDescriptor(),
});
internal_static_execution_PingRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_execution_PingRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_execution_PingRequest_descriptor,
new java.lang.String[] { });
internal_static_execution_PingResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_execution_PingResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_execution_PingResponse_descriptor,
new java.lang.String[] { });
internal_static_execution_GetAccountAtBlockIDRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_execution_GetAccountAtBlockIDRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_execution_GetAccountAtBlockIDRequest_descriptor,
new java.lang.String[] { "BlockId", "Address", });
internal_static_execution_GetAccountAtBlockIDResponse_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_execution_GetAccountAtBlockIDResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_execution_GetAccountAtBlockIDResponse_descriptor,
new java.lang.String[] { "Account", });
internal_static_execution_ExecuteScriptAtBlockIDRequest_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_execution_ExecuteScriptAtBlockIDRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_execution_ExecuteScriptAtBlockIDRequest_descriptor,
new java.lang.String[] { "BlockId", "Script", "Arguments", });
internal_static_execution_ExecuteScriptAtBlockIDResponse_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_execution_ExecuteScriptAtBlockIDResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_execution_ExecuteScriptAtBlockIDResponse_descriptor,
new java.lang.String[] { "Value", });
internal_static_execution_GetEventsForBlockIDsResponse_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_execution_GetEventsForBlockIDsResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_execution_GetEventsForBlockIDsResponse_descriptor,
new java.lang.String[] { "Results", });
internal_static_execution_GetEventsForBlockIDsResponse_Result_descriptor =
internal_static_execution_GetEventsForBlockIDsResponse_descriptor.getNestedTypes().get(0);
internal_static_execution_GetEventsForBlockIDsResponse_Result_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_execution_GetEventsForBlockIDsResponse_Result_descriptor,
new java.lang.String[] { "BlockId", "BlockHeight", "Events", });
internal_static_execution_GetEventsForBlockIDsRequest_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_execution_GetEventsForBlockIDsRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_execution_GetEventsForBlockIDsRequest_descriptor,
new java.lang.String[] { "Type", "BlockIds", });
internal_static_execution_GetTransactionResultRequest_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_execution_GetTransactionResultRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_execution_GetTransactionResultRequest_descriptor,
new java.lang.String[] { "BlockId", "TransactionId", });
internal_static_execution_GetTransactionResultResponse_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_execution_GetTransactionResultResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_execution_GetTransactionResultResponse_descriptor,
new java.lang.String[] { "StatusCode", "ErrorMessage", "Events", });
org.onflow.protobuf.legacy.entities.AccountOuterClass.getDescriptor();
org.onflow.protobuf.legacy.entities.EventOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}