blob: 273a351c1618fd46d33938cff7e3e4f9df4553fa [file] [log] [blame]
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: commands.proto
package org.apache.flink.statefun.e2e.smoke.generated;
/**
* Protobuf type {@code org.apache.flink.statefun.e2e.smoke.VerificationResult}
*/
public final class VerificationResult extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:org.apache.flink.statefun.e2e.smoke.VerificationResult)
VerificationResultOrBuilder {
private static final long serialVersionUID = 0L;
// Use VerificationResult.newBuilder() to construct.
private VerificationResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private VerificationResult() {
}
@Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private VerificationResult(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new 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: {
id_ = input.readInt32();
break;
}
case 16: {
expected_ = input.readInt64();
break;
}
case 24: {
actual_ = input.readInt64();
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 CommandsOuterClass.internal_static_org_apache_flink_statefun_e2e_smoke_VerificationResult_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return CommandsOuterClass.internal_static_org_apache_flink_statefun_e2e_smoke_VerificationResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
VerificationResult.class, Builder.class);
}
public static final int ID_FIELD_NUMBER = 1;
private int id_;
/**
* <code>int32 id = 1;</code>
*/
public int getId() {
return id_;
}
public static final int EXPECTED_FIELD_NUMBER = 2;
private long expected_;
/**
* <code>int64 expected = 2;</code>
*/
public long getExpected() {
return expected_;
}
public static final int ACTUAL_FIELD_NUMBER = 3;
private long actual_;
/**
* <code>int64 actual = 3;</code>
*/
public long getActual() {
return actual_;
}
private byte memoizedIsInitialized = -1;
@Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (id_ != 0) {
output.writeInt32(1, id_);
}
if (expected_ != 0L) {
output.writeInt64(2, expected_);
}
if (actual_ != 0L) {
output.writeInt64(3, actual_);
}
unknownFields.writeTo(output);
}
@Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (id_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, id_);
}
if (expected_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, expected_);
}
if (actual_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, actual_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@Override
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof VerificationResult)) {
return super.equals(obj);
}
VerificationResult other = (VerificationResult) obj;
if (getId()
!= other.getId()) return false;
if (getExpected()
!= other.getExpected()) return false;
if (getActual()
!= other.getActual()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId();
hash = (37 * hash) + EXPECTED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getExpected());
hash = (37 * hash) + ACTUAL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getActual());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static VerificationResult parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static VerificationResult parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static VerificationResult parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static VerificationResult parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static VerificationResult parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static VerificationResult parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static VerificationResult parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static VerificationResult 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 VerificationResult parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static VerificationResult 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 VerificationResult parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static VerificationResult parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(VerificationResult prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@Override
protected Builder newBuilderForType(
BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org.apache.flink.statefun.e2e.smoke.VerificationResult}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:org.apache.flink.statefun.e2e.smoke.VerificationResult)
VerificationResultOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return CommandsOuterClass.internal_static_org_apache_flink_statefun_e2e_smoke_VerificationResult_descriptor;
}
@Override
protected FieldAccessorTable
internalGetFieldAccessorTable() {
return CommandsOuterClass.internal_static_org_apache_flink_statefun_e2e_smoke_VerificationResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
VerificationResult.class, Builder.class);
}
// Construct using org.apache.flink.statefun.e2e.smoke.generated.VerificationResult.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@Override
public Builder clear() {
super.clear();
id_ = 0;
expected_ = 0L;
actual_ = 0L;
return this;
}
@Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return CommandsOuterClass.internal_static_org_apache_flink_statefun_e2e_smoke_VerificationResult_descriptor;
}
@Override
public VerificationResult getDefaultInstanceForType() {
return VerificationResult.getDefaultInstance();
}
@Override
public VerificationResult build() {
VerificationResult result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@Override
public VerificationResult buildPartial() {
VerificationResult result = new VerificationResult(this);
result.id_ = id_;
result.expected_ = expected_;
result.actual_ = actual_;
onBuilt();
return result;
}
@Override
public Builder clone() {
return super.clone();
}
@Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.setField(field, value);
}
@Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, Object value) {
return super.setRepeatedField(field, index, value);
}
@Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) {
return super.addRepeatedField(field, value);
}
@Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof VerificationResult) {
return mergeFrom((VerificationResult)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(VerificationResult other) {
if (other == VerificationResult.getDefaultInstance()) return this;
if (other.getId() != 0) {
setId(other.getId());
}
if (other.getExpected() != 0L) {
setExpected(other.getExpected());
}
if (other.getActual() != 0L) {
setActual(other.getActual());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@Override
public final boolean isInitialized() {
return true;
}
@Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
VerificationResult parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (VerificationResult) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int id_ ;
/**
* <code>int32 id = 1;</code>
*/
public int getId() {
return id_;
}
/**
* <code>int32 id = 1;</code>
*/
public Builder setId(int value) {
id_ = value;
onChanged();
return this;
}
/**
* <code>int32 id = 1;</code>
*/
public Builder clearId() {
id_ = 0;
onChanged();
return this;
}
private long expected_ ;
/**
* <code>int64 expected = 2;</code>
*/
public long getExpected() {
return expected_;
}
/**
* <code>int64 expected = 2;</code>
*/
public Builder setExpected(long value) {
expected_ = value;
onChanged();
return this;
}
/**
* <code>int64 expected = 2;</code>
*/
public Builder clearExpected() {
expected_ = 0L;
onChanged();
return this;
}
private long actual_ ;
/**
* <code>int64 actual = 3;</code>
*/
public long getActual() {
return actual_;
}
/**
* <code>int64 actual = 3;</code>
*/
public Builder setActual(long value) {
actual_ = value;
onChanged();
return this;
}
/**
* <code>int64 actual = 3;</code>
*/
public Builder clearActual() {
actual_ = 0L;
onChanged();
return this;
}
@Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:org.apache.flink.statefun.e2e.smoke.VerificationResult)
}
// @@protoc_insertion_point(class_scope:org.apache.flink.statefun.e2e.smoke.VerificationResult)
private static final VerificationResult DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new VerificationResult();
}
public static VerificationResult getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<VerificationResult>
PARSER = new com.google.protobuf.AbstractParser<VerificationResult>() {
@Override
public VerificationResult parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new VerificationResult(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<VerificationResult> parser() {
return PARSER;
}
@Override
public com.google.protobuf.Parser<VerificationResult> getParserForType() {
return PARSER;
}
@Override
public VerificationResult getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}