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.
gauge.messages.Messages Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: messages.proto
package gauge.messages;
public final class Messages {
private Messages() {}
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 KillProcessRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.KillProcessRequest)
com.google.protobuf.MessageOrBuilder {
}
/**
*
*/ Default request. Tells the runner to shutdown.
*
*
* Protobuf type {@code gauge.messages.KillProcessRequest}
*/
public static final class KillProcessRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.KillProcessRequest)
KillProcessRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use KillProcessRequest.newBuilder() to construct.
private KillProcessRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private KillProcessRequest() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private KillProcessRequest(
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 (!parseUnknownFieldProto3(
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 gauge.messages.Messages.internal_static_gauge_messages_KillProcessRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_KillProcessRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.KillProcessRequest.class, gauge.messages.Messages.KillProcessRequest.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 gauge.messages.Messages.KillProcessRequest)) {
return super.equals(obj);
}
gauge.messages.Messages.KillProcessRequest other = (gauge.messages.Messages.KillProcessRequest) obj;
boolean result = true;
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@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 gauge.messages.Messages.KillProcessRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.KillProcessRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.KillProcessRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.KillProcessRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.KillProcessRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.KillProcessRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.KillProcessRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.KillProcessRequest 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 gauge.messages.Messages.KillProcessRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.KillProcessRequest 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 gauge.messages.Messages.KillProcessRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.KillProcessRequest 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(gauge.messages.Messages.KillProcessRequest 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;
}
/**
*
*/ Default request. Tells the runner to shutdown.
*
*
* Protobuf type {@code gauge.messages.KillProcessRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.KillProcessRequest)
gauge.messages.Messages.KillProcessRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_KillProcessRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_KillProcessRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.KillProcessRequest.class, gauge.messages.Messages.KillProcessRequest.Builder.class);
}
// Construct using gauge.messages.Messages.KillProcessRequest.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 gauge.messages.Messages.internal_static_gauge_messages_KillProcessRequest_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.KillProcessRequest getDefaultInstanceForType() {
return gauge.messages.Messages.KillProcessRequest.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.KillProcessRequest build() {
gauge.messages.Messages.KillProcessRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.KillProcessRequest buildPartial() {
gauge.messages.Messages.KillProcessRequest result = new gauge.messages.Messages.KillProcessRequest(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.KillProcessRequest) {
return mergeFrom((gauge.messages.Messages.KillProcessRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.KillProcessRequest other) {
if (other == gauge.messages.Messages.KillProcessRequest.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 {
gauge.messages.Messages.KillProcessRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.KillProcessRequest) 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.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.KillProcessRequest)
}
// @@protoc_insertion_point(class_scope:gauge.messages.KillProcessRequest)
private static final gauge.messages.Messages.KillProcessRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.KillProcessRequest();
}
public static gauge.messages.Messages.KillProcessRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public KillProcessRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new KillProcessRequest(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 gauge.messages.Messages.KillProcessRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ExecutionStatusResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.ExecutionStatusResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
*/ Holds the suite result after suite execution done.
*
*
* .gauge.messages.ProtoExecutionResult executionResult = 1;
*/
boolean hasExecutionResult();
/**
*
*/ Holds the suite result after suite execution done.
*
*
* .gauge.messages.ProtoExecutionResult executionResult = 1;
*/
gauge.messages.Spec.ProtoExecutionResult getExecutionResult();
/**
*
*/ Holds the suite result after suite execution done.
*
*
* .gauge.messages.ProtoExecutionResult executionResult = 1;
*/
gauge.messages.Spec.ProtoExecutionResultOrBuilder getExecutionResultOrBuilder();
}
/**
*
*/ Sends to any request which needs a execution status as response
* / usually step execution, hooks etc will return this
*
*
* Protobuf type {@code gauge.messages.ExecutionStatusResponse}
*/
public static final class ExecutionStatusResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.ExecutionStatusResponse)
ExecutionStatusResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ExecutionStatusResponse.newBuilder() to construct.
private ExecutionStatusResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private ExecutionStatusResponse() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ExecutionStatusResponse(
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: {
gauge.messages.Spec.ProtoExecutionResult.Builder subBuilder = null;
if (executionResult_ != null) {
subBuilder = executionResult_.toBuilder();
}
executionResult_ = input.readMessage(gauge.messages.Spec.ProtoExecutionResult.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(executionResult_);
executionResult_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownFieldProto3(
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 gauge.messages.Messages.internal_static_gauge_messages_ExecutionStatusResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_ExecutionStatusResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.ExecutionStatusResponse.class, gauge.messages.Messages.ExecutionStatusResponse.Builder.class);
}
public static final int EXECUTIONRESULT_FIELD_NUMBER = 1;
private gauge.messages.Spec.ProtoExecutionResult executionResult_;
/**
*
*/ Holds the suite result after suite execution done.
*
*
* .gauge.messages.ProtoExecutionResult executionResult = 1;
*/
public boolean hasExecutionResult() {
return executionResult_ != null;
}
/**
*
*/ Holds the suite result after suite execution done.
*
*
* .gauge.messages.ProtoExecutionResult executionResult = 1;
*/
public gauge.messages.Spec.ProtoExecutionResult getExecutionResult() {
return executionResult_ == null ? gauge.messages.Spec.ProtoExecutionResult.getDefaultInstance() : executionResult_;
}
/**
*
*/ Holds the suite result after suite execution done.
*
*
* .gauge.messages.ProtoExecutionResult executionResult = 1;
*/
public gauge.messages.Spec.ProtoExecutionResultOrBuilder getExecutionResultOrBuilder() {
return getExecutionResult();
}
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 (executionResult_ != null) {
output.writeMessage(1, getExecutionResult());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (executionResult_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getExecutionResult());
}
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 gauge.messages.Messages.ExecutionStatusResponse)) {
return super.equals(obj);
}
gauge.messages.Messages.ExecutionStatusResponse other = (gauge.messages.Messages.ExecutionStatusResponse) obj;
boolean result = true;
result = result && (hasExecutionResult() == other.hasExecutionResult());
if (hasExecutionResult()) {
result = result && getExecutionResult()
.equals(other.getExecutionResult());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasExecutionResult()) {
hash = (37 * hash) + EXECUTIONRESULT_FIELD_NUMBER;
hash = (53 * hash) + getExecutionResult().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.ExecutionStatusResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ExecutionStatusResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ExecutionStatusResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ExecutionStatusResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ExecutionStatusResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ExecutionStatusResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ExecutionStatusResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ExecutionStatusResponse 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 gauge.messages.Messages.ExecutionStatusResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ExecutionStatusResponse 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 gauge.messages.Messages.ExecutionStatusResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ExecutionStatusResponse 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(gauge.messages.Messages.ExecutionStatusResponse 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;
}
/**
*
*/ Sends to any request which needs a execution status as response
* / usually step execution, hooks etc will return this
*
*
* Protobuf type {@code gauge.messages.ExecutionStatusResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.ExecutionStatusResponse)
gauge.messages.Messages.ExecutionStatusResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_ExecutionStatusResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_ExecutionStatusResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.ExecutionStatusResponse.class, gauge.messages.Messages.ExecutionStatusResponse.Builder.class);
}
// Construct using gauge.messages.Messages.ExecutionStatusResponse.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 (executionResultBuilder_ == null) {
executionResult_ = null;
} else {
executionResult_ = null;
executionResultBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_ExecutionStatusResponse_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.ExecutionStatusResponse getDefaultInstanceForType() {
return gauge.messages.Messages.ExecutionStatusResponse.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.ExecutionStatusResponse build() {
gauge.messages.Messages.ExecutionStatusResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.ExecutionStatusResponse buildPartial() {
gauge.messages.Messages.ExecutionStatusResponse result = new gauge.messages.Messages.ExecutionStatusResponse(this);
if (executionResultBuilder_ == null) {
result.executionResult_ = executionResult_;
} else {
result.executionResult_ = executionResultBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.ExecutionStatusResponse) {
return mergeFrom((gauge.messages.Messages.ExecutionStatusResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.ExecutionStatusResponse other) {
if (other == gauge.messages.Messages.ExecutionStatusResponse.getDefaultInstance()) return this;
if (other.hasExecutionResult()) {
mergeExecutionResult(other.getExecutionResult());
}
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 {
gauge.messages.Messages.ExecutionStatusResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.ExecutionStatusResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private gauge.messages.Spec.ProtoExecutionResult executionResult_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoExecutionResult, gauge.messages.Spec.ProtoExecutionResult.Builder, gauge.messages.Spec.ProtoExecutionResultOrBuilder> executionResultBuilder_;
/**
*
*/ Holds the suite result after suite execution done.
*
*
* .gauge.messages.ProtoExecutionResult executionResult = 1;
*/
public boolean hasExecutionResult() {
return executionResultBuilder_ != null || executionResult_ != null;
}
/**
*
*/ Holds the suite result after suite execution done.
*
*
* .gauge.messages.ProtoExecutionResult executionResult = 1;
*/
public gauge.messages.Spec.ProtoExecutionResult getExecutionResult() {
if (executionResultBuilder_ == null) {
return executionResult_ == null ? gauge.messages.Spec.ProtoExecutionResult.getDefaultInstance() : executionResult_;
} else {
return executionResultBuilder_.getMessage();
}
}
/**
*
*/ Holds the suite result after suite execution done.
*
*
* .gauge.messages.ProtoExecutionResult executionResult = 1;
*/
public Builder setExecutionResult(gauge.messages.Spec.ProtoExecutionResult value) {
if (executionResultBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
executionResult_ = value;
onChanged();
} else {
executionResultBuilder_.setMessage(value);
}
return this;
}
/**
*
*/ Holds the suite result after suite execution done.
*
*
* .gauge.messages.ProtoExecutionResult executionResult = 1;
*/
public Builder setExecutionResult(
gauge.messages.Spec.ProtoExecutionResult.Builder builderForValue) {
if (executionResultBuilder_ == null) {
executionResult_ = builderForValue.build();
onChanged();
} else {
executionResultBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
*/ Holds the suite result after suite execution done.
*
*
* .gauge.messages.ProtoExecutionResult executionResult = 1;
*/
public Builder mergeExecutionResult(gauge.messages.Spec.ProtoExecutionResult value) {
if (executionResultBuilder_ == null) {
if (executionResult_ != null) {
executionResult_ =
gauge.messages.Spec.ProtoExecutionResult.newBuilder(executionResult_).mergeFrom(value).buildPartial();
} else {
executionResult_ = value;
}
onChanged();
} else {
executionResultBuilder_.mergeFrom(value);
}
return this;
}
/**
*
*/ Holds the suite result after suite execution done.
*
*
* .gauge.messages.ProtoExecutionResult executionResult = 1;
*/
public Builder clearExecutionResult() {
if (executionResultBuilder_ == null) {
executionResult_ = null;
onChanged();
} else {
executionResult_ = null;
executionResultBuilder_ = null;
}
return this;
}
/**
*
*/ Holds the suite result after suite execution done.
*
*
* .gauge.messages.ProtoExecutionResult executionResult = 1;
*/
public gauge.messages.Spec.ProtoExecutionResult.Builder getExecutionResultBuilder() {
onChanged();
return getExecutionResultFieldBuilder().getBuilder();
}
/**
*
*/ Holds the suite result after suite execution done.
*
*
* .gauge.messages.ProtoExecutionResult executionResult = 1;
*/
public gauge.messages.Spec.ProtoExecutionResultOrBuilder getExecutionResultOrBuilder() {
if (executionResultBuilder_ != null) {
return executionResultBuilder_.getMessageOrBuilder();
} else {
return executionResult_ == null ?
gauge.messages.Spec.ProtoExecutionResult.getDefaultInstance() : executionResult_;
}
}
/**
*
*/ Holds the suite result after suite execution done.
*
*
* .gauge.messages.ProtoExecutionResult executionResult = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoExecutionResult, gauge.messages.Spec.ProtoExecutionResult.Builder, gauge.messages.Spec.ProtoExecutionResultOrBuilder>
getExecutionResultFieldBuilder() {
if (executionResultBuilder_ == null) {
executionResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoExecutionResult, gauge.messages.Spec.ProtoExecutionResult.Builder, gauge.messages.Spec.ProtoExecutionResultOrBuilder>(
getExecutionResult(),
getParentForChildren(),
isClean());
executionResult_ = null;
}
return executionResultBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.ExecutionStatusResponse)
}
// @@protoc_insertion_point(class_scope:gauge.messages.ExecutionStatusResponse)
private static final gauge.messages.Messages.ExecutionStatusResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.ExecutionStatusResponse();
}
public static gauge.messages.Messages.ExecutionStatusResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ExecutionStatusResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ExecutionStatusResponse(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 gauge.messages.Messages.ExecutionStatusResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ExecutionStartingRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.ExecutionStartingRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*/ Holds the current suite execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
boolean hasCurrentExecutionInfo();
/**
*
*/ Holds the current suite execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
gauge.messages.Messages.ExecutionInfo getCurrentExecutionInfo();
/**
*
*/ Holds the current suite execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
gauge.messages.Messages.ExecutionInfoOrBuilder getCurrentExecutionInfoOrBuilder();
/**
*
*/ Holds the suite result in execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoSuiteResult suiteResult = 2;
*/
boolean hasSuiteResult();
/**
*
*/ Holds the suite result in execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoSuiteResult suiteResult = 2;
*/
gauge.messages.Spec.ProtoSuiteResult getSuiteResult();
/**
*
*/ Holds the suite result in execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoSuiteResult suiteResult = 2;
*/
gauge.messages.Spec.ProtoSuiteResultOrBuilder getSuiteResultOrBuilder();
/**
* int32 stream = 3;
*/
int getStream();
}
/**
*
*/ Sent at start of Suite Execution. Tells the runner to execute `before_suite` hook.
*
*
* Protobuf type {@code gauge.messages.ExecutionStartingRequest}
*/
public static final class ExecutionStartingRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.ExecutionStartingRequest)
ExecutionStartingRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ExecutionStartingRequest.newBuilder() to construct.
private ExecutionStartingRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private ExecutionStartingRequest() {
stream_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ExecutionStartingRequest(
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: {
gauge.messages.Messages.ExecutionInfo.Builder subBuilder = null;
if (currentExecutionInfo_ != null) {
subBuilder = currentExecutionInfo_.toBuilder();
}
currentExecutionInfo_ = input.readMessage(gauge.messages.Messages.ExecutionInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(currentExecutionInfo_);
currentExecutionInfo_ = subBuilder.buildPartial();
}
break;
}
case 18: {
gauge.messages.Spec.ProtoSuiteResult.Builder subBuilder = null;
if (suiteResult_ != null) {
subBuilder = suiteResult_.toBuilder();
}
suiteResult_ = input.readMessage(gauge.messages.Spec.ProtoSuiteResult.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(suiteResult_);
suiteResult_ = subBuilder.buildPartial();
}
break;
}
case 24: {
stream_ = input.readInt32();
break;
}
default: {
if (!parseUnknownFieldProto3(
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 gauge.messages.Messages.internal_static_gauge_messages_ExecutionStartingRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_ExecutionStartingRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.ExecutionStartingRequest.class, gauge.messages.Messages.ExecutionStartingRequest.Builder.class);
}
public static final int CURRENTEXECUTIONINFO_FIELD_NUMBER = 1;
private gauge.messages.Messages.ExecutionInfo currentExecutionInfo_;
/**
*
*/ Holds the current suite execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public boolean hasCurrentExecutionInfo() {
return currentExecutionInfo_ != null;
}
/**
*
*/ Holds the current suite execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfo getCurrentExecutionInfo() {
return currentExecutionInfo_ == null ? gauge.messages.Messages.ExecutionInfo.getDefaultInstance() : currentExecutionInfo_;
}
/**
*
*/ Holds the current suite execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfoOrBuilder getCurrentExecutionInfoOrBuilder() {
return getCurrentExecutionInfo();
}
public static final int SUITERESULT_FIELD_NUMBER = 2;
private gauge.messages.Spec.ProtoSuiteResult suiteResult_;
/**
*
*/ Holds the suite result in execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoSuiteResult suiteResult = 2;
*/
public boolean hasSuiteResult() {
return suiteResult_ != null;
}
/**
*
*/ Holds the suite result in execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoSuiteResult suiteResult = 2;
*/
public gauge.messages.Spec.ProtoSuiteResult getSuiteResult() {
return suiteResult_ == null ? gauge.messages.Spec.ProtoSuiteResult.getDefaultInstance() : suiteResult_;
}
/**
*
*/ Holds the suite result in execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoSuiteResult suiteResult = 2;
*/
public gauge.messages.Spec.ProtoSuiteResultOrBuilder getSuiteResultOrBuilder() {
return getSuiteResult();
}
public static final int STREAM_FIELD_NUMBER = 3;
private int stream_;
/**
* int32 stream = 3;
*/
public int getStream() {
return stream_;
}
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 (currentExecutionInfo_ != null) {
output.writeMessage(1, getCurrentExecutionInfo());
}
if (suiteResult_ != null) {
output.writeMessage(2, getSuiteResult());
}
if (stream_ != 0) {
output.writeInt32(3, stream_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (currentExecutionInfo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getCurrentExecutionInfo());
}
if (suiteResult_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getSuiteResult());
}
if (stream_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, stream_);
}
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 gauge.messages.Messages.ExecutionStartingRequest)) {
return super.equals(obj);
}
gauge.messages.Messages.ExecutionStartingRequest other = (gauge.messages.Messages.ExecutionStartingRequest) obj;
boolean result = true;
result = result && (hasCurrentExecutionInfo() == other.hasCurrentExecutionInfo());
if (hasCurrentExecutionInfo()) {
result = result && getCurrentExecutionInfo()
.equals(other.getCurrentExecutionInfo());
}
result = result && (hasSuiteResult() == other.hasSuiteResult());
if (hasSuiteResult()) {
result = result && getSuiteResult()
.equals(other.getSuiteResult());
}
result = result && (getStream()
== other.getStream());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCurrentExecutionInfo()) {
hash = (37 * hash) + CURRENTEXECUTIONINFO_FIELD_NUMBER;
hash = (53 * hash) + getCurrentExecutionInfo().hashCode();
}
if (hasSuiteResult()) {
hash = (37 * hash) + SUITERESULT_FIELD_NUMBER;
hash = (53 * hash) + getSuiteResult().hashCode();
}
hash = (37 * hash) + STREAM_FIELD_NUMBER;
hash = (53 * hash) + getStream();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.ExecutionStartingRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ExecutionStartingRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ExecutionStartingRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ExecutionStartingRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ExecutionStartingRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ExecutionStartingRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ExecutionStartingRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ExecutionStartingRequest 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 gauge.messages.Messages.ExecutionStartingRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ExecutionStartingRequest 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 gauge.messages.Messages.ExecutionStartingRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ExecutionStartingRequest 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(gauge.messages.Messages.ExecutionStartingRequest 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;
}
/**
*
*/ Sent at start of Suite Execution. Tells the runner to execute `before_suite` hook.
*
*
* Protobuf type {@code gauge.messages.ExecutionStartingRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.ExecutionStartingRequest)
gauge.messages.Messages.ExecutionStartingRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_ExecutionStartingRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_ExecutionStartingRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.ExecutionStartingRequest.class, gauge.messages.Messages.ExecutionStartingRequest.Builder.class);
}
// Construct using gauge.messages.Messages.ExecutionStartingRequest.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 (currentExecutionInfoBuilder_ == null) {
currentExecutionInfo_ = null;
} else {
currentExecutionInfo_ = null;
currentExecutionInfoBuilder_ = null;
}
if (suiteResultBuilder_ == null) {
suiteResult_ = null;
} else {
suiteResult_ = null;
suiteResultBuilder_ = null;
}
stream_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_ExecutionStartingRequest_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.ExecutionStartingRequest getDefaultInstanceForType() {
return gauge.messages.Messages.ExecutionStartingRequest.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.ExecutionStartingRequest build() {
gauge.messages.Messages.ExecutionStartingRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.ExecutionStartingRequest buildPartial() {
gauge.messages.Messages.ExecutionStartingRequest result = new gauge.messages.Messages.ExecutionStartingRequest(this);
if (currentExecutionInfoBuilder_ == null) {
result.currentExecutionInfo_ = currentExecutionInfo_;
} else {
result.currentExecutionInfo_ = currentExecutionInfoBuilder_.build();
}
if (suiteResultBuilder_ == null) {
result.suiteResult_ = suiteResult_;
} else {
result.suiteResult_ = suiteResultBuilder_.build();
}
result.stream_ = stream_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.ExecutionStartingRequest) {
return mergeFrom((gauge.messages.Messages.ExecutionStartingRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.ExecutionStartingRequest other) {
if (other == gauge.messages.Messages.ExecutionStartingRequest.getDefaultInstance()) return this;
if (other.hasCurrentExecutionInfo()) {
mergeCurrentExecutionInfo(other.getCurrentExecutionInfo());
}
if (other.hasSuiteResult()) {
mergeSuiteResult(other.getSuiteResult());
}
if (other.getStream() != 0) {
setStream(other.getStream());
}
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 {
gauge.messages.Messages.ExecutionStartingRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.ExecutionStartingRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private gauge.messages.Messages.ExecutionInfo currentExecutionInfo_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.ExecutionInfo, gauge.messages.Messages.ExecutionInfo.Builder, gauge.messages.Messages.ExecutionInfoOrBuilder> currentExecutionInfoBuilder_;
/**
*
*/ Holds the current suite execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public boolean hasCurrentExecutionInfo() {
return currentExecutionInfoBuilder_ != null || currentExecutionInfo_ != null;
}
/**
*
*/ Holds the current suite execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfo getCurrentExecutionInfo() {
if (currentExecutionInfoBuilder_ == null) {
return currentExecutionInfo_ == null ? gauge.messages.Messages.ExecutionInfo.getDefaultInstance() : currentExecutionInfo_;
} else {
return currentExecutionInfoBuilder_.getMessage();
}
}
/**
*
*/ Holds the current suite execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public Builder setCurrentExecutionInfo(gauge.messages.Messages.ExecutionInfo value) {
if (currentExecutionInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
currentExecutionInfo_ = value;
onChanged();
} else {
currentExecutionInfoBuilder_.setMessage(value);
}
return this;
}
/**
*
*/ Holds the current suite execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public Builder setCurrentExecutionInfo(
gauge.messages.Messages.ExecutionInfo.Builder builderForValue) {
if (currentExecutionInfoBuilder_ == null) {
currentExecutionInfo_ = builderForValue.build();
onChanged();
} else {
currentExecutionInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
*/ Holds the current suite execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public Builder mergeCurrentExecutionInfo(gauge.messages.Messages.ExecutionInfo value) {
if (currentExecutionInfoBuilder_ == null) {
if (currentExecutionInfo_ != null) {
currentExecutionInfo_ =
gauge.messages.Messages.ExecutionInfo.newBuilder(currentExecutionInfo_).mergeFrom(value).buildPartial();
} else {
currentExecutionInfo_ = value;
}
onChanged();
} else {
currentExecutionInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
*
*/ Holds the current suite execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public Builder clearCurrentExecutionInfo() {
if (currentExecutionInfoBuilder_ == null) {
currentExecutionInfo_ = null;
onChanged();
} else {
currentExecutionInfo_ = null;
currentExecutionInfoBuilder_ = null;
}
return this;
}
/**
*
*/ Holds the current suite execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfo.Builder getCurrentExecutionInfoBuilder() {
onChanged();
return getCurrentExecutionInfoFieldBuilder().getBuilder();
}
/**
*
*/ Holds the current suite execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfoOrBuilder getCurrentExecutionInfoOrBuilder() {
if (currentExecutionInfoBuilder_ != null) {
return currentExecutionInfoBuilder_.getMessageOrBuilder();
} else {
return currentExecutionInfo_ == null ?
gauge.messages.Messages.ExecutionInfo.getDefaultInstance() : currentExecutionInfo_;
}
}
/**
*
*/ Holds the current suite execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.ExecutionInfo, gauge.messages.Messages.ExecutionInfo.Builder, gauge.messages.Messages.ExecutionInfoOrBuilder>
getCurrentExecutionInfoFieldBuilder() {
if (currentExecutionInfoBuilder_ == null) {
currentExecutionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.ExecutionInfo, gauge.messages.Messages.ExecutionInfo.Builder, gauge.messages.Messages.ExecutionInfoOrBuilder>(
getCurrentExecutionInfo(),
getParentForChildren(),
isClean());
currentExecutionInfo_ = null;
}
return currentExecutionInfoBuilder_;
}
private gauge.messages.Spec.ProtoSuiteResult suiteResult_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoSuiteResult, gauge.messages.Spec.ProtoSuiteResult.Builder, gauge.messages.Spec.ProtoSuiteResultOrBuilder> suiteResultBuilder_;
/**
*
*/ Holds the suite result in execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoSuiteResult suiteResult = 2;
*/
public boolean hasSuiteResult() {
return suiteResultBuilder_ != null || suiteResult_ != null;
}
/**
*
*/ Holds the suite result in execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoSuiteResult suiteResult = 2;
*/
public gauge.messages.Spec.ProtoSuiteResult getSuiteResult() {
if (suiteResultBuilder_ == null) {
return suiteResult_ == null ? gauge.messages.Spec.ProtoSuiteResult.getDefaultInstance() : suiteResult_;
} else {
return suiteResultBuilder_.getMessage();
}
}
/**
*
*/ Holds the suite result in execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoSuiteResult suiteResult = 2;
*/
public Builder setSuiteResult(gauge.messages.Spec.ProtoSuiteResult value) {
if (suiteResultBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
suiteResult_ = value;
onChanged();
} else {
suiteResultBuilder_.setMessage(value);
}
return this;
}
/**
*
*/ Holds the suite result in execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoSuiteResult suiteResult = 2;
*/
public Builder setSuiteResult(
gauge.messages.Spec.ProtoSuiteResult.Builder builderForValue) {
if (suiteResultBuilder_ == null) {
suiteResult_ = builderForValue.build();
onChanged();
} else {
suiteResultBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
*/ Holds the suite result in execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoSuiteResult suiteResult = 2;
*/
public Builder mergeSuiteResult(gauge.messages.Spec.ProtoSuiteResult value) {
if (suiteResultBuilder_ == null) {
if (suiteResult_ != null) {
suiteResult_ =
gauge.messages.Spec.ProtoSuiteResult.newBuilder(suiteResult_).mergeFrom(value).buildPartial();
} else {
suiteResult_ = value;
}
onChanged();
} else {
suiteResultBuilder_.mergeFrom(value);
}
return this;
}
/**
*
*/ Holds the suite result in execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoSuiteResult suiteResult = 2;
*/
public Builder clearSuiteResult() {
if (suiteResultBuilder_ == null) {
suiteResult_ = null;
onChanged();
} else {
suiteResult_ = null;
suiteResultBuilder_ = null;
}
return this;
}
/**
*
*/ Holds the suite result in execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoSuiteResult suiteResult = 2;
*/
public gauge.messages.Spec.ProtoSuiteResult.Builder getSuiteResultBuilder() {
onChanged();
return getSuiteResultFieldBuilder().getBuilder();
}
/**
*
*/ Holds the suite result in execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoSuiteResult suiteResult = 2;
*/
public gauge.messages.Spec.ProtoSuiteResultOrBuilder getSuiteResultOrBuilder() {
if (suiteResultBuilder_ != null) {
return suiteResultBuilder_.getMessageOrBuilder();
} else {
return suiteResult_ == null ?
gauge.messages.Spec.ProtoSuiteResult.getDefaultInstance() : suiteResult_;
}
}
/**
*
*/ Holds the suite result in execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoSuiteResult suiteResult = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoSuiteResult, gauge.messages.Spec.ProtoSuiteResult.Builder, gauge.messages.Spec.ProtoSuiteResultOrBuilder>
getSuiteResultFieldBuilder() {
if (suiteResultBuilder_ == null) {
suiteResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoSuiteResult, gauge.messages.Spec.ProtoSuiteResult.Builder, gauge.messages.Spec.ProtoSuiteResultOrBuilder>(
getSuiteResult(),
getParentForChildren(),
isClean());
suiteResult_ = null;
}
return suiteResultBuilder_;
}
private int stream_ ;
/**
* int32 stream = 3;
*/
public int getStream() {
return stream_;
}
/**
* int32 stream = 3;
*/
public Builder setStream(int value) {
stream_ = value;
onChanged();
return this;
}
/**
* int32 stream = 3;
*/
public Builder clearStream() {
stream_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.ExecutionStartingRequest)
}
// @@protoc_insertion_point(class_scope:gauge.messages.ExecutionStartingRequest)
private static final gauge.messages.Messages.ExecutionStartingRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.ExecutionStartingRequest();
}
public static gauge.messages.Messages.ExecutionStartingRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ExecutionStartingRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ExecutionStartingRequest(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 gauge.messages.Messages.ExecutionStartingRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ExecutionEndingRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.ExecutionEndingRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*/ Holds the current suite execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
boolean hasCurrentExecutionInfo();
/**
*
*/ Holds the current suite execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
gauge.messages.Messages.ExecutionInfo getCurrentExecutionInfo();
/**
*
*/ Holds the current suite execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
gauge.messages.Messages.ExecutionInfoOrBuilder getCurrentExecutionInfoOrBuilder();
/**
*
*/ Holds the suite result in execution ending.
*
*
* .gauge.messages.ProtoSuiteResult suiteResult = 2;
*/
boolean hasSuiteResult();
/**
*
*/ Holds the suite result in execution ending.
*
*
* .gauge.messages.ProtoSuiteResult suiteResult = 2;
*/
gauge.messages.Spec.ProtoSuiteResult getSuiteResult();
/**
*
*/ Holds the suite result in execution ending.
*
*
* .gauge.messages.ProtoSuiteResult suiteResult = 2;
*/
gauge.messages.Spec.ProtoSuiteResultOrBuilder getSuiteResultOrBuilder();
/**
* int32 stream = 3;
*/
int getStream();
}
/**
*
*/ Sent at end of Suite Execution. Tells the runner to execute `after_suite` hook.
*
*
* Protobuf type {@code gauge.messages.ExecutionEndingRequest}
*/
public static final class ExecutionEndingRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.ExecutionEndingRequest)
ExecutionEndingRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ExecutionEndingRequest.newBuilder() to construct.
private ExecutionEndingRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private ExecutionEndingRequest() {
stream_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ExecutionEndingRequest(
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: {
gauge.messages.Messages.ExecutionInfo.Builder subBuilder = null;
if (currentExecutionInfo_ != null) {
subBuilder = currentExecutionInfo_.toBuilder();
}
currentExecutionInfo_ = input.readMessage(gauge.messages.Messages.ExecutionInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(currentExecutionInfo_);
currentExecutionInfo_ = subBuilder.buildPartial();
}
break;
}
case 18: {
gauge.messages.Spec.ProtoSuiteResult.Builder subBuilder = null;
if (suiteResult_ != null) {
subBuilder = suiteResult_.toBuilder();
}
suiteResult_ = input.readMessage(gauge.messages.Spec.ProtoSuiteResult.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(suiteResult_);
suiteResult_ = subBuilder.buildPartial();
}
break;
}
case 24: {
stream_ = input.readInt32();
break;
}
default: {
if (!parseUnknownFieldProto3(
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 gauge.messages.Messages.internal_static_gauge_messages_ExecutionEndingRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_ExecutionEndingRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.ExecutionEndingRequest.class, gauge.messages.Messages.ExecutionEndingRequest.Builder.class);
}
public static final int CURRENTEXECUTIONINFO_FIELD_NUMBER = 1;
private gauge.messages.Messages.ExecutionInfo currentExecutionInfo_;
/**
*
*/ Holds the current suite execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public boolean hasCurrentExecutionInfo() {
return currentExecutionInfo_ != null;
}
/**
*
*/ Holds the current suite execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfo getCurrentExecutionInfo() {
return currentExecutionInfo_ == null ? gauge.messages.Messages.ExecutionInfo.getDefaultInstance() : currentExecutionInfo_;
}
/**
*
*/ Holds the current suite execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfoOrBuilder getCurrentExecutionInfoOrBuilder() {
return getCurrentExecutionInfo();
}
public static final int SUITERESULT_FIELD_NUMBER = 2;
private gauge.messages.Spec.ProtoSuiteResult suiteResult_;
/**
*
*/ Holds the suite result in execution ending.
*
*
* .gauge.messages.ProtoSuiteResult suiteResult = 2;
*/
public boolean hasSuiteResult() {
return suiteResult_ != null;
}
/**
*
*/ Holds the suite result in execution ending.
*
*
* .gauge.messages.ProtoSuiteResult suiteResult = 2;
*/
public gauge.messages.Spec.ProtoSuiteResult getSuiteResult() {
return suiteResult_ == null ? gauge.messages.Spec.ProtoSuiteResult.getDefaultInstance() : suiteResult_;
}
/**
*
*/ Holds the suite result in execution ending.
*
*
* .gauge.messages.ProtoSuiteResult suiteResult = 2;
*/
public gauge.messages.Spec.ProtoSuiteResultOrBuilder getSuiteResultOrBuilder() {
return getSuiteResult();
}
public static final int STREAM_FIELD_NUMBER = 3;
private int stream_;
/**
* int32 stream = 3;
*/
public int getStream() {
return stream_;
}
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 (currentExecutionInfo_ != null) {
output.writeMessage(1, getCurrentExecutionInfo());
}
if (suiteResult_ != null) {
output.writeMessage(2, getSuiteResult());
}
if (stream_ != 0) {
output.writeInt32(3, stream_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (currentExecutionInfo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getCurrentExecutionInfo());
}
if (suiteResult_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getSuiteResult());
}
if (stream_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, stream_);
}
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 gauge.messages.Messages.ExecutionEndingRequest)) {
return super.equals(obj);
}
gauge.messages.Messages.ExecutionEndingRequest other = (gauge.messages.Messages.ExecutionEndingRequest) obj;
boolean result = true;
result = result && (hasCurrentExecutionInfo() == other.hasCurrentExecutionInfo());
if (hasCurrentExecutionInfo()) {
result = result && getCurrentExecutionInfo()
.equals(other.getCurrentExecutionInfo());
}
result = result && (hasSuiteResult() == other.hasSuiteResult());
if (hasSuiteResult()) {
result = result && getSuiteResult()
.equals(other.getSuiteResult());
}
result = result && (getStream()
== other.getStream());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCurrentExecutionInfo()) {
hash = (37 * hash) + CURRENTEXECUTIONINFO_FIELD_NUMBER;
hash = (53 * hash) + getCurrentExecutionInfo().hashCode();
}
if (hasSuiteResult()) {
hash = (37 * hash) + SUITERESULT_FIELD_NUMBER;
hash = (53 * hash) + getSuiteResult().hashCode();
}
hash = (37 * hash) + STREAM_FIELD_NUMBER;
hash = (53 * hash) + getStream();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.ExecutionEndingRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ExecutionEndingRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ExecutionEndingRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ExecutionEndingRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ExecutionEndingRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ExecutionEndingRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ExecutionEndingRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ExecutionEndingRequest 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 gauge.messages.Messages.ExecutionEndingRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ExecutionEndingRequest 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 gauge.messages.Messages.ExecutionEndingRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ExecutionEndingRequest 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(gauge.messages.Messages.ExecutionEndingRequest 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;
}
/**
*
*/ Sent at end of Suite Execution. Tells the runner to execute `after_suite` hook.
*
*
* Protobuf type {@code gauge.messages.ExecutionEndingRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.ExecutionEndingRequest)
gauge.messages.Messages.ExecutionEndingRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_ExecutionEndingRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_ExecutionEndingRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.ExecutionEndingRequest.class, gauge.messages.Messages.ExecutionEndingRequest.Builder.class);
}
// Construct using gauge.messages.Messages.ExecutionEndingRequest.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 (currentExecutionInfoBuilder_ == null) {
currentExecutionInfo_ = null;
} else {
currentExecutionInfo_ = null;
currentExecutionInfoBuilder_ = null;
}
if (suiteResultBuilder_ == null) {
suiteResult_ = null;
} else {
suiteResult_ = null;
suiteResultBuilder_ = null;
}
stream_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_ExecutionEndingRequest_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.ExecutionEndingRequest getDefaultInstanceForType() {
return gauge.messages.Messages.ExecutionEndingRequest.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.ExecutionEndingRequest build() {
gauge.messages.Messages.ExecutionEndingRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.ExecutionEndingRequest buildPartial() {
gauge.messages.Messages.ExecutionEndingRequest result = new gauge.messages.Messages.ExecutionEndingRequest(this);
if (currentExecutionInfoBuilder_ == null) {
result.currentExecutionInfo_ = currentExecutionInfo_;
} else {
result.currentExecutionInfo_ = currentExecutionInfoBuilder_.build();
}
if (suiteResultBuilder_ == null) {
result.suiteResult_ = suiteResult_;
} else {
result.suiteResult_ = suiteResultBuilder_.build();
}
result.stream_ = stream_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.ExecutionEndingRequest) {
return mergeFrom((gauge.messages.Messages.ExecutionEndingRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.ExecutionEndingRequest other) {
if (other == gauge.messages.Messages.ExecutionEndingRequest.getDefaultInstance()) return this;
if (other.hasCurrentExecutionInfo()) {
mergeCurrentExecutionInfo(other.getCurrentExecutionInfo());
}
if (other.hasSuiteResult()) {
mergeSuiteResult(other.getSuiteResult());
}
if (other.getStream() != 0) {
setStream(other.getStream());
}
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 {
gauge.messages.Messages.ExecutionEndingRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.ExecutionEndingRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private gauge.messages.Messages.ExecutionInfo currentExecutionInfo_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.ExecutionInfo, gauge.messages.Messages.ExecutionInfo.Builder, gauge.messages.Messages.ExecutionInfoOrBuilder> currentExecutionInfoBuilder_;
/**
*
*/ Holds the current suite execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public boolean hasCurrentExecutionInfo() {
return currentExecutionInfoBuilder_ != null || currentExecutionInfo_ != null;
}
/**
*
*/ Holds the current suite execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfo getCurrentExecutionInfo() {
if (currentExecutionInfoBuilder_ == null) {
return currentExecutionInfo_ == null ? gauge.messages.Messages.ExecutionInfo.getDefaultInstance() : currentExecutionInfo_;
} else {
return currentExecutionInfoBuilder_.getMessage();
}
}
/**
*
*/ Holds the current suite execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public Builder setCurrentExecutionInfo(gauge.messages.Messages.ExecutionInfo value) {
if (currentExecutionInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
currentExecutionInfo_ = value;
onChanged();
} else {
currentExecutionInfoBuilder_.setMessage(value);
}
return this;
}
/**
*
*/ Holds the current suite execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public Builder setCurrentExecutionInfo(
gauge.messages.Messages.ExecutionInfo.Builder builderForValue) {
if (currentExecutionInfoBuilder_ == null) {
currentExecutionInfo_ = builderForValue.build();
onChanged();
} else {
currentExecutionInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
*/ Holds the current suite execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public Builder mergeCurrentExecutionInfo(gauge.messages.Messages.ExecutionInfo value) {
if (currentExecutionInfoBuilder_ == null) {
if (currentExecutionInfo_ != null) {
currentExecutionInfo_ =
gauge.messages.Messages.ExecutionInfo.newBuilder(currentExecutionInfo_).mergeFrom(value).buildPartial();
} else {
currentExecutionInfo_ = value;
}
onChanged();
} else {
currentExecutionInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
*
*/ Holds the current suite execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public Builder clearCurrentExecutionInfo() {
if (currentExecutionInfoBuilder_ == null) {
currentExecutionInfo_ = null;
onChanged();
} else {
currentExecutionInfo_ = null;
currentExecutionInfoBuilder_ = null;
}
return this;
}
/**
*
*/ Holds the current suite execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfo.Builder getCurrentExecutionInfoBuilder() {
onChanged();
return getCurrentExecutionInfoFieldBuilder().getBuilder();
}
/**
*
*/ Holds the current suite execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfoOrBuilder getCurrentExecutionInfoOrBuilder() {
if (currentExecutionInfoBuilder_ != null) {
return currentExecutionInfoBuilder_.getMessageOrBuilder();
} else {
return currentExecutionInfo_ == null ?
gauge.messages.Messages.ExecutionInfo.getDefaultInstance() : currentExecutionInfo_;
}
}
/**
*
*/ Holds the current suite execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.ExecutionInfo, gauge.messages.Messages.ExecutionInfo.Builder, gauge.messages.Messages.ExecutionInfoOrBuilder>
getCurrentExecutionInfoFieldBuilder() {
if (currentExecutionInfoBuilder_ == null) {
currentExecutionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.ExecutionInfo, gauge.messages.Messages.ExecutionInfo.Builder, gauge.messages.Messages.ExecutionInfoOrBuilder>(
getCurrentExecutionInfo(),
getParentForChildren(),
isClean());
currentExecutionInfo_ = null;
}
return currentExecutionInfoBuilder_;
}
private gauge.messages.Spec.ProtoSuiteResult suiteResult_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoSuiteResult, gauge.messages.Spec.ProtoSuiteResult.Builder, gauge.messages.Spec.ProtoSuiteResultOrBuilder> suiteResultBuilder_;
/**
*
*/ Holds the suite result in execution ending.
*
*
* .gauge.messages.ProtoSuiteResult suiteResult = 2;
*/
public boolean hasSuiteResult() {
return suiteResultBuilder_ != null || suiteResult_ != null;
}
/**
*
*/ Holds the suite result in execution ending.
*
*
* .gauge.messages.ProtoSuiteResult suiteResult = 2;
*/
public gauge.messages.Spec.ProtoSuiteResult getSuiteResult() {
if (suiteResultBuilder_ == null) {
return suiteResult_ == null ? gauge.messages.Spec.ProtoSuiteResult.getDefaultInstance() : suiteResult_;
} else {
return suiteResultBuilder_.getMessage();
}
}
/**
*
*/ Holds the suite result in execution ending.
*
*
* .gauge.messages.ProtoSuiteResult suiteResult = 2;
*/
public Builder setSuiteResult(gauge.messages.Spec.ProtoSuiteResult value) {
if (suiteResultBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
suiteResult_ = value;
onChanged();
} else {
suiteResultBuilder_.setMessage(value);
}
return this;
}
/**
*
*/ Holds the suite result in execution ending.
*
*
* .gauge.messages.ProtoSuiteResult suiteResult = 2;
*/
public Builder setSuiteResult(
gauge.messages.Spec.ProtoSuiteResult.Builder builderForValue) {
if (suiteResultBuilder_ == null) {
suiteResult_ = builderForValue.build();
onChanged();
} else {
suiteResultBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
*/ Holds the suite result in execution ending.
*
*
* .gauge.messages.ProtoSuiteResult suiteResult = 2;
*/
public Builder mergeSuiteResult(gauge.messages.Spec.ProtoSuiteResult value) {
if (suiteResultBuilder_ == null) {
if (suiteResult_ != null) {
suiteResult_ =
gauge.messages.Spec.ProtoSuiteResult.newBuilder(suiteResult_).mergeFrom(value).buildPartial();
} else {
suiteResult_ = value;
}
onChanged();
} else {
suiteResultBuilder_.mergeFrom(value);
}
return this;
}
/**
*
*/ Holds the suite result in execution ending.
*
*
* .gauge.messages.ProtoSuiteResult suiteResult = 2;
*/
public Builder clearSuiteResult() {
if (suiteResultBuilder_ == null) {
suiteResult_ = null;
onChanged();
} else {
suiteResult_ = null;
suiteResultBuilder_ = null;
}
return this;
}
/**
*
*/ Holds the suite result in execution ending.
*
*
* .gauge.messages.ProtoSuiteResult suiteResult = 2;
*/
public gauge.messages.Spec.ProtoSuiteResult.Builder getSuiteResultBuilder() {
onChanged();
return getSuiteResultFieldBuilder().getBuilder();
}
/**
*
*/ Holds the suite result in execution ending.
*
*
* .gauge.messages.ProtoSuiteResult suiteResult = 2;
*/
public gauge.messages.Spec.ProtoSuiteResultOrBuilder getSuiteResultOrBuilder() {
if (suiteResultBuilder_ != null) {
return suiteResultBuilder_.getMessageOrBuilder();
} else {
return suiteResult_ == null ?
gauge.messages.Spec.ProtoSuiteResult.getDefaultInstance() : suiteResult_;
}
}
/**
*
*/ Holds the suite result in execution ending.
*
*
* .gauge.messages.ProtoSuiteResult suiteResult = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoSuiteResult, gauge.messages.Spec.ProtoSuiteResult.Builder, gauge.messages.Spec.ProtoSuiteResultOrBuilder>
getSuiteResultFieldBuilder() {
if (suiteResultBuilder_ == null) {
suiteResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoSuiteResult, gauge.messages.Spec.ProtoSuiteResult.Builder, gauge.messages.Spec.ProtoSuiteResultOrBuilder>(
getSuiteResult(),
getParentForChildren(),
isClean());
suiteResult_ = null;
}
return suiteResultBuilder_;
}
private int stream_ ;
/**
* int32 stream = 3;
*/
public int getStream() {
return stream_;
}
/**
* int32 stream = 3;
*/
public Builder setStream(int value) {
stream_ = value;
onChanged();
return this;
}
/**
* int32 stream = 3;
*/
public Builder clearStream() {
stream_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.ExecutionEndingRequest)
}
// @@protoc_insertion_point(class_scope:gauge.messages.ExecutionEndingRequest)
private static final gauge.messages.Messages.ExecutionEndingRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.ExecutionEndingRequest();
}
public static gauge.messages.Messages.ExecutionEndingRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ExecutionEndingRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ExecutionEndingRequest(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 gauge.messages.Messages.ExecutionEndingRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SpecExecutionStartingRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.SpecExecutionStartingRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*/ Holds the current spec execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
boolean hasCurrentExecutionInfo();
/**
*
*/ Holds the current spec execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
gauge.messages.Messages.ExecutionInfo getCurrentExecutionInfo();
/**
*
*/ Holds the current spec execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
gauge.messages.Messages.ExecutionInfoOrBuilder getCurrentExecutionInfoOrBuilder();
/**
*
*/ Holds the specs result in spec execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoSpecResult specResult = 2;
*/
boolean hasSpecResult();
/**
*
*/ Holds the specs result in spec execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoSpecResult specResult = 2;
*/
gauge.messages.Spec.ProtoSpecResult getSpecResult();
/**
*
*/ Holds the specs result in spec execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoSpecResult specResult = 2;
*/
gauge.messages.Spec.ProtoSpecResultOrBuilder getSpecResultOrBuilder();
/**
* int32 stream = 3;
*/
int getStream();
}
/**
*
*/ Sent at start of Spec Execution. Tells the runner to execute `before_spec` hook.
*
*
* Protobuf type {@code gauge.messages.SpecExecutionStartingRequest}
*/
public static final class SpecExecutionStartingRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.SpecExecutionStartingRequest)
SpecExecutionStartingRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use SpecExecutionStartingRequest.newBuilder() to construct.
private SpecExecutionStartingRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private SpecExecutionStartingRequest() {
stream_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SpecExecutionStartingRequest(
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: {
gauge.messages.Messages.ExecutionInfo.Builder subBuilder = null;
if (currentExecutionInfo_ != null) {
subBuilder = currentExecutionInfo_.toBuilder();
}
currentExecutionInfo_ = input.readMessage(gauge.messages.Messages.ExecutionInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(currentExecutionInfo_);
currentExecutionInfo_ = subBuilder.buildPartial();
}
break;
}
case 18: {
gauge.messages.Spec.ProtoSpecResult.Builder subBuilder = null;
if (specResult_ != null) {
subBuilder = specResult_.toBuilder();
}
specResult_ = input.readMessage(gauge.messages.Spec.ProtoSpecResult.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(specResult_);
specResult_ = subBuilder.buildPartial();
}
break;
}
case 24: {
stream_ = input.readInt32();
break;
}
default: {
if (!parseUnknownFieldProto3(
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 gauge.messages.Messages.internal_static_gauge_messages_SpecExecutionStartingRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_SpecExecutionStartingRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.SpecExecutionStartingRequest.class, gauge.messages.Messages.SpecExecutionStartingRequest.Builder.class);
}
public static final int CURRENTEXECUTIONINFO_FIELD_NUMBER = 1;
private gauge.messages.Messages.ExecutionInfo currentExecutionInfo_;
/**
*
*/ Holds the current spec execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public boolean hasCurrentExecutionInfo() {
return currentExecutionInfo_ != null;
}
/**
*
*/ Holds the current spec execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfo getCurrentExecutionInfo() {
return currentExecutionInfo_ == null ? gauge.messages.Messages.ExecutionInfo.getDefaultInstance() : currentExecutionInfo_;
}
/**
*
*/ Holds the current spec execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfoOrBuilder getCurrentExecutionInfoOrBuilder() {
return getCurrentExecutionInfo();
}
public static final int SPECRESULT_FIELD_NUMBER = 2;
private gauge.messages.Spec.ProtoSpecResult specResult_;
/**
*
*/ Holds the specs result in spec execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoSpecResult specResult = 2;
*/
public boolean hasSpecResult() {
return specResult_ != null;
}
/**
*
*/ Holds the specs result in spec execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoSpecResult specResult = 2;
*/
public gauge.messages.Spec.ProtoSpecResult getSpecResult() {
return specResult_ == null ? gauge.messages.Spec.ProtoSpecResult.getDefaultInstance() : specResult_;
}
/**
*
*/ Holds the specs result in spec execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoSpecResult specResult = 2;
*/
public gauge.messages.Spec.ProtoSpecResultOrBuilder getSpecResultOrBuilder() {
return getSpecResult();
}
public static final int STREAM_FIELD_NUMBER = 3;
private int stream_;
/**
* int32 stream = 3;
*/
public int getStream() {
return stream_;
}
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 (currentExecutionInfo_ != null) {
output.writeMessage(1, getCurrentExecutionInfo());
}
if (specResult_ != null) {
output.writeMessage(2, getSpecResult());
}
if (stream_ != 0) {
output.writeInt32(3, stream_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (currentExecutionInfo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getCurrentExecutionInfo());
}
if (specResult_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getSpecResult());
}
if (stream_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, stream_);
}
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 gauge.messages.Messages.SpecExecutionStartingRequest)) {
return super.equals(obj);
}
gauge.messages.Messages.SpecExecutionStartingRequest other = (gauge.messages.Messages.SpecExecutionStartingRequest) obj;
boolean result = true;
result = result && (hasCurrentExecutionInfo() == other.hasCurrentExecutionInfo());
if (hasCurrentExecutionInfo()) {
result = result && getCurrentExecutionInfo()
.equals(other.getCurrentExecutionInfo());
}
result = result && (hasSpecResult() == other.hasSpecResult());
if (hasSpecResult()) {
result = result && getSpecResult()
.equals(other.getSpecResult());
}
result = result && (getStream()
== other.getStream());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCurrentExecutionInfo()) {
hash = (37 * hash) + CURRENTEXECUTIONINFO_FIELD_NUMBER;
hash = (53 * hash) + getCurrentExecutionInfo().hashCode();
}
if (hasSpecResult()) {
hash = (37 * hash) + SPECRESULT_FIELD_NUMBER;
hash = (53 * hash) + getSpecResult().hashCode();
}
hash = (37 * hash) + STREAM_FIELD_NUMBER;
hash = (53 * hash) + getStream();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.SpecExecutionStartingRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.SpecExecutionStartingRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.SpecExecutionStartingRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.SpecExecutionStartingRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.SpecExecutionStartingRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.SpecExecutionStartingRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.SpecExecutionStartingRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.SpecExecutionStartingRequest 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 gauge.messages.Messages.SpecExecutionStartingRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.SpecExecutionStartingRequest 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 gauge.messages.Messages.SpecExecutionStartingRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.SpecExecutionStartingRequest 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(gauge.messages.Messages.SpecExecutionStartingRequest 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;
}
/**
*
*/ Sent at start of Spec Execution. Tells the runner to execute `before_spec` hook.
*
*
* Protobuf type {@code gauge.messages.SpecExecutionStartingRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.SpecExecutionStartingRequest)
gauge.messages.Messages.SpecExecutionStartingRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_SpecExecutionStartingRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_SpecExecutionStartingRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.SpecExecutionStartingRequest.class, gauge.messages.Messages.SpecExecutionStartingRequest.Builder.class);
}
// Construct using gauge.messages.Messages.SpecExecutionStartingRequest.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 (currentExecutionInfoBuilder_ == null) {
currentExecutionInfo_ = null;
} else {
currentExecutionInfo_ = null;
currentExecutionInfoBuilder_ = null;
}
if (specResultBuilder_ == null) {
specResult_ = null;
} else {
specResult_ = null;
specResultBuilder_ = null;
}
stream_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_SpecExecutionStartingRequest_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.SpecExecutionStartingRequest getDefaultInstanceForType() {
return gauge.messages.Messages.SpecExecutionStartingRequest.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.SpecExecutionStartingRequest build() {
gauge.messages.Messages.SpecExecutionStartingRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.SpecExecutionStartingRequest buildPartial() {
gauge.messages.Messages.SpecExecutionStartingRequest result = new gauge.messages.Messages.SpecExecutionStartingRequest(this);
if (currentExecutionInfoBuilder_ == null) {
result.currentExecutionInfo_ = currentExecutionInfo_;
} else {
result.currentExecutionInfo_ = currentExecutionInfoBuilder_.build();
}
if (specResultBuilder_ == null) {
result.specResult_ = specResult_;
} else {
result.specResult_ = specResultBuilder_.build();
}
result.stream_ = stream_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.SpecExecutionStartingRequest) {
return mergeFrom((gauge.messages.Messages.SpecExecutionStartingRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.SpecExecutionStartingRequest other) {
if (other == gauge.messages.Messages.SpecExecutionStartingRequest.getDefaultInstance()) return this;
if (other.hasCurrentExecutionInfo()) {
mergeCurrentExecutionInfo(other.getCurrentExecutionInfo());
}
if (other.hasSpecResult()) {
mergeSpecResult(other.getSpecResult());
}
if (other.getStream() != 0) {
setStream(other.getStream());
}
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 {
gauge.messages.Messages.SpecExecutionStartingRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.SpecExecutionStartingRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private gauge.messages.Messages.ExecutionInfo currentExecutionInfo_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.ExecutionInfo, gauge.messages.Messages.ExecutionInfo.Builder, gauge.messages.Messages.ExecutionInfoOrBuilder> currentExecutionInfoBuilder_;
/**
*
*/ Holds the current spec execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public boolean hasCurrentExecutionInfo() {
return currentExecutionInfoBuilder_ != null || currentExecutionInfo_ != null;
}
/**
*
*/ Holds the current spec execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfo getCurrentExecutionInfo() {
if (currentExecutionInfoBuilder_ == null) {
return currentExecutionInfo_ == null ? gauge.messages.Messages.ExecutionInfo.getDefaultInstance() : currentExecutionInfo_;
} else {
return currentExecutionInfoBuilder_.getMessage();
}
}
/**
*
*/ Holds the current spec execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public Builder setCurrentExecutionInfo(gauge.messages.Messages.ExecutionInfo value) {
if (currentExecutionInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
currentExecutionInfo_ = value;
onChanged();
} else {
currentExecutionInfoBuilder_.setMessage(value);
}
return this;
}
/**
*
*/ Holds the current spec execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public Builder setCurrentExecutionInfo(
gauge.messages.Messages.ExecutionInfo.Builder builderForValue) {
if (currentExecutionInfoBuilder_ == null) {
currentExecutionInfo_ = builderForValue.build();
onChanged();
} else {
currentExecutionInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
*/ Holds the current spec execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public Builder mergeCurrentExecutionInfo(gauge.messages.Messages.ExecutionInfo value) {
if (currentExecutionInfoBuilder_ == null) {
if (currentExecutionInfo_ != null) {
currentExecutionInfo_ =
gauge.messages.Messages.ExecutionInfo.newBuilder(currentExecutionInfo_).mergeFrom(value).buildPartial();
} else {
currentExecutionInfo_ = value;
}
onChanged();
} else {
currentExecutionInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
*
*/ Holds the current spec execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public Builder clearCurrentExecutionInfo() {
if (currentExecutionInfoBuilder_ == null) {
currentExecutionInfo_ = null;
onChanged();
} else {
currentExecutionInfo_ = null;
currentExecutionInfoBuilder_ = null;
}
return this;
}
/**
*
*/ Holds the current spec execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfo.Builder getCurrentExecutionInfoBuilder() {
onChanged();
return getCurrentExecutionInfoFieldBuilder().getBuilder();
}
/**
*
*/ Holds the current spec execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfoOrBuilder getCurrentExecutionInfoOrBuilder() {
if (currentExecutionInfoBuilder_ != null) {
return currentExecutionInfoBuilder_.getMessageOrBuilder();
} else {
return currentExecutionInfo_ == null ?
gauge.messages.Messages.ExecutionInfo.getDefaultInstance() : currentExecutionInfo_;
}
}
/**
*
*/ Holds the current spec execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.ExecutionInfo, gauge.messages.Messages.ExecutionInfo.Builder, gauge.messages.Messages.ExecutionInfoOrBuilder>
getCurrentExecutionInfoFieldBuilder() {
if (currentExecutionInfoBuilder_ == null) {
currentExecutionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.ExecutionInfo, gauge.messages.Messages.ExecutionInfo.Builder, gauge.messages.Messages.ExecutionInfoOrBuilder>(
getCurrentExecutionInfo(),
getParentForChildren(),
isClean());
currentExecutionInfo_ = null;
}
return currentExecutionInfoBuilder_;
}
private gauge.messages.Spec.ProtoSpecResult specResult_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoSpecResult, gauge.messages.Spec.ProtoSpecResult.Builder, gauge.messages.Spec.ProtoSpecResultOrBuilder> specResultBuilder_;
/**
*
*/ Holds the specs result in spec execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoSpecResult specResult = 2;
*/
public boolean hasSpecResult() {
return specResultBuilder_ != null || specResult_ != null;
}
/**
*
*/ Holds the specs result in spec execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoSpecResult specResult = 2;
*/
public gauge.messages.Spec.ProtoSpecResult getSpecResult() {
if (specResultBuilder_ == null) {
return specResult_ == null ? gauge.messages.Spec.ProtoSpecResult.getDefaultInstance() : specResult_;
} else {
return specResultBuilder_.getMessage();
}
}
/**
*
*/ Holds the specs result in spec execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoSpecResult specResult = 2;
*/
public Builder setSpecResult(gauge.messages.Spec.ProtoSpecResult value) {
if (specResultBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
specResult_ = value;
onChanged();
} else {
specResultBuilder_.setMessage(value);
}
return this;
}
/**
*
*/ Holds the specs result in spec execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoSpecResult specResult = 2;
*/
public Builder setSpecResult(
gauge.messages.Spec.ProtoSpecResult.Builder builderForValue) {
if (specResultBuilder_ == null) {
specResult_ = builderForValue.build();
onChanged();
} else {
specResultBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
*/ Holds the specs result in spec execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoSpecResult specResult = 2;
*/
public Builder mergeSpecResult(gauge.messages.Spec.ProtoSpecResult value) {
if (specResultBuilder_ == null) {
if (specResult_ != null) {
specResult_ =
gauge.messages.Spec.ProtoSpecResult.newBuilder(specResult_).mergeFrom(value).buildPartial();
} else {
specResult_ = value;
}
onChanged();
} else {
specResultBuilder_.mergeFrom(value);
}
return this;
}
/**
*
*/ Holds the specs result in spec execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoSpecResult specResult = 2;
*/
public Builder clearSpecResult() {
if (specResultBuilder_ == null) {
specResult_ = null;
onChanged();
} else {
specResult_ = null;
specResultBuilder_ = null;
}
return this;
}
/**
*
*/ Holds the specs result in spec execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoSpecResult specResult = 2;
*/
public gauge.messages.Spec.ProtoSpecResult.Builder getSpecResultBuilder() {
onChanged();
return getSpecResultFieldBuilder().getBuilder();
}
/**
*
*/ Holds the specs result in spec execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoSpecResult specResult = 2;
*/
public gauge.messages.Spec.ProtoSpecResultOrBuilder getSpecResultOrBuilder() {
if (specResultBuilder_ != null) {
return specResultBuilder_.getMessageOrBuilder();
} else {
return specResult_ == null ?
gauge.messages.Spec.ProtoSpecResult.getDefaultInstance() : specResult_;
}
}
/**
*
*/ Holds the specs result in spec execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoSpecResult specResult = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoSpecResult, gauge.messages.Spec.ProtoSpecResult.Builder, gauge.messages.Spec.ProtoSpecResultOrBuilder>
getSpecResultFieldBuilder() {
if (specResultBuilder_ == null) {
specResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoSpecResult, gauge.messages.Spec.ProtoSpecResult.Builder, gauge.messages.Spec.ProtoSpecResultOrBuilder>(
getSpecResult(),
getParentForChildren(),
isClean());
specResult_ = null;
}
return specResultBuilder_;
}
private int stream_ ;
/**
* int32 stream = 3;
*/
public int getStream() {
return stream_;
}
/**
* int32 stream = 3;
*/
public Builder setStream(int value) {
stream_ = value;
onChanged();
return this;
}
/**
* int32 stream = 3;
*/
public Builder clearStream() {
stream_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.SpecExecutionStartingRequest)
}
// @@protoc_insertion_point(class_scope:gauge.messages.SpecExecutionStartingRequest)
private static final gauge.messages.Messages.SpecExecutionStartingRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.SpecExecutionStartingRequest();
}
public static gauge.messages.Messages.SpecExecutionStartingRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SpecExecutionStartingRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SpecExecutionStartingRequest(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 gauge.messages.Messages.SpecExecutionStartingRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SpecExecutionEndingRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.SpecExecutionEndingRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*/ Holds the current spec execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
boolean hasCurrentExecutionInfo();
/**
*
*/ Holds the current spec execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
gauge.messages.Messages.ExecutionInfo getCurrentExecutionInfo();
/**
*
*/ Holds the current spec execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
gauge.messages.Messages.ExecutionInfoOrBuilder getCurrentExecutionInfoOrBuilder();
/**
*
*/ Holds the specs result in spec execution ending.
*
*
* .gauge.messages.ProtoSpecResult specResult = 2;
*/
boolean hasSpecResult();
/**
*
*/ Holds the specs result in spec execution ending.
*
*
* .gauge.messages.ProtoSpecResult specResult = 2;
*/
gauge.messages.Spec.ProtoSpecResult getSpecResult();
/**
*
*/ Holds the specs result in spec execution ending.
*
*
* .gauge.messages.ProtoSpecResult specResult = 2;
*/
gauge.messages.Spec.ProtoSpecResultOrBuilder getSpecResultOrBuilder();
/**
* int32 stream = 3;
*/
int getStream();
}
/**
*
*/ Sent at end of Spec Execution. Tells the runner to execute `after_spec` hook.
*
*
* Protobuf type {@code gauge.messages.SpecExecutionEndingRequest}
*/
public static final class SpecExecutionEndingRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.SpecExecutionEndingRequest)
SpecExecutionEndingRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use SpecExecutionEndingRequest.newBuilder() to construct.
private SpecExecutionEndingRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private SpecExecutionEndingRequest() {
stream_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SpecExecutionEndingRequest(
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: {
gauge.messages.Messages.ExecutionInfo.Builder subBuilder = null;
if (currentExecutionInfo_ != null) {
subBuilder = currentExecutionInfo_.toBuilder();
}
currentExecutionInfo_ = input.readMessage(gauge.messages.Messages.ExecutionInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(currentExecutionInfo_);
currentExecutionInfo_ = subBuilder.buildPartial();
}
break;
}
case 18: {
gauge.messages.Spec.ProtoSpecResult.Builder subBuilder = null;
if (specResult_ != null) {
subBuilder = specResult_.toBuilder();
}
specResult_ = input.readMessage(gauge.messages.Spec.ProtoSpecResult.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(specResult_);
specResult_ = subBuilder.buildPartial();
}
break;
}
case 24: {
stream_ = input.readInt32();
break;
}
default: {
if (!parseUnknownFieldProto3(
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 gauge.messages.Messages.internal_static_gauge_messages_SpecExecutionEndingRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_SpecExecutionEndingRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.SpecExecutionEndingRequest.class, gauge.messages.Messages.SpecExecutionEndingRequest.Builder.class);
}
public static final int CURRENTEXECUTIONINFO_FIELD_NUMBER = 1;
private gauge.messages.Messages.ExecutionInfo currentExecutionInfo_;
/**
*
*/ Holds the current spec execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public boolean hasCurrentExecutionInfo() {
return currentExecutionInfo_ != null;
}
/**
*
*/ Holds the current spec execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfo getCurrentExecutionInfo() {
return currentExecutionInfo_ == null ? gauge.messages.Messages.ExecutionInfo.getDefaultInstance() : currentExecutionInfo_;
}
/**
*
*/ Holds the current spec execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfoOrBuilder getCurrentExecutionInfoOrBuilder() {
return getCurrentExecutionInfo();
}
public static final int SPECRESULT_FIELD_NUMBER = 2;
private gauge.messages.Spec.ProtoSpecResult specResult_;
/**
*
*/ Holds the specs result in spec execution ending.
*
*
* .gauge.messages.ProtoSpecResult specResult = 2;
*/
public boolean hasSpecResult() {
return specResult_ != null;
}
/**
*
*/ Holds the specs result in spec execution ending.
*
*
* .gauge.messages.ProtoSpecResult specResult = 2;
*/
public gauge.messages.Spec.ProtoSpecResult getSpecResult() {
return specResult_ == null ? gauge.messages.Spec.ProtoSpecResult.getDefaultInstance() : specResult_;
}
/**
*
*/ Holds the specs result in spec execution ending.
*
*
* .gauge.messages.ProtoSpecResult specResult = 2;
*/
public gauge.messages.Spec.ProtoSpecResultOrBuilder getSpecResultOrBuilder() {
return getSpecResult();
}
public static final int STREAM_FIELD_NUMBER = 3;
private int stream_;
/**
* int32 stream = 3;
*/
public int getStream() {
return stream_;
}
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 (currentExecutionInfo_ != null) {
output.writeMessage(1, getCurrentExecutionInfo());
}
if (specResult_ != null) {
output.writeMessage(2, getSpecResult());
}
if (stream_ != 0) {
output.writeInt32(3, stream_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (currentExecutionInfo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getCurrentExecutionInfo());
}
if (specResult_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getSpecResult());
}
if (stream_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, stream_);
}
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 gauge.messages.Messages.SpecExecutionEndingRequest)) {
return super.equals(obj);
}
gauge.messages.Messages.SpecExecutionEndingRequest other = (gauge.messages.Messages.SpecExecutionEndingRequest) obj;
boolean result = true;
result = result && (hasCurrentExecutionInfo() == other.hasCurrentExecutionInfo());
if (hasCurrentExecutionInfo()) {
result = result && getCurrentExecutionInfo()
.equals(other.getCurrentExecutionInfo());
}
result = result && (hasSpecResult() == other.hasSpecResult());
if (hasSpecResult()) {
result = result && getSpecResult()
.equals(other.getSpecResult());
}
result = result && (getStream()
== other.getStream());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCurrentExecutionInfo()) {
hash = (37 * hash) + CURRENTEXECUTIONINFO_FIELD_NUMBER;
hash = (53 * hash) + getCurrentExecutionInfo().hashCode();
}
if (hasSpecResult()) {
hash = (37 * hash) + SPECRESULT_FIELD_NUMBER;
hash = (53 * hash) + getSpecResult().hashCode();
}
hash = (37 * hash) + STREAM_FIELD_NUMBER;
hash = (53 * hash) + getStream();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.SpecExecutionEndingRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.SpecExecutionEndingRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.SpecExecutionEndingRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.SpecExecutionEndingRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.SpecExecutionEndingRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.SpecExecutionEndingRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.SpecExecutionEndingRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.SpecExecutionEndingRequest 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 gauge.messages.Messages.SpecExecutionEndingRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.SpecExecutionEndingRequest 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 gauge.messages.Messages.SpecExecutionEndingRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.SpecExecutionEndingRequest 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(gauge.messages.Messages.SpecExecutionEndingRequest 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;
}
/**
*
*/ Sent at end of Spec Execution. Tells the runner to execute `after_spec` hook.
*
*
* Protobuf type {@code gauge.messages.SpecExecutionEndingRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.SpecExecutionEndingRequest)
gauge.messages.Messages.SpecExecutionEndingRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_SpecExecutionEndingRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_SpecExecutionEndingRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.SpecExecutionEndingRequest.class, gauge.messages.Messages.SpecExecutionEndingRequest.Builder.class);
}
// Construct using gauge.messages.Messages.SpecExecutionEndingRequest.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 (currentExecutionInfoBuilder_ == null) {
currentExecutionInfo_ = null;
} else {
currentExecutionInfo_ = null;
currentExecutionInfoBuilder_ = null;
}
if (specResultBuilder_ == null) {
specResult_ = null;
} else {
specResult_ = null;
specResultBuilder_ = null;
}
stream_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_SpecExecutionEndingRequest_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.SpecExecutionEndingRequest getDefaultInstanceForType() {
return gauge.messages.Messages.SpecExecutionEndingRequest.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.SpecExecutionEndingRequest build() {
gauge.messages.Messages.SpecExecutionEndingRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.SpecExecutionEndingRequest buildPartial() {
gauge.messages.Messages.SpecExecutionEndingRequest result = new gauge.messages.Messages.SpecExecutionEndingRequest(this);
if (currentExecutionInfoBuilder_ == null) {
result.currentExecutionInfo_ = currentExecutionInfo_;
} else {
result.currentExecutionInfo_ = currentExecutionInfoBuilder_.build();
}
if (specResultBuilder_ == null) {
result.specResult_ = specResult_;
} else {
result.specResult_ = specResultBuilder_.build();
}
result.stream_ = stream_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.SpecExecutionEndingRequest) {
return mergeFrom((gauge.messages.Messages.SpecExecutionEndingRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.SpecExecutionEndingRequest other) {
if (other == gauge.messages.Messages.SpecExecutionEndingRequest.getDefaultInstance()) return this;
if (other.hasCurrentExecutionInfo()) {
mergeCurrentExecutionInfo(other.getCurrentExecutionInfo());
}
if (other.hasSpecResult()) {
mergeSpecResult(other.getSpecResult());
}
if (other.getStream() != 0) {
setStream(other.getStream());
}
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 {
gauge.messages.Messages.SpecExecutionEndingRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.SpecExecutionEndingRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private gauge.messages.Messages.ExecutionInfo currentExecutionInfo_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.ExecutionInfo, gauge.messages.Messages.ExecutionInfo.Builder, gauge.messages.Messages.ExecutionInfoOrBuilder> currentExecutionInfoBuilder_;
/**
*
*/ Holds the current spec execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public boolean hasCurrentExecutionInfo() {
return currentExecutionInfoBuilder_ != null || currentExecutionInfo_ != null;
}
/**
*
*/ Holds the current spec execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfo getCurrentExecutionInfo() {
if (currentExecutionInfoBuilder_ == null) {
return currentExecutionInfo_ == null ? gauge.messages.Messages.ExecutionInfo.getDefaultInstance() : currentExecutionInfo_;
} else {
return currentExecutionInfoBuilder_.getMessage();
}
}
/**
*
*/ Holds the current spec execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public Builder setCurrentExecutionInfo(gauge.messages.Messages.ExecutionInfo value) {
if (currentExecutionInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
currentExecutionInfo_ = value;
onChanged();
} else {
currentExecutionInfoBuilder_.setMessage(value);
}
return this;
}
/**
*
*/ Holds the current spec execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public Builder setCurrentExecutionInfo(
gauge.messages.Messages.ExecutionInfo.Builder builderForValue) {
if (currentExecutionInfoBuilder_ == null) {
currentExecutionInfo_ = builderForValue.build();
onChanged();
} else {
currentExecutionInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
*/ Holds the current spec execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public Builder mergeCurrentExecutionInfo(gauge.messages.Messages.ExecutionInfo value) {
if (currentExecutionInfoBuilder_ == null) {
if (currentExecutionInfo_ != null) {
currentExecutionInfo_ =
gauge.messages.Messages.ExecutionInfo.newBuilder(currentExecutionInfo_).mergeFrom(value).buildPartial();
} else {
currentExecutionInfo_ = value;
}
onChanged();
} else {
currentExecutionInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
*
*/ Holds the current spec execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public Builder clearCurrentExecutionInfo() {
if (currentExecutionInfoBuilder_ == null) {
currentExecutionInfo_ = null;
onChanged();
} else {
currentExecutionInfo_ = null;
currentExecutionInfoBuilder_ = null;
}
return this;
}
/**
*
*/ Holds the current spec execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfo.Builder getCurrentExecutionInfoBuilder() {
onChanged();
return getCurrentExecutionInfoFieldBuilder().getBuilder();
}
/**
*
*/ Holds the current spec execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfoOrBuilder getCurrentExecutionInfoOrBuilder() {
if (currentExecutionInfoBuilder_ != null) {
return currentExecutionInfoBuilder_.getMessageOrBuilder();
} else {
return currentExecutionInfo_ == null ?
gauge.messages.Messages.ExecutionInfo.getDefaultInstance() : currentExecutionInfo_;
}
}
/**
*
*/ Holds the current spec execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.ExecutionInfo, gauge.messages.Messages.ExecutionInfo.Builder, gauge.messages.Messages.ExecutionInfoOrBuilder>
getCurrentExecutionInfoFieldBuilder() {
if (currentExecutionInfoBuilder_ == null) {
currentExecutionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.ExecutionInfo, gauge.messages.Messages.ExecutionInfo.Builder, gauge.messages.Messages.ExecutionInfoOrBuilder>(
getCurrentExecutionInfo(),
getParentForChildren(),
isClean());
currentExecutionInfo_ = null;
}
return currentExecutionInfoBuilder_;
}
private gauge.messages.Spec.ProtoSpecResult specResult_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoSpecResult, gauge.messages.Spec.ProtoSpecResult.Builder, gauge.messages.Spec.ProtoSpecResultOrBuilder> specResultBuilder_;
/**
*
*/ Holds the specs result in spec execution ending.
*
*
* .gauge.messages.ProtoSpecResult specResult = 2;
*/
public boolean hasSpecResult() {
return specResultBuilder_ != null || specResult_ != null;
}
/**
*
*/ Holds the specs result in spec execution ending.
*
*
* .gauge.messages.ProtoSpecResult specResult = 2;
*/
public gauge.messages.Spec.ProtoSpecResult getSpecResult() {
if (specResultBuilder_ == null) {
return specResult_ == null ? gauge.messages.Spec.ProtoSpecResult.getDefaultInstance() : specResult_;
} else {
return specResultBuilder_.getMessage();
}
}
/**
*
*/ Holds the specs result in spec execution ending.
*
*
* .gauge.messages.ProtoSpecResult specResult = 2;
*/
public Builder setSpecResult(gauge.messages.Spec.ProtoSpecResult value) {
if (specResultBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
specResult_ = value;
onChanged();
} else {
specResultBuilder_.setMessage(value);
}
return this;
}
/**
*
*/ Holds the specs result in spec execution ending.
*
*
* .gauge.messages.ProtoSpecResult specResult = 2;
*/
public Builder setSpecResult(
gauge.messages.Spec.ProtoSpecResult.Builder builderForValue) {
if (specResultBuilder_ == null) {
specResult_ = builderForValue.build();
onChanged();
} else {
specResultBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
*/ Holds the specs result in spec execution ending.
*
*
* .gauge.messages.ProtoSpecResult specResult = 2;
*/
public Builder mergeSpecResult(gauge.messages.Spec.ProtoSpecResult value) {
if (specResultBuilder_ == null) {
if (specResult_ != null) {
specResult_ =
gauge.messages.Spec.ProtoSpecResult.newBuilder(specResult_).mergeFrom(value).buildPartial();
} else {
specResult_ = value;
}
onChanged();
} else {
specResultBuilder_.mergeFrom(value);
}
return this;
}
/**
*
*/ Holds the specs result in spec execution ending.
*
*
* .gauge.messages.ProtoSpecResult specResult = 2;
*/
public Builder clearSpecResult() {
if (specResultBuilder_ == null) {
specResult_ = null;
onChanged();
} else {
specResult_ = null;
specResultBuilder_ = null;
}
return this;
}
/**
*
*/ Holds the specs result in spec execution ending.
*
*
* .gauge.messages.ProtoSpecResult specResult = 2;
*/
public gauge.messages.Spec.ProtoSpecResult.Builder getSpecResultBuilder() {
onChanged();
return getSpecResultFieldBuilder().getBuilder();
}
/**
*
*/ Holds the specs result in spec execution ending.
*
*
* .gauge.messages.ProtoSpecResult specResult = 2;
*/
public gauge.messages.Spec.ProtoSpecResultOrBuilder getSpecResultOrBuilder() {
if (specResultBuilder_ != null) {
return specResultBuilder_.getMessageOrBuilder();
} else {
return specResult_ == null ?
gauge.messages.Spec.ProtoSpecResult.getDefaultInstance() : specResult_;
}
}
/**
*
*/ Holds the specs result in spec execution ending.
*
*
* .gauge.messages.ProtoSpecResult specResult = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoSpecResult, gauge.messages.Spec.ProtoSpecResult.Builder, gauge.messages.Spec.ProtoSpecResultOrBuilder>
getSpecResultFieldBuilder() {
if (specResultBuilder_ == null) {
specResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoSpecResult, gauge.messages.Spec.ProtoSpecResult.Builder, gauge.messages.Spec.ProtoSpecResultOrBuilder>(
getSpecResult(),
getParentForChildren(),
isClean());
specResult_ = null;
}
return specResultBuilder_;
}
private int stream_ ;
/**
* int32 stream = 3;
*/
public int getStream() {
return stream_;
}
/**
* int32 stream = 3;
*/
public Builder setStream(int value) {
stream_ = value;
onChanged();
return this;
}
/**
* int32 stream = 3;
*/
public Builder clearStream() {
stream_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.SpecExecutionEndingRequest)
}
// @@protoc_insertion_point(class_scope:gauge.messages.SpecExecutionEndingRequest)
private static final gauge.messages.Messages.SpecExecutionEndingRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.SpecExecutionEndingRequest();
}
public static gauge.messages.Messages.SpecExecutionEndingRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SpecExecutionEndingRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SpecExecutionEndingRequest(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 gauge.messages.Messages.SpecExecutionEndingRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ScenarioExecutionStartingRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.ScenarioExecutionStartingRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*/ Holds the current sceanrio execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
boolean hasCurrentExecutionInfo();
/**
*
*/ Holds the current sceanrio execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
gauge.messages.Messages.ExecutionInfo getCurrentExecutionInfo();
/**
*
*/ Holds the current sceanrio execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
gauge.messages.Messages.ExecutionInfoOrBuilder getCurrentExecutionInfoOrBuilder();
/**
*
*/ Holds the scenarion result in scenarion execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoScenarioResult scenarioResult = 2;
*/
boolean hasScenarioResult();
/**
*
*/ Holds the scenarion result in scenarion execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoScenarioResult scenarioResult = 2;
*/
gauge.messages.Spec.ProtoScenarioResult getScenarioResult();
/**
*
*/ Holds the scenarion result in scenarion execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoScenarioResult scenarioResult = 2;
*/
gauge.messages.Spec.ProtoScenarioResultOrBuilder getScenarioResultOrBuilder();
/**
* int32 stream = 3;
*/
int getStream();
}
/**
*
*/ Sent at start of Scenario Execution. Tells the runner to execute `before_scenario` hook.
*
*
* Protobuf type {@code gauge.messages.ScenarioExecutionStartingRequest}
*/
public static final class ScenarioExecutionStartingRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.ScenarioExecutionStartingRequest)
ScenarioExecutionStartingRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ScenarioExecutionStartingRequest.newBuilder() to construct.
private ScenarioExecutionStartingRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private ScenarioExecutionStartingRequest() {
stream_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ScenarioExecutionStartingRequest(
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: {
gauge.messages.Messages.ExecutionInfo.Builder subBuilder = null;
if (currentExecutionInfo_ != null) {
subBuilder = currentExecutionInfo_.toBuilder();
}
currentExecutionInfo_ = input.readMessage(gauge.messages.Messages.ExecutionInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(currentExecutionInfo_);
currentExecutionInfo_ = subBuilder.buildPartial();
}
break;
}
case 18: {
gauge.messages.Spec.ProtoScenarioResult.Builder subBuilder = null;
if (scenarioResult_ != null) {
subBuilder = scenarioResult_.toBuilder();
}
scenarioResult_ = input.readMessage(gauge.messages.Spec.ProtoScenarioResult.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(scenarioResult_);
scenarioResult_ = subBuilder.buildPartial();
}
break;
}
case 24: {
stream_ = input.readInt32();
break;
}
default: {
if (!parseUnknownFieldProto3(
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 gauge.messages.Messages.internal_static_gauge_messages_ScenarioExecutionStartingRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_ScenarioExecutionStartingRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.ScenarioExecutionStartingRequest.class, gauge.messages.Messages.ScenarioExecutionStartingRequest.Builder.class);
}
public static final int CURRENTEXECUTIONINFO_FIELD_NUMBER = 1;
private gauge.messages.Messages.ExecutionInfo currentExecutionInfo_;
/**
*
*/ Holds the current sceanrio execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public boolean hasCurrentExecutionInfo() {
return currentExecutionInfo_ != null;
}
/**
*
*/ Holds the current sceanrio execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfo getCurrentExecutionInfo() {
return currentExecutionInfo_ == null ? gauge.messages.Messages.ExecutionInfo.getDefaultInstance() : currentExecutionInfo_;
}
/**
*
*/ Holds the current sceanrio execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfoOrBuilder getCurrentExecutionInfoOrBuilder() {
return getCurrentExecutionInfo();
}
public static final int SCENARIORESULT_FIELD_NUMBER = 2;
private gauge.messages.Spec.ProtoScenarioResult scenarioResult_;
/**
*
*/ Holds the scenarion result in scenarion execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoScenarioResult scenarioResult = 2;
*/
public boolean hasScenarioResult() {
return scenarioResult_ != null;
}
/**
*
*/ Holds the scenarion result in scenarion execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoScenarioResult scenarioResult = 2;
*/
public gauge.messages.Spec.ProtoScenarioResult getScenarioResult() {
return scenarioResult_ == null ? gauge.messages.Spec.ProtoScenarioResult.getDefaultInstance() : scenarioResult_;
}
/**
*
*/ Holds the scenarion result in scenarion execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoScenarioResult scenarioResult = 2;
*/
public gauge.messages.Spec.ProtoScenarioResultOrBuilder getScenarioResultOrBuilder() {
return getScenarioResult();
}
public static final int STREAM_FIELD_NUMBER = 3;
private int stream_;
/**
* int32 stream = 3;
*/
public int getStream() {
return stream_;
}
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 (currentExecutionInfo_ != null) {
output.writeMessage(1, getCurrentExecutionInfo());
}
if (scenarioResult_ != null) {
output.writeMessage(2, getScenarioResult());
}
if (stream_ != 0) {
output.writeInt32(3, stream_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (currentExecutionInfo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getCurrentExecutionInfo());
}
if (scenarioResult_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getScenarioResult());
}
if (stream_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, stream_);
}
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 gauge.messages.Messages.ScenarioExecutionStartingRequest)) {
return super.equals(obj);
}
gauge.messages.Messages.ScenarioExecutionStartingRequest other = (gauge.messages.Messages.ScenarioExecutionStartingRequest) obj;
boolean result = true;
result = result && (hasCurrentExecutionInfo() == other.hasCurrentExecutionInfo());
if (hasCurrentExecutionInfo()) {
result = result && getCurrentExecutionInfo()
.equals(other.getCurrentExecutionInfo());
}
result = result && (hasScenarioResult() == other.hasScenarioResult());
if (hasScenarioResult()) {
result = result && getScenarioResult()
.equals(other.getScenarioResult());
}
result = result && (getStream()
== other.getStream());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCurrentExecutionInfo()) {
hash = (37 * hash) + CURRENTEXECUTIONINFO_FIELD_NUMBER;
hash = (53 * hash) + getCurrentExecutionInfo().hashCode();
}
if (hasScenarioResult()) {
hash = (37 * hash) + SCENARIORESULT_FIELD_NUMBER;
hash = (53 * hash) + getScenarioResult().hashCode();
}
hash = (37 * hash) + STREAM_FIELD_NUMBER;
hash = (53 * hash) + getStream();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.ScenarioExecutionStartingRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ScenarioExecutionStartingRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ScenarioExecutionStartingRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ScenarioExecutionStartingRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ScenarioExecutionStartingRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ScenarioExecutionStartingRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ScenarioExecutionStartingRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ScenarioExecutionStartingRequest 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 gauge.messages.Messages.ScenarioExecutionStartingRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ScenarioExecutionStartingRequest 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 gauge.messages.Messages.ScenarioExecutionStartingRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ScenarioExecutionStartingRequest 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(gauge.messages.Messages.ScenarioExecutionStartingRequest 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;
}
/**
*
*/ Sent at start of Scenario Execution. Tells the runner to execute `before_scenario` hook.
*
*
* Protobuf type {@code gauge.messages.ScenarioExecutionStartingRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.ScenarioExecutionStartingRequest)
gauge.messages.Messages.ScenarioExecutionStartingRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_ScenarioExecutionStartingRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_ScenarioExecutionStartingRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.ScenarioExecutionStartingRequest.class, gauge.messages.Messages.ScenarioExecutionStartingRequest.Builder.class);
}
// Construct using gauge.messages.Messages.ScenarioExecutionStartingRequest.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 (currentExecutionInfoBuilder_ == null) {
currentExecutionInfo_ = null;
} else {
currentExecutionInfo_ = null;
currentExecutionInfoBuilder_ = null;
}
if (scenarioResultBuilder_ == null) {
scenarioResult_ = null;
} else {
scenarioResult_ = null;
scenarioResultBuilder_ = null;
}
stream_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_ScenarioExecutionStartingRequest_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.ScenarioExecutionStartingRequest getDefaultInstanceForType() {
return gauge.messages.Messages.ScenarioExecutionStartingRequest.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.ScenarioExecutionStartingRequest build() {
gauge.messages.Messages.ScenarioExecutionStartingRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.ScenarioExecutionStartingRequest buildPartial() {
gauge.messages.Messages.ScenarioExecutionStartingRequest result = new gauge.messages.Messages.ScenarioExecutionStartingRequest(this);
if (currentExecutionInfoBuilder_ == null) {
result.currentExecutionInfo_ = currentExecutionInfo_;
} else {
result.currentExecutionInfo_ = currentExecutionInfoBuilder_.build();
}
if (scenarioResultBuilder_ == null) {
result.scenarioResult_ = scenarioResult_;
} else {
result.scenarioResult_ = scenarioResultBuilder_.build();
}
result.stream_ = stream_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.ScenarioExecutionStartingRequest) {
return mergeFrom((gauge.messages.Messages.ScenarioExecutionStartingRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.ScenarioExecutionStartingRequest other) {
if (other == gauge.messages.Messages.ScenarioExecutionStartingRequest.getDefaultInstance()) return this;
if (other.hasCurrentExecutionInfo()) {
mergeCurrentExecutionInfo(other.getCurrentExecutionInfo());
}
if (other.hasScenarioResult()) {
mergeScenarioResult(other.getScenarioResult());
}
if (other.getStream() != 0) {
setStream(other.getStream());
}
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 {
gauge.messages.Messages.ScenarioExecutionStartingRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.ScenarioExecutionStartingRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private gauge.messages.Messages.ExecutionInfo currentExecutionInfo_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.ExecutionInfo, gauge.messages.Messages.ExecutionInfo.Builder, gauge.messages.Messages.ExecutionInfoOrBuilder> currentExecutionInfoBuilder_;
/**
*
*/ Holds the current sceanrio execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public boolean hasCurrentExecutionInfo() {
return currentExecutionInfoBuilder_ != null || currentExecutionInfo_ != null;
}
/**
*
*/ Holds the current sceanrio execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfo getCurrentExecutionInfo() {
if (currentExecutionInfoBuilder_ == null) {
return currentExecutionInfo_ == null ? gauge.messages.Messages.ExecutionInfo.getDefaultInstance() : currentExecutionInfo_;
} else {
return currentExecutionInfoBuilder_.getMessage();
}
}
/**
*
*/ Holds the current sceanrio execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public Builder setCurrentExecutionInfo(gauge.messages.Messages.ExecutionInfo value) {
if (currentExecutionInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
currentExecutionInfo_ = value;
onChanged();
} else {
currentExecutionInfoBuilder_.setMessage(value);
}
return this;
}
/**
*
*/ Holds the current sceanrio execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public Builder setCurrentExecutionInfo(
gauge.messages.Messages.ExecutionInfo.Builder builderForValue) {
if (currentExecutionInfoBuilder_ == null) {
currentExecutionInfo_ = builderForValue.build();
onChanged();
} else {
currentExecutionInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
*/ Holds the current sceanrio execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public Builder mergeCurrentExecutionInfo(gauge.messages.Messages.ExecutionInfo value) {
if (currentExecutionInfoBuilder_ == null) {
if (currentExecutionInfo_ != null) {
currentExecutionInfo_ =
gauge.messages.Messages.ExecutionInfo.newBuilder(currentExecutionInfo_).mergeFrom(value).buildPartial();
} else {
currentExecutionInfo_ = value;
}
onChanged();
} else {
currentExecutionInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
*
*/ Holds the current sceanrio execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public Builder clearCurrentExecutionInfo() {
if (currentExecutionInfoBuilder_ == null) {
currentExecutionInfo_ = null;
onChanged();
} else {
currentExecutionInfo_ = null;
currentExecutionInfoBuilder_ = null;
}
return this;
}
/**
*
*/ Holds the current sceanrio execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfo.Builder getCurrentExecutionInfoBuilder() {
onChanged();
return getCurrentExecutionInfoFieldBuilder().getBuilder();
}
/**
*
*/ Holds the current sceanrio execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfoOrBuilder getCurrentExecutionInfoOrBuilder() {
if (currentExecutionInfoBuilder_ != null) {
return currentExecutionInfoBuilder_.getMessageOrBuilder();
} else {
return currentExecutionInfo_ == null ?
gauge.messages.Messages.ExecutionInfo.getDefaultInstance() : currentExecutionInfo_;
}
}
/**
*
*/ Holds the current sceanrio execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.ExecutionInfo, gauge.messages.Messages.ExecutionInfo.Builder, gauge.messages.Messages.ExecutionInfoOrBuilder>
getCurrentExecutionInfoFieldBuilder() {
if (currentExecutionInfoBuilder_ == null) {
currentExecutionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.ExecutionInfo, gauge.messages.Messages.ExecutionInfo.Builder, gauge.messages.Messages.ExecutionInfoOrBuilder>(
getCurrentExecutionInfo(),
getParentForChildren(),
isClean());
currentExecutionInfo_ = null;
}
return currentExecutionInfoBuilder_;
}
private gauge.messages.Spec.ProtoScenarioResult scenarioResult_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoScenarioResult, gauge.messages.Spec.ProtoScenarioResult.Builder, gauge.messages.Spec.ProtoScenarioResultOrBuilder> scenarioResultBuilder_;
/**
*
*/ Holds the scenarion result in scenarion execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoScenarioResult scenarioResult = 2;
*/
public boolean hasScenarioResult() {
return scenarioResultBuilder_ != null || scenarioResult_ != null;
}
/**
*
*/ Holds the scenarion result in scenarion execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoScenarioResult scenarioResult = 2;
*/
public gauge.messages.Spec.ProtoScenarioResult getScenarioResult() {
if (scenarioResultBuilder_ == null) {
return scenarioResult_ == null ? gauge.messages.Spec.ProtoScenarioResult.getDefaultInstance() : scenarioResult_;
} else {
return scenarioResultBuilder_.getMessage();
}
}
/**
*
*/ Holds the scenarion result in scenarion execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoScenarioResult scenarioResult = 2;
*/
public Builder setScenarioResult(gauge.messages.Spec.ProtoScenarioResult value) {
if (scenarioResultBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
scenarioResult_ = value;
onChanged();
} else {
scenarioResultBuilder_.setMessage(value);
}
return this;
}
/**
*
*/ Holds the scenarion result in scenarion execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoScenarioResult scenarioResult = 2;
*/
public Builder setScenarioResult(
gauge.messages.Spec.ProtoScenarioResult.Builder builderForValue) {
if (scenarioResultBuilder_ == null) {
scenarioResult_ = builderForValue.build();
onChanged();
} else {
scenarioResultBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
*/ Holds the scenarion result in scenarion execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoScenarioResult scenarioResult = 2;
*/
public Builder mergeScenarioResult(gauge.messages.Spec.ProtoScenarioResult value) {
if (scenarioResultBuilder_ == null) {
if (scenarioResult_ != null) {
scenarioResult_ =
gauge.messages.Spec.ProtoScenarioResult.newBuilder(scenarioResult_).mergeFrom(value).buildPartial();
} else {
scenarioResult_ = value;
}
onChanged();
} else {
scenarioResultBuilder_.mergeFrom(value);
}
return this;
}
/**
*
*/ Holds the scenarion result in scenarion execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoScenarioResult scenarioResult = 2;
*/
public Builder clearScenarioResult() {
if (scenarioResultBuilder_ == null) {
scenarioResult_ = null;
onChanged();
} else {
scenarioResult_ = null;
scenarioResultBuilder_ = null;
}
return this;
}
/**
*
*/ Holds the scenarion result in scenarion execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoScenarioResult scenarioResult = 2;
*/
public gauge.messages.Spec.ProtoScenarioResult.Builder getScenarioResultBuilder() {
onChanged();
return getScenarioResultFieldBuilder().getBuilder();
}
/**
*
*/ Holds the scenarion result in scenarion execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoScenarioResult scenarioResult = 2;
*/
public gauge.messages.Spec.ProtoScenarioResultOrBuilder getScenarioResultOrBuilder() {
if (scenarioResultBuilder_ != null) {
return scenarioResultBuilder_.getMessageOrBuilder();
} else {
return scenarioResult_ == null ?
gauge.messages.Spec.ProtoScenarioResult.getDefaultInstance() : scenarioResult_;
}
}
/**
*
*/ Holds the scenarion result in scenarion execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoScenarioResult scenarioResult = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoScenarioResult, gauge.messages.Spec.ProtoScenarioResult.Builder, gauge.messages.Spec.ProtoScenarioResultOrBuilder>
getScenarioResultFieldBuilder() {
if (scenarioResultBuilder_ == null) {
scenarioResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoScenarioResult, gauge.messages.Spec.ProtoScenarioResult.Builder, gauge.messages.Spec.ProtoScenarioResultOrBuilder>(
getScenarioResult(),
getParentForChildren(),
isClean());
scenarioResult_ = null;
}
return scenarioResultBuilder_;
}
private int stream_ ;
/**
* int32 stream = 3;
*/
public int getStream() {
return stream_;
}
/**
* int32 stream = 3;
*/
public Builder setStream(int value) {
stream_ = value;
onChanged();
return this;
}
/**
* int32 stream = 3;
*/
public Builder clearStream() {
stream_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.ScenarioExecutionStartingRequest)
}
// @@protoc_insertion_point(class_scope:gauge.messages.ScenarioExecutionStartingRequest)
private static final gauge.messages.Messages.ScenarioExecutionStartingRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.ScenarioExecutionStartingRequest();
}
public static gauge.messages.Messages.ScenarioExecutionStartingRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ScenarioExecutionStartingRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ScenarioExecutionStartingRequest(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 gauge.messages.Messages.ScenarioExecutionStartingRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ScenarioExecutionEndingRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.ScenarioExecutionEndingRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*/ Holds the current scenario execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
boolean hasCurrentExecutionInfo();
/**
*
*/ Holds the current scenario execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
gauge.messages.Messages.ExecutionInfo getCurrentExecutionInfo();
/**
*
*/ Holds the current scenario execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
gauge.messages.Messages.ExecutionInfoOrBuilder getCurrentExecutionInfoOrBuilder();
/**
* .gauge.messages.ProtoScenarioResult scenarioResult = 2;
*/
boolean hasScenarioResult();
/**
* .gauge.messages.ProtoScenarioResult scenarioResult = 2;
*/
gauge.messages.Spec.ProtoScenarioResult getScenarioResult();
/**
* .gauge.messages.ProtoScenarioResult scenarioResult = 2;
*/
gauge.messages.Spec.ProtoScenarioResultOrBuilder getScenarioResultOrBuilder();
/**
* int32 stream = 3;
*/
int getStream();
}
/**
*
*/ Sent at end of Scenario Execution. Tells the runner to execute `after_scenario` hook.
*
*
* Protobuf type {@code gauge.messages.ScenarioExecutionEndingRequest}
*/
public static final class ScenarioExecutionEndingRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.ScenarioExecutionEndingRequest)
ScenarioExecutionEndingRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ScenarioExecutionEndingRequest.newBuilder() to construct.
private ScenarioExecutionEndingRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private ScenarioExecutionEndingRequest() {
stream_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ScenarioExecutionEndingRequest(
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: {
gauge.messages.Messages.ExecutionInfo.Builder subBuilder = null;
if (currentExecutionInfo_ != null) {
subBuilder = currentExecutionInfo_.toBuilder();
}
currentExecutionInfo_ = input.readMessage(gauge.messages.Messages.ExecutionInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(currentExecutionInfo_);
currentExecutionInfo_ = subBuilder.buildPartial();
}
break;
}
case 18: {
gauge.messages.Spec.ProtoScenarioResult.Builder subBuilder = null;
if (scenarioResult_ != null) {
subBuilder = scenarioResult_.toBuilder();
}
scenarioResult_ = input.readMessage(gauge.messages.Spec.ProtoScenarioResult.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(scenarioResult_);
scenarioResult_ = subBuilder.buildPartial();
}
break;
}
case 24: {
stream_ = input.readInt32();
break;
}
default: {
if (!parseUnknownFieldProto3(
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 gauge.messages.Messages.internal_static_gauge_messages_ScenarioExecutionEndingRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_ScenarioExecutionEndingRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.ScenarioExecutionEndingRequest.class, gauge.messages.Messages.ScenarioExecutionEndingRequest.Builder.class);
}
public static final int CURRENTEXECUTIONINFO_FIELD_NUMBER = 1;
private gauge.messages.Messages.ExecutionInfo currentExecutionInfo_;
/**
*
*/ Holds the current scenario execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public boolean hasCurrentExecutionInfo() {
return currentExecutionInfo_ != null;
}
/**
*
*/ Holds the current scenario execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfo getCurrentExecutionInfo() {
return currentExecutionInfo_ == null ? gauge.messages.Messages.ExecutionInfo.getDefaultInstance() : currentExecutionInfo_;
}
/**
*
*/ Holds the current scenario execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfoOrBuilder getCurrentExecutionInfoOrBuilder() {
return getCurrentExecutionInfo();
}
public static final int SCENARIORESULT_FIELD_NUMBER = 2;
private gauge.messages.Spec.ProtoScenarioResult scenarioResult_;
/**
* .gauge.messages.ProtoScenarioResult scenarioResult = 2;
*/
public boolean hasScenarioResult() {
return scenarioResult_ != null;
}
/**
* .gauge.messages.ProtoScenarioResult scenarioResult = 2;
*/
public gauge.messages.Spec.ProtoScenarioResult getScenarioResult() {
return scenarioResult_ == null ? gauge.messages.Spec.ProtoScenarioResult.getDefaultInstance() : scenarioResult_;
}
/**
* .gauge.messages.ProtoScenarioResult scenarioResult = 2;
*/
public gauge.messages.Spec.ProtoScenarioResultOrBuilder getScenarioResultOrBuilder() {
return getScenarioResult();
}
public static final int STREAM_FIELD_NUMBER = 3;
private int stream_;
/**
* int32 stream = 3;
*/
public int getStream() {
return stream_;
}
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 (currentExecutionInfo_ != null) {
output.writeMessage(1, getCurrentExecutionInfo());
}
if (scenarioResult_ != null) {
output.writeMessage(2, getScenarioResult());
}
if (stream_ != 0) {
output.writeInt32(3, stream_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (currentExecutionInfo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getCurrentExecutionInfo());
}
if (scenarioResult_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getScenarioResult());
}
if (stream_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, stream_);
}
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 gauge.messages.Messages.ScenarioExecutionEndingRequest)) {
return super.equals(obj);
}
gauge.messages.Messages.ScenarioExecutionEndingRequest other = (gauge.messages.Messages.ScenarioExecutionEndingRequest) obj;
boolean result = true;
result = result && (hasCurrentExecutionInfo() == other.hasCurrentExecutionInfo());
if (hasCurrentExecutionInfo()) {
result = result && getCurrentExecutionInfo()
.equals(other.getCurrentExecutionInfo());
}
result = result && (hasScenarioResult() == other.hasScenarioResult());
if (hasScenarioResult()) {
result = result && getScenarioResult()
.equals(other.getScenarioResult());
}
result = result && (getStream()
== other.getStream());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCurrentExecutionInfo()) {
hash = (37 * hash) + CURRENTEXECUTIONINFO_FIELD_NUMBER;
hash = (53 * hash) + getCurrentExecutionInfo().hashCode();
}
if (hasScenarioResult()) {
hash = (37 * hash) + SCENARIORESULT_FIELD_NUMBER;
hash = (53 * hash) + getScenarioResult().hashCode();
}
hash = (37 * hash) + STREAM_FIELD_NUMBER;
hash = (53 * hash) + getStream();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.ScenarioExecutionEndingRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ScenarioExecutionEndingRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ScenarioExecutionEndingRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ScenarioExecutionEndingRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ScenarioExecutionEndingRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ScenarioExecutionEndingRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ScenarioExecutionEndingRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ScenarioExecutionEndingRequest 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 gauge.messages.Messages.ScenarioExecutionEndingRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ScenarioExecutionEndingRequest 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 gauge.messages.Messages.ScenarioExecutionEndingRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ScenarioExecutionEndingRequest 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(gauge.messages.Messages.ScenarioExecutionEndingRequest 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;
}
/**
*
*/ Sent at end of Scenario Execution. Tells the runner to execute `after_scenario` hook.
*
*
* Protobuf type {@code gauge.messages.ScenarioExecutionEndingRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.ScenarioExecutionEndingRequest)
gauge.messages.Messages.ScenarioExecutionEndingRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_ScenarioExecutionEndingRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_ScenarioExecutionEndingRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.ScenarioExecutionEndingRequest.class, gauge.messages.Messages.ScenarioExecutionEndingRequest.Builder.class);
}
// Construct using gauge.messages.Messages.ScenarioExecutionEndingRequest.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 (currentExecutionInfoBuilder_ == null) {
currentExecutionInfo_ = null;
} else {
currentExecutionInfo_ = null;
currentExecutionInfoBuilder_ = null;
}
if (scenarioResultBuilder_ == null) {
scenarioResult_ = null;
} else {
scenarioResult_ = null;
scenarioResultBuilder_ = null;
}
stream_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_ScenarioExecutionEndingRequest_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.ScenarioExecutionEndingRequest getDefaultInstanceForType() {
return gauge.messages.Messages.ScenarioExecutionEndingRequest.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.ScenarioExecutionEndingRequest build() {
gauge.messages.Messages.ScenarioExecutionEndingRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.ScenarioExecutionEndingRequest buildPartial() {
gauge.messages.Messages.ScenarioExecutionEndingRequest result = new gauge.messages.Messages.ScenarioExecutionEndingRequest(this);
if (currentExecutionInfoBuilder_ == null) {
result.currentExecutionInfo_ = currentExecutionInfo_;
} else {
result.currentExecutionInfo_ = currentExecutionInfoBuilder_.build();
}
if (scenarioResultBuilder_ == null) {
result.scenarioResult_ = scenarioResult_;
} else {
result.scenarioResult_ = scenarioResultBuilder_.build();
}
result.stream_ = stream_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.ScenarioExecutionEndingRequest) {
return mergeFrom((gauge.messages.Messages.ScenarioExecutionEndingRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.ScenarioExecutionEndingRequest other) {
if (other == gauge.messages.Messages.ScenarioExecutionEndingRequest.getDefaultInstance()) return this;
if (other.hasCurrentExecutionInfo()) {
mergeCurrentExecutionInfo(other.getCurrentExecutionInfo());
}
if (other.hasScenarioResult()) {
mergeScenarioResult(other.getScenarioResult());
}
if (other.getStream() != 0) {
setStream(other.getStream());
}
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 {
gauge.messages.Messages.ScenarioExecutionEndingRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.ScenarioExecutionEndingRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private gauge.messages.Messages.ExecutionInfo currentExecutionInfo_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.ExecutionInfo, gauge.messages.Messages.ExecutionInfo.Builder, gauge.messages.Messages.ExecutionInfoOrBuilder> currentExecutionInfoBuilder_;
/**
*
*/ Holds the current scenario execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public boolean hasCurrentExecutionInfo() {
return currentExecutionInfoBuilder_ != null || currentExecutionInfo_ != null;
}
/**
*
*/ Holds the current scenario execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfo getCurrentExecutionInfo() {
if (currentExecutionInfoBuilder_ == null) {
return currentExecutionInfo_ == null ? gauge.messages.Messages.ExecutionInfo.getDefaultInstance() : currentExecutionInfo_;
} else {
return currentExecutionInfoBuilder_.getMessage();
}
}
/**
*
*/ Holds the current scenario execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public Builder setCurrentExecutionInfo(gauge.messages.Messages.ExecutionInfo value) {
if (currentExecutionInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
currentExecutionInfo_ = value;
onChanged();
} else {
currentExecutionInfoBuilder_.setMessage(value);
}
return this;
}
/**
*
*/ Holds the current scenario execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public Builder setCurrentExecutionInfo(
gauge.messages.Messages.ExecutionInfo.Builder builderForValue) {
if (currentExecutionInfoBuilder_ == null) {
currentExecutionInfo_ = builderForValue.build();
onChanged();
} else {
currentExecutionInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
*/ Holds the current scenario execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public Builder mergeCurrentExecutionInfo(gauge.messages.Messages.ExecutionInfo value) {
if (currentExecutionInfoBuilder_ == null) {
if (currentExecutionInfo_ != null) {
currentExecutionInfo_ =
gauge.messages.Messages.ExecutionInfo.newBuilder(currentExecutionInfo_).mergeFrom(value).buildPartial();
} else {
currentExecutionInfo_ = value;
}
onChanged();
} else {
currentExecutionInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
*
*/ Holds the current scenario execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public Builder clearCurrentExecutionInfo() {
if (currentExecutionInfoBuilder_ == null) {
currentExecutionInfo_ = null;
onChanged();
} else {
currentExecutionInfo_ = null;
currentExecutionInfoBuilder_ = null;
}
return this;
}
/**
*
*/ Holds the current scenario execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfo.Builder getCurrentExecutionInfoBuilder() {
onChanged();
return getCurrentExecutionInfoFieldBuilder().getBuilder();
}
/**
*
*/ Holds the current scenario execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfoOrBuilder getCurrentExecutionInfoOrBuilder() {
if (currentExecutionInfoBuilder_ != null) {
return currentExecutionInfoBuilder_.getMessageOrBuilder();
} else {
return currentExecutionInfo_ == null ?
gauge.messages.Messages.ExecutionInfo.getDefaultInstance() : currentExecutionInfo_;
}
}
/**
*
*/ Holds the current scenario execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.ExecutionInfo, gauge.messages.Messages.ExecutionInfo.Builder, gauge.messages.Messages.ExecutionInfoOrBuilder>
getCurrentExecutionInfoFieldBuilder() {
if (currentExecutionInfoBuilder_ == null) {
currentExecutionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.ExecutionInfo, gauge.messages.Messages.ExecutionInfo.Builder, gauge.messages.Messages.ExecutionInfoOrBuilder>(
getCurrentExecutionInfo(),
getParentForChildren(),
isClean());
currentExecutionInfo_ = null;
}
return currentExecutionInfoBuilder_;
}
private gauge.messages.Spec.ProtoScenarioResult scenarioResult_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoScenarioResult, gauge.messages.Spec.ProtoScenarioResult.Builder, gauge.messages.Spec.ProtoScenarioResultOrBuilder> scenarioResultBuilder_;
/**
* .gauge.messages.ProtoScenarioResult scenarioResult = 2;
*/
public boolean hasScenarioResult() {
return scenarioResultBuilder_ != null || scenarioResult_ != null;
}
/**
* .gauge.messages.ProtoScenarioResult scenarioResult = 2;
*/
public gauge.messages.Spec.ProtoScenarioResult getScenarioResult() {
if (scenarioResultBuilder_ == null) {
return scenarioResult_ == null ? gauge.messages.Spec.ProtoScenarioResult.getDefaultInstance() : scenarioResult_;
} else {
return scenarioResultBuilder_.getMessage();
}
}
/**
* .gauge.messages.ProtoScenarioResult scenarioResult = 2;
*/
public Builder setScenarioResult(gauge.messages.Spec.ProtoScenarioResult value) {
if (scenarioResultBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
scenarioResult_ = value;
onChanged();
} else {
scenarioResultBuilder_.setMessage(value);
}
return this;
}
/**
* .gauge.messages.ProtoScenarioResult scenarioResult = 2;
*/
public Builder setScenarioResult(
gauge.messages.Spec.ProtoScenarioResult.Builder builderForValue) {
if (scenarioResultBuilder_ == null) {
scenarioResult_ = builderForValue.build();
onChanged();
} else {
scenarioResultBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .gauge.messages.ProtoScenarioResult scenarioResult = 2;
*/
public Builder mergeScenarioResult(gauge.messages.Spec.ProtoScenarioResult value) {
if (scenarioResultBuilder_ == null) {
if (scenarioResult_ != null) {
scenarioResult_ =
gauge.messages.Spec.ProtoScenarioResult.newBuilder(scenarioResult_).mergeFrom(value).buildPartial();
} else {
scenarioResult_ = value;
}
onChanged();
} else {
scenarioResultBuilder_.mergeFrom(value);
}
return this;
}
/**
* .gauge.messages.ProtoScenarioResult scenarioResult = 2;
*/
public Builder clearScenarioResult() {
if (scenarioResultBuilder_ == null) {
scenarioResult_ = null;
onChanged();
} else {
scenarioResult_ = null;
scenarioResultBuilder_ = null;
}
return this;
}
/**
* .gauge.messages.ProtoScenarioResult scenarioResult = 2;
*/
public gauge.messages.Spec.ProtoScenarioResult.Builder getScenarioResultBuilder() {
onChanged();
return getScenarioResultFieldBuilder().getBuilder();
}
/**
* .gauge.messages.ProtoScenarioResult scenarioResult = 2;
*/
public gauge.messages.Spec.ProtoScenarioResultOrBuilder getScenarioResultOrBuilder() {
if (scenarioResultBuilder_ != null) {
return scenarioResultBuilder_.getMessageOrBuilder();
} else {
return scenarioResult_ == null ?
gauge.messages.Spec.ProtoScenarioResult.getDefaultInstance() : scenarioResult_;
}
}
/**
* .gauge.messages.ProtoScenarioResult scenarioResult = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoScenarioResult, gauge.messages.Spec.ProtoScenarioResult.Builder, gauge.messages.Spec.ProtoScenarioResultOrBuilder>
getScenarioResultFieldBuilder() {
if (scenarioResultBuilder_ == null) {
scenarioResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoScenarioResult, gauge.messages.Spec.ProtoScenarioResult.Builder, gauge.messages.Spec.ProtoScenarioResultOrBuilder>(
getScenarioResult(),
getParentForChildren(),
isClean());
scenarioResult_ = null;
}
return scenarioResultBuilder_;
}
private int stream_ ;
/**
* int32 stream = 3;
*/
public int getStream() {
return stream_;
}
/**
* int32 stream = 3;
*/
public Builder setStream(int value) {
stream_ = value;
onChanged();
return this;
}
/**
* int32 stream = 3;
*/
public Builder clearStream() {
stream_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.ScenarioExecutionEndingRequest)
}
// @@protoc_insertion_point(class_scope:gauge.messages.ScenarioExecutionEndingRequest)
private static final gauge.messages.Messages.ScenarioExecutionEndingRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.ScenarioExecutionEndingRequest();
}
public static gauge.messages.Messages.ScenarioExecutionEndingRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ScenarioExecutionEndingRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ScenarioExecutionEndingRequest(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 gauge.messages.Messages.ScenarioExecutionEndingRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StepExecutionStartingRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.StepExecutionStartingRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*/ Holds the current step execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
boolean hasCurrentExecutionInfo();
/**
*
*/ Holds the current step execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
gauge.messages.Messages.ExecutionInfo getCurrentExecutionInfo();
/**
*
*/ Holds the current step execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
gauge.messages.Messages.ExecutionInfoOrBuilder getCurrentExecutionInfoOrBuilder();
/**
*
*/ Holds step result in step execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoStepResult stepResult = 2;
*/
boolean hasStepResult();
/**
*
*/ Holds step result in step execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoStepResult stepResult = 2;
*/
gauge.messages.Spec.ProtoStepResult getStepResult();
/**
*
*/ Holds step result in step execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoStepResult stepResult = 2;
*/
gauge.messages.Spec.ProtoStepResultOrBuilder getStepResultOrBuilder();
/**
* int32 stream = 3;
*/
int getStream();
}
/**
*
*/ Sent at start of Step Execution. Tells the runner to execute `before_step` hook.
*
*
* Protobuf type {@code gauge.messages.StepExecutionStartingRequest}
*/
public static final class StepExecutionStartingRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.StepExecutionStartingRequest)
StepExecutionStartingRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use StepExecutionStartingRequest.newBuilder() to construct.
private StepExecutionStartingRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private StepExecutionStartingRequest() {
stream_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StepExecutionStartingRequest(
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: {
gauge.messages.Messages.ExecutionInfo.Builder subBuilder = null;
if (currentExecutionInfo_ != null) {
subBuilder = currentExecutionInfo_.toBuilder();
}
currentExecutionInfo_ = input.readMessage(gauge.messages.Messages.ExecutionInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(currentExecutionInfo_);
currentExecutionInfo_ = subBuilder.buildPartial();
}
break;
}
case 18: {
gauge.messages.Spec.ProtoStepResult.Builder subBuilder = null;
if (stepResult_ != null) {
subBuilder = stepResult_.toBuilder();
}
stepResult_ = input.readMessage(gauge.messages.Spec.ProtoStepResult.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(stepResult_);
stepResult_ = subBuilder.buildPartial();
}
break;
}
case 24: {
stream_ = input.readInt32();
break;
}
default: {
if (!parseUnknownFieldProto3(
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 gauge.messages.Messages.internal_static_gauge_messages_StepExecutionStartingRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_StepExecutionStartingRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.StepExecutionStartingRequest.class, gauge.messages.Messages.StepExecutionStartingRequest.Builder.class);
}
public static final int CURRENTEXECUTIONINFO_FIELD_NUMBER = 1;
private gauge.messages.Messages.ExecutionInfo currentExecutionInfo_;
/**
*
*/ Holds the current step execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public boolean hasCurrentExecutionInfo() {
return currentExecutionInfo_ != null;
}
/**
*
*/ Holds the current step execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfo getCurrentExecutionInfo() {
return currentExecutionInfo_ == null ? gauge.messages.Messages.ExecutionInfo.getDefaultInstance() : currentExecutionInfo_;
}
/**
*
*/ Holds the current step execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfoOrBuilder getCurrentExecutionInfoOrBuilder() {
return getCurrentExecutionInfo();
}
public static final int STEPRESULT_FIELD_NUMBER = 2;
private gauge.messages.Spec.ProtoStepResult stepResult_;
/**
*
*/ Holds step result in step execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoStepResult stepResult = 2;
*/
public boolean hasStepResult() {
return stepResult_ != null;
}
/**
*
*/ Holds step result in step execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoStepResult stepResult = 2;
*/
public gauge.messages.Spec.ProtoStepResult getStepResult() {
return stepResult_ == null ? gauge.messages.Spec.ProtoStepResult.getDefaultInstance() : stepResult_;
}
/**
*
*/ Holds step result in step execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoStepResult stepResult = 2;
*/
public gauge.messages.Spec.ProtoStepResultOrBuilder getStepResultOrBuilder() {
return getStepResult();
}
public static final int STREAM_FIELD_NUMBER = 3;
private int stream_;
/**
* int32 stream = 3;
*/
public int getStream() {
return stream_;
}
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 (currentExecutionInfo_ != null) {
output.writeMessage(1, getCurrentExecutionInfo());
}
if (stepResult_ != null) {
output.writeMessage(2, getStepResult());
}
if (stream_ != 0) {
output.writeInt32(3, stream_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (currentExecutionInfo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getCurrentExecutionInfo());
}
if (stepResult_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getStepResult());
}
if (stream_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, stream_);
}
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 gauge.messages.Messages.StepExecutionStartingRequest)) {
return super.equals(obj);
}
gauge.messages.Messages.StepExecutionStartingRequest other = (gauge.messages.Messages.StepExecutionStartingRequest) obj;
boolean result = true;
result = result && (hasCurrentExecutionInfo() == other.hasCurrentExecutionInfo());
if (hasCurrentExecutionInfo()) {
result = result && getCurrentExecutionInfo()
.equals(other.getCurrentExecutionInfo());
}
result = result && (hasStepResult() == other.hasStepResult());
if (hasStepResult()) {
result = result && getStepResult()
.equals(other.getStepResult());
}
result = result && (getStream()
== other.getStream());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCurrentExecutionInfo()) {
hash = (37 * hash) + CURRENTEXECUTIONINFO_FIELD_NUMBER;
hash = (53 * hash) + getCurrentExecutionInfo().hashCode();
}
if (hasStepResult()) {
hash = (37 * hash) + STEPRESULT_FIELD_NUMBER;
hash = (53 * hash) + getStepResult().hashCode();
}
hash = (37 * hash) + STREAM_FIELD_NUMBER;
hash = (53 * hash) + getStream();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.StepExecutionStartingRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepExecutionStartingRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepExecutionStartingRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepExecutionStartingRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepExecutionStartingRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepExecutionStartingRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepExecutionStartingRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepExecutionStartingRequest 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 gauge.messages.Messages.StepExecutionStartingRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepExecutionStartingRequest 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 gauge.messages.Messages.StepExecutionStartingRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepExecutionStartingRequest 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(gauge.messages.Messages.StepExecutionStartingRequest 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;
}
/**
*
*/ Sent at start of Step Execution. Tells the runner to execute `before_step` hook.
*
*
* Protobuf type {@code gauge.messages.StepExecutionStartingRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.StepExecutionStartingRequest)
gauge.messages.Messages.StepExecutionStartingRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_StepExecutionStartingRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_StepExecutionStartingRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.StepExecutionStartingRequest.class, gauge.messages.Messages.StepExecutionStartingRequest.Builder.class);
}
// Construct using gauge.messages.Messages.StepExecutionStartingRequest.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 (currentExecutionInfoBuilder_ == null) {
currentExecutionInfo_ = null;
} else {
currentExecutionInfo_ = null;
currentExecutionInfoBuilder_ = null;
}
if (stepResultBuilder_ == null) {
stepResult_ = null;
} else {
stepResult_ = null;
stepResultBuilder_ = null;
}
stream_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_StepExecutionStartingRequest_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.StepExecutionStartingRequest getDefaultInstanceForType() {
return gauge.messages.Messages.StepExecutionStartingRequest.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.StepExecutionStartingRequest build() {
gauge.messages.Messages.StepExecutionStartingRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.StepExecutionStartingRequest buildPartial() {
gauge.messages.Messages.StepExecutionStartingRequest result = new gauge.messages.Messages.StepExecutionStartingRequest(this);
if (currentExecutionInfoBuilder_ == null) {
result.currentExecutionInfo_ = currentExecutionInfo_;
} else {
result.currentExecutionInfo_ = currentExecutionInfoBuilder_.build();
}
if (stepResultBuilder_ == null) {
result.stepResult_ = stepResult_;
} else {
result.stepResult_ = stepResultBuilder_.build();
}
result.stream_ = stream_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.StepExecutionStartingRequest) {
return mergeFrom((gauge.messages.Messages.StepExecutionStartingRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.StepExecutionStartingRequest other) {
if (other == gauge.messages.Messages.StepExecutionStartingRequest.getDefaultInstance()) return this;
if (other.hasCurrentExecutionInfo()) {
mergeCurrentExecutionInfo(other.getCurrentExecutionInfo());
}
if (other.hasStepResult()) {
mergeStepResult(other.getStepResult());
}
if (other.getStream() != 0) {
setStream(other.getStream());
}
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 {
gauge.messages.Messages.StepExecutionStartingRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.StepExecutionStartingRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private gauge.messages.Messages.ExecutionInfo currentExecutionInfo_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.ExecutionInfo, gauge.messages.Messages.ExecutionInfo.Builder, gauge.messages.Messages.ExecutionInfoOrBuilder> currentExecutionInfoBuilder_;
/**
*
*/ Holds the current step execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public boolean hasCurrentExecutionInfo() {
return currentExecutionInfoBuilder_ != null || currentExecutionInfo_ != null;
}
/**
*
*/ Holds the current step execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfo getCurrentExecutionInfo() {
if (currentExecutionInfoBuilder_ == null) {
return currentExecutionInfo_ == null ? gauge.messages.Messages.ExecutionInfo.getDefaultInstance() : currentExecutionInfo_;
} else {
return currentExecutionInfoBuilder_.getMessage();
}
}
/**
*
*/ Holds the current step execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public Builder setCurrentExecutionInfo(gauge.messages.Messages.ExecutionInfo value) {
if (currentExecutionInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
currentExecutionInfo_ = value;
onChanged();
} else {
currentExecutionInfoBuilder_.setMessage(value);
}
return this;
}
/**
*
*/ Holds the current step execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public Builder setCurrentExecutionInfo(
gauge.messages.Messages.ExecutionInfo.Builder builderForValue) {
if (currentExecutionInfoBuilder_ == null) {
currentExecutionInfo_ = builderForValue.build();
onChanged();
} else {
currentExecutionInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
*/ Holds the current step execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public Builder mergeCurrentExecutionInfo(gauge.messages.Messages.ExecutionInfo value) {
if (currentExecutionInfoBuilder_ == null) {
if (currentExecutionInfo_ != null) {
currentExecutionInfo_ =
gauge.messages.Messages.ExecutionInfo.newBuilder(currentExecutionInfo_).mergeFrom(value).buildPartial();
} else {
currentExecutionInfo_ = value;
}
onChanged();
} else {
currentExecutionInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
*
*/ Holds the current step execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public Builder clearCurrentExecutionInfo() {
if (currentExecutionInfoBuilder_ == null) {
currentExecutionInfo_ = null;
onChanged();
} else {
currentExecutionInfo_ = null;
currentExecutionInfoBuilder_ = null;
}
return this;
}
/**
*
*/ Holds the current step execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfo.Builder getCurrentExecutionInfoBuilder() {
onChanged();
return getCurrentExecutionInfoFieldBuilder().getBuilder();
}
/**
*
*/ Holds the current step execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfoOrBuilder getCurrentExecutionInfoOrBuilder() {
if (currentExecutionInfoBuilder_ != null) {
return currentExecutionInfoBuilder_.getMessageOrBuilder();
} else {
return currentExecutionInfo_ == null ?
gauge.messages.Messages.ExecutionInfo.getDefaultInstance() : currentExecutionInfo_;
}
}
/**
*
*/ Holds the current step execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.ExecutionInfo, gauge.messages.Messages.ExecutionInfo.Builder, gauge.messages.Messages.ExecutionInfoOrBuilder>
getCurrentExecutionInfoFieldBuilder() {
if (currentExecutionInfoBuilder_ == null) {
currentExecutionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.ExecutionInfo, gauge.messages.Messages.ExecutionInfo.Builder, gauge.messages.Messages.ExecutionInfoOrBuilder>(
getCurrentExecutionInfo(),
getParentForChildren(),
isClean());
currentExecutionInfo_ = null;
}
return currentExecutionInfoBuilder_;
}
private gauge.messages.Spec.ProtoStepResult stepResult_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoStepResult, gauge.messages.Spec.ProtoStepResult.Builder, gauge.messages.Spec.ProtoStepResultOrBuilder> stepResultBuilder_;
/**
*
*/ Holds step result in step execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoStepResult stepResult = 2;
*/
public boolean hasStepResult() {
return stepResultBuilder_ != null || stepResult_ != null;
}
/**
*
*/ Holds step result in step execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoStepResult stepResult = 2;
*/
public gauge.messages.Spec.ProtoStepResult getStepResult() {
if (stepResultBuilder_ == null) {
return stepResult_ == null ? gauge.messages.Spec.ProtoStepResult.getDefaultInstance() : stepResult_;
} else {
return stepResultBuilder_.getMessage();
}
}
/**
*
*/ Holds step result in step execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoStepResult stepResult = 2;
*/
public Builder setStepResult(gauge.messages.Spec.ProtoStepResult value) {
if (stepResultBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
stepResult_ = value;
onChanged();
} else {
stepResultBuilder_.setMessage(value);
}
return this;
}
/**
*
*/ Holds step result in step execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoStepResult stepResult = 2;
*/
public Builder setStepResult(
gauge.messages.Spec.ProtoStepResult.Builder builderForValue) {
if (stepResultBuilder_ == null) {
stepResult_ = builderForValue.build();
onChanged();
} else {
stepResultBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
*/ Holds step result in step execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoStepResult stepResult = 2;
*/
public Builder mergeStepResult(gauge.messages.Spec.ProtoStepResult value) {
if (stepResultBuilder_ == null) {
if (stepResult_ != null) {
stepResult_ =
gauge.messages.Spec.ProtoStepResult.newBuilder(stepResult_).mergeFrom(value).buildPartial();
} else {
stepResult_ = value;
}
onChanged();
} else {
stepResultBuilder_.mergeFrom(value);
}
return this;
}
/**
*
*/ Holds step result in step execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoStepResult stepResult = 2;
*/
public Builder clearStepResult() {
if (stepResultBuilder_ == null) {
stepResult_ = null;
onChanged();
} else {
stepResult_ = null;
stepResultBuilder_ = null;
}
return this;
}
/**
*
*/ Holds step result in step execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoStepResult stepResult = 2;
*/
public gauge.messages.Spec.ProtoStepResult.Builder getStepResultBuilder() {
onChanged();
return getStepResultFieldBuilder().getBuilder();
}
/**
*
*/ Holds step result in step execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoStepResult stepResult = 2;
*/
public gauge.messages.Spec.ProtoStepResultOrBuilder getStepResultOrBuilder() {
if (stepResultBuilder_ != null) {
return stepResultBuilder_.getMessageOrBuilder();
} else {
return stepResult_ == null ?
gauge.messages.Spec.ProtoStepResult.getDefaultInstance() : stepResult_;
}
}
/**
*
*/ Holds step result in step execution starting.
* / Some fields will not be populated before execution.
*
*
* .gauge.messages.ProtoStepResult stepResult = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoStepResult, gauge.messages.Spec.ProtoStepResult.Builder, gauge.messages.Spec.ProtoStepResultOrBuilder>
getStepResultFieldBuilder() {
if (stepResultBuilder_ == null) {
stepResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoStepResult, gauge.messages.Spec.ProtoStepResult.Builder, gauge.messages.Spec.ProtoStepResultOrBuilder>(
getStepResult(),
getParentForChildren(),
isClean());
stepResult_ = null;
}
return stepResultBuilder_;
}
private int stream_ ;
/**
* int32 stream = 3;
*/
public int getStream() {
return stream_;
}
/**
* int32 stream = 3;
*/
public Builder setStream(int value) {
stream_ = value;
onChanged();
return this;
}
/**
* int32 stream = 3;
*/
public Builder clearStream() {
stream_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.StepExecutionStartingRequest)
}
// @@protoc_insertion_point(class_scope:gauge.messages.StepExecutionStartingRequest)
private static final gauge.messages.Messages.StepExecutionStartingRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.StepExecutionStartingRequest();
}
public static gauge.messages.Messages.StepExecutionStartingRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public StepExecutionStartingRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StepExecutionStartingRequest(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 gauge.messages.Messages.StepExecutionStartingRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StepExecutionEndingRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.StepExecutionEndingRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*/ Holds the current step execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
boolean hasCurrentExecutionInfo();
/**
*
*/ Holds the current step execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
gauge.messages.Messages.ExecutionInfo getCurrentExecutionInfo();
/**
*
*/ Holds the current step execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
gauge.messages.Messages.ExecutionInfoOrBuilder getCurrentExecutionInfoOrBuilder();
/**
*
*/ Holds step result in step execution ending.
*
*
* .gauge.messages.ProtoStepResult stepResult = 2;
*/
boolean hasStepResult();
/**
*
*/ Holds step result in step execution ending.
*
*
* .gauge.messages.ProtoStepResult stepResult = 2;
*/
gauge.messages.Spec.ProtoStepResult getStepResult();
/**
*
*/ Holds step result in step execution ending.
*
*
* .gauge.messages.ProtoStepResult stepResult = 2;
*/
gauge.messages.Spec.ProtoStepResultOrBuilder getStepResultOrBuilder();
/**
* int32 stream = 3;
*/
int getStream();
}
/**
*
*/ Sent at end of Step Execution. Tells the runner to execute `after_step` hook.
*
*
* Protobuf type {@code gauge.messages.StepExecutionEndingRequest}
*/
public static final class StepExecutionEndingRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.StepExecutionEndingRequest)
StepExecutionEndingRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use StepExecutionEndingRequest.newBuilder() to construct.
private StepExecutionEndingRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private StepExecutionEndingRequest() {
stream_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StepExecutionEndingRequest(
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: {
gauge.messages.Messages.ExecutionInfo.Builder subBuilder = null;
if (currentExecutionInfo_ != null) {
subBuilder = currentExecutionInfo_.toBuilder();
}
currentExecutionInfo_ = input.readMessage(gauge.messages.Messages.ExecutionInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(currentExecutionInfo_);
currentExecutionInfo_ = subBuilder.buildPartial();
}
break;
}
case 18: {
gauge.messages.Spec.ProtoStepResult.Builder subBuilder = null;
if (stepResult_ != null) {
subBuilder = stepResult_.toBuilder();
}
stepResult_ = input.readMessage(gauge.messages.Spec.ProtoStepResult.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(stepResult_);
stepResult_ = subBuilder.buildPartial();
}
break;
}
case 24: {
stream_ = input.readInt32();
break;
}
default: {
if (!parseUnknownFieldProto3(
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 gauge.messages.Messages.internal_static_gauge_messages_StepExecutionEndingRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_StepExecutionEndingRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.StepExecutionEndingRequest.class, gauge.messages.Messages.StepExecutionEndingRequest.Builder.class);
}
public static final int CURRENTEXECUTIONINFO_FIELD_NUMBER = 1;
private gauge.messages.Messages.ExecutionInfo currentExecutionInfo_;
/**
*
*/ Holds the current step execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public boolean hasCurrentExecutionInfo() {
return currentExecutionInfo_ != null;
}
/**
*
*/ Holds the current step execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfo getCurrentExecutionInfo() {
return currentExecutionInfo_ == null ? gauge.messages.Messages.ExecutionInfo.getDefaultInstance() : currentExecutionInfo_;
}
/**
*
*/ Holds the current step execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfoOrBuilder getCurrentExecutionInfoOrBuilder() {
return getCurrentExecutionInfo();
}
public static final int STEPRESULT_FIELD_NUMBER = 2;
private gauge.messages.Spec.ProtoStepResult stepResult_;
/**
*
*/ Holds step result in step execution ending.
*
*
* .gauge.messages.ProtoStepResult stepResult = 2;
*/
public boolean hasStepResult() {
return stepResult_ != null;
}
/**
*
*/ Holds step result in step execution ending.
*
*
* .gauge.messages.ProtoStepResult stepResult = 2;
*/
public gauge.messages.Spec.ProtoStepResult getStepResult() {
return stepResult_ == null ? gauge.messages.Spec.ProtoStepResult.getDefaultInstance() : stepResult_;
}
/**
*
*/ Holds step result in step execution ending.
*
*
* .gauge.messages.ProtoStepResult stepResult = 2;
*/
public gauge.messages.Spec.ProtoStepResultOrBuilder getStepResultOrBuilder() {
return getStepResult();
}
public static final int STREAM_FIELD_NUMBER = 3;
private int stream_;
/**
* int32 stream = 3;
*/
public int getStream() {
return stream_;
}
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 (currentExecutionInfo_ != null) {
output.writeMessage(1, getCurrentExecutionInfo());
}
if (stepResult_ != null) {
output.writeMessage(2, getStepResult());
}
if (stream_ != 0) {
output.writeInt32(3, stream_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (currentExecutionInfo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getCurrentExecutionInfo());
}
if (stepResult_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getStepResult());
}
if (stream_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, stream_);
}
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 gauge.messages.Messages.StepExecutionEndingRequest)) {
return super.equals(obj);
}
gauge.messages.Messages.StepExecutionEndingRequest other = (gauge.messages.Messages.StepExecutionEndingRequest) obj;
boolean result = true;
result = result && (hasCurrentExecutionInfo() == other.hasCurrentExecutionInfo());
if (hasCurrentExecutionInfo()) {
result = result && getCurrentExecutionInfo()
.equals(other.getCurrentExecutionInfo());
}
result = result && (hasStepResult() == other.hasStepResult());
if (hasStepResult()) {
result = result && getStepResult()
.equals(other.getStepResult());
}
result = result && (getStream()
== other.getStream());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCurrentExecutionInfo()) {
hash = (37 * hash) + CURRENTEXECUTIONINFO_FIELD_NUMBER;
hash = (53 * hash) + getCurrentExecutionInfo().hashCode();
}
if (hasStepResult()) {
hash = (37 * hash) + STEPRESULT_FIELD_NUMBER;
hash = (53 * hash) + getStepResult().hashCode();
}
hash = (37 * hash) + STREAM_FIELD_NUMBER;
hash = (53 * hash) + getStream();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.StepExecutionEndingRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepExecutionEndingRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepExecutionEndingRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepExecutionEndingRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepExecutionEndingRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepExecutionEndingRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepExecutionEndingRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepExecutionEndingRequest 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 gauge.messages.Messages.StepExecutionEndingRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepExecutionEndingRequest 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 gauge.messages.Messages.StepExecutionEndingRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepExecutionEndingRequest 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(gauge.messages.Messages.StepExecutionEndingRequest 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;
}
/**
*
*/ Sent at end of Step Execution. Tells the runner to execute `after_step` hook.
*
*
* Protobuf type {@code gauge.messages.StepExecutionEndingRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.StepExecutionEndingRequest)
gauge.messages.Messages.StepExecutionEndingRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_StepExecutionEndingRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_StepExecutionEndingRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.StepExecutionEndingRequest.class, gauge.messages.Messages.StepExecutionEndingRequest.Builder.class);
}
// Construct using gauge.messages.Messages.StepExecutionEndingRequest.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 (currentExecutionInfoBuilder_ == null) {
currentExecutionInfo_ = null;
} else {
currentExecutionInfo_ = null;
currentExecutionInfoBuilder_ = null;
}
if (stepResultBuilder_ == null) {
stepResult_ = null;
} else {
stepResult_ = null;
stepResultBuilder_ = null;
}
stream_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_StepExecutionEndingRequest_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.StepExecutionEndingRequest getDefaultInstanceForType() {
return gauge.messages.Messages.StepExecutionEndingRequest.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.StepExecutionEndingRequest build() {
gauge.messages.Messages.StepExecutionEndingRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.StepExecutionEndingRequest buildPartial() {
gauge.messages.Messages.StepExecutionEndingRequest result = new gauge.messages.Messages.StepExecutionEndingRequest(this);
if (currentExecutionInfoBuilder_ == null) {
result.currentExecutionInfo_ = currentExecutionInfo_;
} else {
result.currentExecutionInfo_ = currentExecutionInfoBuilder_.build();
}
if (stepResultBuilder_ == null) {
result.stepResult_ = stepResult_;
} else {
result.stepResult_ = stepResultBuilder_.build();
}
result.stream_ = stream_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.StepExecutionEndingRequest) {
return mergeFrom((gauge.messages.Messages.StepExecutionEndingRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.StepExecutionEndingRequest other) {
if (other == gauge.messages.Messages.StepExecutionEndingRequest.getDefaultInstance()) return this;
if (other.hasCurrentExecutionInfo()) {
mergeCurrentExecutionInfo(other.getCurrentExecutionInfo());
}
if (other.hasStepResult()) {
mergeStepResult(other.getStepResult());
}
if (other.getStream() != 0) {
setStream(other.getStream());
}
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 {
gauge.messages.Messages.StepExecutionEndingRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.StepExecutionEndingRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private gauge.messages.Messages.ExecutionInfo currentExecutionInfo_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.ExecutionInfo, gauge.messages.Messages.ExecutionInfo.Builder, gauge.messages.Messages.ExecutionInfoOrBuilder> currentExecutionInfoBuilder_;
/**
*
*/ Holds the current step execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public boolean hasCurrentExecutionInfo() {
return currentExecutionInfoBuilder_ != null || currentExecutionInfo_ != null;
}
/**
*
*/ Holds the current step execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfo getCurrentExecutionInfo() {
if (currentExecutionInfoBuilder_ == null) {
return currentExecutionInfo_ == null ? gauge.messages.Messages.ExecutionInfo.getDefaultInstance() : currentExecutionInfo_;
} else {
return currentExecutionInfoBuilder_.getMessage();
}
}
/**
*
*/ Holds the current step execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public Builder setCurrentExecutionInfo(gauge.messages.Messages.ExecutionInfo value) {
if (currentExecutionInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
currentExecutionInfo_ = value;
onChanged();
} else {
currentExecutionInfoBuilder_.setMessage(value);
}
return this;
}
/**
*
*/ Holds the current step execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public Builder setCurrentExecutionInfo(
gauge.messages.Messages.ExecutionInfo.Builder builderForValue) {
if (currentExecutionInfoBuilder_ == null) {
currentExecutionInfo_ = builderForValue.build();
onChanged();
} else {
currentExecutionInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
*/ Holds the current step execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public Builder mergeCurrentExecutionInfo(gauge.messages.Messages.ExecutionInfo value) {
if (currentExecutionInfoBuilder_ == null) {
if (currentExecutionInfo_ != null) {
currentExecutionInfo_ =
gauge.messages.Messages.ExecutionInfo.newBuilder(currentExecutionInfo_).mergeFrom(value).buildPartial();
} else {
currentExecutionInfo_ = value;
}
onChanged();
} else {
currentExecutionInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
*
*/ Holds the current step execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public Builder clearCurrentExecutionInfo() {
if (currentExecutionInfoBuilder_ == null) {
currentExecutionInfo_ = null;
onChanged();
} else {
currentExecutionInfo_ = null;
currentExecutionInfoBuilder_ = null;
}
return this;
}
/**
*
*/ Holds the current step execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfo.Builder getCurrentExecutionInfoBuilder() {
onChanged();
return getCurrentExecutionInfoFieldBuilder().getBuilder();
}
/**
*
*/ Holds the current step execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
public gauge.messages.Messages.ExecutionInfoOrBuilder getCurrentExecutionInfoOrBuilder() {
if (currentExecutionInfoBuilder_ != null) {
return currentExecutionInfoBuilder_.getMessageOrBuilder();
} else {
return currentExecutionInfo_ == null ?
gauge.messages.Messages.ExecutionInfo.getDefaultInstance() : currentExecutionInfo_;
}
}
/**
*
*/ Holds the current step execution info.
*
*
* .gauge.messages.ExecutionInfo currentExecutionInfo = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.ExecutionInfo, gauge.messages.Messages.ExecutionInfo.Builder, gauge.messages.Messages.ExecutionInfoOrBuilder>
getCurrentExecutionInfoFieldBuilder() {
if (currentExecutionInfoBuilder_ == null) {
currentExecutionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.ExecutionInfo, gauge.messages.Messages.ExecutionInfo.Builder, gauge.messages.Messages.ExecutionInfoOrBuilder>(
getCurrentExecutionInfo(),
getParentForChildren(),
isClean());
currentExecutionInfo_ = null;
}
return currentExecutionInfoBuilder_;
}
private gauge.messages.Spec.ProtoStepResult stepResult_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoStepResult, gauge.messages.Spec.ProtoStepResult.Builder, gauge.messages.Spec.ProtoStepResultOrBuilder> stepResultBuilder_;
/**
*
*/ Holds step result in step execution ending.
*
*
* .gauge.messages.ProtoStepResult stepResult = 2;
*/
public boolean hasStepResult() {
return stepResultBuilder_ != null || stepResult_ != null;
}
/**
*
*/ Holds step result in step execution ending.
*
*
* .gauge.messages.ProtoStepResult stepResult = 2;
*/
public gauge.messages.Spec.ProtoStepResult getStepResult() {
if (stepResultBuilder_ == null) {
return stepResult_ == null ? gauge.messages.Spec.ProtoStepResult.getDefaultInstance() : stepResult_;
} else {
return stepResultBuilder_.getMessage();
}
}
/**
*
*/ Holds step result in step execution ending.
*
*
* .gauge.messages.ProtoStepResult stepResult = 2;
*/
public Builder setStepResult(gauge.messages.Spec.ProtoStepResult value) {
if (stepResultBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
stepResult_ = value;
onChanged();
} else {
stepResultBuilder_.setMessage(value);
}
return this;
}
/**
*
*/ Holds step result in step execution ending.
*
*
* .gauge.messages.ProtoStepResult stepResult = 2;
*/
public Builder setStepResult(
gauge.messages.Spec.ProtoStepResult.Builder builderForValue) {
if (stepResultBuilder_ == null) {
stepResult_ = builderForValue.build();
onChanged();
} else {
stepResultBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
*/ Holds step result in step execution ending.
*
*
* .gauge.messages.ProtoStepResult stepResult = 2;
*/
public Builder mergeStepResult(gauge.messages.Spec.ProtoStepResult value) {
if (stepResultBuilder_ == null) {
if (stepResult_ != null) {
stepResult_ =
gauge.messages.Spec.ProtoStepResult.newBuilder(stepResult_).mergeFrom(value).buildPartial();
} else {
stepResult_ = value;
}
onChanged();
} else {
stepResultBuilder_.mergeFrom(value);
}
return this;
}
/**
*
*/ Holds step result in step execution ending.
*
*
* .gauge.messages.ProtoStepResult stepResult = 2;
*/
public Builder clearStepResult() {
if (stepResultBuilder_ == null) {
stepResult_ = null;
onChanged();
} else {
stepResult_ = null;
stepResultBuilder_ = null;
}
return this;
}
/**
*
*/ Holds step result in step execution ending.
*
*
* .gauge.messages.ProtoStepResult stepResult = 2;
*/
public gauge.messages.Spec.ProtoStepResult.Builder getStepResultBuilder() {
onChanged();
return getStepResultFieldBuilder().getBuilder();
}
/**
*
*/ Holds step result in step execution ending.
*
*
* .gauge.messages.ProtoStepResult stepResult = 2;
*/
public gauge.messages.Spec.ProtoStepResultOrBuilder getStepResultOrBuilder() {
if (stepResultBuilder_ != null) {
return stepResultBuilder_.getMessageOrBuilder();
} else {
return stepResult_ == null ?
gauge.messages.Spec.ProtoStepResult.getDefaultInstance() : stepResult_;
}
}
/**
*
*/ Holds step result in step execution ending.
*
*
* .gauge.messages.ProtoStepResult stepResult = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoStepResult, gauge.messages.Spec.ProtoStepResult.Builder, gauge.messages.Spec.ProtoStepResultOrBuilder>
getStepResultFieldBuilder() {
if (stepResultBuilder_ == null) {
stepResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoStepResult, gauge.messages.Spec.ProtoStepResult.Builder, gauge.messages.Spec.ProtoStepResultOrBuilder>(
getStepResult(),
getParentForChildren(),
isClean());
stepResult_ = null;
}
return stepResultBuilder_;
}
private int stream_ ;
/**
* int32 stream = 3;
*/
public int getStream() {
return stream_;
}
/**
* int32 stream = 3;
*/
public Builder setStream(int value) {
stream_ = value;
onChanged();
return this;
}
/**
* int32 stream = 3;
*/
public Builder clearStream() {
stream_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.StepExecutionEndingRequest)
}
// @@protoc_insertion_point(class_scope:gauge.messages.StepExecutionEndingRequest)
private static final gauge.messages.Messages.StepExecutionEndingRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.StepExecutionEndingRequest();
}
public static gauge.messages.Messages.StepExecutionEndingRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public StepExecutionEndingRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StepExecutionEndingRequest(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 gauge.messages.Messages.StepExecutionEndingRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ExecutionArgOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.ExecutionArg)
com.google.protobuf.MessageOrBuilder {
/**
*
*/ Holds the flag name passed from command line.
*
*
* string flagName = 1;
*/
java.lang.String getFlagName();
/**
*
*/ Holds the flag name passed from command line.
*
*
* string flagName = 1;
*/
com.google.protobuf.ByteString
getFlagNameBytes();
/**
*
*/ Holds the flag value passed from command line.
*
*
* repeated string flagValue = 2;
*/
java.util.List
getFlagValueList();
/**
*
*/ Holds the flag value passed from command line.
*
*
* repeated string flagValue = 2;
*/
int getFlagValueCount();
/**
*
*/ Holds the flag value passed from command line.
*
*
* repeated string flagValue = 2;
*/
java.lang.String getFlagValue(int index);
/**
*
*/ Holds the flag value passed from command line.
*
*
* repeated string flagValue = 2;
*/
com.google.protobuf.ByteString
getFlagValueBytes(int index);
}
/**
*
*/ Contains command line arguments which passed by user during execution.
*
*
* Protobuf type {@code gauge.messages.ExecutionArg}
*/
public static final class ExecutionArg extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.ExecutionArg)
ExecutionArgOrBuilder {
private static final long serialVersionUID = 0L;
// Use ExecutionArg.newBuilder() to construct.
private ExecutionArg(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private ExecutionArg() {
flagName_ = "";
flagValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ExecutionArg(
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();
flagName_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
flagValue_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000002;
}
flagValue_.add(s);
break;
}
default: {
if (!parseUnknownFieldProto3(
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_ & 0x00000002) == 0x00000002)) {
flagValue_ = flagValue_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_ExecutionArg_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_ExecutionArg_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.ExecutionArg.class, gauge.messages.Messages.ExecutionArg.Builder.class);
}
private int bitField0_;
public static final int FLAGNAME_FIELD_NUMBER = 1;
private volatile java.lang.Object flagName_;
/**
*
*/ Holds the flag name passed from command line.
*
*
* string flagName = 1;
*/
public java.lang.String getFlagName() {
java.lang.Object ref = flagName_;
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();
flagName_ = s;
return s;
}
}
/**
*
*/ Holds the flag name passed from command line.
*
*
* string flagName = 1;
*/
public com.google.protobuf.ByteString
getFlagNameBytes() {
java.lang.Object ref = flagName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
flagName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FLAGVALUE_FIELD_NUMBER = 2;
private com.google.protobuf.LazyStringList flagValue_;
/**
*
*/ Holds the flag value passed from command line.
*
*
* repeated string flagValue = 2;
*/
public com.google.protobuf.ProtocolStringList
getFlagValueList() {
return flagValue_;
}
/**
*
*/ Holds the flag value passed from command line.
*
*
* repeated string flagValue = 2;
*/
public int getFlagValueCount() {
return flagValue_.size();
}
/**
*
*/ Holds the flag value passed from command line.
*
*
* repeated string flagValue = 2;
*/
public java.lang.String getFlagValue(int index) {
return flagValue_.get(index);
}
/**
*
*/ Holds the flag value passed from command line.
*
*
* repeated string flagValue = 2;
*/
public com.google.protobuf.ByteString
getFlagValueBytes(int index) {
return flagValue_.getByteString(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 (!getFlagNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, flagName_);
}
for (int i = 0; i < flagValue_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, flagValue_.getRaw(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getFlagNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, flagName_);
}
{
int dataSize = 0;
for (int i = 0; i < flagValue_.size(); i++) {
dataSize += computeStringSizeNoTag(flagValue_.getRaw(i));
}
size += dataSize;
size += 1 * getFlagValueList().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 gauge.messages.Messages.ExecutionArg)) {
return super.equals(obj);
}
gauge.messages.Messages.ExecutionArg other = (gauge.messages.Messages.ExecutionArg) obj;
boolean result = true;
result = result && getFlagName()
.equals(other.getFlagName());
result = result && getFlagValueList()
.equals(other.getFlagValueList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + FLAGNAME_FIELD_NUMBER;
hash = (53 * hash) + getFlagName().hashCode();
if (getFlagValueCount() > 0) {
hash = (37 * hash) + FLAGVALUE_FIELD_NUMBER;
hash = (53 * hash) + getFlagValueList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.ExecutionArg parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ExecutionArg parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ExecutionArg parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ExecutionArg parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ExecutionArg parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ExecutionArg parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ExecutionArg parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ExecutionArg 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 gauge.messages.Messages.ExecutionArg parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ExecutionArg 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 gauge.messages.Messages.ExecutionArg parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ExecutionArg 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(gauge.messages.Messages.ExecutionArg 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;
}
/**
*
*/ Contains command line arguments which passed by user during execution.
*
*
* Protobuf type {@code gauge.messages.ExecutionArg}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.ExecutionArg)
gauge.messages.Messages.ExecutionArgOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_ExecutionArg_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_ExecutionArg_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.ExecutionArg.class, gauge.messages.Messages.ExecutionArg.Builder.class);
}
// Construct using gauge.messages.Messages.ExecutionArg.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();
flagName_ = "";
flagValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_ExecutionArg_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.ExecutionArg getDefaultInstanceForType() {
return gauge.messages.Messages.ExecutionArg.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.ExecutionArg build() {
gauge.messages.Messages.ExecutionArg result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.ExecutionArg buildPartial() {
gauge.messages.Messages.ExecutionArg result = new gauge.messages.Messages.ExecutionArg(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.flagName_ = flagName_;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
flagValue_ = flagValue_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000002);
}
result.flagValue_ = flagValue_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.ExecutionArg) {
return mergeFrom((gauge.messages.Messages.ExecutionArg)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.ExecutionArg other) {
if (other == gauge.messages.Messages.ExecutionArg.getDefaultInstance()) return this;
if (!other.getFlagName().isEmpty()) {
flagName_ = other.flagName_;
onChanged();
}
if (!other.flagValue_.isEmpty()) {
if (flagValue_.isEmpty()) {
flagValue_ = other.flagValue_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureFlagValueIsMutable();
flagValue_.addAll(other.flagValue_);
}
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 {
gauge.messages.Messages.ExecutionArg parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.ExecutionArg) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object flagName_ = "";
/**
*
*/ Holds the flag name passed from command line.
*
*
* string flagName = 1;
*/
public java.lang.String getFlagName() {
java.lang.Object ref = flagName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
flagName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*/ Holds the flag name passed from command line.
*
*
* string flagName = 1;
*/
public com.google.protobuf.ByteString
getFlagNameBytes() {
java.lang.Object ref = flagName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
flagName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*/ Holds the flag name passed from command line.
*
*
* string flagName = 1;
*/
public Builder setFlagName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
flagName_ = value;
onChanged();
return this;
}
/**
*
*/ Holds the flag name passed from command line.
*
*
* string flagName = 1;
*/
public Builder clearFlagName() {
flagName_ = getDefaultInstance().getFlagName();
onChanged();
return this;
}
/**
*
*/ Holds the flag name passed from command line.
*
*
* string flagName = 1;
*/
public Builder setFlagNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
flagName_ = value;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList flagValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureFlagValueIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
flagValue_ = new com.google.protobuf.LazyStringArrayList(flagValue_);
bitField0_ |= 0x00000002;
}
}
/**
*
*/ Holds the flag value passed from command line.
*
*
* repeated string flagValue = 2;
*/
public com.google.protobuf.ProtocolStringList
getFlagValueList() {
return flagValue_.getUnmodifiableView();
}
/**
*
*/ Holds the flag value passed from command line.
*
*
* repeated string flagValue = 2;
*/
public int getFlagValueCount() {
return flagValue_.size();
}
/**
*
*/ Holds the flag value passed from command line.
*
*
* repeated string flagValue = 2;
*/
public java.lang.String getFlagValue(int index) {
return flagValue_.get(index);
}
/**
*
*/ Holds the flag value passed from command line.
*
*
* repeated string flagValue = 2;
*/
public com.google.protobuf.ByteString
getFlagValueBytes(int index) {
return flagValue_.getByteString(index);
}
/**
*
*/ Holds the flag value passed from command line.
*
*
* repeated string flagValue = 2;
*/
public Builder setFlagValue(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureFlagValueIsMutable();
flagValue_.set(index, value);
onChanged();
return this;
}
/**
*
*/ Holds the flag value passed from command line.
*
*
* repeated string flagValue = 2;
*/
public Builder addFlagValue(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureFlagValueIsMutable();
flagValue_.add(value);
onChanged();
return this;
}
/**
*
*/ Holds the flag value passed from command line.
*
*
* repeated string flagValue = 2;
*/
public Builder addAllFlagValue(
java.lang.Iterable values) {
ensureFlagValueIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, flagValue_);
onChanged();
return this;
}
/**
*
*/ Holds the flag value passed from command line.
*
*
* repeated string flagValue = 2;
*/
public Builder clearFlagValue() {
flagValue_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
*
*/ Holds the flag value passed from command line.
*
*
* repeated string flagValue = 2;
*/
public Builder addFlagValueBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureFlagValueIsMutable();
flagValue_.add(value);
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.ExecutionArg)
}
// @@protoc_insertion_point(class_scope:gauge.messages.ExecutionArg)
private static final gauge.messages.Messages.ExecutionArg DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.ExecutionArg();
}
public static gauge.messages.Messages.ExecutionArg getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ExecutionArg parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ExecutionArg(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 gauge.messages.Messages.ExecutionArg getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ExecutionInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.ExecutionInfo)
com.google.protobuf.MessageOrBuilder {
/**
*
*/ Holds the information of the current Spec. Valid in context of Spec execution.
*
*
* .gauge.messages.SpecInfo currentSpec = 1;
*/
boolean hasCurrentSpec();
/**
*
*/ Holds the information of the current Spec. Valid in context of Spec execution.
*
*
* .gauge.messages.SpecInfo currentSpec = 1;
*/
gauge.messages.Messages.SpecInfo getCurrentSpec();
/**
*
*/ Holds the information of the current Spec. Valid in context of Spec execution.
*
*
* .gauge.messages.SpecInfo currentSpec = 1;
*/
gauge.messages.Messages.SpecInfoOrBuilder getCurrentSpecOrBuilder();
/**
*
*/ Holds the information of the current Scenario. Valid in context of Scenario execution.
*
*
* .gauge.messages.ScenarioInfo currentScenario = 2;
*/
boolean hasCurrentScenario();
/**
*
*/ Holds the information of the current Scenario. Valid in context of Scenario execution.
*
*
* .gauge.messages.ScenarioInfo currentScenario = 2;
*/
gauge.messages.Messages.ScenarioInfo getCurrentScenario();
/**
*
*/ Holds the information of the current Scenario. Valid in context of Scenario execution.
*
*
* .gauge.messages.ScenarioInfo currentScenario = 2;
*/
gauge.messages.Messages.ScenarioInfoOrBuilder getCurrentScenarioOrBuilder();
/**
*
*/ Holds the information of the current Step. Valid in context of Step execution.
*
*
* .gauge.messages.StepInfo currentStep = 3;
*/
boolean hasCurrentStep();
/**
*
*/ Holds the information of the current Step. Valid in context of Step execution.
*
*
* .gauge.messages.StepInfo currentStep = 3;
*/
gauge.messages.Messages.StepInfo getCurrentStep();
/**
*
*/ Holds the information of the current Step. Valid in context of Step execution.
*
*
* .gauge.messages.StepInfo currentStep = 3;
*/
gauge.messages.Messages.StepInfoOrBuilder getCurrentStepOrBuilder();
/**
*
*/ Stacktrace of the execution. Valid only if there is an error in execution.
*
*
* string stacktrace = 4;
*/
java.lang.String getStacktrace();
/**
*
*/ Stacktrace of the execution. Valid only if there is an error in execution.
*
*
* string stacktrace = 4;
*/
com.google.protobuf.ByteString
getStacktraceBytes();
/**
*
*/ Holds the project name
*
*
* string projectName = 5;
*/
java.lang.String getProjectName();
/**
*
*/ Holds the project name
*
*
* string projectName = 5;
*/
com.google.protobuf.ByteString
getProjectNameBytes();
/**
*
*/ Holds the command line arguments.
*
*
* repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
*/
java.util.List
getExecutionArgsList();
/**
*
*/ Holds the command line arguments.
*
*
* repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
*/
gauge.messages.Messages.ExecutionArg getExecutionArgs(int index);
/**
*
*/ Holds the command line arguments.
*
*
* repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
*/
int getExecutionArgsCount();
/**
*
*/ Holds the command line arguments.
*
*
* repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
*/
java.util.List
getExecutionArgsOrBuilderList();
/**
*
*/ Holds the command line arguments.
*
*
* repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
*/
gauge.messages.Messages.ExecutionArgOrBuilder getExecutionArgsOrBuilder(
int index);
/**
*
*/ Holds the number of running execution streams.
*
*
* int32 numberOfExecutionStreams = 7;
*/
int getNumberOfExecutionStreams();
/**
*
*/ Holds the runner id for parallel execution.
*
*
* int32 runnerId = 8;
*/
int getRunnerId();
}
/**
*
*/ Contains details of the execution.
* / Depending on the context (Step, Scenario, Spec or Suite), the respective fields are set.
*
*
* Protobuf type {@code gauge.messages.ExecutionInfo}
*/
public static final class ExecutionInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.ExecutionInfo)
ExecutionInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use ExecutionInfo.newBuilder() to construct.
private ExecutionInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private ExecutionInfo() {
stacktrace_ = "";
projectName_ = "";
executionArgs_ = java.util.Collections.emptyList();
numberOfExecutionStreams_ = 0;
runnerId_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ExecutionInfo(
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: {
gauge.messages.Messages.SpecInfo.Builder subBuilder = null;
if (currentSpec_ != null) {
subBuilder = currentSpec_.toBuilder();
}
currentSpec_ = input.readMessage(gauge.messages.Messages.SpecInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(currentSpec_);
currentSpec_ = subBuilder.buildPartial();
}
break;
}
case 18: {
gauge.messages.Messages.ScenarioInfo.Builder subBuilder = null;
if (currentScenario_ != null) {
subBuilder = currentScenario_.toBuilder();
}
currentScenario_ = input.readMessage(gauge.messages.Messages.ScenarioInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(currentScenario_);
currentScenario_ = subBuilder.buildPartial();
}
break;
}
case 26: {
gauge.messages.Messages.StepInfo.Builder subBuilder = null;
if (currentStep_ != null) {
subBuilder = currentStep_.toBuilder();
}
currentStep_ = input.readMessage(gauge.messages.Messages.StepInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(currentStep_);
currentStep_ = subBuilder.buildPartial();
}
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
stacktrace_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
projectName_ = s;
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
executionArgs_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000020;
}
executionArgs_.add(
input.readMessage(gauge.messages.Messages.ExecutionArg.parser(), extensionRegistry));
break;
}
case 56: {
numberOfExecutionStreams_ = input.readInt32();
break;
}
case 64: {
runnerId_ = input.readInt32();
break;
}
default: {
if (!parseUnknownFieldProto3(
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_ & 0x00000020) == 0x00000020)) {
executionArgs_ = java.util.Collections.unmodifiableList(executionArgs_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_ExecutionInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_ExecutionInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.ExecutionInfo.class, gauge.messages.Messages.ExecutionInfo.Builder.class);
}
private int bitField0_;
public static final int CURRENTSPEC_FIELD_NUMBER = 1;
private gauge.messages.Messages.SpecInfo currentSpec_;
/**
*
*/ Holds the information of the current Spec. Valid in context of Spec execution.
*
*
* .gauge.messages.SpecInfo currentSpec = 1;
*/
public boolean hasCurrentSpec() {
return currentSpec_ != null;
}
/**
*
*/ Holds the information of the current Spec. Valid in context of Spec execution.
*
*
* .gauge.messages.SpecInfo currentSpec = 1;
*/
public gauge.messages.Messages.SpecInfo getCurrentSpec() {
return currentSpec_ == null ? gauge.messages.Messages.SpecInfo.getDefaultInstance() : currentSpec_;
}
/**
*
*/ Holds the information of the current Spec. Valid in context of Spec execution.
*
*
* .gauge.messages.SpecInfo currentSpec = 1;
*/
public gauge.messages.Messages.SpecInfoOrBuilder getCurrentSpecOrBuilder() {
return getCurrentSpec();
}
public static final int CURRENTSCENARIO_FIELD_NUMBER = 2;
private gauge.messages.Messages.ScenarioInfo currentScenario_;
/**
*
*/ Holds the information of the current Scenario. Valid in context of Scenario execution.
*
*
* .gauge.messages.ScenarioInfo currentScenario = 2;
*/
public boolean hasCurrentScenario() {
return currentScenario_ != null;
}
/**
*
*/ Holds the information of the current Scenario. Valid in context of Scenario execution.
*
*
* .gauge.messages.ScenarioInfo currentScenario = 2;
*/
public gauge.messages.Messages.ScenarioInfo getCurrentScenario() {
return currentScenario_ == null ? gauge.messages.Messages.ScenarioInfo.getDefaultInstance() : currentScenario_;
}
/**
*
*/ Holds the information of the current Scenario. Valid in context of Scenario execution.
*
*
* .gauge.messages.ScenarioInfo currentScenario = 2;
*/
public gauge.messages.Messages.ScenarioInfoOrBuilder getCurrentScenarioOrBuilder() {
return getCurrentScenario();
}
public static final int CURRENTSTEP_FIELD_NUMBER = 3;
private gauge.messages.Messages.StepInfo currentStep_;
/**
*
*/ Holds the information of the current Step. Valid in context of Step execution.
*
*
* .gauge.messages.StepInfo currentStep = 3;
*/
public boolean hasCurrentStep() {
return currentStep_ != null;
}
/**
*
*/ Holds the information of the current Step. Valid in context of Step execution.
*
*
* .gauge.messages.StepInfo currentStep = 3;
*/
public gauge.messages.Messages.StepInfo getCurrentStep() {
return currentStep_ == null ? gauge.messages.Messages.StepInfo.getDefaultInstance() : currentStep_;
}
/**
*
*/ Holds the information of the current Step. Valid in context of Step execution.
*
*
* .gauge.messages.StepInfo currentStep = 3;
*/
public gauge.messages.Messages.StepInfoOrBuilder getCurrentStepOrBuilder() {
return getCurrentStep();
}
public static final int STACKTRACE_FIELD_NUMBER = 4;
private volatile java.lang.Object stacktrace_;
/**
*
*/ Stacktrace of the execution. Valid only if there is an error in execution.
*
*
* string stacktrace = 4;
*/
public java.lang.String getStacktrace() {
java.lang.Object ref = stacktrace_;
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();
stacktrace_ = s;
return s;
}
}
/**
*
*/ Stacktrace of the execution. Valid only if there is an error in execution.
*
*
* string stacktrace = 4;
*/
public com.google.protobuf.ByteString
getStacktraceBytes() {
java.lang.Object ref = stacktrace_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stacktrace_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PROJECTNAME_FIELD_NUMBER = 5;
private volatile java.lang.Object projectName_;
/**
*
*/ Holds the project name
*
*
* string projectName = 5;
*/
public java.lang.String getProjectName() {
java.lang.Object ref = projectName_;
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();
projectName_ = s;
return s;
}
}
/**
*
*/ Holds the project name
*
*
* string projectName = 5;
*/
public com.google.protobuf.ByteString
getProjectNameBytes() {
java.lang.Object ref = projectName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
projectName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int EXECUTIONARGS_FIELD_NUMBER = 6;
private java.util.List executionArgs_;
/**
*
*/ Holds the command line arguments.
*
*
* repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
*/
public java.util.List getExecutionArgsList() {
return executionArgs_;
}
/**
*
*/ Holds the command line arguments.
*
*
* repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
*/
public java.util.List
getExecutionArgsOrBuilderList() {
return executionArgs_;
}
/**
*
*/ Holds the command line arguments.
*
*
* repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
*/
public int getExecutionArgsCount() {
return executionArgs_.size();
}
/**
*
*/ Holds the command line arguments.
*
*
* repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
*/
public gauge.messages.Messages.ExecutionArg getExecutionArgs(int index) {
return executionArgs_.get(index);
}
/**
*
*/ Holds the command line arguments.
*
*
* repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
*/
public gauge.messages.Messages.ExecutionArgOrBuilder getExecutionArgsOrBuilder(
int index) {
return executionArgs_.get(index);
}
public static final int NUMBEROFEXECUTIONSTREAMS_FIELD_NUMBER = 7;
private int numberOfExecutionStreams_;
/**
*
*/ Holds the number of running execution streams.
*
*
* int32 numberOfExecutionStreams = 7;
*/
public int getNumberOfExecutionStreams() {
return numberOfExecutionStreams_;
}
public static final int RUNNERID_FIELD_NUMBER = 8;
private int runnerId_;
/**
*
*/ Holds the runner id for parallel execution.
*
*
* int32 runnerId = 8;
*/
public int getRunnerId() {
return runnerId_;
}
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 (currentSpec_ != null) {
output.writeMessage(1, getCurrentSpec());
}
if (currentScenario_ != null) {
output.writeMessage(2, getCurrentScenario());
}
if (currentStep_ != null) {
output.writeMessage(3, getCurrentStep());
}
if (!getStacktraceBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, stacktrace_);
}
if (!getProjectNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, projectName_);
}
for (int i = 0; i < executionArgs_.size(); i++) {
output.writeMessage(6, executionArgs_.get(i));
}
if (numberOfExecutionStreams_ != 0) {
output.writeInt32(7, numberOfExecutionStreams_);
}
if (runnerId_ != 0) {
output.writeInt32(8, runnerId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (currentSpec_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getCurrentSpec());
}
if (currentScenario_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getCurrentScenario());
}
if (currentStep_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getCurrentStep());
}
if (!getStacktraceBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, stacktrace_);
}
if (!getProjectNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, projectName_);
}
for (int i = 0; i < executionArgs_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, executionArgs_.get(i));
}
if (numberOfExecutionStreams_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(7, numberOfExecutionStreams_);
}
if (runnerId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(8, runnerId_);
}
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 gauge.messages.Messages.ExecutionInfo)) {
return super.equals(obj);
}
gauge.messages.Messages.ExecutionInfo other = (gauge.messages.Messages.ExecutionInfo) obj;
boolean result = true;
result = result && (hasCurrentSpec() == other.hasCurrentSpec());
if (hasCurrentSpec()) {
result = result && getCurrentSpec()
.equals(other.getCurrentSpec());
}
result = result && (hasCurrentScenario() == other.hasCurrentScenario());
if (hasCurrentScenario()) {
result = result && getCurrentScenario()
.equals(other.getCurrentScenario());
}
result = result && (hasCurrentStep() == other.hasCurrentStep());
if (hasCurrentStep()) {
result = result && getCurrentStep()
.equals(other.getCurrentStep());
}
result = result && getStacktrace()
.equals(other.getStacktrace());
result = result && getProjectName()
.equals(other.getProjectName());
result = result && getExecutionArgsList()
.equals(other.getExecutionArgsList());
result = result && (getNumberOfExecutionStreams()
== other.getNumberOfExecutionStreams());
result = result && (getRunnerId()
== other.getRunnerId());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCurrentSpec()) {
hash = (37 * hash) + CURRENTSPEC_FIELD_NUMBER;
hash = (53 * hash) + getCurrentSpec().hashCode();
}
if (hasCurrentScenario()) {
hash = (37 * hash) + CURRENTSCENARIO_FIELD_NUMBER;
hash = (53 * hash) + getCurrentScenario().hashCode();
}
if (hasCurrentStep()) {
hash = (37 * hash) + CURRENTSTEP_FIELD_NUMBER;
hash = (53 * hash) + getCurrentStep().hashCode();
}
hash = (37 * hash) + STACKTRACE_FIELD_NUMBER;
hash = (53 * hash) + getStacktrace().hashCode();
hash = (37 * hash) + PROJECTNAME_FIELD_NUMBER;
hash = (53 * hash) + getProjectName().hashCode();
if (getExecutionArgsCount() > 0) {
hash = (37 * hash) + EXECUTIONARGS_FIELD_NUMBER;
hash = (53 * hash) + getExecutionArgsList().hashCode();
}
hash = (37 * hash) + NUMBEROFEXECUTIONSTREAMS_FIELD_NUMBER;
hash = (53 * hash) + getNumberOfExecutionStreams();
hash = (37 * hash) + RUNNERID_FIELD_NUMBER;
hash = (53 * hash) + getRunnerId();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.ExecutionInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ExecutionInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ExecutionInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ExecutionInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ExecutionInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ExecutionInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ExecutionInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ExecutionInfo 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 gauge.messages.Messages.ExecutionInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ExecutionInfo 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 gauge.messages.Messages.ExecutionInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ExecutionInfo 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(gauge.messages.Messages.ExecutionInfo 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;
}
/**
*
*/ Contains details of the execution.
* / Depending on the context (Step, Scenario, Spec or Suite), the respective fields are set.
*
*
* Protobuf type {@code gauge.messages.ExecutionInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.ExecutionInfo)
gauge.messages.Messages.ExecutionInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_ExecutionInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_ExecutionInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.ExecutionInfo.class, gauge.messages.Messages.ExecutionInfo.Builder.class);
}
// Construct using gauge.messages.Messages.ExecutionInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getExecutionArgsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (currentSpecBuilder_ == null) {
currentSpec_ = null;
} else {
currentSpec_ = null;
currentSpecBuilder_ = null;
}
if (currentScenarioBuilder_ == null) {
currentScenario_ = null;
} else {
currentScenario_ = null;
currentScenarioBuilder_ = null;
}
if (currentStepBuilder_ == null) {
currentStep_ = null;
} else {
currentStep_ = null;
currentStepBuilder_ = null;
}
stacktrace_ = "";
projectName_ = "";
if (executionArgsBuilder_ == null) {
executionArgs_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
} else {
executionArgsBuilder_.clear();
}
numberOfExecutionStreams_ = 0;
runnerId_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_ExecutionInfo_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.ExecutionInfo getDefaultInstanceForType() {
return gauge.messages.Messages.ExecutionInfo.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.ExecutionInfo build() {
gauge.messages.Messages.ExecutionInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.ExecutionInfo buildPartial() {
gauge.messages.Messages.ExecutionInfo result = new gauge.messages.Messages.ExecutionInfo(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (currentSpecBuilder_ == null) {
result.currentSpec_ = currentSpec_;
} else {
result.currentSpec_ = currentSpecBuilder_.build();
}
if (currentScenarioBuilder_ == null) {
result.currentScenario_ = currentScenario_;
} else {
result.currentScenario_ = currentScenarioBuilder_.build();
}
if (currentStepBuilder_ == null) {
result.currentStep_ = currentStep_;
} else {
result.currentStep_ = currentStepBuilder_.build();
}
result.stacktrace_ = stacktrace_;
result.projectName_ = projectName_;
if (executionArgsBuilder_ == null) {
if (((bitField0_ & 0x00000020) == 0x00000020)) {
executionArgs_ = java.util.Collections.unmodifiableList(executionArgs_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.executionArgs_ = executionArgs_;
} else {
result.executionArgs_ = executionArgsBuilder_.build();
}
result.numberOfExecutionStreams_ = numberOfExecutionStreams_;
result.runnerId_ = runnerId_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.ExecutionInfo) {
return mergeFrom((gauge.messages.Messages.ExecutionInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.ExecutionInfo other) {
if (other == gauge.messages.Messages.ExecutionInfo.getDefaultInstance()) return this;
if (other.hasCurrentSpec()) {
mergeCurrentSpec(other.getCurrentSpec());
}
if (other.hasCurrentScenario()) {
mergeCurrentScenario(other.getCurrentScenario());
}
if (other.hasCurrentStep()) {
mergeCurrentStep(other.getCurrentStep());
}
if (!other.getStacktrace().isEmpty()) {
stacktrace_ = other.stacktrace_;
onChanged();
}
if (!other.getProjectName().isEmpty()) {
projectName_ = other.projectName_;
onChanged();
}
if (executionArgsBuilder_ == null) {
if (!other.executionArgs_.isEmpty()) {
if (executionArgs_.isEmpty()) {
executionArgs_ = other.executionArgs_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureExecutionArgsIsMutable();
executionArgs_.addAll(other.executionArgs_);
}
onChanged();
}
} else {
if (!other.executionArgs_.isEmpty()) {
if (executionArgsBuilder_.isEmpty()) {
executionArgsBuilder_.dispose();
executionArgsBuilder_ = null;
executionArgs_ = other.executionArgs_;
bitField0_ = (bitField0_ & ~0x00000020);
executionArgsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getExecutionArgsFieldBuilder() : null;
} else {
executionArgsBuilder_.addAllMessages(other.executionArgs_);
}
}
}
if (other.getNumberOfExecutionStreams() != 0) {
setNumberOfExecutionStreams(other.getNumberOfExecutionStreams());
}
if (other.getRunnerId() != 0) {
setRunnerId(other.getRunnerId());
}
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 {
gauge.messages.Messages.ExecutionInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.ExecutionInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private gauge.messages.Messages.SpecInfo currentSpec_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.SpecInfo, gauge.messages.Messages.SpecInfo.Builder, gauge.messages.Messages.SpecInfoOrBuilder> currentSpecBuilder_;
/**
*
*/ Holds the information of the current Spec. Valid in context of Spec execution.
*
*
* .gauge.messages.SpecInfo currentSpec = 1;
*/
public boolean hasCurrentSpec() {
return currentSpecBuilder_ != null || currentSpec_ != null;
}
/**
*
*/ Holds the information of the current Spec. Valid in context of Spec execution.
*
*
* .gauge.messages.SpecInfo currentSpec = 1;
*/
public gauge.messages.Messages.SpecInfo getCurrentSpec() {
if (currentSpecBuilder_ == null) {
return currentSpec_ == null ? gauge.messages.Messages.SpecInfo.getDefaultInstance() : currentSpec_;
} else {
return currentSpecBuilder_.getMessage();
}
}
/**
*
*/ Holds the information of the current Spec. Valid in context of Spec execution.
*
*
* .gauge.messages.SpecInfo currentSpec = 1;
*/
public Builder setCurrentSpec(gauge.messages.Messages.SpecInfo value) {
if (currentSpecBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
currentSpec_ = value;
onChanged();
} else {
currentSpecBuilder_.setMessage(value);
}
return this;
}
/**
*
*/ Holds the information of the current Spec. Valid in context of Spec execution.
*
*
* .gauge.messages.SpecInfo currentSpec = 1;
*/
public Builder setCurrentSpec(
gauge.messages.Messages.SpecInfo.Builder builderForValue) {
if (currentSpecBuilder_ == null) {
currentSpec_ = builderForValue.build();
onChanged();
} else {
currentSpecBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
*/ Holds the information of the current Spec. Valid in context of Spec execution.
*
*
* .gauge.messages.SpecInfo currentSpec = 1;
*/
public Builder mergeCurrentSpec(gauge.messages.Messages.SpecInfo value) {
if (currentSpecBuilder_ == null) {
if (currentSpec_ != null) {
currentSpec_ =
gauge.messages.Messages.SpecInfo.newBuilder(currentSpec_).mergeFrom(value).buildPartial();
} else {
currentSpec_ = value;
}
onChanged();
} else {
currentSpecBuilder_.mergeFrom(value);
}
return this;
}
/**
*
*/ Holds the information of the current Spec. Valid in context of Spec execution.
*
*
* .gauge.messages.SpecInfo currentSpec = 1;
*/
public Builder clearCurrentSpec() {
if (currentSpecBuilder_ == null) {
currentSpec_ = null;
onChanged();
} else {
currentSpec_ = null;
currentSpecBuilder_ = null;
}
return this;
}
/**
*
*/ Holds the information of the current Spec. Valid in context of Spec execution.
*
*
* .gauge.messages.SpecInfo currentSpec = 1;
*/
public gauge.messages.Messages.SpecInfo.Builder getCurrentSpecBuilder() {
onChanged();
return getCurrentSpecFieldBuilder().getBuilder();
}
/**
*
*/ Holds the information of the current Spec. Valid in context of Spec execution.
*
*
* .gauge.messages.SpecInfo currentSpec = 1;
*/
public gauge.messages.Messages.SpecInfoOrBuilder getCurrentSpecOrBuilder() {
if (currentSpecBuilder_ != null) {
return currentSpecBuilder_.getMessageOrBuilder();
} else {
return currentSpec_ == null ?
gauge.messages.Messages.SpecInfo.getDefaultInstance() : currentSpec_;
}
}
/**
*
*/ Holds the information of the current Spec. Valid in context of Spec execution.
*
*
* .gauge.messages.SpecInfo currentSpec = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.SpecInfo, gauge.messages.Messages.SpecInfo.Builder, gauge.messages.Messages.SpecInfoOrBuilder>
getCurrentSpecFieldBuilder() {
if (currentSpecBuilder_ == null) {
currentSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.SpecInfo, gauge.messages.Messages.SpecInfo.Builder, gauge.messages.Messages.SpecInfoOrBuilder>(
getCurrentSpec(),
getParentForChildren(),
isClean());
currentSpec_ = null;
}
return currentSpecBuilder_;
}
private gauge.messages.Messages.ScenarioInfo currentScenario_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.ScenarioInfo, gauge.messages.Messages.ScenarioInfo.Builder, gauge.messages.Messages.ScenarioInfoOrBuilder> currentScenarioBuilder_;
/**
*
*/ Holds the information of the current Scenario. Valid in context of Scenario execution.
*
*
* .gauge.messages.ScenarioInfo currentScenario = 2;
*/
public boolean hasCurrentScenario() {
return currentScenarioBuilder_ != null || currentScenario_ != null;
}
/**
*
*/ Holds the information of the current Scenario. Valid in context of Scenario execution.
*
*
* .gauge.messages.ScenarioInfo currentScenario = 2;
*/
public gauge.messages.Messages.ScenarioInfo getCurrentScenario() {
if (currentScenarioBuilder_ == null) {
return currentScenario_ == null ? gauge.messages.Messages.ScenarioInfo.getDefaultInstance() : currentScenario_;
} else {
return currentScenarioBuilder_.getMessage();
}
}
/**
*
*/ Holds the information of the current Scenario. Valid in context of Scenario execution.
*
*
* .gauge.messages.ScenarioInfo currentScenario = 2;
*/
public Builder setCurrentScenario(gauge.messages.Messages.ScenarioInfo value) {
if (currentScenarioBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
currentScenario_ = value;
onChanged();
} else {
currentScenarioBuilder_.setMessage(value);
}
return this;
}
/**
*
*/ Holds the information of the current Scenario. Valid in context of Scenario execution.
*
*
* .gauge.messages.ScenarioInfo currentScenario = 2;
*/
public Builder setCurrentScenario(
gauge.messages.Messages.ScenarioInfo.Builder builderForValue) {
if (currentScenarioBuilder_ == null) {
currentScenario_ = builderForValue.build();
onChanged();
} else {
currentScenarioBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
*/ Holds the information of the current Scenario. Valid in context of Scenario execution.
*
*
* .gauge.messages.ScenarioInfo currentScenario = 2;
*/
public Builder mergeCurrentScenario(gauge.messages.Messages.ScenarioInfo value) {
if (currentScenarioBuilder_ == null) {
if (currentScenario_ != null) {
currentScenario_ =
gauge.messages.Messages.ScenarioInfo.newBuilder(currentScenario_).mergeFrom(value).buildPartial();
} else {
currentScenario_ = value;
}
onChanged();
} else {
currentScenarioBuilder_.mergeFrom(value);
}
return this;
}
/**
*
*/ Holds the information of the current Scenario. Valid in context of Scenario execution.
*
*
* .gauge.messages.ScenarioInfo currentScenario = 2;
*/
public Builder clearCurrentScenario() {
if (currentScenarioBuilder_ == null) {
currentScenario_ = null;
onChanged();
} else {
currentScenario_ = null;
currentScenarioBuilder_ = null;
}
return this;
}
/**
*
*/ Holds the information of the current Scenario. Valid in context of Scenario execution.
*
*
* .gauge.messages.ScenarioInfo currentScenario = 2;
*/
public gauge.messages.Messages.ScenarioInfo.Builder getCurrentScenarioBuilder() {
onChanged();
return getCurrentScenarioFieldBuilder().getBuilder();
}
/**
*
*/ Holds the information of the current Scenario. Valid in context of Scenario execution.
*
*
* .gauge.messages.ScenarioInfo currentScenario = 2;
*/
public gauge.messages.Messages.ScenarioInfoOrBuilder getCurrentScenarioOrBuilder() {
if (currentScenarioBuilder_ != null) {
return currentScenarioBuilder_.getMessageOrBuilder();
} else {
return currentScenario_ == null ?
gauge.messages.Messages.ScenarioInfo.getDefaultInstance() : currentScenario_;
}
}
/**
*
*/ Holds the information of the current Scenario. Valid in context of Scenario execution.
*
*
* .gauge.messages.ScenarioInfo currentScenario = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.ScenarioInfo, gauge.messages.Messages.ScenarioInfo.Builder, gauge.messages.Messages.ScenarioInfoOrBuilder>
getCurrentScenarioFieldBuilder() {
if (currentScenarioBuilder_ == null) {
currentScenarioBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.ScenarioInfo, gauge.messages.Messages.ScenarioInfo.Builder, gauge.messages.Messages.ScenarioInfoOrBuilder>(
getCurrentScenario(),
getParentForChildren(),
isClean());
currentScenario_ = null;
}
return currentScenarioBuilder_;
}
private gauge.messages.Messages.StepInfo currentStep_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.StepInfo, gauge.messages.Messages.StepInfo.Builder, gauge.messages.Messages.StepInfoOrBuilder> currentStepBuilder_;
/**
*
*/ Holds the information of the current Step. Valid in context of Step execution.
*
*
* .gauge.messages.StepInfo currentStep = 3;
*/
public boolean hasCurrentStep() {
return currentStepBuilder_ != null || currentStep_ != null;
}
/**
*
*/ Holds the information of the current Step. Valid in context of Step execution.
*
*
* .gauge.messages.StepInfo currentStep = 3;
*/
public gauge.messages.Messages.StepInfo getCurrentStep() {
if (currentStepBuilder_ == null) {
return currentStep_ == null ? gauge.messages.Messages.StepInfo.getDefaultInstance() : currentStep_;
} else {
return currentStepBuilder_.getMessage();
}
}
/**
*
*/ Holds the information of the current Step. Valid in context of Step execution.
*
*
* .gauge.messages.StepInfo currentStep = 3;
*/
public Builder setCurrentStep(gauge.messages.Messages.StepInfo value) {
if (currentStepBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
currentStep_ = value;
onChanged();
} else {
currentStepBuilder_.setMessage(value);
}
return this;
}
/**
*
*/ Holds the information of the current Step. Valid in context of Step execution.
*
*
* .gauge.messages.StepInfo currentStep = 3;
*/
public Builder setCurrentStep(
gauge.messages.Messages.StepInfo.Builder builderForValue) {
if (currentStepBuilder_ == null) {
currentStep_ = builderForValue.build();
onChanged();
} else {
currentStepBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
*/ Holds the information of the current Step. Valid in context of Step execution.
*
*
* .gauge.messages.StepInfo currentStep = 3;
*/
public Builder mergeCurrentStep(gauge.messages.Messages.StepInfo value) {
if (currentStepBuilder_ == null) {
if (currentStep_ != null) {
currentStep_ =
gauge.messages.Messages.StepInfo.newBuilder(currentStep_).mergeFrom(value).buildPartial();
} else {
currentStep_ = value;
}
onChanged();
} else {
currentStepBuilder_.mergeFrom(value);
}
return this;
}
/**
*
*/ Holds the information of the current Step. Valid in context of Step execution.
*
*
* .gauge.messages.StepInfo currentStep = 3;
*/
public Builder clearCurrentStep() {
if (currentStepBuilder_ == null) {
currentStep_ = null;
onChanged();
} else {
currentStep_ = null;
currentStepBuilder_ = null;
}
return this;
}
/**
*
*/ Holds the information of the current Step. Valid in context of Step execution.
*
*
* .gauge.messages.StepInfo currentStep = 3;
*/
public gauge.messages.Messages.StepInfo.Builder getCurrentStepBuilder() {
onChanged();
return getCurrentStepFieldBuilder().getBuilder();
}
/**
*
*/ Holds the information of the current Step. Valid in context of Step execution.
*
*
* .gauge.messages.StepInfo currentStep = 3;
*/
public gauge.messages.Messages.StepInfoOrBuilder getCurrentStepOrBuilder() {
if (currentStepBuilder_ != null) {
return currentStepBuilder_.getMessageOrBuilder();
} else {
return currentStep_ == null ?
gauge.messages.Messages.StepInfo.getDefaultInstance() : currentStep_;
}
}
/**
*
*/ Holds the information of the current Step. Valid in context of Step execution.
*
*
* .gauge.messages.StepInfo currentStep = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.StepInfo, gauge.messages.Messages.StepInfo.Builder, gauge.messages.Messages.StepInfoOrBuilder>
getCurrentStepFieldBuilder() {
if (currentStepBuilder_ == null) {
currentStepBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.StepInfo, gauge.messages.Messages.StepInfo.Builder, gauge.messages.Messages.StepInfoOrBuilder>(
getCurrentStep(),
getParentForChildren(),
isClean());
currentStep_ = null;
}
return currentStepBuilder_;
}
private java.lang.Object stacktrace_ = "";
/**
*
*/ Stacktrace of the execution. Valid only if there is an error in execution.
*
*
* string stacktrace = 4;
*/
public java.lang.String getStacktrace() {
java.lang.Object ref = stacktrace_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
stacktrace_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*/ Stacktrace of the execution. Valid only if there is an error in execution.
*
*
* string stacktrace = 4;
*/
public com.google.protobuf.ByteString
getStacktraceBytes() {
java.lang.Object ref = stacktrace_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stacktrace_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*/ Stacktrace of the execution. Valid only if there is an error in execution.
*
*
* string stacktrace = 4;
*/
public Builder setStacktrace(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
stacktrace_ = value;
onChanged();
return this;
}
/**
*
*/ Stacktrace of the execution. Valid only if there is an error in execution.
*
*
* string stacktrace = 4;
*/
public Builder clearStacktrace() {
stacktrace_ = getDefaultInstance().getStacktrace();
onChanged();
return this;
}
/**
*
*/ Stacktrace of the execution. Valid only if there is an error in execution.
*
*
* string stacktrace = 4;
*/
public Builder setStacktraceBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
stacktrace_ = value;
onChanged();
return this;
}
private java.lang.Object projectName_ = "";
/**
*
*/ Holds the project name
*
*
* string projectName = 5;
*/
public java.lang.String getProjectName() {
java.lang.Object ref = projectName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
projectName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*/ Holds the project name
*
*
* string projectName = 5;
*/
public com.google.protobuf.ByteString
getProjectNameBytes() {
java.lang.Object ref = projectName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
projectName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*/ Holds the project name
*
*
* string projectName = 5;
*/
public Builder setProjectName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
projectName_ = value;
onChanged();
return this;
}
/**
*
*/ Holds the project name
*
*
* string projectName = 5;
*/
public Builder clearProjectName() {
projectName_ = getDefaultInstance().getProjectName();
onChanged();
return this;
}
/**
*
*/ Holds the project name
*
*
* string projectName = 5;
*/
public Builder setProjectNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
projectName_ = value;
onChanged();
return this;
}
private java.util.List executionArgs_ =
java.util.Collections.emptyList();
private void ensureExecutionArgsIsMutable() {
if (!((bitField0_ & 0x00000020) == 0x00000020)) {
executionArgs_ = new java.util.ArrayList(executionArgs_);
bitField0_ |= 0x00000020;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
gauge.messages.Messages.ExecutionArg, gauge.messages.Messages.ExecutionArg.Builder, gauge.messages.Messages.ExecutionArgOrBuilder> executionArgsBuilder_;
/**
*
*/ Holds the command line arguments.
*
*
* repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
*/
public java.util.List getExecutionArgsList() {
if (executionArgsBuilder_ == null) {
return java.util.Collections.unmodifiableList(executionArgs_);
} else {
return executionArgsBuilder_.getMessageList();
}
}
/**
*
*/ Holds the command line arguments.
*
*
* repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
*/
public int getExecutionArgsCount() {
if (executionArgsBuilder_ == null) {
return executionArgs_.size();
} else {
return executionArgsBuilder_.getCount();
}
}
/**
*
*/ Holds the command line arguments.
*
*
* repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
*/
public gauge.messages.Messages.ExecutionArg getExecutionArgs(int index) {
if (executionArgsBuilder_ == null) {
return executionArgs_.get(index);
} else {
return executionArgsBuilder_.getMessage(index);
}
}
/**
*
*/ Holds the command line arguments.
*
*
* repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
*/
public Builder setExecutionArgs(
int index, gauge.messages.Messages.ExecutionArg value) {
if (executionArgsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureExecutionArgsIsMutable();
executionArgs_.set(index, value);
onChanged();
} else {
executionArgsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
*/ Holds the command line arguments.
*
*
* repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
*/
public Builder setExecutionArgs(
int index, gauge.messages.Messages.ExecutionArg.Builder builderForValue) {
if (executionArgsBuilder_ == null) {
ensureExecutionArgsIsMutable();
executionArgs_.set(index, builderForValue.build());
onChanged();
} else {
executionArgsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
*/ Holds the command line arguments.
*
*
* repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
*/
public Builder addExecutionArgs(gauge.messages.Messages.ExecutionArg value) {
if (executionArgsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureExecutionArgsIsMutable();
executionArgs_.add(value);
onChanged();
} else {
executionArgsBuilder_.addMessage(value);
}
return this;
}
/**
*
*/ Holds the command line arguments.
*
*
* repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
*/
public Builder addExecutionArgs(
int index, gauge.messages.Messages.ExecutionArg value) {
if (executionArgsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureExecutionArgsIsMutable();
executionArgs_.add(index, value);
onChanged();
} else {
executionArgsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
*/ Holds the command line arguments.
*
*
* repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
*/
public Builder addExecutionArgs(
gauge.messages.Messages.ExecutionArg.Builder builderForValue) {
if (executionArgsBuilder_ == null) {
ensureExecutionArgsIsMutable();
executionArgs_.add(builderForValue.build());
onChanged();
} else {
executionArgsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
*/ Holds the command line arguments.
*
*
* repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
*/
public Builder addExecutionArgs(
int index, gauge.messages.Messages.ExecutionArg.Builder builderForValue) {
if (executionArgsBuilder_ == null) {
ensureExecutionArgsIsMutable();
executionArgs_.add(index, builderForValue.build());
onChanged();
} else {
executionArgsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
*/ Holds the command line arguments.
*
*
* repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
*/
public Builder addAllExecutionArgs(
java.lang.Iterable values) {
if (executionArgsBuilder_ == null) {
ensureExecutionArgsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, executionArgs_);
onChanged();
} else {
executionArgsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
*/ Holds the command line arguments.
*
*
* repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
*/
public Builder clearExecutionArgs() {
if (executionArgsBuilder_ == null) {
executionArgs_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
} else {
executionArgsBuilder_.clear();
}
return this;
}
/**
*
*/ Holds the command line arguments.
*
*
* repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
*/
public Builder removeExecutionArgs(int index) {
if (executionArgsBuilder_ == null) {
ensureExecutionArgsIsMutable();
executionArgs_.remove(index);
onChanged();
} else {
executionArgsBuilder_.remove(index);
}
return this;
}
/**
*
*/ Holds the command line arguments.
*
*
* repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
*/
public gauge.messages.Messages.ExecutionArg.Builder getExecutionArgsBuilder(
int index) {
return getExecutionArgsFieldBuilder().getBuilder(index);
}
/**
*
*/ Holds the command line arguments.
*
*
* repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
*/
public gauge.messages.Messages.ExecutionArgOrBuilder getExecutionArgsOrBuilder(
int index) {
if (executionArgsBuilder_ == null) {
return executionArgs_.get(index); } else {
return executionArgsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
*/ Holds the command line arguments.
*
*
* repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
*/
public java.util.List
getExecutionArgsOrBuilderList() {
if (executionArgsBuilder_ != null) {
return executionArgsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(executionArgs_);
}
}
/**
*
*/ Holds the command line arguments.
*
*
* repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
*/
public gauge.messages.Messages.ExecutionArg.Builder addExecutionArgsBuilder() {
return getExecutionArgsFieldBuilder().addBuilder(
gauge.messages.Messages.ExecutionArg.getDefaultInstance());
}
/**
*
*/ Holds the command line arguments.
*
*
* repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
*/
public gauge.messages.Messages.ExecutionArg.Builder addExecutionArgsBuilder(
int index) {
return getExecutionArgsFieldBuilder().addBuilder(
index, gauge.messages.Messages.ExecutionArg.getDefaultInstance());
}
/**
*
*/ Holds the command line arguments.
*
*
* repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
*/
public java.util.List
getExecutionArgsBuilderList() {
return getExecutionArgsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
gauge.messages.Messages.ExecutionArg, gauge.messages.Messages.ExecutionArg.Builder, gauge.messages.Messages.ExecutionArgOrBuilder>
getExecutionArgsFieldBuilder() {
if (executionArgsBuilder_ == null) {
executionArgsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
gauge.messages.Messages.ExecutionArg, gauge.messages.Messages.ExecutionArg.Builder, gauge.messages.Messages.ExecutionArgOrBuilder>(
executionArgs_,
((bitField0_ & 0x00000020) == 0x00000020),
getParentForChildren(),
isClean());
executionArgs_ = null;
}
return executionArgsBuilder_;
}
private int numberOfExecutionStreams_ ;
/**
*
*/ Holds the number of running execution streams.
*
*
* int32 numberOfExecutionStreams = 7;
*/
public int getNumberOfExecutionStreams() {
return numberOfExecutionStreams_;
}
/**
*
*/ Holds the number of running execution streams.
*
*
* int32 numberOfExecutionStreams = 7;
*/
public Builder setNumberOfExecutionStreams(int value) {
numberOfExecutionStreams_ = value;
onChanged();
return this;
}
/**
*
*/ Holds the number of running execution streams.
*
*
* int32 numberOfExecutionStreams = 7;
*/
public Builder clearNumberOfExecutionStreams() {
numberOfExecutionStreams_ = 0;
onChanged();
return this;
}
private int runnerId_ ;
/**
*
*/ Holds the runner id for parallel execution.
*
*
* int32 runnerId = 8;
*/
public int getRunnerId() {
return runnerId_;
}
/**
*
*/ Holds the runner id for parallel execution.
*
*
* int32 runnerId = 8;
*/
public Builder setRunnerId(int value) {
runnerId_ = value;
onChanged();
return this;
}
/**
*
*/ Holds the runner id for parallel execution.
*
*
* int32 runnerId = 8;
*/
public Builder clearRunnerId() {
runnerId_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.ExecutionInfo)
}
// @@protoc_insertion_point(class_scope:gauge.messages.ExecutionInfo)
private static final gauge.messages.Messages.ExecutionInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.ExecutionInfo();
}
public static gauge.messages.Messages.ExecutionInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ExecutionInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ExecutionInfo(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 gauge.messages.Messages.ExecutionInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SpecInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.SpecInfo)
com.google.protobuf.MessageOrBuilder {
/**
*
*/ Name of the current Spec being executed.
*
*
* string name = 1;
*/
java.lang.String getName();
/**
*
*/ Name of the current Spec being executed.
*
*
* string name = 1;
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
*/ Full File path containing the current Spec being executed.
*
*
* string fileName = 2;
*/
java.lang.String getFileName();
/**
*
*/ Full File path containing the current Spec being executed.
*
*
* string fileName = 2;
*/
com.google.protobuf.ByteString
getFileNameBytes();
/**
*
*/ Flag to indicate if the current Spec execution failed.
*
*
* bool isFailed = 3;
*/
boolean getIsFailed();
/**
*
*/ Tags relevant to the current Spec execution.
*
*
* repeated string tags = 4;
*/
java.util.List
getTagsList();
/**
*
*/ Tags relevant to the current Spec execution.
*
*
* repeated string tags = 4;
*/
int getTagsCount();
/**
*
*/ Tags relevant to the current Spec execution.
*
*
* repeated string tags = 4;
*/
java.lang.String getTags(int index);
/**
*
*/ Tags relevant to the current Spec execution.
*
*
* repeated string tags = 4;
*/
com.google.protobuf.ByteString
getTagsBytes(int index);
}
/**
*
*/ Contains details of the Spec execution.
*
*
* Protobuf type {@code gauge.messages.SpecInfo}
*/
public static final class SpecInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.SpecInfo)
SpecInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use SpecInfo.newBuilder() to construct.
private SpecInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private SpecInfo() {
name_ = "";
fileName_ = "";
isFailed_ = false;
tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SpecInfo(
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();
name_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
fileName_ = s;
break;
}
case 24: {
isFailed_ = input.readBool();
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
tags_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000008;
}
tags_.add(s);
break;
}
default: {
if (!parseUnknownFieldProto3(
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_ & 0x00000008) == 0x00000008)) {
tags_ = tags_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_SpecInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_SpecInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.SpecInfo.class, gauge.messages.Messages.SpecInfo.Builder.class);
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
*
*/ Name of the current Spec being executed.
*
*
* string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
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();
name_ = s;
return s;
}
}
/**
*
*/ Name of the current Spec being executed.
*
*
* string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FILENAME_FIELD_NUMBER = 2;
private volatile java.lang.Object fileName_;
/**
*
*/ Full File path containing the current Spec being executed.
*
*
* string fileName = 2;
*/
public java.lang.String getFileName() {
java.lang.Object ref = fileName_;
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();
fileName_ = s;
return s;
}
}
/**
*
*/ Full File path containing the current Spec being executed.
*
*
* string fileName = 2;
*/
public com.google.protobuf.ByteString
getFileNameBytes() {
java.lang.Object ref = fileName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fileName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ISFAILED_FIELD_NUMBER = 3;
private boolean isFailed_;
/**
*
*/ Flag to indicate if the current Spec execution failed.
*
*
* bool isFailed = 3;
*/
public boolean getIsFailed() {
return isFailed_;
}
public static final int TAGS_FIELD_NUMBER = 4;
private com.google.protobuf.LazyStringList tags_;
/**
*
*/ Tags relevant to the current Spec execution.
*
*
* repeated string tags = 4;
*/
public com.google.protobuf.ProtocolStringList
getTagsList() {
return tags_;
}
/**
*
*/ Tags relevant to the current Spec execution.
*
*
* repeated string tags = 4;
*/
public int getTagsCount() {
return tags_.size();
}
/**
*
*/ Tags relevant to the current Spec execution.
*
*
* repeated string tags = 4;
*/
public java.lang.String getTags(int index) {
return tags_.get(index);
}
/**
*
*/ Tags relevant to the current Spec execution.
*
*
* repeated string tags = 4;
*/
public com.google.protobuf.ByteString
getTagsBytes(int index) {
return tags_.getByteString(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 (!getNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (!getFileNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fileName_);
}
if (isFailed_ != false) {
output.writeBool(3, isFailed_);
}
for (int i = 0; i < tags_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, tags_.getRaw(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!getFileNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, fileName_);
}
if (isFailed_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, isFailed_);
}
{
int dataSize = 0;
for (int i = 0; i < tags_.size(); i++) {
dataSize += computeStringSizeNoTag(tags_.getRaw(i));
}
size += dataSize;
size += 1 * getTagsList().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 gauge.messages.Messages.SpecInfo)) {
return super.equals(obj);
}
gauge.messages.Messages.SpecInfo other = (gauge.messages.Messages.SpecInfo) obj;
boolean result = true;
result = result && getName()
.equals(other.getName());
result = result && getFileName()
.equals(other.getFileName());
result = result && (getIsFailed()
== other.getIsFailed());
result = result && getTagsList()
.equals(other.getTagsList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + FILENAME_FIELD_NUMBER;
hash = (53 * hash) + getFileName().hashCode();
hash = (37 * hash) + ISFAILED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsFailed());
if (getTagsCount() > 0) {
hash = (37 * hash) + TAGS_FIELD_NUMBER;
hash = (53 * hash) + getTagsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.SpecInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.SpecInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.SpecInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.SpecInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.SpecInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.SpecInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.SpecInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.SpecInfo 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 gauge.messages.Messages.SpecInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.SpecInfo 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 gauge.messages.Messages.SpecInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.SpecInfo 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(gauge.messages.Messages.SpecInfo 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;
}
/**
*
*/ Contains details of the Spec execution.
*
*
* Protobuf type {@code gauge.messages.SpecInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.SpecInfo)
gauge.messages.Messages.SpecInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_SpecInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_SpecInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.SpecInfo.class, gauge.messages.Messages.SpecInfo.Builder.class);
}
// Construct using gauge.messages.Messages.SpecInfo.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();
name_ = "";
fileName_ = "";
isFailed_ = false;
tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_SpecInfo_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.SpecInfo getDefaultInstanceForType() {
return gauge.messages.Messages.SpecInfo.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.SpecInfo build() {
gauge.messages.Messages.SpecInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.SpecInfo buildPartial() {
gauge.messages.Messages.SpecInfo result = new gauge.messages.Messages.SpecInfo(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.name_ = name_;
result.fileName_ = fileName_;
result.isFailed_ = isFailed_;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
tags_ = tags_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000008);
}
result.tags_ = tags_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.SpecInfo) {
return mergeFrom((gauge.messages.Messages.SpecInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.SpecInfo other) {
if (other == gauge.messages.Messages.SpecInfo.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (!other.getFileName().isEmpty()) {
fileName_ = other.fileName_;
onChanged();
}
if (other.getIsFailed() != false) {
setIsFailed(other.getIsFailed());
}
if (!other.tags_.isEmpty()) {
if (tags_.isEmpty()) {
tags_ = other.tags_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureTagsIsMutable();
tags_.addAll(other.tags_);
}
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 {
gauge.messages.Messages.SpecInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.SpecInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
*
*/ Name of the current Spec being executed.
*
*
* string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*/ Name of the current Spec being executed.
*
*
* string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*/ Name of the current Spec being executed.
*
*
* string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
*
*/ Name of the current Spec being executed.
*
*
* string name = 1;
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
*
*/ Name of the current Spec being executed.
*
*
* string name = 1;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private java.lang.Object fileName_ = "";
/**
*
*/ Full File path containing the current Spec being executed.
*
*
* string fileName = 2;
*/
public java.lang.String getFileName() {
java.lang.Object ref = fileName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fileName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*/ Full File path containing the current Spec being executed.
*
*
* string fileName = 2;
*/
public com.google.protobuf.ByteString
getFileNameBytes() {
java.lang.Object ref = fileName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fileName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*/ Full File path containing the current Spec being executed.
*
*
* string fileName = 2;
*/
public Builder setFileName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
fileName_ = value;
onChanged();
return this;
}
/**
*
*/ Full File path containing the current Spec being executed.
*
*
* string fileName = 2;
*/
public Builder clearFileName() {
fileName_ = getDefaultInstance().getFileName();
onChanged();
return this;
}
/**
*
*/ Full File path containing the current Spec being executed.
*
*
* string fileName = 2;
*/
public Builder setFileNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
fileName_ = value;
onChanged();
return this;
}
private boolean isFailed_ ;
/**
*
*/ Flag to indicate if the current Spec execution failed.
*
*
* bool isFailed = 3;
*/
public boolean getIsFailed() {
return isFailed_;
}
/**
*
*/ Flag to indicate if the current Spec execution failed.
*
*
* bool isFailed = 3;
*/
public Builder setIsFailed(boolean value) {
isFailed_ = value;
onChanged();
return this;
}
/**
*
*/ Flag to indicate if the current Spec execution failed.
*
*
* bool isFailed = 3;
*/
public Builder clearIsFailed() {
isFailed_ = false;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureTagsIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
tags_ = new com.google.protobuf.LazyStringArrayList(tags_);
bitField0_ |= 0x00000008;
}
}
/**
*
*/ Tags relevant to the current Spec execution.
*
*
* repeated string tags = 4;
*/
public com.google.protobuf.ProtocolStringList
getTagsList() {
return tags_.getUnmodifiableView();
}
/**
*
*/ Tags relevant to the current Spec execution.
*
*
* repeated string tags = 4;
*/
public int getTagsCount() {
return tags_.size();
}
/**
*
*/ Tags relevant to the current Spec execution.
*
*
* repeated string tags = 4;
*/
public java.lang.String getTags(int index) {
return tags_.get(index);
}
/**
*
*/ Tags relevant to the current Spec execution.
*
*
* repeated string tags = 4;
*/
public com.google.protobuf.ByteString
getTagsBytes(int index) {
return tags_.getByteString(index);
}
/**
*
*/ Tags relevant to the current Spec execution.
*
*
* repeated string tags = 4;
*/
public Builder setTags(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTagsIsMutable();
tags_.set(index, value);
onChanged();
return this;
}
/**
*
*/ Tags relevant to the current Spec execution.
*
*
* repeated string tags = 4;
*/
public Builder addTags(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTagsIsMutable();
tags_.add(value);
onChanged();
return this;
}
/**
*
*/ Tags relevant to the current Spec execution.
*
*
* repeated string tags = 4;
*/
public Builder addAllTags(
java.lang.Iterable values) {
ensureTagsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tags_);
onChanged();
return this;
}
/**
*
*/ Tags relevant to the current Spec execution.
*
*
* repeated string tags = 4;
*/
public Builder clearTags() {
tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
*
*/ Tags relevant to the current Spec execution.
*
*
* repeated string tags = 4;
*/
public Builder addTagsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureTagsIsMutable();
tags_.add(value);
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.SpecInfo)
}
// @@protoc_insertion_point(class_scope:gauge.messages.SpecInfo)
private static final gauge.messages.Messages.SpecInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.SpecInfo();
}
public static gauge.messages.Messages.SpecInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SpecInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SpecInfo(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 gauge.messages.Messages.SpecInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ScenarioInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.ScenarioInfo)
com.google.protobuf.MessageOrBuilder {
/**
*
*/ Name of the current Scenario being executed.
*
*
* string name = 1;
*/
java.lang.String getName();
/**
*
*/ Name of the current Scenario being executed.
*
*
* string name = 1;
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
*/ Flag to indicate if the current Scenario execution failed.
*
*
* bool isFailed = 2;
*/
boolean getIsFailed();
/**
*
*/ Tags relevant to the current Scenario execution.
*
*
* repeated string tags = 3;
*/
java.util.List
getTagsList();
/**
*
*/ Tags relevant to the current Scenario execution.
*
*
* repeated string tags = 3;
*/
int getTagsCount();
/**
*
*/ Tags relevant to the current Scenario execution.
*
*
* repeated string tags = 3;
*/
java.lang.String getTags(int index);
/**
*
*/ Tags relevant to the current Scenario execution.
*
*
* repeated string tags = 3;
*/
com.google.protobuf.ByteString
getTagsBytes(int index);
}
/**
*
*/ Contains details of the Scenario execution.
*
*
* Protobuf type {@code gauge.messages.ScenarioInfo}
*/
public static final class ScenarioInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.ScenarioInfo)
ScenarioInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use ScenarioInfo.newBuilder() to construct.
private ScenarioInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private ScenarioInfo() {
name_ = "";
isFailed_ = false;
tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ScenarioInfo(
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();
name_ = s;
break;
}
case 16: {
isFailed_ = input.readBool();
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
tags_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000004;
}
tags_.add(s);
break;
}
default: {
if (!parseUnknownFieldProto3(
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_ & 0x00000004) == 0x00000004)) {
tags_ = tags_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_ScenarioInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_ScenarioInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.ScenarioInfo.class, gauge.messages.Messages.ScenarioInfo.Builder.class);
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
*
*/ Name of the current Scenario being executed.
*
*
* string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
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();
name_ = s;
return s;
}
}
/**
*
*/ Name of the current Scenario being executed.
*
*
* string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ISFAILED_FIELD_NUMBER = 2;
private boolean isFailed_;
/**
*
*/ Flag to indicate if the current Scenario execution failed.
*
*
* bool isFailed = 2;
*/
public boolean getIsFailed() {
return isFailed_;
}
public static final int TAGS_FIELD_NUMBER = 3;
private com.google.protobuf.LazyStringList tags_;
/**
*
*/ Tags relevant to the current Scenario execution.
*
*
* repeated string tags = 3;
*/
public com.google.protobuf.ProtocolStringList
getTagsList() {
return tags_;
}
/**
*
*/ Tags relevant to the current Scenario execution.
*
*
* repeated string tags = 3;
*/
public int getTagsCount() {
return tags_.size();
}
/**
*
*/ Tags relevant to the current Scenario execution.
*
*
* repeated string tags = 3;
*/
public java.lang.String getTags(int index) {
return tags_.get(index);
}
/**
*
*/ Tags relevant to the current Scenario execution.
*
*
* repeated string tags = 3;
*/
public com.google.protobuf.ByteString
getTagsBytes(int index) {
return tags_.getByteString(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 (!getNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (isFailed_ != false) {
output.writeBool(2, isFailed_);
}
for (int i = 0; i < tags_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, tags_.getRaw(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (isFailed_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, isFailed_);
}
{
int dataSize = 0;
for (int i = 0; i < tags_.size(); i++) {
dataSize += computeStringSizeNoTag(tags_.getRaw(i));
}
size += dataSize;
size += 1 * getTagsList().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 gauge.messages.Messages.ScenarioInfo)) {
return super.equals(obj);
}
gauge.messages.Messages.ScenarioInfo other = (gauge.messages.Messages.ScenarioInfo) obj;
boolean result = true;
result = result && getName()
.equals(other.getName());
result = result && (getIsFailed()
== other.getIsFailed());
result = result && getTagsList()
.equals(other.getTagsList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + ISFAILED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsFailed());
if (getTagsCount() > 0) {
hash = (37 * hash) + TAGS_FIELD_NUMBER;
hash = (53 * hash) + getTagsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.ScenarioInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ScenarioInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ScenarioInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ScenarioInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ScenarioInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ScenarioInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ScenarioInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ScenarioInfo 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 gauge.messages.Messages.ScenarioInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ScenarioInfo 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 gauge.messages.Messages.ScenarioInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ScenarioInfo 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(gauge.messages.Messages.ScenarioInfo 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;
}
/**
*
*/ Contains details of the Scenario execution.
*
*
* Protobuf type {@code gauge.messages.ScenarioInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.ScenarioInfo)
gauge.messages.Messages.ScenarioInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_ScenarioInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_ScenarioInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.ScenarioInfo.class, gauge.messages.Messages.ScenarioInfo.Builder.class);
}
// Construct using gauge.messages.Messages.ScenarioInfo.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();
name_ = "";
isFailed_ = false;
tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_ScenarioInfo_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.ScenarioInfo getDefaultInstanceForType() {
return gauge.messages.Messages.ScenarioInfo.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.ScenarioInfo build() {
gauge.messages.Messages.ScenarioInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.ScenarioInfo buildPartial() {
gauge.messages.Messages.ScenarioInfo result = new gauge.messages.Messages.ScenarioInfo(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.name_ = name_;
result.isFailed_ = isFailed_;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
tags_ = tags_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000004);
}
result.tags_ = tags_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.ScenarioInfo) {
return mergeFrom((gauge.messages.Messages.ScenarioInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.ScenarioInfo other) {
if (other == gauge.messages.Messages.ScenarioInfo.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (other.getIsFailed() != false) {
setIsFailed(other.getIsFailed());
}
if (!other.tags_.isEmpty()) {
if (tags_.isEmpty()) {
tags_ = other.tags_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureTagsIsMutable();
tags_.addAll(other.tags_);
}
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 {
gauge.messages.Messages.ScenarioInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.ScenarioInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
*
*/ Name of the current Scenario being executed.
*
*
* string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*/ Name of the current Scenario being executed.
*
*
* string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*/ Name of the current Scenario being executed.
*
*
* string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
*
*/ Name of the current Scenario being executed.
*
*
* string name = 1;
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
*
*/ Name of the current Scenario being executed.
*
*
* string name = 1;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private boolean isFailed_ ;
/**
*
*/ Flag to indicate if the current Scenario execution failed.
*
*
* bool isFailed = 2;
*/
public boolean getIsFailed() {
return isFailed_;
}
/**
*
*/ Flag to indicate if the current Scenario execution failed.
*
*
* bool isFailed = 2;
*/
public Builder setIsFailed(boolean value) {
isFailed_ = value;
onChanged();
return this;
}
/**
*
*/ Flag to indicate if the current Scenario execution failed.
*
*
* bool isFailed = 2;
*/
public Builder clearIsFailed() {
isFailed_ = false;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureTagsIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
tags_ = new com.google.protobuf.LazyStringArrayList(tags_);
bitField0_ |= 0x00000004;
}
}
/**
*
*/ Tags relevant to the current Scenario execution.
*
*
* repeated string tags = 3;
*/
public com.google.protobuf.ProtocolStringList
getTagsList() {
return tags_.getUnmodifiableView();
}
/**
*
*/ Tags relevant to the current Scenario execution.
*
*
* repeated string tags = 3;
*/
public int getTagsCount() {
return tags_.size();
}
/**
*
*/ Tags relevant to the current Scenario execution.
*
*
* repeated string tags = 3;
*/
public java.lang.String getTags(int index) {
return tags_.get(index);
}
/**
*
*/ Tags relevant to the current Scenario execution.
*
*
* repeated string tags = 3;
*/
public com.google.protobuf.ByteString
getTagsBytes(int index) {
return tags_.getByteString(index);
}
/**
*
*/ Tags relevant to the current Scenario execution.
*
*
* repeated string tags = 3;
*/
public Builder setTags(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTagsIsMutable();
tags_.set(index, value);
onChanged();
return this;
}
/**
*
*/ Tags relevant to the current Scenario execution.
*
*
* repeated string tags = 3;
*/
public Builder addTags(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTagsIsMutable();
tags_.add(value);
onChanged();
return this;
}
/**
*
*/ Tags relevant to the current Scenario execution.
*
*
* repeated string tags = 3;
*/
public Builder addAllTags(
java.lang.Iterable values) {
ensureTagsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tags_);
onChanged();
return this;
}
/**
*
*/ Tags relevant to the current Scenario execution.
*
*
* repeated string tags = 3;
*/
public Builder clearTags() {
tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
*
*/ Tags relevant to the current Scenario execution.
*
*
* repeated string tags = 3;
*/
public Builder addTagsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureTagsIsMutable();
tags_.add(value);
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.ScenarioInfo)
}
// @@protoc_insertion_point(class_scope:gauge.messages.ScenarioInfo)
private static final gauge.messages.Messages.ScenarioInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.ScenarioInfo();
}
public static gauge.messages.Messages.ScenarioInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ScenarioInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ScenarioInfo(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 gauge.messages.Messages.ScenarioInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StepInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.StepInfo)
com.google.protobuf.MessageOrBuilder {
/**
*
*/ The current request to execute Step
*
*
* .gauge.messages.ExecuteStepRequest step = 1;
*/
boolean hasStep();
/**
*
*/ The current request to execute Step
*
*
* .gauge.messages.ExecuteStepRequest step = 1;
*/
gauge.messages.Messages.ExecuteStepRequest getStep();
/**
*
*/ The current request to execute Step
*
*
* .gauge.messages.ExecuteStepRequest step = 1;
*/
gauge.messages.Messages.ExecuteStepRequestOrBuilder getStepOrBuilder();
/**
*
*/ Flag to indicate if the current Step execution failed.
*
*
* bool isFailed = 2;
*/
boolean getIsFailed();
/**
*
*/ The current stack trace in case of failure
*
*
* string stackTrace = 3;
*/
java.lang.String getStackTrace();
/**
*
*/ The current stack trace in case of failure
*
*
* string stackTrace = 3;
*/
com.google.protobuf.ByteString
getStackTraceBytes();
/**
*
*/ The error message in case of failure
*
*
* string errorMessage = 4;
*/
java.lang.String getErrorMessage();
/**
*
*/ The error message in case of failure
*
*
* string errorMessage = 4;
*/
com.google.protobuf.ByteString
getErrorMessageBytes();
}
/**
*
*/ Contains details of the Step execution.
*
*
* Protobuf type {@code gauge.messages.StepInfo}
*/
public static final class StepInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.StepInfo)
StepInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use StepInfo.newBuilder() to construct.
private StepInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private StepInfo() {
isFailed_ = false;
stackTrace_ = "";
errorMessage_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StepInfo(
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: {
gauge.messages.Messages.ExecuteStepRequest.Builder subBuilder = null;
if (step_ != null) {
subBuilder = step_.toBuilder();
}
step_ = input.readMessage(gauge.messages.Messages.ExecuteStepRequest.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(step_);
step_ = subBuilder.buildPartial();
}
break;
}
case 16: {
isFailed_ = input.readBool();
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
stackTrace_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
errorMessage_ = s;
break;
}
default: {
if (!parseUnknownFieldProto3(
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 gauge.messages.Messages.internal_static_gauge_messages_StepInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_StepInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.StepInfo.class, gauge.messages.Messages.StepInfo.Builder.class);
}
public static final int STEP_FIELD_NUMBER = 1;
private gauge.messages.Messages.ExecuteStepRequest step_;
/**
*
*/ The current request to execute Step
*
*
* .gauge.messages.ExecuteStepRequest step = 1;
*/
public boolean hasStep() {
return step_ != null;
}
/**
*
*/ The current request to execute Step
*
*
* .gauge.messages.ExecuteStepRequest step = 1;
*/
public gauge.messages.Messages.ExecuteStepRequest getStep() {
return step_ == null ? gauge.messages.Messages.ExecuteStepRequest.getDefaultInstance() : step_;
}
/**
*
*/ The current request to execute Step
*
*
* .gauge.messages.ExecuteStepRequest step = 1;
*/
public gauge.messages.Messages.ExecuteStepRequestOrBuilder getStepOrBuilder() {
return getStep();
}
public static final int ISFAILED_FIELD_NUMBER = 2;
private boolean isFailed_;
/**
*
*/ Flag to indicate if the current Step execution failed.
*
*
* bool isFailed = 2;
*/
public boolean getIsFailed() {
return isFailed_;
}
public static final int STACKTRACE_FIELD_NUMBER = 3;
private volatile java.lang.Object stackTrace_;
/**
*
*/ The current stack trace in case of failure
*
*
* string stackTrace = 3;
*/
public java.lang.String getStackTrace() {
java.lang.Object ref = stackTrace_;
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();
stackTrace_ = s;
return s;
}
}
/**
*
*/ The current stack trace in case of failure
*
*
* string stackTrace = 3;
*/
public com.google.protobuf.ByteString
getStackTraceBytes() {
java.lang.Object ref = stackTrace_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stackTrace_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ERRORMESSAGE_FIELD_NUMBER = 4;
private volatile java.lang.Object errorMessage_;
/**
*
*/ The error message in case of failure
*
*
* string errorMessage = 4;
*/
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;
}
}
/**
*
*/ The error message in case of failure
*
*
* string errorMessage = 4;
*/
public com.google.protobuf.ByteString
getErrorMessageBytes() {
java.lang.Object ref = errorMessage_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
errorMessage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (step_ != null) {
output.writeMessage(1, getStep());
}
if (isFailed_ != false) {
output.writeBool(2, isFailed_);
}
if (!getStackTraceBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, stackTrace_);
}
if (!getErrorMessageBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, errorMessage_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (step_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStep());
}
if (isFailed_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, isFailed_);
}
if (!getStackTraceBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, stackTrace_);
}
if (!getErrorMessageBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, errorMessage_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof gauge.messages.Messages.StepInfo)) {
return super.equals(obj);
}
gauge.messages.Messages.StepInfo other = (gauge.messages.Messages.StepInfo) obj;
boolean result = true;
result = result && (hasStep() == other.hasStep());
if (hasStep()) {
result = result && getStep()
.equals(other.getStep());
}
result = result && (getIsFailed()
== other.getIsFailed());
result = result && getStackTrace()
.equals(other.getStackTrace());
result = result && getErrorMessage()
.equals(other.getErrorMessage());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStep()) {
hash = (37 * hash) + STEP_FIELD_NUMBER;
hash = (53 * hash) + getStep().hashCode();
}
hash = (37 * hash) + ISFAILED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsFailed());
hash = (37 * hash) + STACKTRACE_FIELD_NUMBER;
hash = (53 * hash) + getStackTrace().hashCode();
hash = (37 * hash) + ERRORMESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getErrorMessage().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.StepInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepInfo 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 gauge.messages.Messages.StepInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepInfo 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 gauge.messages.Messages.StepInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepInfo 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(gauge.messages.Messages.StepInfo 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;
}
/**
*
*/ Contains details of the Step execution.
*
*
* Protobuf type {@code gauge.messages.StepInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.StepInfo)
gauge.messages.Messages.StepInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_StepInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_StepInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.StepInfo.class, gauge.messages.Messages.StepInfo.Builder.class);
}
// Construct using gauge.messages.Messages.StepInfo.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 (stepBuilder_ == null) {
step_ = null;
} else {
step_ = null;
stepBuilder_ = null;
}
isFailed_ = false;
stackTrace_ = "";
errorMessage_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_StepInfo_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.StepInfo getDefaultInstanceForType() {
return gauge.messages.Messages.StepInfo.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.StepInfo build() {
gauge.messages.Messages.StepInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.StepInfo buildPartial() {
gauge.messages.Messages.StepInfo result = new gauge.messages.Messages.StepInfo(this);
if (stepBuilder_ == null) {
result.step_ = step_;
} else {
result.step_ = stepBuilder_.build();
}
result.isFailed_ = isFailed_;
result.stackTrace_ = stackTrace_;
result.errorMessage_ = errorMessage_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.StepInfo) {
return mergeFrom((gauge.messages.Messages.StepInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.StepInfo other) {
if (other == gauge.messages.Messages.StepInfo.getDefaultInstance()) return this;
if (other.hasStep()) {
mergeStep(other.getStep());
}
if (other.getIsFailed() != false) {
setIsFailed(other.getIsFailed());
}
if (!other.getStackTrace().isEmpty()) {
stackTrace_ = other.stackTrace_;
onChanged();
}
if (!other.getErrorMessage().isEmpty()) {
errorMessage_ = other.errorMessage_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
gauge.messages.Messages.StepInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.StepInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private gauge.messages.Messages.ExecuteStepRequest step_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.ExecuteStepRequest, gauge.messages.Messages.ExecuteStepRequest.Builder, gauge.messages.Messages.ExecuteStepRequestOrBuilder> stepBuilder_;
/**
*
*/ The current request to execute Step
*
*
* .gauge.messages.ExecuteStepRequest step = 1;
*/
public boolean hasStep() {
return stepBuilder_ != null || step_ != null;
}
/**
*
*/ The current request to execute Step
*
*
* .gauge.messages.ExecuteStepRequest step = 1;
*/
public gauge.messages.Messages.ExecuteStepRequest getStep() {
if (stepBuilder_ == null) {
return step_ == null ? gauge.messages.Messages.ExecuteStepRequest.getDefaultInstance() : step_;
} else {
return stepBuilder_.getMessage();
}
}
/**
*
*/ The current request to execute Step
*
*
* .gauge.messages.ExecuteStepRequest step = 1;
*/
public Builder setStep(gauge.messages.Messages.ExecuteStepRequest value) {
if (stepBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
step_ = value;
onChanged();
} else {
stepBuilder_.setMessage(value);
}
return this;
}
/**
*
*/ The current request to execute Step
*
*
* .gauge.messages.ExecuteStepRequest step = 1;
*/
public Builder setStep(
gauge.messages.Messages.ExecuteStepRequest.Builder builderForValue) {
if (stepBuilder_ == null) {
step_ = builderForValue.build();
onChanged();
} else {
stepBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
*/ The current request to execute Step
*
*
* .gauge.messages.ExecuteStepRequest step = 1;
*/
public Builder mergeStep(gauge.messages.Messages.ExecuteStepRequest value) {
if (stepBuilder_ == null) {
if (step_ != null) {
step_ =
gauge.messages.Messages.ExecuteStepRequest.newBuilder(step_).mergeFrom(value).buildPartial();
} else {
step_ = value;
}
onChanged();
} else {
stepBuilder_.mergeFrom(value);
}
return this;
}
/**
*
*/ The current request to execute Step
*
*
* .gauge.messages.ExecuteStepRequest step = 1;
*/
public Builder clearStep() {
if (stepBuilder_ == null) {
step_ = null;
onChanged();
} else {
step_ = null;
stepBuilder_ = null;
}
return this;
}
/**
*
*/ The current request to execute Step
*
*
* .gauge.messages.ExecuteStepRequest step = 1;
*/
public gauge.messages.Messages.ExecuteStepRequest.Builder getStepBuilder() {
onChanged();
return getStepFieldBuilder().getBuilder();
}
/**
*
*/ The current request to execute Step
*
*
* .gauge.messages.ExecuteStepRequest step = 1;
*/
public gauge.messages.Messages.ExecuteStepRequestOrBuilder getStepOrBuilder() {
if (stepBuilder_ != null) {
return stepBuilder_.getMessageOrBuilder();
} else {
return step_ == null ?
gauge.messages.Messages.ExecuteStepRequest.getDefaultInstance() : step_;
}
}
/**
*
*/ The current request to execute Step
*
*
* .gauge.messages.ExecuteStepRequest step = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.ExecuteStepRequest, gauge.messages.Messages.ExecuteStepRequest.Builder, gauge.messages.Messages.ExecuteStepRequestOrBuilder>
getStepFieldBuilder() {
if (stepBuilder_ == null) {
stepBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Messages.ExecuteStepRequest, gauge.messages.Messages.ExecuteStepRequest.Builder, gauge.messages.Messages.ExecuteStepRequestOrBuilder>(
getStep(),
getParentForChildren(),
isClean());
step_ = null;
}
return stepBuilder_;
}
private boolean isFailed_ ;
/**
*
*/ Flag to indicate if the current Step execution failed.
*
*
* bool isFailed = 2;
*/
public boolean getIsFailed() {
return isFailed_;
}
/**
*
*/ Flag to indicate if the current Step execution failed.
*
*
* bool isFailed = 2;
*/
public Builder setIsFailed(boolean value) {
isFailed_ = value;
onChanged();
return this;
}
/**
*
*/ Flag to indicate if the current Step execution failed.
*
*
* bool isFailed = 2;
*/
public Builder clearIsFailed() {
isFailed_ = false;
onChanged();
return this;
}
private java.lang.Object stackTrace_ = "";
/**
*
*/ The current stack trace in case of failure
*
*
* string stackTrace = 3;
*/
public java.lang.String getStackTrace() {
java.lang.Object ref = stackTrace_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
stackTrace_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*/ The current stack trace in case of failure
*
*
* string stackTrace = 3;
*/
public com.google.protobuf.ByteString
getStackTraceBytes() {
java.lang.Object ref = stackTrace_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stackTrace_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*/ The current stack trace in case of failure
*
*
* string stackTrace = 3;
*/
public Builder setStackTrace(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
stackTrace_ = value;
onChanged();
return this;
}
/**
*
*/ The current stack trace in case of failure
*
*
* string stackTrace = 3;
*/
public Builder clearStackTrace() {
stackTrace_ = getDefaultInstance().getStackTrace();
onChanged();
return this;
}
/**
*
*/ The current stack trace in case of failure
*
*
* string stackTrace = 3;
*/
public Builder setStackTraceBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
stackTrace_ = value;
onChanged();
return this;
}
private java.lang.Object errorMessage_ = "";
/**
*
*/ The error message in case of failure
*
*
* string errorMessage = 4;
*/
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;
}
}
/**
*
*/ The error message in case of failure
*
*
* string errorMessage = 4;
*/
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;
}
}
/**
*
*/ The error message in case of failure
*
*
* string errorMessage = 4;
*/
public Builder setErrorMessage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
errorMessage_ = value;
onChanged();
return this;
}
/**
*
*/ The error message in case of failure
*
*
* string errorMessage = 4;
*/
public Builder clearErrorMessage() {
errorMessage_ = getDefaultInstance().getErrorMessage();
onChanged();
return this;
}
/**
*
*/ The error message in case of failure
*
*
* string errorMessage = 4;
*/
public Builder setErrorMessageBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
errorMessage_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.StepInfo)
}
// @@protoc_insertion_point(class_scope:gauge.messages.StepInfo)
private static final gauge.messages.Messages.StepInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.StepInfo();
}
public static gauge.messages.Messages.StepInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public StepInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StepInfo(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 gauge.messages.Messages.StepInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ExecuteStepRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.ExecuteStepRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*/ Contains the actual text of the Step being executed.
* / This contains the parameters as defined in the Spec.
*
*
* string actualStepText = 1;
*/
java.lang.String getActualStepText();
/**
*
*/ Contains the actual text of the Step being executed.
* / This contains the parameters as defined in the Spec.
*
*
* string actualStepText = 1;
*/
com.google.protobuf.ByteString
getActualStepTextBytes();
/**
*
*/ Contains the parsed text of the Step being executed.
* / The paramters are replaced with placeholders.
*
*
* string parsedStepText = 2;
*/
java.lang.String getParsedStepText();
/**
*
*/ Contains the parsed text of the Step being executed.
* / The paramters are replaced with placeholders.
*
*
* string parsedStepText = 2;
*/
com.google.protobuf.ByteString
getParsedStepTextBytes();
/**
*
*/ Flag to indicate if the execution of the Scenario, containing the current Step, failed.
*
*
* bool scenarioFailing = 3;
*/
boolean getScenarioFailing();
/**
*
*/ Collection of parameters applicable to the current Step.
*
*
* repeated .gauge.messages.Parameter parameters = 4;
*/
java.util.List
getParametersList();
/**
*
*/ Collection of parameters applicable to the current Step.
*
*
* repeated .gauge.messages.Parameter parameters = 4;
*/
gauge.messages.Spec.Parameter getParameters(int index);
/**
*
*/ Collection of parameters applicable to the current Step.
*
*
* repeated .gauge.messages.Parameter parameters = 4;
*/
int getParametersCount();
/**
*
*/ Collection of parameters applicable to the current Step.
*
*
* repeated .gauge.messages.Parameter parameters = 4;
*/
java.util.List
getParametersOrBuilderList();
/**
*
*/ Collection of parameters applicable to the current Step.
*
*
* repeated .gauge.messages.Parameter parameters = 4;
*/
gauge.messages.Spec.ParameterOrBuilder getParametersOrBuilder(
int index);
/**
* int32 stream = 5;
*/
int getStream();
}
/**
*
*/ Request sent ot the runner to Execute a Step
*
*
* Protobuf type {@code gauge.messages.ExecuteStepRequest}
*/
public static final class ExecuteStepRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.ExecuteStepRequest)
ExecuteStepRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ExecuteStepRequest.newBuilder() to construct.
private ExecuteStepRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private ExecuteStepRequest() {
actualStepText_ = "";
parsedStepText_ = "";
scenarioFailing_ = false;
parameters_ = java.util.Collections.emptyList();
stream_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ExecuteStepRequest(
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();
actualStepText_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
parsedStepText_ = s;
break;
}
case 24: {
scenarioFailing_ = input.readBool();
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
parameters_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
parameters_.add(
input.readMessage(gauge.messages.Spec.Parameter.parser(), extensionRegistry));
break;
}
case 40: {
stream_ = input.readInt32();
break;
}
default: {
if (!parseUnknownFieldProto3(
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_ & 0x00000008) == 0x00000008)) {
parameters_ = java.util.Collections.unmodifiableList(parameters_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_ExecuteStepRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_ExecuteStepRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.ExecuteStepRequest.class, gauge.messages.Messages.ExecuteStepRequest.Builder.class);
}
private int bitField0_;
public static final int ACTUALSTEPTEXT_FIELD_NUMBER = 1;
private volatile java.lang.Object actualStepText_;
/**
*
*/ Contains the actual text of the Step being executed.
* / This contains the parameters as defined in the Spec.
*
*
* string actualStepText = 1;
*/
public java.lang.String getActualStepText() {
java.lang.Object ref = actualStepText_;
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();
actualStepText_ = s;
return s;
}
}
/**
*
*/ Contains the actual text of the Step being executed.
* / This contains the parameters as defined in the Spec.
*
*
* string actualStepText = 1;
*/
public com.google.protobuf.ByteString
getActualStepTextBytes() {
java.lang.Object ref = actualStepText_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
actualStepText_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PARSEDSTEPTEXT_FIELD_NUMBER = 2;
private volatile java.lang.Object parsedStepText_;
/**
*
*/ Contains the parsed text of the Step being executed.
* / The paramters are replaced with placeholders.
*
*
* string parsedStepText = 2;
*/
public java.lang.String getParsedStepText() {
java.lang.Object ref = parsedStepText_;
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();
parsedStepText_ = s;
return s;
}
}
/**
*
*/ Contains the parsed text of the Step being executed.
* / The paramters are replaced with placeholders.
*
*
* string parsedStepText = 2;
*/
public com.google.protobuf.ByteString
getParsedStepTextBytes() {
java.lang.Object ref = parsedStepText_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
parsedStepText_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SCENARIOFAILING_FIELD_NUMBER = 3;
private boolean scenarioFailing_;
/**
*
*/ Flag to indicate if the execution of the Scenario, containing the current Step, failed.
*
*
* bool scenarioFailing = 3;
*/
public boolean getScenarioFailing() {
return scenarioFailing_;
}
public static final int PARAMETERS_FIELD_NUMBER = 4;
private java.util.List parameters_;
/**
*
*/ Collection of parameters applicable to the current Step.
*
*
* repeated .gauge.messages.Parameter parameters = 4;
*/
public java.util.List getParametersList() {
return parameters_;
}
/**
*
*/ Collection of parameters applicable to the current Step.
*
*
* repeated .gauge.messages.Parameter parameters = 4;
*/
public java.util.List
getParametersOrBuilderList() {
return parameters_;
}
/**
*
*/ Collection of parameters applicable to the current Step.
*
*
* repeated .gauge.messages.Parameter parameters = 4;
*/
public int getParametersCount() {
return parameters_.size();
}
/**
*
*/ Collection of parameters applicable to the current Step.
*
*
* repeated .gauge.messages.Parameter parameters = 4;
*/
public gauge.messages.Spec.Parameter getParameters(int index) {
return parameters_.get(index);
}
/**
*
*/ Collection of parameters applicable to the current Step.
*
*
* repeated .gauge.messages.Parameter parameters = 4;
*/
public gauge.messages.Spec.ParameterOrBuilder getParametersOrBuilder(
int index) {
return parameters_.get(index);
}
public static final int STREAM_FIELD_NUMBER = 5;
private int stream_;
/**
* int32 stream = 5;
*/
public int getStream() {
return stream_;
}
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 (!getActualStepTextBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, actualStepText_);
}
if (!getParsedStepTextBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, parsedStepText_);
}
if (scenarioFailing_ != false) {
output.writeBool(3, scenarioFailing_);
}
for (int i = 0; i < parameters_.size(); i++) {
output.writeMessage(4, parameters_.get(i));
}
if (stream_ != 0) {
output.writeInt32(5, stream_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getActualStepTextBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, actualStepText_);
}
if (!getParsedStepTextBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, parsedStepText_);
}
if (scenarioFailing_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, scenarioFailing_);
}
for (int i = 0; i < parameters_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, parameters_.get(i));
}
if (stream_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, stream_);
}
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 gauge.messages.Messages.ExecuteStepRequest)) {
return super.equals(obj);
}
gauge.messages.Messages.ExecuteStepRequest other = (gauge.messages.Messages.ExecuteStepRequest) obj;
boolean result = true;
result = result && getActualStepText()
.equals(other.getActualStepText());
result = result && getParsedStepText()
.equals(other.getParsedStepText());
result = result && (getScenarioFailing()
== other.getScenarioFailing());
result = result && getParametersList()
.equals(other.getParametersList());
result = result && (getStream()
== other.getStream());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ACTUALSTEPTEXT_FIELD_NUMBER;
hash = (53 * hash) + getActualStepText().hashCode();
hash = (37 * hash) + PARSEDSTEPTEXT_FIELD_NUMBER;
hash = (53 * hash) + getParsedStepText().hashCode();
hash = (37 * hash) + SCENARIOFAILING_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getScenarioFailing());
if (getParametersCount() > 0) {
hash = (37 * hash) + PARAMETERS_FIELD_NUMBER;
hash = (53 * hash) + getParametersList().hashCode();
}
hash = (37 * hash) + STREAM_FIELD_NUMBER;
hash = (53 * hash) + getStream();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.ExecuteStepRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ExecuteStepRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ExecuteStepRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ExecuteStepRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ExecuteStepRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ExecuteStepRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ExecuteStepRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ExecuteStepRequest 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 gauge.messages.Messages.ExecuteStepRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ExecuteStepRequest 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 gauge.messages.Messages.ExecuteStepRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ExecuteStepRequest 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(gauge.messages.Messages.ExecuteStepRequest 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;
}
/**
*
*/ Request sent ot the runner to Execute a Step
*
*
* Protobuf type {@code gauge.messages.ExecuteStepRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.ExecuteStepRequest)
gauge.messages.Messages.ExecuteStepRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_ExecuteStepRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_ExecuteStepRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.ExecuteStepRequest.class, gauge.messages.Messages.ExecuteStepRequest.Builder.class);
}
// Construct using gauge.messages.Messages.ExecuteStepRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getParametersFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
actualStepText_ = "";
parsedStepText_ = "";
scenarioFailing_ = false;
if (parametersBuilder_ == null) {
parameters_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
} else {
parametersBuilder_.clear();
}
stream_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_ExecuteStepRequest_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.ExecuteStepRequest getDefaultInstanceForType() {
return gauge.messages.Messages.ExecuteStepRequest.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.ExecuteStepRequest build() {
gauge.messages.Messages.ExecuteStepRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.ExecuteStepRequest buildPartial() {
gauge.messages.Messages.ExecuteStepRequest result = new gauge.messages.Messages.ExecuteStepRequest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.actualStepText_ = actualStepText_;
result.parsedStepText_ = parsedStepText_;
result.scenarioFailing_ = scenarioFailing_;
if (parametersBuilder_ == null) {
if (((bitField0_ & 0x00000008) == 0x00000008)) {
parameters_ = java.util.Collections.unmodifiableList(parameters_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.parameters_ = parameters_;
} else {
result.parameters_ = parametersBuilder_.build();
}
result.stream_ = stream_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.ExecuteStepRequest) {
return mergeFrom((gauge.messages.Messages.ExecuteStepRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.ExecuteStepRequest other) {
if (other == gauge.messages.Messages.ExecuteStepRequest.getDefaultInstance()) return this;
if (!other.getActualStepText().isEmpty()) {
actualStepText_ = other.actualStepText_;
onChanged();
}
if (!other.getParsedStepText().isEmpty()) {
parsedStepText_ = other.parsedStepText_;
onChanged();
}
if (other.getScenarioFailing() != false) {
setScenarioFailing(other.getScenarioFailing());
}
if (parametersBuilder_ == null) {
if (!other.parameters_.isEmpty()) {
if (parameters_.isEmpty()) {
parameters_ = other.parameters_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureParametersIsMutable();
parameters_.addAll(other.parameters_);
}
onChanged();
}
} else {
if (!other.parameters_.isEmpty()) {
if (parametersBuilder_.isEmpty()) {
parametersBuilder_.dispose();
parametersBuilder_ = null;
parameters_ = other.parameters_;
bitField0_ = (bitField0_ & ~0x00000008);
parametersBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getParametersFieldBuilder() : null;
} else {
parametersBuilder_.addAllMessages(other.parameters_);
}
}
}
if (other.getStream() != 0) {
setStream(other.getStream());
}
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 {
gauge.messages.Messages.ExecuteStepRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.ExecuteStepRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object actualStepText_ = "";
/**
*
*/ Contains the actual text of the Step being executed.
* / This contains the parameters as defined in the Spec.
*
*
* string actualStepText = 1;
*/
public java.lang.String getActualStepText() {
java.lang.Object ref = actualStepText_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
actualStepText_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*/ Contains the actual text of the Step being executed.
* / This contains the parameters as defined in the Spec.
*
*
* string actualStepText = 1;
*/
public com.google.protobuf.ByteString
getActualStepTextBytes() {
java.lang.Object ref = actualStepText_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
actualStepText_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*/ Contains the actual text of the Step being executed.
* / This contains the parameters as defined in the Spec.
*
*
* string actualStepText = 1;
*/
public Builder setActualStepText(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
actualStepText_ = value;
onChanged();
return this;
}
/**
*
*/ Contains the actual text of the Step being executed.
* / This contains the parameters as defined in the Spec.
*
*
* string actualStepText = 1;
*/
public Builder clearActualStepText() {
actualStepText_ = getDefaultInstance().getActualStepText();
onChanged();
return this;
}
/**
*
*/ Contains the actual text of the Step being executed.
* / This contains the parameters as defined in the Spec.
*
*
* string actualStepText = 1;
*/
public Builder setActualStepTextBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
actualStepText_ = value;
onChanged();
return this;
}
private java.lang.Object parsedStepText_ = "";
/**
*
*/ Contains the parsed text of the Step being executed.
* / The paramters are replaced with placeholders.
*
*
* string parsedStepText = 2;
*/
public java.lang.String getParsedStepText() {
java.lang.Object ref = parsedStepText_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
parsedStepText_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*/ Contains the parsed text of the Step being executed.
* / The paramters are replaced with placeholders.
*
*
* string parsedStepText = 2;
*/
public com.google.protobuf.ByteString
getParsedStepTextBytes() {
java.lang.Object ref = parsedStepText_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
parsedStepText_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*/ Contains the parsed text of the Step being executed.
* / The paramters are replaced with placeholders.
*
*
* string parsedStepText = 2;
*/
public Builder setParsedStepText(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
parsedStepText_ = value;
onChanged();
return this;
}
/**
*
*/ Contains the parsed text of the Step being executed.
* / The paramters are replaced with placeholders.
*
*
* string parsedStepText = 2;
*/
public Builder clearParsedStepText() {
parsedStepText_ = getDefaultInstance().getParsedStepText();
onChanged();
return this;
}
/**
*
*/ Contains the parsed text of the Step being executed.
* / The paramters are replaced with placeholders.
*
*
* string parsedStepText = 2;
*/
public Builder setParsedStepTextBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
parsedStepText_ = value;
onChanged();
return this;
}
private boolean scenarioFailing_ ;
/**
*
*/ Flag to indicate if the execution of the Scenario, containing the current Step, failed.
*
*
* bool scenarioFailing = 3;
*/
public boolean getScenarioFailing() {
return scenarioFailing_;
}
/**
*
*/ Flag to indicate if the execution of the Scenario, containing the current Step, failed.
*
*
* bool scenarioFailing = 3;
*/
public Builder setScenarioFailing(boolean value) {
scenarioFailing_ = value;
onChanged();
return this;
}
/**
*
*/ Flag to indicate if the execution of the Scenario, containing the current Step, failed.
*
*
* bool scenarioFailing = 3;
*/
public Builder clearScenarioFailing() {
scenarioFailing_ = false;
onChanged();
return this;
}
private java.util.List parameters_ =
java.util.Collections.emptyList();
private void ensureParametersIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
parameters_ = new java.util.ArrayList(parameters_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
gauge.messages.Spec.Parameter, gauge.messages.Spec.Parameter.Builder, gauge.messages.Spec.ParameterOrBuilder> parametersBuilder_;
/**
*
*/ Collection of parameters applicable to the current Step.
*
*
* repeated .gauge.messages.Parameter parameters = 4;
*/
public java.util.List getParametersList() {
if (parametersBuilder_ == null) {
return java.util.Collections.unmodifiableList(parameters_);
} else {
return parametersBuilder_.getMessageList();
}
}
/**
*
*/ Collection of parameters applicable to the current Step.
*
*
* repeated .gauge.messages.Parameter parameters = 4;
*/
public int getParametersCount() {
if (parametersBuilder_ == null) {
return parameters_.size();
} else {
return parametersBuilder_.getCount();
}
}
/**
*
*/ Collection of parameters applicable to the current Step.
*
*
* repeated .gauge.messages.Parameter parameters = 4;
*/
public gauge.messages.Spec.Parameter getParameters(int index) {
if (parametersBuilder_ == null) {
return parameters_.get(index);
} else {
return parametersBuilder_.getMessage(index);
}
}
/**
*
*/ Collection of parameters applicable to the current Step.
*
*
* repeated .gauge.messages.Parameter parameters = 4;
*/
public Builder setParameters(
int index, gauge.messages.Spec.Parameter value) {
if (parametersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureParametersIsMutable();
parameters_.set(index, value);
onChanged();
} else {
parametersBuilder_.setMessage(index, value);
}
return this;
}
/**
*
*/ Collection of parameters applicable to the current Step.
*
*
* repeated .gauge.messages.Parameter parameters = 4;
*/
public Builder setParameters(
int index, gauge.messages.Spec.Parameter.Builder builderForValue) {
if (parametersBuilder_ == null) {
ensureParametersIsMutable();
parameters_.set(index, builderForValue.build());
onChanged();
} else {
parametersBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
*/ Collection of parameters applicable to the current Step.
*
*
* repeated .gauge.messages.Parameter parameters = 4;
*/
public Builder addParameters(gauge.messages.Spec.Parameter value) {
if (parametersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureParametersIsMutable();
parameters_.add(value);
onChanged();
} else {
parametersBuilder_.addMessage(value);
}
return this;
}
/**
*
*/ Collection of parameters applicable to the current Step.
*
*
* repeated .gauge.messages.Parameter parameters = 4;
*/
public Builder addParameters(
int index, gauge.messages.Spec.Parameter value) {
if (parametersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureParametersIsMutable();
parameters_.add(index, value);
onChanged();
} else {
parametersBuilder_.addMessage(index, value);
}
return this;
}
/**
*
*/ Collection of parameters applicable to the current Step.
*
*
* repeated .gauge.messages.Parameter parameters = 4;
*/
public Builder addParameters(
gauge.messages.Spec.Parameter.Builder builderForValue) {
if (parametersBuilder_ == null) {
ensureParametersIsMutable();
parameters_.add(builderForValue.build());
onChanged();
} else {
parametersBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
*/ Collection of parameters applicable to the current Step.
*
*
* repeated .gauge.messages.Parameter parameters = 4;
*/
public Builder addParameters(
int index, gauge.messages.Spec.Parameter.Builder builderForValue) {
if (parametersBuilder_ == null) {
ensureParametersIsMutable();
parameters_.add(index, builderForValue.build());
onChanged();
} else {
parametersBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
*/ Collection of parameters applicable to the current Step.
*
*
* repeated .gauge.messages.Parameter parameters = 4;
*/
public Builder addAllParameters(
java.lang.Iterable values) {
if (parametersBuilder_ == null) {
ensureParametersIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, parameters_);
onChanged();
} else {
parametersBuilder_.addAllMessages(values);
}
return this;
}
/**
*
*/ Collection of parameters applicable to the current Step.
*
*
* repeated .gauge.messages.Parameter parameters = 4;
*/
public Builder clearParameters() {
if (parametersBuilder_ == null) {
parameters_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
parametersBuilder_.clear();
}
return this;
}
/**
*
*/ Collection of parameters applicable to the current Step.
*
*
* repeated .gauge.messages.Parameter parameters = 4;
*/
public Builder removeParameters(int index) {
if (parametersBuilder_ == null) {
ensureParametersIsMutable();
parameters_.remove(index);
onChanged();
} else {
parametersBuilder_.remove(index);
}
return this;
}
/**
*
*/ Collection of parameters applicable to the current Step.
*
*
* repeated .gauge.messages.Parameter parameters = 4;
*/
public gauge.messages.Spec.Parameter.Builder getParametersBuilder(
int index) {
return getParametersFieldBuilder().getBuilder(index);
}
/**
*
*/ Collection of parameters applicable to the current Step.
*
*
* repeated .gauge.messages.Parameter parameters = 4;
*/
public gauge.messages.Spec.ParameterOrBuilder getParametersOrBuilder(
int index) {
if (parametersBuilder_ == null) {
return parameters_.get(index); } else {
return parametersBuilder_.getMessageOrBuilder(index);
}
}
/**
*
*/ Collection of parameters applicable to the current Step.
*
*
* repeated .gauge.messages.Parameter parameters = 4;
*/
public java.util.List
getParametersOrBuilderList() {
if (parametersBuilder_ != null) {
return parametersBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(parameters_);
}
}
/**
*
*/ Collection of parameters applicable to the current Step.
*
*
* repeated .gauge.messages.Parameter parameters = 4;
*/
public gauge.messages.Spec.Parameter.Builder addParametersBuilder() {
return getParametersFieldBuilder().addBuilder(
gauge.messages.Spec.Parameter.getDefaultInstance());
}
/**
*
*/ Collection of parameters applicable to the current Step.
*
*
* repeated .gauge.messages.Parameter parameters = 4;
*/
public gauge.messages.Spec.Parameter.Builder addParametersBuilder(
int index) {
return getParametersFieldBuilder().addBuilder(
index, gauge.messages.Spec.Parameter.getDefaultInstance());
}
/**
*
*/ Collection of parameters applicable to the current Step.
*
*
* repeated .gauge.messages.Parameter parameters = 4;
*/
public java.util.List
getParametersBuilderList() {
return getParametersFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
gauge.messages.Spec.Parameter, gauge.messages.Spec.Parameter.Builder, gauge.messages.Spec.ParameterOrBuilder>
getParametersFieldBuilder() {
if (parametersBuilder_ == null) {
parametersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
gauge.messages.Spec.Parameter, gauge.messages.Spec.Parameter.Builder, gauge.messages.Spec.ParameterOrBuilder>(
parameters_,
((bitField0_ & 0x00000008) == 0x00000008),
getParentForChildren(),
isClean());
parameters_ = null;
}
return parametersBuilder_;
}
private int stream_ ;
/**
* int32 stream = 5;
*/
public int getStream() {
return stream_;
}
/**
* int32 stream = 5;
*/
public Builder setStream(int value) {
stream_ = value;
onChanged();
return this;
}
/**
* int32 stream = 5;
*/
public Builder clearStream() {
stream_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.ExecuteStepRequest)
}
// @@protoc_insertion_point(class_scope:gauge.messages.ExecuteStepRequest)
private static final gauge.messages.Messages.ExecuteStepRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.ExecuteStepRequest();
}
public static gauge.messages.Messages.ExecuteStepRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ExecuteStepRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ExecuteStepRequest(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 gauge.messages.Messages.ExecuteStepRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StepValidateRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.StepValidateRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*/ The text is used to lookup Step implementation
*
*
* string stepText = 1;
*/
java.lang.String getStepText();
/**
*
*/ The text is used to lookup Step implementation
*
*
* string stepText = 1;
*/
com.google.protobuf.ByteString
getStepTextBytes();
/**
*
*/ The number of paramters in the Step
*
*
* int32 numberOfParameters = 2;
*/
int getNumberOfParameters();
/**
*
*/This is use to generate step implementation template
*
*
* .gauge.messages.ProtoStepValue stepValue = 3;
*/
boolean hasStepValue();
/**
*
*/This is use to generate step implementation template
*
*
* .gauge.messages.ProtoStepValue stepValue = 3;
*/
gauge.messages.Spec.ProtoStepValue getStepValue();
/**
*
*/This is use to generate step implementation template
*
*
* .gauge.messages.ProtoStepValue stepValue = 3;
*/
gauge.messages.Spec.ProtoStepValueOrBuilder getStepValueOrBuilder();
}
/**
*
*/ Request sent ot the runner to check if given Step is valid.
* / The runner should check if there is an implementation defined for the given Step Text.
*
*
* Protobuf type {@code gauge.messages.StepValidateRequest}
*/
public static final class StepValidateRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.StepValidateRequest)
StepValidateRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use StepValidateRequest.newBuilder() to construct.
private StepValidateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private StepValidateRequest() {
stepText_ = "";
numberOfParameters_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StepValidateRequest(
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();
stepText_ = s;
break;
}
case 16: {
numberOfParameters_ = input.readInt32();
break;
}
case 26: {
gauge.messages.Spec.ProtoStepValue.Builder subBuilder = null;
if (stepValue_ != null) {
subBuilder = stepValue_.toBuilder();
}
stepValue_ = input.readMessage(gauge.messages.Spec.ProtoStepValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(stepValue_);
stepValue_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownFieldProto3(
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 gauge.messages.Messages.internal_static_gauge_messages_StepValidateRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_StepValidateRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.StepValidateRequest.class, gauge.messages.Messages.StepValidateRequest.Builder.class);
}
public static final int STEPTEXT_FIELD_NUMBER = 1;
private volatile java.lang.Object stepText_;
/**
*
*/ The text is used to lookup Step implementation
*
*
* string stepText = 1;
*/
public java.lang.String getStepText() {
java.lang.Object ref = stepText_;
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();
stepText_ = s;
return s;
}
}
/**
*
*/ The text is used to lookup Step implementation
*
*
* string stepText = 1;
*/
public com.google.protobuf.ByteString
getStepTextBytes() {
java.lang.Object ref = stepText_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stepText_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NUMBEROFPARAMETERS_FIELD_NUMBER = 2;
private int numberOfParameters_;
/**
*
*/ The number of paramters in the Step
*
*
* int32 numberOfParameters = 2;
*/
public int getNumberOfParameters() {
return numberOfParameters_;
}
public static final int STEPVALUE_FIELD_NUMBER = 3;
private gauge.messages.Spec.ProtoStepValue stepValue_;
/**
*
*/This is use to generate step implementation template
*
*
* .gauge.messages.ProtoStepValue stepValue = 3;
*/
public boolean hasStepValue() {
return stepValue_ != null;
}
/**
*
*/This is use to generate step implementation template
*
*
* .gauge.messages.ProtoStepValue stepValue = 3;
*/
public gauge.messages.Spec.ProtoStepValue getStepValue() {
return stepValue_ == null ? gauge.messages.Spec.ProtoStepValue.getDefaultInstance() : stepValue_;
}
/**
*
*/This is use to generate step implementation template
*
*
* .gauge.messages.ProtoStepValue stepValue = 3;
*/
public gauge.messages.Spec.ProtoStepValueOrBuilder getStepValueOrBuilder() {
return getStepValue();
}
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 (!getStepTextBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, stepText_);
}
if (numberOfParameters_ != 0) {
output.writeInt32(2, numberOfParameters_);
}
if (stepValue_ != null) {
output.writeMessage(3, getStepValue());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getStepTextBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, stepText_);
}
if (numberOfParameters_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, numberOfParameters_);
}
if (stepValue_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getStepValue());
}
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 gauge.messages.Messages.StepValidateRequest)) {
return super.equals(obj);
}
gauge.messages.Messages.StepValidateRequest other = (gauge.messages.Messages.StepValidateRequest) obj;
boolean result = true;
result = result && getStepText()
.equals(other.getStepText());
result = result && (getNumberOfParameters()
== other.getNumberOfParameters());
result = result && (hasStepValue() == other.hasStepValue());
if (hasStepValue()) {
result = result && getStepValue()
.equals(other.getStepValue());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + STEPTEXT_FIELD_NUMBER;
hash = (53 * hash) + getStepText().hashCode();
hash = (37 * hash) + NUMBEROFPARAMETERS_FIELD_NUMBER;
hash = (53 * hash) + getNumberOfParameters();
if (hasStepValue()) {
hash = (37 * hash) + STEPVALUE_FIELD_NUMBER;
hash = (53 * hash) + getStepValue().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.StepValidateRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepValidateRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepValidateRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepValidateRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepValidateRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepValidateRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepValidateRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepValidateRequest 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 gauge.messages.Messages.StepValidateRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepValidateRequest 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 gauge.messages.Messages.StepValidateRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepValidateRequest 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(gauge.messages.Messages.StepValidateRequest 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;
}
/**
*
*/ Request sent ot the runner to check if given Step is valid.
* / The runner should check if there is an implementation defined for the given Step Text.
*
*
* Protobuf type {@code gauge.messages.StepValidateRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.StepValidateRequest)
gauge.messages.Messages.StepValidateRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_StepValidateRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_StepValidateRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.StepValidateRequest.class, gauge.messages.Messages.StepValidateRequest.Builder.class);
}
// Construct using gauge.messages.Messages.StepValidateRequest.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();
stepText_ = "";
numberOfParameters_ = 0;
if (stepValueBuilder_ == null) {
stepValue_ = null;
} else {
stepValue_ = null;
stepValueBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_StepValidateRequest_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.StepValidateRequest getDefaultInstanceForType() {
return gauge.messages.Messages.StepValidateRequest.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.StepValidateRequest build() {
gauge.messages.Messages.StepValidateRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.StepValidateRequest buildPartial() {
gauge.messages.Messages.StepValidateRequest result = new gauge.messages.Messages.StepValidateRequest(this);
result.stepText_ = stepText_;
result.numberOfParameters_ = numberOfParameters_;
if (stepValueBuilder_ == null) {
result.stepValue_ = stepValue_;
} else {
result.stepValue_ = stepValueBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.StepValidateRequest) {
return mergeFrom((gauge.messages.Messages.StepValidateRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.StepValidateRequest other) {
if (other == gauge.messages.Messages.StepValidateRequest.getDefaultInstance()) return this;
if (!other.getStepText().isEmpty()) {
stepText_ = other.stepText_;
onChanged();
}
if (other.getNumberOfParameters() != 0) {
setNumberOfParameters(other.getNumberOfParameters());
}
if (other.hasStepValue()) {
mergeStepValue(other.getStepValue());
}
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 {
gauge.messages.Messages.StepValidateRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.StepValidateRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object stepText_ = "";
/**
*
*/ The text is used to lookup Step implementation
*
*
* string stepText = 1;
*/
public java.lang.String getStepText() {
java.lang.Object ref = stepText_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
stepText_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*/ The text is used to lookup Step implementation
*
*
* string stepText = 1;
*/
public com.google.protobuf.ByteString
getStepTextBytes() {
java.lang.Object ref = stepText_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stepText_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*/ The text is used to lookup Step implementation
*
*
* string stepText = 1;
*/
public Builder setStepText(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
stepText_ = value;
onChanged();
return this;
}
/**
*
*/ The text is used to lookup Step implementation
*
*
* string stepText = 1;
*/
public Builder clearStepText() {
stepText_ = getDefaultInstance().getStepText();
onChanged();
return this;
}
/**
*
*/ The text is used to lookup Step implementation
*
*
* string stepText = 1;
*/
public Builder setStepTextBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
stepText_ = value;
onChanged();
return this;
}
private int numberOfParameters_ ;
/**
*
*/ The number of paramters in the Step
*
*
* int32 numberOfParameters = 2;
*/
public int getNumberOfParameters() {
return numberOfParameters_;
}
/**
*
*/ The number of paramters in the Step
*
*
* int32 numberOfParameters = 2;
*/
public Builder setNumberOfParameters(int value) {
numberOfParameters_ = value;
onChanged();
return this;
}
/**
*
*/ The number of paramters in the Step
*
*
* int32 numberOfParameters = 2;
*/
public Builder clearNumberOfParameters() {
numberOfParameters_ = 0;
onChanged();
return this;
}
private gauge.messages.Spec.ProtoStepValue stepValue_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoStepValue, gauge.messages.Spec.ProtoStepValue.Builder, gauge.messages.Spec.ProtoStepValueOrBuilder> stepValueBuilder_;
/**
*
*/This is use to generate step implementation template
*
*
* .gauge.messages.ProtoStepValue stepValue = 3;
*/
public boolean hasStepValue() {
return stepValueBuilder_ != null || stepValue_ != null;
}
/**
*
*/This is use to generate step implementation template
*
*
* .gauge.messages.ProtoStepValue stepValue = 3;
*/
public gauge.messages.Spec.ProtoStepValue getStepValue() {
if (stepValueBuilder_ == null) {
return stepValue_ == null ? gauge.messages.Spec.ProtoStepValue.getDefaultInstance() : stepValue_;
} else {
return stepValueBuilder_.getMessage();
}
}
/**
*
*/This is use to generate step implementation template
*
*
* .gauge.messages.ProtoStepValue stepValue = 3;
*/
public Builder setStepValue(gauge.messages.Spec.ProtoStepValue value) {
if (stepValueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
stepValue_ = value;
onChanged();
} else {
stepValueBuilder_.setMessage(value);
}
return this;
}
/**
*
*/This is use to generate step implementation template
*
*
* .gauge.messages.ProtoStepValue stepValue = 3;
*/
public Builder setStepValue(
gauge.messages.Spec.ProtoStepValue.Builder builderForValue) {
if (stepValueBuilder_ == null) {
stepValue_ = builderForValue.build();
onChanged();
} else {
stepValueBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
*/This is use to generate step implementation template
*
*
* .gauge.messages.ProtoStepValue stepValue = 3;
*/
public Builder mergeStepValue(gauge.messages.Spec.ProtoStepValue value) {
if (stepValueBuilder_ == null) {
if (stepValue_ != null) {
stepValue_ =
gauge.messages.Spec.ProtoStepValue.newBuilder(stepValue_).mergeFrom(value).buildPartial();
} else {
stepValue_ = value;
}
onChanged();
} else {
stepValueBuilder_.mergeFrom(value);
}
return this;
}
/**
*
*/This is use to generate step implementation template
*
*
* .gauge.messages.ProtoStepValue stepValue = 3;
*/
public Builder clearStepValue() {
if (stepValueBuilder_ == null) {
stepValue_ = null;
onChanged();
} else {
stepValue_ = null;
stepValueBuilder_ = null;
}
return this;
}
/**
*
*/This is use to generate step implementation template
*
*
* .gauge.messages.ProtoStepValue stepValue = 3;
*/
public gauge.messages.Spec.ProtoStepValue.Builder getStepValueBuilder() {
onChanged();
return getStepValueFieldBuilder().getBuilder();
}
/**
*
*/This is use to generate step implementation template
*
*
* .gauge.messages.ProtoStepValue stepValue = 3;
*/
public gauge.messages.Spec.ProtoStepValueOrBuilder getStepValueOrBuilder() {
if (stepValueBuilder_ != null) {
return stepValueBuilder_.getMessageOrBuilder();
} else {
return stepValue_ == null ?
gauge.messages.Spec.ProtoStepValue.getDefaultInstance() : stepValue_;
}
}
/**
*
*/This is use to generate step implementation template
*
*
* .gauge.messages.ProtoStepValue stepValue = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoStepValue, gauge.messages.Spec.ProtoStepValue.Builder, gauge.messages.Spec.ProtoStepValueOrBuilder>
getStepValueFieldBuilder() {
if (stepValueBuilder_ == null) {
stepValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoStepValue, gauge.messages.Spec.ProtoStepValue.Builder, gauge.messages.Spec.ProtoStepValueOrBuilder>(
getStepValue(),
getParentForChildren(),
isClean());
stepValue_ = null;
}
return stepValueBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.StepValidateRequest)
}
// @@protoc_insertion_point(class_scope:gauge.messages.StepValidateRequest)
private static final gauge.messages.Messages.StepValidateRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.StepValidateRequest();
}
public static gauge.messages.Messages.StepValidateRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public StepValidateRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StepValidateRequest(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 gauge.messages.Messages.StepValidateRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StepValidateResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.StepValidateResponse)
com.google.protobuf.MessageOrBuilder {
/**
* bool isValid = 1;
*/
boolean getIsValid();
/**
* string errorMessage = 2;
*/
java.lang.String getErrorMessage();
/**
* string errorMessage = 2;
*/
com.google.protobuf.ByteString
getErrorMessageBytes();
/**
* .gauge.messages.StepValidateResponse.ErrorType errorType = 3;
*/
int getErrorTypeValue();
/**
* .gauge.messages.StepValidateResponse.ErrorType errorType = 3;
*/
gauge.messages.Messages.StepValidateResponse.ErrorType getErrorType();
/**
* string suggestion = 4;
*/
java.lang.String getSuggestion();
/**
* string suggestion = 4;
*/
com.google.protobuf.ByteString
getSuggestionBytes();
}
/**
*
*/ Response of StepValidateRequest.
* / The runner tells the caller if the Request was valid,
* / i.e. an implementation exists for given Step text.
* / Returns an error message if it is an error response.
*
*
* Protobuf type {@code gauge.messages.StepValidateResponse}
*/
public static final class StepValidateResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.StepValidateResponse)
StepValidateResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use StepValidateResponse.newBuilder() to construct.
private StepValidateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private StepValidateResponse() {
isValid_ = false;
errorMessage_ = "";
errorType_ = 0;
suggestion_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StepValidateResponse(
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: {
isValid_ = input.readBool();
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
errorMessage_ = s;
break;
}
case 24: {
int rawValue = input.readEnum();
errorType_ = rawValue;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
suggestion_ = s;
break;
}
default: {
if (!parseUnknownFieldProto3(
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 gauge.messages.Messages.internal_static_gauge_messages_StepValidateResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_StepValidateResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.StepValidateResponse.class, gauge.messages.Messages.StepValidateResponse.Builder.class);
}
/**
* Protobuf enum {@code gauge.messages.StepValidateResponse.ErrorType}
*/
public enum ErrorType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* STEP_IMPLEMENTATION_NOT_FOUND = 0;
*/
STEP_IMPLEMENTATION_NOT_FOUND(0),
/**
* DUPLICATE_STEP_IMPLEMENTATION = 1;
*/
DUPLICATE_STEP_IMPLEMENTATION(1),
UNRECOGNIZED(-1),
;
/**
* STEP_IMPLEMENTATION_NOT_FOUND = 0;
*/
public static final int STEP_IMPLEMENTATION_NOT_FOUND_VALUE = 0;
/**
* DUPLICATE_STEP_IMPLEMENTATION = 1;
*/
public static final int DUPLICATE_STEP_IMPLEMENTATION_VALUE = 1;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ErrorType valueOf(int value) {
return forNumber(value);
}
public static ErrorType forNumber(int value) {
switch (value) {
case 0: return STEP_IMPLEMENTATION_NOT_FOUND;
case 1: return DUPLICATE_STEP_IMPLEMENTATION;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ErrorType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public ErrorType findValueByNumber(int number) {
return ErrorType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return gauge.messages.Messages.StepValidateResponse.getDescriptor().getEnumTypes().get(0);
}
private static final ErrorType[] VALUES = values();
public static ErrorType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private ErrorType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:gauge.messages.StepValidateResponse.ErrorType)
}
public static final int ISVALID_FIELD_NUMBER = 1;
private boolean isValid_;
/**
* bool isValid = 1;
*/
public boolean getIsValid() {
return isValid_;
}
public static final int ERRORMESSAGE_FIELD_NUMBER = 2;
private volatile java.lang.Object errorMessage_;
/**
* string errorMessage = 2;
*/
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 errorMessage = 2;
*/
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 ERRORTYPE_FIELD_NUMBER = 3;
private int errorType_;
/**
* .gauge.messages.StepValidateResponse.ErrorType errorType = 3;
*/
public int getErrorTypeValue() {
return errorType_;
}
/**
* .gauge.messages.StepValidateResponse.ErrorType errorType = 3;
*/
public gauge.messages.Messages.StepValidateResponse.ErrorType getErrorType() {
@SuppressWarnings("deprecation")
gauge.messages.Messages.StepValidateResponse.ErrorType result = gauge.messages.Messages.StepValidateResponse.ErrorType.valueOf(errorType_);
return result == null ? gauge.messages.Messages.StepValidateResponse.ErrorType.UNRECOGNIZED : result;
}
public static final int SUGGESTION_FIELD_NUMBER = 4;
private volatile java.lang.Object suggestion_;
/**
* string suggestion = 4;
*/
public java.lang.String getSuggestion() {
java.lang.Object ref = suggestion_;
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();
suggestion_ = s;
return s;
}
}
/**
* string suggestion = 4;
*/
public com.google.protobuf.ByteString
getSuggestionBytes() {
java.lang.Object ref = suggestion_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
suggestion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (isValid_ != false) {
output.writeBool(1, isValid_);
}
if (!getErrorMessageBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, errorMessage_);
}
if (errorType_ != gauge.messages.Messages.StepValidateResponse.ErrorType.STEP_IMPLEMENTATION_NOT_FOUND.getNumber()) {
output.writeEnum(3, errorType_);
}
if (!getSuggestionBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, suggestion_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (isValid_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, isValid_);
}
if (!getErrorMessageBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, errorMessage_);
}
if (errorType_ != gauge.messages.Messages.StepValidateResponse.ErrorType.STEP_IMPLEMENTATION_NOT_FOUND.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, errorType_);
}
if (!getSuggestionBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, suggestion_);
}
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 gauge.messages.Messages.StepValidateResponse)) {
return super.equals(obj);
}
gauge.messages.Messages.StepValidateResponse other = (gauge.messages.Messages.StepValidateResponse) obj;
boolean result = true;
result = result && (getIsValid()
== other.getIsValid());
result = result && getErrorMessage()
.equals(other.getErrorMessage());
result = result && errorType_ == other.errorType_;
result = result && getSuggestion()
.equals(other.getSuggestion());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ISVALID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsValid());
hash = (37 * hash) + ERRORMESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getErrorMessage().hashCode();
hash = (37 * hash) + ERRORTYPE_FIELD_NUMBER;
hash = (53 * hash) + errorType_;
hash = (37 * hash) + SUGGESTION_FIELD_NUMBER;
hash = (53 * hash) + getSuggestion().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.StepValidateResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepValidateResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepValidateResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepValidateResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepValidateResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepValidateResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepValidateResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepValidateResponse 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 gauge.messages.Messages.StepValidateResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepValidateResponse 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 gauge.messages.Messages.StepValidateResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepValidateResponse 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(gauge.messages.Messages.StepValidateResponse 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;
}
/**
*
*/ Response of StepValidateRequest.
* / The runner tells the caller if the Request was valid,
* / i.e. an implementation exists for given Step text.
* / Returns an error message if it is an error response.
*
*
* Protobuf type {@code gauge.messages.StepValidateResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.StepValidateResponse)
gauge.messages.Messages.StepValidateResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_StepValidateResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_StepValidateResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.StepValidateResponse.class, gauge.messages.Messages.StepValidateResponse.Builder.class);
}
// Construct using gauge.messages.Messages.StepValidateResponse.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();
isValid_ = false;
errorMessage_ = "";
errorType_ = 0;
suggestion_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_StepValidateResponse_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.StepValidateResponse getDefaultInstanceForType() {
return gauge.messages.Messages.StepValidateResponse.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.StepValidateResponse build() {
gauge.messages.Messages.StepValidateResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.StepValidateResponse buildPartial() {
gauge.messages.Messages.StepValidateResponse result = new gauge.messages.Messages.StepValidateResponse(this);
result.isValid_ = isValid_;
result.errorMessage_ = errorMessage_;
result.errorType_ = errorType_;
result.suggestion_ = suggestion_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.StepValidateResponse) {
return mergeFrom((gauge.messages.Messages.StepValidateResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.StepValidateResponse other) {
if (other == gauge.messages.Messages.StepValidateResponse.getDefaultInstance()) return this;
if (other.getIsValid() != false) {
setIsValid(other.getIsValid());
}
if (!other.getErrorMessage().isEmpty()) {
errorMessage_ = other.errorMessage_;
onChanged();
}
if (other.errorType_ != 0) {
setErrorTypeValue(other.getErrorTypeValue());
}
if (!other.getSuggestion().isEmpty()) {
suggestion_ = other.suggestion_;
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 {
gauge.messages.Messages.StepValidateResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.StepValidateResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private boolean isValid_ ;
/**
* bool isValid = 1;
*/
public boolean getIsValid() {
return isValid_;
}
/**
* bool isValid = 1;
*/
public Builder setIsValid(boolean value) {
isValid_ = value;
onChanged();
return this;
}
/**
* bool isValid = 1;
*/
public Builder clearIsValid() {
isValid_ = false;
onChanged();
return this;
}
private java.lang.Object errorMessage_ = "";
/**
* string errorMessage = 2;
*/
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 errorMessage = 2;
*/
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 errorMessage = 2;
*/
public Builder setErrorMessage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
errorMessage_ = value;
onChanged();
return this;
}
/**
* string errorMessage = 2;
*/
public Builder clearErrorMessage() {
errorMessage_ = getDefaultInstance().getErrorMessage();
onChanged();
return this;
}
/**
* string errorMessage = 2;
*/
public Builder setErrorMessageBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
errorMessage_ = value;
onChanged();
return this;
}
private int errorType_ = 0;
/**
* .gauge.messages.StepValidateResponse.ErrorType errorType = 3;
*/
public int getErrorTypeValue() {
return errorType_;
}
/**
* .gauge.messages.StepValidateResponse.ErrorType errorType = 3;
*/
public Builder setErrorTypeValue(int value) {
errorType_ = value;
onChanged();
return this;
}
/**
* .gauge.messages.StepValidateResponse.ErrorType errorType = 3;
*/
public gauge.messages.Messages.StepValidateResponse.ErrorType getErrorType() {
@SuppressWarnings("deprecation")
gauge.messages.Messages.StepValidateResponse.ErrorType result = gauge.messages.Messages.StepValidateResponse.ErrorType.valueOf(errorType_);
return result == null ? gauge.messages.Messages.StepValidateResponse.ErrorType.UNRECOGNIZED : result;
}
/**
* .gauge.messages.StepValidateResponse.ErrorType errorType = 3;
*/
public Builder setErrorType(gauge.messages.Messages.StepValidateResponse.ErrorType value) {
if (value == null) {
throw new NullPointerException();
}
errorType_ = value.getNumber();
onChanged();
return this;
}
/**
* .gauge.messages.StepValidateResponse.ErrorType errorType = 3;
*/
public Builder clearErrorType() {
errorType_ = 0;
onChanged();
return this;
}
private java.lang.Object suggestion_ = "";
/**
* string suggestion = 4;
*/
public java.lang.String getSuggestion() {
java.lang.Object ref = suggestion_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
suggestion_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string suggestion = 4;
*/
public com.google.protobuf.ByteString
getSuggestionBytes() {
java.lang.Object ref = suggestion_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
suggestion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string suggestion = 4;
*/
public Builder setSuggestion(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
suggestion_ = value;
onChanged();
return this;
}
/**
* string suggestion = 4;
*/
public Builder clearSuggestion() {
suggestion_ = getDefaultInstance().getSuggestion();
onChanged();
return this;
}
/**
* string suggestion = 4;
*/
public Builder setSuggestionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
suggestion_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.StepValidateResponse)
}
// @@protoc_insertion_point(class_scope:gauge.messages.StepValidateResponse)
private static final gauge.messages.Messages.StepValidateResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.StepValidateResponse();
}
public static gauge.messages.Messages.StepValidateResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public StepValidateResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StepValidateResponse(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 gauge.messages.Messages.StepValidateResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SuiteExecutionResultOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.SuiteExecutionResult)
com.google.protobuf.MessageOrBuilder {
/**
* .gauge.messages.ProtoSuiteResult suiteResult = 1;
*/
boolean hasSuiteResult();
/**
* .gauge.messages.ProtoSuiteResult suiteResult = 1;
*/
gauge.messages.Spec.ProtoSuiteResult getSuiteResult();
/**
* .gauge.messages.ProtoSuiteResult suiteResult = 1;
*/
gauge.messages.Spec.ProtoSuiteResultOrBuilder getSuiteResultOrBuilder();
}
/**
*
*/ Result of the Suite Execution.
*
*
* Protobuf type {@code gauge.messages.SuiteExecutionResult}
*/
public static final class SuiteExecutionResult extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.SuiteExecutionResult)
SuiteExecutionResultOrBuilder {
private static final long serialVersionUID = 0L;
// Use SuiteExecutionResult.newBuilder() to construct.
private SuiteExecutionResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private SuiteExecutionResult() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SuiteExecutionResult(
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: {
gauge.messages.Spec.ProtoSuiteResult.Builder subBuilder = null;
if (suiteResult_ != null) {
subBuilder = suiteResult_.toBuilder();
}
suiteResult_ = input.readMessage(gauge.messages.Spec.ProtoSuiteResult.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(suiteResult_);
suiteResult_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownFieldProto3(
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 gauge.messages.Messages.internal_static_gauge_messages_SuiteExecutionResult_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_SuiteExecutionResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.SuiteExecutionResult.class, gauge.messages.Messages.SuiteExecutionResult.Builder.class);
}
public static final int SUITERESULT_FIELD_NUMBER = 1;
private gauge.messages.Spec.ProtoSuiteResult suiteResult_;
/**
* .gauge.messages.ProtoSuiteResult suiteResult = 1;
*/
public boolean hasSuiteResult() {
return suiteResult_ != null;
}
/**
* .gauge.messages.ProtoSuiteResult suiteResult = 1;
*/
public gauge.messages.Spec.ProtoSuiteResult getSuiteResult() {
return suiteResult_ == null ? gauge.messages.Spec.ProtoSuiteResult.getDefaultInstance() : suiteResult_;
}
/**
* .gauge.messages.ProtoSuiteResult suiteResult = 1;
*/
public gauge.messages.Spec.ProtoSuiteResultOrBuilder getSuiteResultOrBuilder() {
return getSuiteResult();
}
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 (suiteResult_ != null) {
output.writeMessage(1, getSuiteResult());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (suiteResult_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getSuiteResult());
}
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 gauge.messages.Messages.SuiteExecutionResult)) {
return super.equals(obj);
}
gauge.messages.Messages.SuiteExecutionResult other = (gauge.messages.Messages.SuiteExecutionResult) obj;
boolean result = true;
result = result && (hasSuiteResult() == other.hasSuiteResult());
if (hasSuiteResult()) {
result = result && getSuiteResult()
.equals(other.getSuiteResult());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasSuiteResult()) {
hash = (37 * hash) + SUITERESULT_FIELD_NUMBER;
hash = (53 * hash) + getSuiteResult().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.SuiteExecutionResult parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.SuiteExecutionResult parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.SuiteExecutionResult parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.SuiteExecutionResult parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.SuiteExecutionResult parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.SuiteExecutionResult parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.SuiteExecutionResult parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.SuiteExecutionResult 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 gauge.messages.Messages.SuiteExecutionResult parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.SuiteExecutionResult 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 gauge.messages.Messages.SuiteExecutionResult parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.SuiteExecutionResult 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(gauge.messages.Messages.SuiteExecutionResult 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;
}
/**
*
*/ Result of the Suite Execution.
*
*
* Protobuf type {@code gauge.messages.SuiteExecutionResult}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.SuiteExecutionResult)
gauge.messages.Messages.SuiteExecutionResultOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_SuiteExecutionResult_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_SuiteExecutionResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.SuiteExecutionResult.class, gauge.messages.Messages.SuiteExecutionResult.Builder.class);
}
// Construct using gauge.messages.Messages.SuiteExecutionResult.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 (suiteResultBuilder_ == null) {
suiteResult_ = null;
} else {
suiteResult_ = null;
suiteResultBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_SuiteExecutionResult_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.SuiteExecutionResult getDefaultInstanceForType() {
return gauge.messages.Messages.SuiteExecutionResult.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.SuiteExecutionResult build() {
gauge.messages.Messages.SuiteExecutionResult result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.SuiteExecutionResult buildPartial() {
gauge.messages.Messages.SuiteExecutionResult result = new gauge.messages.Messages.SuiteExecutionResult(this);
if (suiteResultBuilder_ == null) {
result.suiteResult_ = suiteResult_;
} else {
result.suiteResult_ = suiteResultBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.SuiteExecutionResult) {
return mergeFrom((gauge.messages.Messages.SuiteExecutionResult)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.SuiteExecutionResult other) {
if (other == gauge.messages.Messages.SuiteExecutionResult.getDefaultInstance()) return this;
if (other.hasSuiteResult()) {
mergeSuiteResult(other.getSuiteResult());
}
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 {
gauge.messages.Messages.SuiteExecutionResult parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.SuiteExecutionResult) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private gauge.messages.Spec.ProtoSuiteResult suiteResult_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoSuiteResult, gauge.messages.Spec.ProtoSuiteResult.Builder, gauge.messages.Spec.ProtoSuiteResultOrBuilder> suiteResultBuilder_;
/**
* .gauge.messages.ProtoSuiteResult suiteResult = 1;
*/
public boolean hasSuiteResult() {
return suiteResultBuilder_ != null || suiteResult_ != null;
}
/**
* .gauge.messages.ProtoSuiteResult suiteResult = 1;
*/
public gauge.messages.Spec.ProtoSuiteResult getSuiteResult() {
if (suiteResultBuilder_ == null) {
return suiteResult_ == null ? gauge.messages.Spec.ProtoSuiteResult.getDefaultInstance() : suiteResult_;
} else {
return suiteResultBuilder_.getMessage();
}
}
/**
* .gauge.messages.ProtoSuiteResult suiteResult = 1;
*/
public Builder setSuiteResult(gauge.messages.Spec.ProtoSuiteResult value) {
if (suiteResultBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
suiteResult_ = value;
onChanged();
} else {
suiteResultBuilder_.setMessage(value);
}
return this;
}
/**
* .gauge.messages.ProtoSuiteResult suiteResult = 1;
*/
public Builder setSuiteResult(
gauge.messages.Spec.ProtoSuiteResult.Builder builderForValue) {
if (suiteResultBuilder_ == null) {
suiteResult_ = builderForValue.build();
onChanged();
} else {
suiteResultBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .gauge.messages.ProtoSuiteResult suiteResult = 1;
*/
public Builder mergeSuiteResult(gauge.messages.Spec.ProtoSuiteResult value) {
if (suiteResultBuilder_ == null) {
if (suiteResult_ != null) {
suiteResult_ =
gauge.messages.Spec.ProtoSuiteResult.newBuilder(suiteResult_).mergeFrom(value).buildPartial();
} else {
suiteResult_ = value;
}
onChanged();
} else {
suiteResultBuilder_.mergeFrom(value);
}
return this;
}
/**
* .gauge.messages.ProtoSuiteResult suiteResult = 1;
*/
public Builder clearSuiteResult() {
if (suiteResultBuilder_ == null) {
suiteResult_ = null;
onChanged();
} else {
suiteResult_ = null;
suiteResultBuilder_ = null;
}
return this;
}
/**
* .gauge.messages.ProtoSuiteResult suiteResult = 1;
*/
public gauge.messages.Spec.ProtoSuiteResult.Builder getSuiteResultBuilder() {
onChanged();
return getSuiteResultFieldBuilder().getBuilder();
}
/**
* .gauge.messages.ProtoSuiteResult suiteResult = 1;
*/
public gauge.messages.Spec.ProtoSuiteResultOrBuilder getSuiteResultOrBuilder() {
if (suiteResultBuilder_ != null) {
return suiteResultBuilder_.getMessageOrBuilder();
} else {
return suiteResult_ == null ?
gauge.messages.Spec.ProtoSuiteResult.getDefaultInstance() : suiteResult_;
}
}
/**
* .gauge.messages.ProtoSuiteResult suiteResult = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoSuiteResult, gauge.messages.Spec.ProtoSuiteResult.Builder, gauge.messages.Spec.ProtoSuiteResultOrBuilder>
getSuiteResultFieldBuilder() {
if (suiteResultBuilder_ == null) {
suiteResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoSuiteResult, gauge.messages.Spec.ProtoSuiteResult.Builder, gauge.messages.Spec.ProtoSuiteResultOrBuilder>(
getSuiteResult(),
getParentForChildren(),
isClean());
suiteResult_ = null;
}
return suiteResultBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.SuiteExecutionResult)
}
// @@protoc_insertion_point(class_scope:gauge.messages.SuiteExecutionResult)
private static final gauge.messages.Messages.SuiteExecutionResult DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.SuiteExecutionResult();
}
public static gauge.messages.Messages.SuiteExecutionResult getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SuiteExecutionResult parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SuiteExecutionResult(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 gauge.messages.Messages.SuiteExecutionResult getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SuiteExecutionResultItemOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.SuiteExecutionResultItem)
com.google.protobuf.MessageOrBuilder {
/**
* .gauge.messages.ProtoItem resultItem = 1;
*/
boolean hasResultItem();
/**
* .gauge.messages.ProtoItem resultItem = 1;
*/
gauge.messages.Spec.ProtoItem getResultItem();
/**
* .gauge.messages.ProtoItem resultItem = 1;
*/
gauge.messages.Spec.ProtoItemOrBuilder getResultItemOrBuilder();
}
/**
* Protobuf type {@code gauge.messages.SuiteExecutionResultItem}
*/
public static final class SuiteExecutionResultItem extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.SuiteExecutionResultItem)
SuiteExecutionResultItemOrBuilder {
private static final long serialVersionUID = 0L;
// Use SuiteExecutionResultItem.newBuilder() to construct.
private SuiteExecutionResultItem(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private SuiteExecutionResultItem() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SuiteExecutionResultItem(
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: {
gauge.messages.Spec.ProtoItem.Builder subBuilder = null;
if (resultItem_ != null) {
subBuilder = resultItem_.toBuilder();
}
resultItem_ = input.readMessage(gauge.messages.Spec.ProtoItem.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(resultItem_);
resultItem_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownFieldProto3(
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 gauge.messages.Messages.internal_static_gauge_messages_SuiteExecutionResultItem_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_SuiteExecutionResultItem_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.SuiteExecutionResultItem.class, gauge.messages.Messages.SuiteExecutionResultItem.Builder.class);
}
public static final int RESULTITEM_FIELD_NUMBER = 1;
private gauge.messages.Spec.ProtoItem resultItem_;
/**
* .gauge.messages.ProtoItem resultItem = 1;
*/
public boolean hasResultItem() {
return resultItem_ != null;
}
/**
* .gauge.messages.ProtoItem resultItem = 1;
*/
public gauge.messages.Spec.ProtoItem getResultItem() {
return resultItem_ == null ? gauge.messages.Spec.ProtoItem.getDefaultInstance() : resultItem_;
}
/**
* .gauge.messages.ProtoItem resultItem = 1;
*/
public gauge.messages.Spec.ProtoItemOrBuilder getResultItemOrBuilder() {
return getResultItem();
}
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 (resultItem_ != null) {
output.writeMessage(1, getResultItem());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (resultItem_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getResultItem());
}
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 gauge.messages.Messages.SuiteExecutionResultItem)) {
return super.equals(obj);
}
gauge.messages.Messages.SuiteExecutionResultItem other = (gauge.messages.Messages.SuiteExecutionResultItem) obj;
boolean result = true;
result = result && (hasResultItem() == other.hasResultItem());
if (hasResultItem()) {
result = result && getResultItem()
.equals(other.getResultItem());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasResultItem()) {
hash = (37 * hash) + RESULTITEM_FIELD_NUMBER;
hash = (53 * hash) + getResultItem().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.SuiteExecutionResultItem parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.SuiteExecutionResultItem parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.SuiteExecutionResultItem parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.SuiteExecutionResultItem parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.SuiteExecutionResultItem parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.SuiteExecutionResultItem parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.SuiteExecutionResultItem parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.SuiteExecutionResultItem 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 gauge.messages.Messages.SuiteExecutionResultItem parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.SuiteExecutionResultItem 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 gauge.messages.Messages.SuiteExecutionResultItem parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.SuiteExecutionResultItem 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(gauge.messages.Messages.SuiteExecutionResultItem 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 gauge.messages.SuiteExecutionResultItem}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.SuiteExecutionResultItem)
gauge.messages.Messages.SuiteExecutionResultItemOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_SuiteExecutionResultItem_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_SuiteExecutionResultItem_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.SuiteExecutionResultItem.class, gauge.messages.Messages.SuiteExecutionResultItem.Builder.class);
}
// Construct using gauge.messages.Messages.SuiteExecutionResultItem.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 (resultItemBuilder_ == null) {
resultItem_ = null;
} else {
resultItem_ = null;
resultItemBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_SuiteExecutionResultItem_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.SuiteExecutionResultItem getDefaultInstanceForType() {
return gauge.messages.Messages.SuiteExecutionResultItem.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.SuiteExecutionResultItem build() {
gauge.messages.Messages.SuiteExecutionResultItem result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.SuiteExecutionResultItem buildPartial() {
gauge.messages.Messages.SuiteExecutionResultItem result = new gauge.messages.Messages.SuiteExecutionResultItem(this);
if (resultItemBuilder_ == null) {
result.resultItem_ = resultItem_;
} else {
result.resultItem_ = resultItemBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.SuiteExecutionResultItem) {
return mergeFrom((gauge.messages.Messages.SuiteExecutionResultItem)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.SuiteExecutionResultItem other) {
if (other == gauge.messages.Messages.SuiteExecutionResultItem.getDefaultInstance()) return this;
if (other.hasResultItem()) {
mergeResultItem(other.getResultItem());
}
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 {
gauge.messages.Messages.SuiteExecutionResultItem parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.SuiteExecutionResultItem) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private gauge.messages.Spec.ProtoItem resultItem_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoItem, gauge.messages.Spec.ProtoItem.Builder, gauge.messages.Spec.ProtoItemOrBuilder> resultItemBuilder_;
/**
* .gauge.messages.ProtoItem resultItem = 1;
*/
public boolean hasResultItem() {
return resultItemBuilder_ != null || resultItem_ != null;
}
/**
* .gauge.messages.ProtoItem resultItem = 1;
*/
public gauge.messages.Spec.ProtoItem getResultItem() {
if (resultItemBuilder_ == null) {
return resultItem_ == null ? gauge.messages.Spec.ProtoItem.getDefaultInstance() : resultItem_;
} else {
return resultItemBuilder_.getMessage();
}
}
/**
* .gauge.messages.ProtoItem resultItem = 1;
*/
public Builder setResultItem(gauge.messages.Spec.ProtoItem value) {
if (resultItemBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
resultItem_ = value;
onChanged();
} else {
resultItemBuilder_.setMessage(value);
}
return this;
}
/**
* .gauge.messages.ProtoItem resultItem = 1;
*/
public Builder setResultItem(
gauge.messages.Spec.ProtoItem.Builder builderForValue) {
if (resultItemBuilder_ == null) {
resultItem_ = builderForValue.build();
onChanged();
} else {
resultItemBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .gauge.messages.ProtoItem resultItem = 1;
*/
public Builder mergeResultItem(gauge.messages.Spec.ProtoItem value) {
if (resultItemBuilder_ == null) {
if (resultItem_ != null) {
resultItem_ =
gauge.messages.Spec.ProtoItem.newBuilder(resultItem_).mergeFrom(value).buildPartial();
} else {
resultItem_ = value;
}
onChanged();
} else {
resultItemBuilder_.mergeFrom(value);
}
return this;
}
/**
* .gauge.messages.ProtoItem resultItem = 1;
*/
public Builder clearResultItem() {
if (resultItemBuilder_ == null) {
resultItem_ = null;
onChanged();
} else {
resultItem_ = null;
resultItemBuilder_ = null;
}
return this;
}
/**
* .gauge.messages.ProtoItem resultItem = 1;
*/
public gauge.messages.Spec.ProtoItem.Builder getResultItemBuilder() {
onChanged();
return getResultItemFieldBuilder().getBuilder();
}
/**
* .gauge.messages.ProtoItem resultItem = 1;
*/
public gauge.messages.Spec.ProtoItemOrBuilder getResultItemOrBuilder() {
if (resultItemBuilder_ != null) {
return resultItemBuilder_.getMessageOrBuilder();
} else {
return resultItem_ == null ?
gauge.messages.Spec.ProtoItem.getDefaultInstance() : resultItem_;
}
}
/**
* .gauge.messages.ProtoItem resultItem = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoItem, gauge.messages.Spec.ProtoItem.Builder, gauge.messages.Spec.ProtoItemOrBuilder>
getResultItemFieldBuilder() {
if (resultItemBuilder_ == null) {
resultItemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoItem, gauge.messages.Spec.ProtoItem.Builder, gauge.messages.Spec.ProtoItemOrBuilder>(
getResultItem(),
getParentForChildren(),
isClean());
resultItem_ = null;
}
return resultItemBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.SuiteExecutionResultItem)
}
// @@protoc_insertion_point(class_scope:gauge.messages.SuiteExecutionResultItem)
private static final gauge.messages.Messages.SuiteExecutionResultItem DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.SuiteExecutionResultItem();
}
public static gauge.messages.Messages.SuiteExecutionResultItem getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SuiteExecutionResultItem parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SuiteExecutionResultItem(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 gauge.messages.Messages.SuiteExecutionResultItem getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StepNamesRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.StepNamesRequest)
com.google.protobuf.MessageOrBuilder {
}
/**
*
*/ Requests Gauge to give all Step Names.
*
*
* Protobuf type {@code gauge.messages.StepNamesRequest}
*/
public static final class StepNamesRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.StepNamesRequest)
StepNamesRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use StepNamesRequest.newBuilder() to construct.
private StepNamesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private StepNamesRequest() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StepNamesRequest(
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 (!parseUnknownFieldProto3(
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 gauge.messages.Messages.internal_static_gauge_messages_StepNamesRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_StepNamesRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.StepNamesRequest.class, gauge.messages.Messages.StepNamesRequest.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 gauge.messages.Messages.StepNamesRequest)) {
return super.equals(obj);
}
gauge.messages.Messages.StepNamesRequest other = (gauge.messages.Messages.StepNamesRequest) obj;
boolean result = true;
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@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 gauge.messages.Messages.StepNamesRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepNamesRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepNamesRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepNamesRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepNamesRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepNamesRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepNamesRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepNamesRequest 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 gauge.messages.Messages.StepNamesRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepNamesRequest 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 gauge.messages.Messages.StepNamesRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepNamesRequest 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(gauge.messages.Messages.StepNamesRequest 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;
}
/**
*
*/ Requests Gauge to give all Step Names.
*
*
* Protobuf type {@code gauge.messages.StepNamesRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.StepNamesRequest)
gauge.messages.Messages.StepNamesRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_StepNamesRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_StepNamesRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.StepNamesRequest.class, gauge.messages.Messages.StepNamesRequest.Builder.class);
}
// Construct using gauge.messages.Messages.StepNamesRequest.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 gauge.messages.Messages.internal_static_gauge_messages_StepNamesRequest_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.StepNamesRequest getDefaultInstanceForType() {
return gauge.messages.Messages.StepNamesRequest.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.StepNamesRequest build() {
gauge.messages.Messages.StepNamesRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.StepNamesRequest buildPartial() {
gauge.messages.Messages.StepNamesRequest result = new gauge.messages.Messages.StepNamesRequest(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.StepNamesRequest) {
return mergeFrom((gauge.messages.Messages.StepNamesRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.StepNamesRequest other) {
if (other == gauge.messages.Messages.StepNamesRequest.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 {
gauge.messages.Messages.StepNamesRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.StepNamesRequest) 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.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.StepNamesRequest)
}
// @@protoc_insertion_point(class_scope:gauge.messages.StepNamesRequest)
private static final gauge.messages.Messages.StepNamesRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.StepNamesRequest();
}
public static gauge.messages.Messages.StepNamesRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public StepNamesRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StepNamesRequest(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 gauge.messages.Messages.StepNamesRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StepNamesResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.StepNamesResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
*/ Collection of strings corresponding to Step texts.
*
*
* repeated string steps = 1;
*/
java.util.List
getStepsList();
/**
*
*/ Collection of strings corresponding to Step texts.
*
*
* repeated string steps = 1;
*/
int getStepsCount();
/**
*
*/ Collection of strings corresponding to Step texts.
*
*
* repeated string steps = 1;
*/
java.lang.String getSteps(int index);
/**
*
*/ Collection of strings corresponding to Step texts.
*
*
* repeated string steps = 1;
*/
com.google.protobuf.ByteString
getStepsBytes(int index);
}
/**
*
*/ Response to StepNamesRequest
*
*
* Protobuf type {@code gauge.messages.StepNamesResponse}
*/
public static final class StepNamesResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.StepNamesResponse)
StepNamesResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use StepNamesResponse.newBuilder() to construct.
private StepNamesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private StepNamesResponse() {
steps_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StepNamesResponse(
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();
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
steps_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
steps_.add(s);
break;
}
default: {
if (!parseUnknownFieldProto3(
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) == 0x00000001)) {
steps_ = steps_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_StepNamesResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_StepNamesResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.StepNamesResponse.class, gauge.messages.Messages.StepNamesResponse.Builder.class);
}
public static final int STEPS_FIELD_NUMBER = 1;
private com.google.protobuf.LazyStringList steps_;
/**
*
*/ Collection of strings corresponding to Step texts.
*
*
* repeated string steps = 1;
*/
public com.google.protobuf.ProtocolStringList
getStepsList() {
return steps_;
}
/**
*
*/ Collection of strings corresponding to Step texts.
*
*
* repeated string steps = 1;
*/
public int getStepsCount() {
return steps_.size();
}
/**
*
*/ Collection of strings corresponding to Step texts.
*
*
* repeated string steps = 1;
*/
public java.lang.String getSteps(int index) {
return steps_.get(index);
}
/**
*
*/ Collection of strings corresponding to Step texts.
*
*
* repeated string steps = 1;
*/
public com.google.protobuf.ByteString
getStepsBytes(int index) {
return steps_.getByteString(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 < steps_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, steps_.getRaw(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < steps_.size(); i++) {
dataSize += computeStringSizeNoTag(steps_.getRaw(i));
}
size += dataSize;
size += 1 * getStepsList().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 gauge.messages.Messages.StepNamesResponse)) {
return super.equals(obj);
}
gauge.messages.Messages.StepNamesResponse other = (gauge.messages.Messages.StepNamesResponse) obj;
boolean result = true;
result = result && getStepsList()
.equals(other.getStepsList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getStepsCount() > 0) {
hash = (37 * hash) + STEPS_FIELD_NUMBER;
hash = (53 * hash) + getStepsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.StepNamesResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepNamesResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepNamesResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepNamesResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepNamesResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepNamesResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepNamesResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepNamesResponse 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 gauge.messages.Messages.StepNamesResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepNamesResponse 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 gauge.messages.Messages.StepNamesResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepNamesResponse 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(gauge.messages.Messages.StepNamesResponse 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;
}
/**
*
*/ Response to StepNamesRequest
*
*
* Protobuf type {@code gauge.messages.StepNamesResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.StepNamesResponse)
gauge.messages.Messages.StepNamesResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_StepNamesResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_StepNamesResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.StepNamesResponse.class, gauge.messages.Messages.StepNamesResponse.Builder.class);
}
// Construct using gauge.messages.Messages.StepNamesResponse.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();
steps_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_StepNamesResponse_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.StepNamesResponse getDefaultInstanceForType() {
return gauge.messages.Messages.StepNamesResponse.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.StepNamesResponse build() {
gauge.messages.Messages.StepNamesResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.StepNamesResponse buildPartial() {
gauge.messages.Messages.StepNamesResponse result = new gauge.messages.Messages.StepNamesResponse(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
steps_ = steps_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.steps_ = steps_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.StepNamesResponse) {
return mergeFrom((gauge.messages.Messages.StepNamesResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.StepNamesResponse other) {
if (other == gauge.messages.Messages.StepNamesResponse.getDefaultInstance()) return this;
if (!other.steps_.isEmpty()) {
if (steps_.isEmpty()) {
steps_ = other.steps_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureStepsIsMutable();
steps_.addAll(other.steps_);
}
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 {
gauge.messages.Messages.StepNamesResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.StepNamesResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.LazyStringList steps_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureStepsIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
steps_ = new com.google.protobuf.LazyStringArrayList(steps_);
bitField0_ |= 0x00000001;
}
}
/**
*
*/ Collection of strings corresponding to Step texts.
*
*
* repeated string steps = 1;
*/
public com.google.protobuf.ProtocolStringList
getStepsList() {
return steps_.getUnmodifiableView();
}
/**
*
*/ Collection of strings corresponding to Step texts.
*
*
* repeated string steps = 1;
*/
public int getStepsCount() {
return steps_.size();
}
/**
*
*/ Collection of strings corresponding to Step texts.
*
*
* repeated string steps = 1;
*/
public java.lang.String getSteps(int index) {
return steps_.get(index);
}
/**
*
*/ Collection of strings corresponding to Step texts.
*
*
* repeated string steps = 1;
*/
public com.google.protobuf.ByteString
getStepsBytes(int index) {
return steps_.getByteString(index);
}
/**
*
*/ Collection of strings corresponding to Step texts.
*
*
* repeated string steps = 1;
*/
public Builder setSteps(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureStepsIsMutable();
steps_.set(index, value);
onChanged();
return this;
}
/**
*
*/ Collection of strings corresponding to Step texts.
*
*
* repeated string steps = 1;
*/
public Builder addSteps(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureStepsIsMutable();
steps_.add(value);
onChanged();
return this;
}
/**
*
*/ Collection of strings corresponding to Step texts.
*
*
* repeated string steps = 1;
*/
public Builder addAllSteps(
java.lang.Iterable values) {
ensureStepsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, steps_);
onChanged();
return this;
}
/**
*
*/ Collection of strings corresponding to Step texts.
*
*
* repeated string steps = 1;
*/
public Builder clearSteps() {
steps_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
*/ Collection of strings corresponding to Step texts.
*
*
* repeated string steps = 1;
*/
public Builder addStepsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureStepsIsMutable();
steps_.add(value);
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.StepNamesResponse)
}
// @@protoc_insertion_point(class_scope:gauge.messages.StepNamesResponse)
private static final gauge.messages.Messages.StepNamesResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.StepNamesResponse();
}
public static gauge.messages.Messages.StepNamesResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public StepNamesResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StepNamesResponse(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 gauge.messages.Messages.StepNamesResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ScenarioDataStoreInitRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.ScenarioDataStoreInitRequest)
com.google.protobuf.MessageOrBuilder {
/**
* int32 stream = 1;
*/
int getStream();
}
/**
*
*/ Request runner to initialize Scenario DataStore
* / Scenario Datastore is reset after every Scenario execution.
*
*
* Protobuf type {@code gauge.messages.ScenarioDataStoreInitRequest}
*/
public static final class ScenarioDataStoreInitRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.ScenarioDataStoreInitRequest)
ScenarioDataStoreInitRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ScenarioDataStoreInitRequest.newBuilder() to construct.
private ScenarioDataStoreInitRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private ScenarioDataStoreInitRequest() {
stream_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ScenarioDataStoreInitRequest(
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: {
stream_ = input.readInt32();
break;
}
default: {
if (!parseUnknownFieldProto3(
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 gauge.messages.Messages.internal_static_gauge_messages_ScenarioDataStoreInitRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_ScenarioDataStoreInitRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.ScenarioDataStoreInitRequest.class, gauge.messages.Messages.ScenarioDataStoreInitRequest.Builder.class);
}
public static final int STREAM_FIELD_NUMBER = 1;
private int stream_;
/**
* int32 stream = 1;
*/
public int getStream() {
return stream_;
}
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 (stream_ != 0) {
output.writeInt32(1, stream_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (stream_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, stream_);
}
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 gauge.messages.Messages.ScenarioDataStoreInitRequest)) {
return super.equals(obj);
}
gauge.messages.Messages.ScenarioDataStoreInitRequest other = (gauge.messages.Messages.ScenarioDataStoreInitRequest) obj;
boolean result = true;
result = result && (getStream()
== other.getStream());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + STREAM_FIELD_NUMBER;
hash = (53 * hash) + getStream();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.ScenarioDataStoreInitRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ScenarioDataStoreInitRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ScenarioDataStoreInitRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ScenarioDataStoreInitRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ScenarioDataStoreInitRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ScenarioDataStoreInitRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ScenarioDataStoreInitRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ScenarioDataStoreInitRequest 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 gauge.messages.Messages.ScenarioDataStoreInitRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ScenarioDataStoreInitRequest 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 gauge.messages.Messages.ScenarioDataStoreInitRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ScenarioDataStoreInitRequest 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(gauge.messages.Messages.ScenarioDataStoreInitRequest 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;
}
/**
*
*/ Request runner to initialize Scenario DataStore
* / Scenario Datastore is reset after every Scenario execution.
*
*
* Protobuf type {@code gauge.messages.ScenarioDataStoreInitRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.ScenarioDataStoreInitRequest)
gauge.messages.Messages.ScenarioDataStoreInitRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_ScenarioDataStoreInitRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_ScenarioDataStoreInitRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.ScenarioDataStoreInitRequest.class, gauge.messages.Messages.ScenarioDataStoreInitRequest.Builder.class);
}
// Construct using gauge.messages.Messages.ScenarioDataStoreInitRequest.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();
stream_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_ScenarioDataStoreInitRequest_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.ScenarioDataStoreInitRequest getDefaultInstanceForType() {
return gauge.messages.Messages.ScenarioDataStoreInitRequest.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.ScenarioDataStoreInitRequest build() {
gauge.messages.Messages.ScenarioDataStoreInitRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.ScenarioDataStoreInitRequest buildPartial() {
gauge.messages.Messages.ScenarioDataStoreInitRequest result = new gauge.messages.Messages.ScenarioDataStoreInitRequest(this);
result.stream_ = stream_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.ScenarioDataStoreInitRequest) {
return mergeFrom((gauge.messages.Messages.ScenarioDataStoreInitRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.ScenarioDataStoreInitRequest other) {
if (other == gauge.messages.Messages.ScenarioDataStoreInitRequest.getDefaultInstance()) return this;
if (other.getStream() != 0) {
setStream(other.getStream());
}
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 {
gauge.messages.Messages.ScenarioDataStoreInitRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.ScenarioDataStoreInitRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int stream_ ;
/**
* int32 stream = 1;
*/
public int getStream() {
return stream_;
}
/**
* int32 stream = 1;
*/
public Builder setStream(int value) {
stream_ = value;
onChanged();
return this;
}
/**
* int32 stream = 1;
*/
public Builder clearStream() {
stream_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.ScenarioDataStoreInitRequest)
}
// @@protoc_insertion_point(class_scope:gauge.messages.ScenarioDataStoreInitRequest)
private static final gauge.messages.Messages.ScenarioDataStoreInitRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.ScenarioDataStoreInitRequest();
}
public static gauge.messages.Messages.ScenarioDataStoreInitRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ScenarioDataStoreInitRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ScenarioDataStoreInitRequest(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 gauge.messages.Messages.ScenarioDataStoreInitRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SpecDataStoreInitRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.SpecDataStoreInitRequest)
com.google.protobuf.MessageOrBuilder {
/**
* int32 stream = 1;
*/
int getStream();
}
/**
*
*/ Request runner to initialize Spec DataStore
* / Spec Datastore is reset after every Spec execution.
*
*
* Protobuf type {@code gauge.messages.SpecDataStoreInitRequest}
*/
public static final class SpecDataStoreInitRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.SpecDataStoreInitRequest)
SpecDataStoreInitRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use SpecDataStoreInitRequest.newBuilder() to construct.
private SpecDataStoreInitRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private SpecDataStoreInitRequest() {
stream_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SpecDataStoreInitRequest(
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: {
stream_ = input.readInt32();
break;
}
default: {
if (!parseUnknownFieldProto3(
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 gauge.messages.Messages.internal_static_gauge_messages_SpecDataStoreInitRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_SpecDataStoreInitRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.SpecDataStoreInitRequest.class, gauge.messages.Messages.SpecDataStoreInitRequest.Builder.class);
}
public static final int STREAM_FIELD_NUMBER = 1;
private int stream_;
/**
* int32 stream = 1;
*/
public int getStream() {
return stream_;
}
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 (stream_ != 0) {
output.writeInt32(1, stream_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (stream_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, stream_);
}
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 gauge.messages.Messages.SpecDataStoreInitRequest)) {
return super.equals(obj);
}
gauge.messages.Messages.SpecDataStoreInitRequest other = (gauge.messages.Messages.SpecDataStoreInitRequest) obj;
boolean result = true;
result = result && (getStream()
== other.getStream());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + STREAM_FIELD_NUMBER;
hash = (53 * hash) + getStream();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.SpecDataStoreInitRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.SpecDataStoreInitRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.SpecDataStoreInitRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.SpecDataStoreInitRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.SpecDataStoreInitRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.SpecDataStoreInitRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.SpecDataStoreInitRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.SpecDataStoreInitRequest 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 gauge.messages.Messages.SpecDataStoreInitRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.SpecDataStoreInitRequest 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 gauge.messages.Messages.SpecDataStoreInitRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.SpecDataStoreInitRequest 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(gauge.messages.Messages.SpecDataStoreInitRequest 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;
}
/**
*
*/ Request runner to initialize Spec DataStore
* / Spec Datastore is reset after every Spec execution.
*
*
* Protobuf type {@code gauge.messages.SpecDataStoreInitRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.SpecDataStoreInitRequest)
gauge.messages.Messages.SpecDataStoreInitRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_SpecDataStoreInitRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_SpecDataStoreInitRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.SpecDataStoreInitRequest.class, gauge.messages.Messages.SpecDataStoreInitRequest.Builder.class);
}
// Construct using gauge.messages.Messages.SpecDataStoreInitRequest.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();
stream_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_SpecDataStoreInitRequest_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.SpecDataStoreInitRequest getDefaultInstanceForType() {
return gauge.messages.Messages.SpecDataStoreInitRequest.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.SpecDataStoreInitRequest build() {
gauge.messages.Messages.SpecDataStoreInitRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.SpecDataStoreInitRequest buildPartial() {
gauge.messages.Messages.SpecDataStoreInitRequest result = new gauge.messages.Messages.SpecDataStoreInitRequest(this);
result.stream_ = stream_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.SpecDataStoreInitRequest) {
return mergeFrom((gauge.messages.Messages.SpecDataStoreInitRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.SpecDataStoreInitRequest other) {
if (other == gauge.messages.Messages.SpecDataStoreInitRequest.getDefaultInstance()) return this;
if (other.getStream() != 0) {
setStream(other.getStream());
}
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 {
gauge.messages.Messages.SpecDataStoreInitRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.SpecDataStoreInitRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int stream_ ;
/**
* int32 stream = 1;
*/
public int getStream() {
return stream_;
}
/**
* int32 stream = 1;
*/
public Builder setStream(int value) {
stream_ = value;
onChanged();
return this;
}
/**
* int32 stream = 1;
*/
public Builder clearStream() {
stream_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.SpecDataStoreInitRequest)
}
// @@protoc_insertion_point(class_scope:gauge.messages.SpecDataStoreInitRequest)
private static final gauge.messages.Messages.SpecDataStoreInitRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.SpecDataStoreInitRequest();
}
public static gauge.messages.Messages.SpecDataStoreInitRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SpecDataStoreInitRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SpecDataStoreInitRequest(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 gauge.messages.Messages.SpecDataStoreInitRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SuiteDataStoreInitRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.SuiteDataStoreInitRequest)
com.google.protobuf.MessageOrBuilder {
/**
* int32 stream = 1;
*/
int getStream();
}
/**
*
*/ Request runner to initialize Suite DataStore
* / Suite Datastore is reset after every Suite execution.
*
*
* Protobuf type {@code gauge.messages.SuiteDataStoreInitRequest}
*/
public static final class SuiteDataStoreInitRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.SuiteDataStoreInitRequest)
SuiteDataStoreInitRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use SuiteDataStoreInitRequest.newBuilder() to construct.
private SuiteDataStoreInitRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private SuiteDataStoreInitRequest() {
stream_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SuiteDataStoreInitRequest(
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: {
stream_ = input.readInt32();
break;
}
default: {
if (!parseUnknownFieldProto3(
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 gauge.messages.Messages.internal_static_gauge_messages_SuiteDataStoreInitRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_SuiteDataStoreInitRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.SuiteDataStoreInitRequest.class, gauge.messages.Messages.SuiteDataStoreInitRequest.Builder.class);
}
public static final int STREAM_FIELD_NUMBER = 1;
private int stream_;
/**
* int32 stream = 1;
*/
public int getStream() {
return stream_;
}
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 (stream_ != 0) {
output.writeInt32(1, stream_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (stream_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, stream_);
}
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 gauge.messages.Messages.SuiteDataStoreInitRequest)) {
return super.equals(obj);
}
gauge.messages.Messages.SuiteDataStoreInitRequest other = (gauge.messages.Messages.SuiteDataStoreInitRequest) obj;
boolean result = true;
result = result && (getStream()
== other.getStream());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + STREAM_FIELD_NUMBER;
hash = (53 * hash) + getStream();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.SuiteDataStoreInitRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.SuiteDataStoreInitRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.SuiteDataStoreInitRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.SuiteDataStoreInitRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.SuiteDataStoreInitRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.SuiteDataStoreInitRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.SuiteDataStoreInitRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.SuiteDataStoreInitRequest 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 gauge.messages.Messages.SuiteDataStoreInitRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.SuiteDataStoreInitRequest 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 gauge.messages.Messages.SuiteDataStoreInitRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.SuiteDataStoreInitRequest 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(gauge.messages.Messages.SuiteDataStoreInitRequest 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;
}
/**
*
*/ Request runner to initialize Suite DataStore
* / Suite Datastore is reset after every Suite execution.
*
*
* Protobuf type {@code gauge.messages.SuiteDataStoreInitRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.SuiteDataStoreInitRequest)
gauge.messages.Messages.SuiteDataStoreInitRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_SuiteDataStoreInitRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_SuiteDataStoreInitRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.SuiteDataStoreInitRequest.class, gauge.messages.Messages.SuiteDataStoreInitRequest.Builder.class);
}
// Construct using gauge.messages.Messages.SuiteDataStoreInitRequest.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();
stream_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_SuiteDataStoreInitRequest_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.SuiteDataStoreInitRequest getDefaultInstanceForType() {
return gauge.messages.Messages.SuiteDataStoreInitRequest.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.SuiteDataStoreInitRequest build() {
gauge.messages.Messages.SuiteDataStoreInitRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.SuiteDataStoreInitRequest buildPartial() {
gauge.messages.Messages.SuiteDataStoreInitRequest result = new gauge.messages.Messages.SuiteDataStoreInitRequest(this);
result.stream_ = stream_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.SuiteDataStoreInitRequest) {
return mergeFrom((gauge.messages.Messages.SuiteDataStoreInitRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.SuiteDataStoreInitRequest other) {
if (other == gauge.messages.Messages.SuiteDataStoreInitRequest.getDefaultInstance()) return this;
if (other.getStream() != 0) {
setStream(other.getStream());
}
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 {
gauge.messages.Messages.SuiteDataStoreInitRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.SuiteDataStoreInitRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int stream_ ;
/**
* int32 stream = 1;
*/
public int getStream() {
return stream_;
}
/**
* int32 stream = 1;
*/
public Builder setStream(int value) {
stream_ = value;
onChanged();
return this;
}
/**
* int32 stream = 1;
*/
public Builder clearStream() {
stream_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.SuiteDataStoreInitRequest)
}
// @@protoc_insertion_point(class_scope:gauge.messages.SuiteDataStoreInitRequest)
private static final gauge.messages.Messages.SuiteDataStoreInitRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.SuiteDataStoreInitRequest();
}
public static gauge.messages.Messages.SuiteDataStoreInitRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SuiteDataStoreInitRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SuiteDataStoreInitRequest(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 gauge.messages.Messages.SuiteDataStoreInitRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ParameterPositionOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.ParameterPosition)
com.google.protobuf.MessageOrBuilder {
/**
* int32 oldPosition = 1;
*/
int getOldPosition();
/**
* int32 newPosition = 2;
*/
int getNewPosition();
}
/**
*
*/ Holds the new and old positions of a parameter.
* / Used when refactoring a Step.
*
*
* Protobuf type {@code gauge.messages.ParameterPosition}
*/
public static final class ParameterPosition extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.ParameterPosition)
ParameterPositionOrBuilder {
private static final long serialVersionUID = 0L;
// Use ParameterPosition.newBuilder() to construct.
private ParameterPosition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private ParameterPosition() {
oldPosition_ = 0;
newPosition_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ParameterPosition(
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: {
oldPosition_ = input.readInt32();
break;
}
case 16: {
newPosition_ = input.readInt32();
break;
}
default: {
if (!parseUnknownFieldProto3(
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 gauge.messages.Messages.internal_static_gauge_messages_ParameterPosition_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_ParameterPosition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.ParameterPosition.class, gauge.messages.Messages.ParameterPosition.Builder.class);
}
public static final int OLDPOSITION_FIELD_NUMBER = 1;
private int oldPosition_;
/**
* int32 oldPosition = 1;
*/
public int getOldPosition() {
return oldPosition_;
}
public static final int NEWPOSITION_FIELD_NUMBER = 2;
private int newPosition_;
/**
* int32 newPosition = 2;
*/
public int getNewPosition() {
return newPosition_;
}
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 (oldPosition_ != 0) {
output.writeInt32(1, oldPosition_);
}
if (newPosition_ != 0) {
output.writeInt32(2, newPosition_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (oldPosition_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, oldPosition_);
}
if (newPosition_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, newPosition_);
}
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 gauge.messages.Messages.ParameterPosition)) {
return super.equals(obj);
}
gauge.messages.Messages.ParameterPosition other = (gauge.messages.Messages.ParameterPosition) obj;
boolean result = true;
result = result && (getOldPosition()
== other.getOldPosition());
result = result && (getNewPosition()
== other.getNewPosition());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + OLDPOSITION_FIELD_NUMBER;
hash = (53 * hash) + getOldPosition();
hash = (37 * hash) + NEWPOSITION_FIELD_NUMBER;
hash = (53 * hash) + getNewPosition();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.ParameterPosition parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ParameterPosition parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ParameterPosition parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ParameterPosition parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ParameterPosition parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ParameterPosition parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ParameterPosition parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ParameterPosition 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 gauge.messages.Messages.ParameterPosition parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ParameterPosition 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 gauge.messages.Messages.ParameterPosition parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ParameterPosition 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(gauge.messages.Messages.ParameterPosition 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;
}
/**
*
*/ Holds the new and old positions of a parameter.
* / Used when refactoring a Step.
*
*
* Protobuf type {@code gauge.messages.ParameterPosition}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.ParameterPosition)
gauge.messages.Messages.ParameterPositionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_ParameterPosition_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_ParameterPosition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.ParameterPosition.class, gauge.messages.Messages.ParameterPosition.Builder.class);
}
// Construct using gauge.messages.Messages.ParameterPosition.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();
oldPosition_ = 0;
newPosition_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_ParameterPosition_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.ParameterPosition getDefaultInstanceForType() {
return gauge.messages.Messages.ParameterPosition.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.ParameterPosition build() {
gauge.messages.Messages.ParameterPosition result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.ParameterPosition buildPartial() {
gauge.messages.Messages.ParameterPosition result = new gauge.messages.Messages.ParameterPosition(this);
result.oldPosition_ = oldPosition_;
result.newPosition_ = newPosition_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.ParameterPosition) {
return mergeFrom((gauge.messages.Messages.ParameterPosition)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.ParameterPosition other) {
if (other == gauge.messages.Messages.ParameterPosition.getDefaultInstance()) return this;
if (other.getOldPosition() != 0) {
setOldPosition(other.getOldPosition());
}
if (other.getNewPosition() != 0) {
setNewPosition(other.getNewPosition());
}
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 {
gauge.messages.Messages.ParameterPosition parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.ParameterPosition) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int oldPosition_ ;
/**
* int32 oldPosition = 1;
*/
public int getOldPosition() {
return oldPosition_;
}
/**
* int32 oldPosition = 1;
*/
public Builder setOldPosition(int value) {
oldPosition_ = value;
onChanged();
return this;
}
/**
* int32 oldPosition = 1;
*/
public Builder clearOldPosition() {
oldPosition_ = 0;
onChanged();
return this;
}
private int newPosition_ ;
/**
* int32 newPosition = 2;
*/
public int getNewPosition() {
return newPosition_;
}
/**
* int32 newPosition = 2;
*/
public Builder setNewPosition(int value) {
newPosition_ = value;
onChanged();
return this;
}
/**
* int32 newPosition = 2;
*/
public Builder clearNewPosition() {
newPosition_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.ParameterPosition)
}
// @@protoc_insertion_point(class_scope:gauge.messages.ParameterPosition)
private static final gauge.messages.Messages.ParameterPosition DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.ParameterPosition();
}
public static gauge.messages.Messages.ParameterPosition getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ParameterPosition parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ParameterPosition(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 gauge.messages.Messages.ParameterPosition getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RefactorRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.RefactorRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*/ Old value, used to lookup Step to refactor
*
*
* .gauge.messages.ProtoStepValue oldStepValue = 1;
*/
boolean hasOldStepValue();
/**
*
*/ Old value, used to lookup Step to refactor
*
*
* .gauge.messages.ProtoStepValue oldStepValue = 1;
*/
gauge.messages.Spec.ProtoStepValue getOldStepValue();
/**
*
*/ Old value, used to lookup Step to refactor
*
*
* .gauge.messages.ProtoStepValue oldStepValue = 1;
*/
gauge.messages.Spec.ProtoStepValueOrBuilder getOldStepValueOrBuilder();
/**
*
*/ New value, the to-be value of Step being refactored.
*
*
* .gauge.messages.ProtoStepValue newStepValue = 2;
*/
boolean hasNewStepValue();
/**
*
*/ New value, the to-be value of Step being refactored.
*
*
* .gauge.messages.ProtoStepValue newStepValue = 2;
*/
gauge.messages.Spec.ProtoStepValue getNewStepValue();
/**
*
*/ New value, the to-be value of Step being refactored.
*
*
* .gauge.messages.ProtoStepValue newStepValue = 2;
*/
gauge.messages.Spec.ProtoStepValueOrBuilder getNewStepValueOrBuilder();
/**
*
*/ Holds parameter positions of all parameters. Contains old and new parameter positions.
*
*
* repeated .gauge.messages.ParameterPosition paramPositions = 3;
*/
java.util.List
getParamPositionsList();
/**
*
*/ Holds parameter positions of all parameters. Contains old and new parameter positions.
*
*
* repeated .gauge.messages.ParameterPosition paramPositions = 3;
*/
gauge.messages.Messages.ParameterPosition getParamPositions(int index);
/**
*
*/ Holds parameter positions of all parameters. Contains old and new parameter positions.
*
*
* repeated .gauge.messages.ParameterPosition paramPositions = 3;
*/
int getParamPositionsCount();
/**
*
*/ Holds parameter positions of all parameters. Contains old and new parameter positions.
*
*
* repeated .gauge.messages.ParameterPosition paramPositions = 3;
*/
java.util.List
getParamPositionsOrBuilderList();
/**
*
*/ Holds parameter positions of all parameters. Contains old and new parameter positions.
*
*
* repeated .gauge.messages.ParameterPosition paramPositions = 3;
*/
gauge.messages.Messages.ParameterPositionOrBuilder getParamPositionsOrBuilder(
int index);
/**
*
*/ If set to true, the refactored files should be saved to the file system before returning the response.
*
*
* bool saveChanges = 4;
*/
boolean getSaveChanges();
}
/**
*
*/ Tells the runner to refactor the specified Step.
*
*
* Protobuf type {@code gauge.messages.RefactorRequest}
*/
public static final class RefactorRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.RefactorRequest)
RefactorRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use RefactorRequest.newBuilder() to construct.
private RefactorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private RefactorRequest() {
paramPositions_ = java.util.Collections.emptyList();
saveChanges_ = false;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RefactorRequest(
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: {
gauge.messages.Spec.ProtoStepValue.Builder subBuilder = null;
if (oldStepValue_ != null) {
subBuilder = oldStepValue_.toBuilder();
}
oldStepValue_ = input.readMessage(gauge.messages.Spec.ProtoStepValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(oldStepValue_);
oldStepValue_ = subBuilder.buildPartial();
}
break;
}
case 18: {
gauge.messages.Spec.ProtoStepValue.Builder subBuilder = null;
if (newStepValue_ != null) {
subBuilder = newStepValue_.toBuilder();
}
newStepValue_ = input.readMessage(gauge.messages.Spec.ProtoStepValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(newStepValue_);
newStepValue_ = subBuilder.buildPartial();
}
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
paramPositions_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
paramPositions_.add(
input.readMessage(gauge.messages.Messages.ParameterPosition.parser(), extensionRegistry));
break;
}
case 32: {
saveChanges_ = input.readBool();
break;
}
default: {
if (!parseUnknownFieldProto3(
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_ & 0x00000004) == 0x00000004)) {
paramPositions_ = java.util.Collections.unmodifiableList(paramPositions_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_RefactorRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_RefactorRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.RefactorRequest.class, gauge.messages.Messages.RefactorRequest.Builder.class);
}
private int bitField0_;
public static final int OLDSTEPVALUE_FIELD_NUMBER = 1;
private gauge.messages.Spec.ProtoStepValue oldStepValue_;
/**
*
*/ Old value, used to lookup Step to refactor
*
*
* .gauge.messages.ProtoStepValue oldStepValue = 1;
*/
public boolean hasOldStepValue() {
return oldStepValue_ != null;
}
/**
*
*/ Old value, used to lookup Step to refactor
*
*
* .gauge.messages.ProtoStepValue oldStepValue = 1;
*/
public gauge.messages.Spec.ProtoStepValue getOldStepValue() {
return oldStepValue_ == null ? gauge.messages.Spec.ProtoStepValue.getDefaultInstance() : oldStepValue_;
}
/**
*
*/ Old value, used to lookup Step to refactor
*
*
* .gauge.messages.ProtoStepValue oldStepValue = 1;
*/
public gauge.messages.Spec.ProtoStepValueOrBuilder getOldStepValueOrBuilder() {
return getOldStepValue();
}
public static final int NEWSTEPVALUE_FIELD_NUMBER = 2;
private gauge.messages.Spec.ProtoStepValue newStepValue_;
/**
*
*/ New value, the to-be value of Step being refactored.
*
*
* .gauge.messages.ProtoStepValue newStepValue = 2;
*/
public boolean hasNewStepValue() {
return newStepValue_ != null;
}
/**
*
*/ New value, the to-be value of Step being refactored.
*
*
* .gauge.messages.ProtoStepValue newStepValue = 2;
*/
public gauge.messages.Spec.ProtoStepValue getNewStepValue() {
return newStepValue_ == null ? gauge.messages.Spec.ProtoStepValue.getDefaultInstance() : newStepValue_;
}
/**
*
*/ New value, the to-be value of Step being refactored.
*
*
* .gauge.messages.ProtoStepValue newStepValue = 2;
*/
public gauge.messages.Spec.ProtoStepValueOrBuilder getNewStepValueOrBuilder() {
return getNewStepValue();
}
public static final int PARAMPOSITIONS_FIELD_NUMBER = 3;
private java.util.List paramPositions_;
/**
*
*/ Holds parameter positions of all parameters. Contains old and new parameter positions.
*
*
* repeated .gauge.messages.ParameterPosition paramPositions = 3;
*/
public java.util.List getParamPositionsList() {
return paramPositions_;
}
/**
*
*/ Holds parameter positions of all parameters. Contains old and new parameter positions.
*
*
* repeated .gauge.messages.ParameterPosition paramPositions = 3;
*/
public java.util.List
getParamPositionsOrBuilderList() {
return paramPositions_;
}
/**
*
*/ Holds parameter positions of all parameters. Contains old and new parameter positions.
*
*
* repeated .gauge.messages.ParameterPosition paramPositions = 3;
*/
public int getParamPositionsCount() {
return paramPositions_.size();
}
/**
*
*/ Holds parameter positions of all parameters. Contains old and new parameter positions.
*
*
* repeated .gauge.messages.ParameterPosition paramPositions = 3;
*/
public gauge.messages.Messages.ParameterPosition getParamPositions(int index) {
return paramPositions_.get(index);
}
/**
*
*/ Holds parameter positions of all parameters. Contains old and new parameter positions.
*
*
* repeated .gauge.messages.ParameterPosition paramPositions = 3;
*/
public gauge.messages.Messages.ParameterPositionOrBuilder getParamPositionsOrBuilder(
int index) {
return paramPositions_.get(index);
}
public static final int SAVECHANGES_FIELD_NUMBER = 4;
private boolean saveChanges_;
/**
*
*/ If set to true, the refactored files should be saved to the file system before returning the response.
*
*
* bool saveChanges = 4;
*/
public boolean getSaveChanges() {
return saveChanges_;
}
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 (oldStepValue_ != null) {
output.writeMessage(1, getOldStepValue());
}
if (newStepValue_ != null) {
output.writeMessage(2, getNewStepValue());
}
for (int i = 0; i < paramPositions_.size(); i++) {
output.writeMessage(3, paramPositions_.get(i));
}
if (saveChanges_ != false) {
output.writeBool(4, saveChanges_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (oldStepValue_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getOldStepValue());
}
if (newStepValue_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getNewStepValue());
}
for (int i = 0; i < paramPositions_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, paramPositions_.get(i));
}
if (saveChanges_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(4, saveChanges_);
}
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 gauge.messages.Messages.RefactorRequest)) {
return super.equals(obj);
}
gauge.messages.Messages.RefactorRequest other = (gauge.messages.Messages.RefactorRequest) obj;
boolean result = true;
result = result && (hasOldStepValue() == other.hasOldStepValue());
if (hasOldStepValue()) {
result = result && getOldStepValue()
.equals(other.getOldStepValue());
}
result = result && (hasNewStepValue() == other.hasNewStepValue());
if (hasNewStepValue()) {
result = result && getNewStepValue()
.equals(other.getNewStepValue());
}
result = result && getParamPositionsList()
.equals(other.getParamPositionsList());
result = result && (getSaveChanges()
== other.getSaveChanges());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasOldStepValue()) {
hash = (37 * hash) + OLDSTEPVALUE_FIELD_NUMBER;
hash = (53 * hash) + getOldStepValue().hashCode();
}
if (hasNewStepValue()) {
hash = (37 * hash) + NEWSTEPVALUE_FIELD_NUMBER;
hash = (53 * hash) + getNewStepValue().hashCode();
}
if (getParamPositionsCount() > 0) {
hash = (37 * hash) + PARAMPOSITIONS_FIELD_NUMBER;
hash = (53 * hash) + getParamPositionsList().hashCode();
}
hash = (37 * hash) + SAVECHANGES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getSaveChanges());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.RefactorRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.RefactorRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.RefactorRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.RefactorRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.RefactorRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.RefactorRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.RefactorRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.RefactorRequest 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 gauge.messages.Messages.RefactorRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.RefactorRequest 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 gauge.messages.Messages.RefactorRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.RefactorRequest 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(gauge.messages.Messages.RefactorRequest 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;
}
/**
*
*/ Tells the runner to refactor the specified Step.
*
*
* Protobuf type {@code gauge.messages.RefactorRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.RefactorRequest)
gauge.messages.Messages.RefactorRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_RefactorRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_RefactorRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.RefactorRequest.class, gauge.messages.Messages.RefactorRequest.Builder.class);
}
// Construct using gauge.messages.Messages.RefactorRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getParamPositionsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (oldStepValueBuilder_ == null) {
oldStepValue_ = null;
} else {
oldStepValue_ = null;
oldStepValueBuilder_ = null;
}
if (newStepValueBuilder_ == null) {
newStepValue_ = null;
} else {
newStepValue_ = null;
newStepValueBuilder_ = null;
}
if (paramPositionsBuilder_ == null) {
paramPositions_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
paramPositionsBuilder_.clear();
}
saveChanges_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_RefactorRequest_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.RefactorRequest getDefaultInstanceForType() {
return gauge.messages.Messages.RefactorRequest.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.RefactorRequest build() {
gauge.messages.Messages.RefactorRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.RefactorRequest buildPartial() {
gauge.messages.Messages.RefactorRequest result = new gauge.messages.Messages.RefactorRequest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (oldStepValueBuilder_ == null) {
result.oldStepValue_ = oldStepValue_;
} else {
result.oldStepValue_ = oldStepValueBuilder_.build();
}
if (newStepValueBuilder_ == null) {
result.newStepValue_ = newStepValue_;
} else {
result.newStepValue_ = newStepValueBuilder_.build();
}
if (paramPositionsBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004)) {
paramPositions_ = java.util.Collections.unmodifiableList(paramPositions_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.paramPositions_ = paramPositions_;
} else {
result.paramPositions_ = paramPositionsBuilder_.build();
}
result.saveChanges_ = saveChanges_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.RefactorRequest) {
return mergeFrom((gauge.messages.Messages.RefactorRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.RefactorRequest other) {
if (other == gauge.messages.Messages.RefactorRequest.getDefaultInstance()) return this;
if (other.hasOldStepValue()) {
mergeOldStepValue(other.getOldStepValue());
}
if (other.hasNewStepValue()) {
mergeNewStepValue(other.getNewStepValue());
}
if (paramPositionsBuilder_ == null) {
if (!other.paramPositions_.isEmpty()) {
if (paramPositions_.isEmpty()) {
paramPositions_ = other.paramPositions_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureParamPositionsIsMutable();
paramPositions_.addAll(other.paramPositions_);
}
onChanged();
}
} else {
if (!other.paramPositions_.isEmpty()) {
if (paramPositionsBuilder_.isEmpty()) {
paramPositionsBuilder_.dispose();
paramPositionsBuilder_ = null;
paramPositions_ = other.paramPositions_;
bitField0_ = (bitField0_ & ~0x00000004);
paramPositionsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getParamPositionsFieldBuilder() : null;
} else {
paramPositionsBuilder_.addAllMessages(other.paramPositions_);
}
}
}
if (other.getSaveChanges() != false) {
setSaveChanges(other.getSaveChanges());
}
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 {
gauge.messages.Messages.RefactorRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.RefactorRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private gauge.messages.Spec.ProtoStepValue oldStepValue_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoStepValue, gauge.messages.Spec.ProtoStepValue.Builder, gauge.messages.Spec.ProtoStepValueOrBuilder> oldStepValueBuilder_;
/**
*
*/ Old value, used to lookup Step to refactor
*
*
* .gauge.messages.ProtoStepValue oldStepValue = 1;
*/
public boolean hasOldStepValue() {
return oldStepValueBuilder_ != null || oldStepValue_ != null;
}
/**
*
*/ Old value, used to lookup Step to refactor
*
*
* .gauge.messages.ProtoStepValue oldStepValue = 1;
*/
public gauge.messages.Spec.ProtoStepValue getOldStepValue() {
if (oldStepValueBuilder_ == null) {
return oldStepValue_ == null ? gauge.messages.Spec.ProtoStepValue.getDefaultInstance() : oldStepValue_;
} else {
return oldStepValueBuilder_.getMessage();
}
}
/**
*
*/ Old value, used to lookup Step to refactor
*
*
* .gauge.messages.ProtoStepValue oldStepValue = 1;
*/
public Builder setOldStepValue(gauge.messages.Spec.ProtoStepValue value) {
if (oldStepValueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
oldStepValue_ = value;
onChanged();
} else {
oldStepValueBuilder_.setMessage(value);
}
return this;
}
/**
*
*/ Old value, used to lookup Step to refactor
*
*
* .gauge.messages.ProtoStepValue oldStepValue = 1;
*/
public Builder setOldStepValue(
gauge.messages.Spec.ProtoStepValue.Builder builderForValue) {
if (oldStepValueBuilder_ == null) {
oldStepValue_ = builderForValue.build();
onChanged();
} else {
oldStepValueBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
*/ Old value, used to lookup Step to refactor
*
*
* .gauge.messages.ProtoStepValue oldStepValue = 1;
*/
public Builder mergeOldStepValue(gauge.messages.Spec.ProtoStepValue value) {
if (oldStepValueBuilder_ == null) {
if (oldStepValue_ != null) {
oldStepValue_ =
gauge.messages.Spec.ProtoStepValue.newBuilder(oldStepValue_).mergeFrom(value).buildPartial();
} else {
oldStepValue_ = value;
}
onChanged();
} else {
oldStepValueBuilder_.mergeFrom(value);
}
return this;
}
/**
*
*/ Old value, used to lookup Step to refactor
*
*
* .gauge.messages.ProtoStepValue oldStepValue = 1;
*/
public Builder clearOldStepValue() {
if (oldStepValueBuilder_ == null) {
oldStepValue_ = null;
onChanged();
} else {
oldStepValue_ = null;
oldStepValueBuilder_ = null;
}
return this;
}
/**
*
*/ Old value, used to lookup Step to refactor
*
*
* .gauge.messages.ProtoStepValue oldStepValue = 1;
*/
public gauge.messages.Spec.ProtoStepValue.Builder getOldStepValueBuilder() {
onChanged();
return getOldStepValueFieldBuilder().getBuilder();
}
/**
*
*/ Old value, used to lookup Step to refactor
*
*
* .gauge.messages.ProtoStepValue oldStepValue = 1;
*/
public gauge.messages.Spec.ProtoStepValueOrBuilder getOldStepValueOrBuilder() {
if (oldStepValueBuilder_ != null) {
return oldStepValueBuilder_.getMessageOrBuilder();
} else {
return oldStepValue_ == null ?
gauge.messages.Spec.ProtoStepValue.getDefaultInstance() : oldStepValue_;
}
}
/**
*
*/ Old value, used to lookup Step to refactor
*
*
* .gauge.messages.ProtoStepValue oldStepValue = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoStepValue, gauge.messages.Spec.ProtoStepValue.Builder, gauge.messages.Spec.ProtoStepValueOrBuilder>
getOldStepValueFieldBuilder() {
if (oldStepValueBuilder_ == null) {
oldStepValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoStepValue, gauge.messages.Spec.ProtoStepValue.Builder, gauge.messages.Spec.ProtoStepValueOrBuilder>(
getOldStepValue(),
getParentForChildren(),
isClean());
oldStepValue_ = null;
}
return oldStepValueBuilder_;
}
private gauge.messages.Spec.ProtoStepValue newStepValue_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoStepValue, gauge.messages.Spec.ProtoStepValue.Builder, gauge.messages.Spec.ProtoStepValueOrBuilder> newStepValueBuilder_;
/**
*
*/ New value, the to-be value of Step being refactored.
*
*
* .gauge.messages.ProtoStepValue newStepValue = 2;
*/
public boolean hasNewStepValue() {
return newStepValueBuilder_ != null || newStepValue_ != null;
}
/**
*
*/ New value, the to-be value of Step being refactored.
*
*
* .gauge.messages.ProtoStepValue newStepValue = 2;
*/
public gauge.messages.Spec.ProtoStepValue getNewStepValue() {
if (newStepValueBuilder_ == null) {
return newStepValue_ == null ? gauge.messages.Spec.ProtoStepValue.getDefaultInstance() : newStepValue_;
} else {
return newStepValueBuilder_.getMessage();
}
}
/**
*
*/ New value, the to-be value of Step being refactored.
*
*
* .gauge.messages.ProtoStepValue newStepValue = 2;
*/
public Builder setNewStepValue(gauge.messages.Spec.ProtoStepValue value) {
if (newStepValueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
newStepValue_ = value;
onChanged();
} else {
newStepValueBuilder_.setMessage(value);
}
return this;
}
/**
*
*/ New value, the to-be value of Step being refactored.
*
*
* .gauge.messages.ProtoStepValue newStepValue = 2;
*/
public Builder setNewStepValue(
gauge.messages.Spec.ProtoStepValue.Builder builderForValue) {
if (newStepValueBuilder_ == null) {
newStepValue_ = builderForValue.build();
onChanged();
} else {
newStepValueBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
*/ New value, the to-be value of Step being refactored.
*
*
* .gauge.messages.ProtoStepValue newStepValue = 2;
*/
public Builder mergeNewStepValue(gauge.messages.Spec.ProtoStepValue value) {
if (newStepValueBuilder_ == null) {
if (newStepValue_ != null) {
newStepValue_ =
gauge.messages.Spec.ProtoStepValue.newBuilder(newStepValue_).mergeFrom(value).buildPartial();
} else {
newStepValue_ = value;
}
onChanged();
} else {
newStepValueBuilder_.mergeFrom(value);
}
return this;
}
/**
*
*/ New value, the to-be value of Step being refactored.
*
*
* .gauge.messages.ProtoStepValue newStepValue = 2;
*/
public Builder clearNewStepValue() {
if (newStepValueBuilder_ == null) {
newStepValue_ = null;
onChanged();
} else {
newStepValue_ = null;
newStepValueBuilder_ = null;
}
return this;
}
/**
*
*/ New value, the to-be value of Step being refactored.
*
*
* .gauge.messages.ProtoStepValue newStepValue = 2;
*/
public gauge.messages.Spec.ProtoStepValue.Builder getNewStepValueBuilder() {
onChanged();
return getNewStepValueFieldBuilder().getBuilder();
}
/**
*
*/ New value, the to-be value of Step being refactored.
*
*
* .gauge.messages.ProtoStepValue newStepValue = 2;
*/
public gauge.messages.Spec.ProtoStepValueOrBuilder getNewStepValueOrBuilder() {
if (newStepValueBuilder_ != null) {
return newStepValueBuilder_.getMessageOrBuilder();
} else {
return newStepValue_ == null ?
gauge.messages.Spec.ProtoStepValue.getDefaultInstance() : newStepValue_;
}
}
/**
*
*/ New value, the to-be value of Step being refactored.
*
*
* .gauge.messages.ProtoStepValue newStepValue = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoStepValue, gauge.messages.Spec.ProtoStepValue.Builder, gauge.messages.Spec.ProtoStepValueOrBuilder>
getNewStepValueFieldBuilder() {
if (newStepValueBuilder_ == null) {
newStepValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.ProtoStepValue, gauge.messages.Spec.ProtoStepValue.Builder, gauge.messages.Spec.ProtoStepValueOrBuilder>(
getNewStepValue(),
getParentForChildren(),
isClean());
newStepValue_ = null;
}
return newStepValueBuilder_;
}
private java.util.List paramPositions_ =
java.util.Collections.emptyList();
private void ensureParamPositionsIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
paramPositions_ = new java.util.ArrayList(paramPositions_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
gauge.messages.Messages.ParameterPosition, gauge.messages.Messages.ParameterPosition.Builder, gauge.messages.Messages.ParameterPositionOrBuilder> paramPositionsBuilder_;
/**
*
*/ Holds parameter positions of all parameters. Contains old and new parameter positions.
*
*
* repeated .gauge.messages.ParameterPosition paramPositions = 3;
*/
public java.util.List getParamPositionsList() {
if (paramPositionsBuilder_ == null) {
return java.util.Collections.unmodifiableList(paramPositions_);
} else {
return paramPositionsBuilder_.getMessageList();
}
}
/**
*
*/ Holds parameter positions of all parameters. Contains old and new parameter positions.
*
*
* repeated .gauge.messages.ParameterPosition paramPositions = 3;
*/
public int getParamPositionsCount() {
if (paramPositionsBuilder_ == null) {
return paramPositions_.size();
} else {
return paramPositionsBuilder_.getCount();
}
}
/**
*
*/ Holds parameter positions of all parameters. Contains old and new parameter positions.
*
*
* repeated .gauge.messages.ParameterPosition paramPositions = 3;
*/
public gauge.messages.Messages.ParameterPosition getParamPositions(int index) {
if (paramPositionsBuilder_ == null) {
return paramPositions_.get(index);
} else {
return paramPositionsBuilder_.getMessage(index);
}
}
/**
*
*/ Holds parameter positions of all parameters. Contains old and new parameter positions.
*
*
* repeated .gauge.messages.ParameterPosition paramPositions = 3;
*/
public Builder setParamPositions(
int index, gauge.messages.Messages.ParameterPosition value) {
if (paramPositionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureParamPositionsIsMutable();
paramPositions_.set(index, value);
onChanged();
} else {
paramPositionsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
*/ Holds parameter positions of all parameters. Contains old and new parameter positions.
*
*
* repeated .gauge.messages.ParameterPosition paramPositions = 3;
*/
public Builder setParamPositions(
int index, gauge.messages.Messages.ParameterPosition.Builder builderForValue) {
if (paramPositionsBuilder_ == null) {
ensureParamPositionsIsMutable();
paramPositions_.set(index, builderForValue.build());
onChanged();
} else {
paramPositionsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
*/ Holds parameter positions of all parameters. Contains old and new parameter positions.
*
*
* repeated .gauge.messages.ParameterPosition paramPositions = 3;
*/
public Builder addParamPositions(gauge.messages.Messages.ParameterPosition value) {
if (paramPositionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureParamPositionsIsMutable();
paramPositions_.add(value);
onChanged();
} else {
paramPositionsBuilder_.addMessage(value);
}
return this;
}
/**
*
*/ Holds parameter positions of all parameters. Contains old and new parameter positions.
*
*
* repeated .gauge.messages.ParameterPosition paramPositions = 3;
*/
public Builder addParamPositions(
int index, gauge.messages.Messages.ParameterPosition value) {
if (paramPositionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureParamPositionsIsMutable();
paramPositions_.add(index, value);
onChanged();
} else {
paramPositionsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
*/ Holds parameter positions of all parameters. Contains old and new parameter positions.
*
*
* repeated .gauge.messages.ParameterPosition paramPositions = 3;
*/
public Builder addParamPositions(
gauge.messages.Messages.ParameterPosition.Builder builderForValue) {
if (paramPositionsBuilder_ == null) {
ensureParamPositionsIsMutable();
paramPositions_.add(builderForValue.build());
onChanged();
} else {
paramPositionsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
*/ Holds parameter positions of all parameters. Contains old and new parameter positions.
*
*
* repeated .gauge.messages.ParameterPosition paramPositions = 3;
*/
public Builder addParamPositions(
int index, gauge.messages.Messages.ParameterPosition.Builder builderForValue) {
if (paramPositionsBuilder_ == null) {
ensureParamPositionsIsMutable();
paramPositions_.add(index, builderForValue.build());
onChanged();
} else {
paramPositionsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
*/ Holds parameter positions of all parameters. Contains old and new parameter positions.
*
*
* repeated .gauge.messages.ParameterPosition paramPositions = 3;
*/
public Builder addAllParamPositions(
java.lang.Iterable values) {
if (paramPositionsBuilder_ == null) {
ensureParamPositionsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, paramPositions_);
onChanged();
} else {
paramPositionsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
*/ Holds parameter positions of all parameters. Contains old and new parameter positions.
*
*
* repeated .gauge.messages.ParameterPosition paramPositions = 3;
*/
public Builder clearParamPositions() {
if (paramPositionsBuilder_ == null) {
paramPositions_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
paramPositionsBuilder_.clear();
}
return this;
}
/**
*
*/ Holds parameter positions of all parameters. Contains old and new parameter positions.
*
*
* repeated .gauge.messages.ParameterPosition paramPositions = 3;
*/
public Builder removeParamPositions(int index) {
if (paramPositionsBuilder_ == null) {
ensureParamPositionsIsMutable();
paramPositions_.remove(index);
onChanged();
} else {
paramPositionsBuilder_.remove(index);
}
return this;
}
/**
*
*/ Holds parameter positions of all parameters. Contains old and new parameter positions.
*
*
* repeated .gauge.messages.ParameterPosition paramPositions = 3;
*/
public gauge.messages.Messages.ParameterPosition.Builder getParamPositionsBuilder(
int index) {
return getParamPositionsFieldBuilder().getBuilder(index);
}
/**
*
*/ Holds parameter positions of all parameters. Contains old and new parameter positions.
*
*
* repeated .gauge.messages.ParameterPosition paramPositions = 3;
*/
public gauge.messages.Messages.ParameterPositionOrBuilder getParamPositionsOrBuilder(
int index) {
if (paramPositionsBuilder_ == null) {
return paramPositions_.get(index); } else {
return paramPositionsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
*/ Holds parameter positions of all parameters. Contains old and new parameter positions.
*
*
* repeated .gauge.messages.ParameterPosition paramPositions = 3;
*/
public java.util.List
getParamPositionsOrBuilderList() {
if (paramPositionsBuilder_ != null) {
return paramPositionsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(paramPositions_);
}
}
/**
*
*/ Holds parameter positions of all parameters. Contains old and new parameter positions.
*
*
* repeated .gauge.messages.ParameterPosition paramPositions = 3;
*/
public gauge.messages.Messages.ParameterPosition.Builder addParamPositionsBuilder() {
return getParamPositionsFieldBuilder().addBuilder(
gauge.messages.Messages.ParameterPosition.getDefaultInstance());
}
/**
*
*/ Holds parameter positions of all parameters. Contains old and new parameter positions.
*
*
* repeated .gauge.messages.ParameterPosition paramPositions = 3;
*/
public gauge.messages.Messages.ParameterPosition.Builder addParamPositionsBuilder(
int index) {
return getParamPositionsFieldBuilder().addBuilder(
index, gauge.messages.Messages.ParameterPosition.getDefaultInstance());
}
/**
*
*/ Holds parameter positions of all parameters. Contains old and new parameter positions.
*
*
* repeated .gauge.messages.ParameterPosition paramPositions = 3;
*/
public java.util.List
getParamPositionsBuilderList() {
return getParamPositionsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
gauge.messages.Messages.ParameterPosition, gauge.messages.Messages.ParameterPosition.Builder, gauge.messages.Messages.ParameterPositionOrBuilder>
getParamPositionsFieldBuilder() {
if (paramPositionsBuilder_ == null) {
paramPositionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
gauge.messages.Messages.ParameterPosition, gauge.messages.Messages.ParameterPosition.Builder, gauge.messages.Messages.ParameterPositionOrBuilder>(
paramPositions_,
((bitField0_ & 0x00000004) == 0x00000004),
getParentForChildren(),
isClean());
paramPositions_ = null;
}
return paramPositionsBuilder_;
}
private boolean saveChanges_ ;
/**
*
*/ If set to true, the refactored files should be saved to the file system before returning the response.
*
*
* bool saveChanges = 4;
*/
public boolean getSaveChanges() {
return saveChanges_;
}
/**
*
*/ If set to true, the refactored files should be saved to the file system before returning the response.
*
*
* bool saveChanges = 4;
*/
public Builder setSaveChanges(boolean value) {
saveChanges_ = value;
onChanged();
return this;
}
/**
*
*/ If set to true, the refactored files should be saved to the file system before returning the response.
*
*
* bool saveChanges = 4;
*/
public Builder clearSaveChanges() {
saveChanges_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.RefactorRequest)
}
// @@protoc_insertion_point(class_scope:gauge.messages.RefactorRequest)
private static final gauge.messages.Messages.RefactorRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.RefactorRequest();
}
public static gauge.messages.Messages.RefactorRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public RefactorRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RefactorRequest(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 gauge.messages.Messages.RefactorRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface FileChangesOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.FileChanges)
com.google.protobuf.MessageOrBuilder {
/**
* string fileName = 1;
*/
java.lang.String getFileName();
/**
* string fileName = 1;
*/
com.google.protobuf.ByteString
getFileNameBytes();
/**
* string fileContent = 2 [deprecated = true];
*/
@java.lang.Deprecated java.lang.String getFileContent();
/**
* string fileContent = 2 [deprecated = true];
*/
@java.lang.Deprecated com.google.protobuf.ByteString
getFileContentBytes();
/**
* repeated .gauge.messages.TextDiff diffs = 3;
*/
java.util.List
getDiffsList();
/**
* repeated .gauge.messages.TextDiff diffs = 3;
*/
gauge.messages.Messages.TextDiff getDiffs(int index);
/**
* repeated .gauge.messages.TextDiff diffs = 3;
*/
int getDiffsCount();
/**
* repeated .gauge.messages.TextDiff diffs = 3;
*/
java.util.List
getDiffsOrBuilderList();
/**
* repeated .gauge.messages.TextDiff diffs = 3;
*/
gauge.messages.Messages.TextDiffOrBuilder getDiffsOrBuilder(
int index);
}
/**
*
*/ Give all file changes to be made to file system
*
*
* Protobuf type {@code gauge.messages.FileChanges}
*/
public static final class FileChanges extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.FileChanges)
FileChangesOrBuilder {
private static final long serialVersionUID = 0L;
// Use FileChanges.newBuilder() to construct.
private FileChanges(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private FileChanges() {
fileName_ = "";
fileContent_ = "";
diffs_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FileChanges(
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();
fileName_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
fileContent_ = s;
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
diffs_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
diffs_.add(
input.readMessage(gauge.messages.Messages.TextDiff.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownFieldProto3(
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_ & 0x00000004) == 0x00000004)) {
diffs_ = java.util.Collections.unmodifiableList(diffs_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_FileChanges_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_FileChanges_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.FileChanges.class, gauge.messages.Messages.FileChanges.Builder.class);
}
private int bitField0_;
public static final int FILENAME_FIELD_NUMBER = 1;
private volatile java.lang.Object fileName_;
/**
* string fileName = 1;
*/
public java.lang.String getFileName() {
java.lang.Object ref = fileName_;
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();
fileName_ = s;
return s;
}
}
/**
* string fileName = 1;
*/
public com.google.protobuf.ByteString
getFileNameBytes() {
java.lang.Object ref = fileName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fileName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FILECONTENT_FIELD_NUMBER = 2;
private volatile java.lang.Object fileContent_;
/**
* string fileContent = 2 [deprecated = true];
*/
@java.lang.Deprecated public java.lang.String getFileContent() {
java.lang.Object ref = fileContent_;
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();
fileContent_ = s;
return s;
}
}
/**
* string fileContent = 2 [deprecated = true];
*/
@java.lang.Deprecated public com.google.protobuf.ByteString
getFileContentBytes() {
java.lang.Object ref = fileContent_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fileContent_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DIFFS_FIELD_NUMBER = 3;
private java.util.List diffs_;
/**
* repeated .gauge.messages.TextDiff diffs = 3;
*/
public java.util.List getDiffsList() {
return diffs_;
}
/**
* repeated .gauge.messages.TextDiff diffs = 3;
*/
public java.util.List
getDiffsOrBuilderList() {
return diffs_;
}
/**
* repeated .gauge.messages.TextDiff diffs = 3;
*/
public int getDiffsCount() {
return diffs_.size();
}
/**
* repeated .gauge.messages.TextDiff diffs = 3;
*/
public gauge.messages.Messages.TextDiff getDiffs(int index) {
return diffs_.get(index);
}
/**
* repeated .gauge.messages.TextDiff diffs = 3;
*/
public gauge.messages.Messages.TextDiffOrBuilder getDiffsOrBuilder(
int index) {
return diffs_.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 (!getFileNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fileName_);
}
if (!getFileContentBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fileContent_);
}
for (int i = 0; i < diffs_.size(); i++) {
output.writeMessage(3, diffs_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getFileNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fileName_);
}
if (!getFileContentBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, fileContent_);
}
for (int i = 0; i < diffs_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, diffs_.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 gauge.messages.Messages.FileChanges)) {
return super.equals(obj);
}
gauge.messages.Messages.FileChanges other = (gauge.messages.Messages.FileChanges) obj;
boolean result = true;
result = result && getFileName()
.equals(other.getFileName());
result = result && getFileContent()
.equals(other.getFileContent());
result = result && getDiffsList()
.equals(other.getDiffsList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + FILENAME_FIELD_NUMBER;
hash = (53 * hash) + getFileName().hashCode();
hash = (37 * hash) + FILECONTENT_FIELD_NUMBER;
hash = (53 * hash) + getFileContent().hashCode();
if (getDiffsCount() > 0) {
hash = (37 * hash) + DIFFS_FIELD_NUMBER;
hash = (53 * hash) + getDiffsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.FileChanges parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.FileChanges parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.FileChanges parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.FileChanges parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.FileChanges parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.FileChanges parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.FileChanges parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.FileChanges 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 gauge.messages.Messages.FileChanges parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.FileChanges 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 gauge.messages.Messages.FileChanges parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.FileChanges 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(gauge.messages.Messages.FileChanges 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;
}
/**
*
*/ Give all file changes to be made to file system
*
*
* Protobuf type {@code gauge.messages.FileChanges}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.FileChanges)
gauge.messages.Messages.FileChangesOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_FileChanges_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_FileChanges_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.FileChanges.class, gauge.messages.Messages.FileChanges.Builder.class);
}
// Construct using gauge.messages.Messages.FileChanges.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getDiffsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
fileName_ = "";
fileContent_ = "";
if (diffsBuilder_ == null) {
diffs_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
diffsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_FileChanges_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.FileChanges getDefaultInstanceForType() {
return gauge.messages.Messages.FileChanges.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.FileChanges build() {
gauge.messages.Messages.FileChanges result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.FileChanges buildPartial() {
gauge.messages.Messages.FileChanges result = new gauge.messages.Messages.FileChanges(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.fileName_ = fileName_;
result.fileContent_ = fileContent_;
if (diffsBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004)) {
diffs_ = java.util.Collections.unmodifiableList(diffs_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.diffs_ = diffs_;
} else {
result.diffs_ = diffsBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.FileChanges) {
return mergeFrom((gauge.messages.Messages.FileChanges)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.FileChanges other) {
if (other == gauge.messages.Messages.FileChanges.getDefaultInstance()) return this;
if (!other.getFileName().isEmpty()) {
fileName_ = other.fileName_;
onChanged();
}
if (!other.getFileContent().isEmpty()) {
fileContent_ = other.fileContent_;
onChanged();
}
if (diffsBuilder_ == null) {
if (!other.diffs_.isEmpty()) {
if (diffs_.isEmpty()) {
diffs_ = other.diffs_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureDiffsIsMutable();
diffs_.addAll(other.diffs_);
}
onChanged();
}
} else {
if (!other.diffs_.isEmpty()) {
if (diffsBuilder_.isEmpty()) {
diffsBuilder_.dispose();
diffsBuilder_ = null;
diffs_ = other.diffs_;
bitField0_ = (bitField0_ & ~0x00000004);
diffsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getDiffsFieldBuilder() : null;
} else {
diffsBuilder_.addAllMessages(other.diffs_);
}
}
}
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 {
gauge.messages.Messages.FileChanges parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.FileChanges) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object fileName_ = "";
/**
* string fileName = 1;
*/
public java.lang.String getFileName() {
java.lang.Object ref = fileName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fileName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string fileName = 1;
*/
public com.google.protobuf.ByteString
getFileNameBytes() {
java.lang.Object ref = fileName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fileName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string fileName = 1;
*/
public Builder setFileName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
fileName_ = value;
onChanged();
return this;
}
/**
* string fileName = 1;
*/
public Builder clearFileName() {
fileName_ = getDefaultInstance().getFileName();
onChanged();
return this;
}
/**
* string fileName = 1;
*/
public Builder setFileNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
fileName_ = value;
onChanged();
return this;
}
private java.lang.Object fileContent_ = "";
/**
* string fileContent = 2 [deprecated = true];
*/
@java.lang.Deprecated public java.lang.String getFileContent() {
java.lang.Object ref = fileContent_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fileContent_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string fileContent = 2 [deprecated = true];
*/
@java.lang.Deprecated public com.google.protobuf.ByteString
getFileContentBytes() {
java.lang.Object ref = fileContent_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fileContent_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string fileContent = 2 [deprecated = true];
*/
@java.lang.Deprecated public Builder setFileContent(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
fileContent_ = value;
onChanged();
return this;
}
/**
* string fileContent = 2 [deprecated = true];
*/
@java.lang.Deprecated public Builder clearFileContent() {
fileContent_ = getDefaultInstance().getFileContent();
onChanged();
return this;
}
/**
* string fileContent = 2 [deprecated = true];
*/
@java.lang.Deprecated public Builder setFileContentBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
fileContent_ = value;
onChanged();
return this;
}
private java.util.List diffs_ =
java.util.Collections.emptyList();
private void ensureDiffsIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
diffs_ = new java.util.ArrayList(diffs_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
gauge.messages.Messages.TextDiff, gauge.messages.Messages.TextDiff.Builder, gauge.messages.Messages.TextDiffOrBuilder> diffsBuilder_;
/**
* repeated .gauge.messages.TextDiff diffs = 3;
*/
public java.util.List getDiffsList() {
if (diffsBuilder_ == null) {
return java.util.Collections.unmodifiableList(diffs_);
} else {
return diffsBuilder_.getMessageList();
}
}
/**
* repeated .gauge.messages.TextDiff diffs = 3;
*/
public int getDiffsCount() {
if (diffsBuilder_ == null) {
return diffs_.size();
} else {
return diffsBuilder_.getCount();
}
}
/**
* repeated .gauge.messages.TextDiff diffs = 3;
*/
public gauge.messages.Messages.TextDiff getDiffs(int index) {
if (diffsBuilder_ == null) {
return diffs_.get(index);
} else {
return diffsBuilder_.getMessage(index);
}
}
/**
* repeated .gauge.messages.TextDiff diffs = 3;
*/
public Builder setDiffs(
int index, gauge.messages.Messages.TextDiff value) {
if (diffsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDiffsIsMutable();
diffs_.set(index, value);
onChanged();
} else {
diffsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .gauge.messages.TextDiff diffs = 3;
*/
public Builder setDiffs(
int index, gauge.messages.Messages.TextDiff.Builder builderForValue) {
if (diffsBuilder_ == null) {
ensureDiffsIsMutable();
diffs_.set(index, builderForValue.build());
onChanged();
} else {
diffsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .gauge.messages.TextDiff diffs = 3;
*/
public Builder addDiffs(gauge.messages.Messages.TextDiff value) {
if (diffsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDiffsIsMutable();
diffs_.add(value);
onChanged();
} else {
diffsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .gauge.messages.TextDiff diffs = 3;
*/
public Builder addDiffs(
int index, gauge.messages.Messages.TextDiff value) {
if (diffsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDiffsIsMutable();
diffs_.add(index, value);
onChanged();
} else {
diffsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .gauge.messages.TextDiff diffs = 3;
*/
public Builder addDiffs(
gauge.messages.Messages.TextDiff.Builder builderForValue) {
if (diffsBuilder_ == null) {
ensureDiffsIsMutable();
diffs_.add(builderForValue.build());
onChanged();
} else {
diffsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .gauge.messages.TextDiff diffs = 3;
*/
public Builder addDiffs(
int index, gauge.messages.Messages.TextDiff.Builder builderForValue) {
if (diffsBuilder_ == null) {
ensureDiffsIsMutable();
diffs_.add(index, builderForValue.build());
onChanged();
} else {
diffsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .gauge.messages.TextDiff diffs = 3;
*/
public Builder addAllDiffs(
java.lang.Iterable values) {
if (diffsBuilder_ == null) {
ensureDiffsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, diffs_);
onChanged();
} else {
diffsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .gauge.messages.TextDiff diffs = 3;
*/
public Builder clearDiffs() {
if (diffsBuilder_ == null) {
diffs_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
diffsBuilder_.clear();
}
return this;
}
/**
* repeated .gauge.messages.TextDiff diffs = 3;
*/
public Builder removeDiffs(int index) {
if (diffsBuilder_ == null) {
ensureDiffsIsMutable();
diffs_.remove(index);
onChanged();
} else {
diffsBuilder_.remove(index);
}
return this;
}
/**
* repeated .gauge.messages.TextDiff diffs = 3;
*/
public gauge.messages.Messages.TextDiff.Builder getDiffsBuilder(
int index) {
return getDiffsFieldBuilder().getBuilder(index);
}
/**
* repeated .gauge.messages.TextDiff diffs = 3;
*/
public gauge.messages.Messages.TextDiffOrBuilder getDiffsOrBuilder(
int index) {
if (diffsBuilder_ == null) {
return diffs_.get(index); } else {
return diffsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .gauge.messages.TextDiff diffs = 3;
*/
public java.util.List
getDiffsOrBuilderList() {
if (diffsBuilder_ != null) {
return diffsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(diffs_);
}
}
/**
* repeated .gauge.messages.TextDiff diffs = 3;
*/
public gauge.messages.Messages.TextDiff.Builder addDiffsBuilder() {
return getDiffsFieldBuilder().addBuilder(
gauge.messages.Messages.TextDiff.getDefaultInstance());
}
/**
* repeated .gauge.messages.TextDiff diffs = 3;
*/
public gauge.messages.Messages.TextDiff.Builder addDiffsBuilder(
int index) {
return getDiffsFieldBuilder().addBuilder(
index, gauge.messages.Messages.TextDiff.getDefaultInstance());
}
/**
* repeated .gauge.messages.TextDiff diffs = 3;
*/
public java.util.List
getDiffsBuilderList() {
return getDiffsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
gauge.messages.Messages.TextDiff, gauge.messages.Messages.TextDiff.Builder, gauge.messages.Messages.TextDiffOrBuilder>
getDiffsFieldBuilder() {
if (diffsBuilder_ == null) {
diffsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
gauge.messages.Messages.TextDiff, gauge.messages.Messages.TextDiff.Builder, gauge.messages.Messages.TextDiffOrBuilder>(
diffs_,
((bitField0_ & 0x00000004) == 0x00000004),
getParentForChildren(),
isClean());
diffs_ = null;
}
return diffsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.FileChanges)
}
// @@protoc_insertion_point(class_scope:gauge.messages.FileChanges)
private static final gauge.messages.Messages.FileChanges DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.FileChanges();
}
public static gauge.messages.Messages.FileChanges getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public FileChanges parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FileChanges(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 gauge.messages.Messages.FileChanges getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RefactorResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.RefactorResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
*/ Flag indicating the success of Refactor operation.
*
*
* bool success = 1;
*/
boolean getSuccess();
/**
*
*/ Error message, valid only if Refactor wasn't successful
*
*
* string error = 2;
*/
java.lang.String getError();
/**
*
*/ Error message, valid only if Refactor wasn't successful
*
*
* string error = 2;
*/
com.google.protobuf.ByteString
getErrorBytes();
/**
*
*/ List of files that were affected because of the refactoring.
*
*
* repeated string filesChanged = 3;
*/
java.util.List
getFilesChangedList();
/**
*
*/ List of files that were affected because of the refactoring.
*
*
* repeated string filesChanged = 3;
*/
int getFilesChangedCount();
/**
*
*/ List of files that were affected because of the refactoring.
*
*
* repeated string filesChanged = 3;
*/
java.lang.String getFilesChanged(int index);
/**
*
*/ List of files that were affected because of the refactoring.
*
*
* repeated string filesChanged = 3;
*/
com.google.protobuf.ByteString
getFilesChangedBytes(int index);
/**
*
*/ List of file changes to be made to successfully achieve refactoring.
*
*
* repeated .gauge.messages.FileChanges fileChanges = 4;
*/
java.util.List
getFileChangesList();
/**
*
*/ List of file changes to be made to successfully achieve refactoring.
*
*
* repeated .gauge.messages.FileChanges fileChanges = 4;
*/
gauge.messages.Messages.FileChanges getFileChanges(int index);
/**
*
*/ List of file changes to be made to successfully achieve refactoring.
*
*
* repeated .gauge.messages.FileChanges fileChanges = 4;
*/
int getFileChangesCount();
/**
*
*/ List of file changes to be made to successfully achieve refactoring.
*
*
* repeated .gauge.messages.FileChanges fileChanges = 4;
*/
java.util.List
getFileChangesOrBuilderList();
/**
*
*/ List of file changes to be made to successfully achieve refactoring.
*
*
* repeated .gauge.messages.FileChanges fileChanges = 4;
*/
gauge.messages.Messages.FileChangesOrBuilder getFileChangesOrBuilder(
int index);
}
/**
*
*/ Response of a RefactorRequest
*
*
* Protobuf type {@code gauge.messages.RefactorResponse}
*/
public static final class RefactorResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.RefactorResponse)
RefactorResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use RefactorResponse.newBuilder() to construct.
private RefactorResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private RefactorResponse() {
success_ = false;
error_ = "";
filesChanged_ = com.google.protobuf.LazyStringArrayList.EMPTY;
fileChanges_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RefactorResponse(
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: {
success_ = input.readBool();
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
error_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
filesChanged_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000004;
}
filesChanged_.add(s);
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
fileChanges_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
fileChanges_.add(
input.readMessage(gauge.messages.Messages.FileChanges.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownFieldProto3(
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_ & 0x00000004) == 0x00000004)) {
filesChanged_ = filesChanged_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
fileChanges_ = java.util.Collections.unmodifiableList(fileChanges_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_RefactorResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_RefactorResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.RefactorResponse.class, gauge.messages.Messages.RefactorResponse.Builder.class);
}
private int bitField0_;
public static final int SUCCESS_FIELD_NUMBER = 1;
private boolean success_;
/**
*
*/ Flag indicating the success of Refactor operation.
*
*
* bool success = 1;
*/
public boolean getSuccess() {
return success_;
}
public static final int ERROR_FIELD_NUMBER = 2;
private volatile java.lang.Object error_;
/**
*
*/ Error message, valid only if Refactor wasn't successful
*
*
* string error = 2;
*/
public java.lang.String getError() {
java.lang.Object ref = error_;
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();
error_ = s;
return s;
}
}
/**
*
*/ Error message, valid only if Refactor wasn't successful
*
*
* string error = 2;
*/
public com.google.protobuf.ByteString
getErrorBytes() {
java.lang.Object ref = error_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
error_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FILESCHANGED_FIELD_NUMBER = 3;
private com.google.protobuf.LazyStringList filesChanged_;
/**
*
*/ List of files that were affected because of the refactoring.
*
*
* repeated string filesChanged = 3;
*/
public com.google.protobuf.ProtocolStringList
getFilesChangedList() {
return filesChanged_;
}
/**
*
*/ List of files that were affected because of the refactoring.
*
*
* repeated string filesChanged = 3;
*/
public int getFilesChangedCount() {
return filesChanged_.size();
}
/**
*
*/ List of files that were affected because of the refactoring.
*
*
* repeated string filesChanged = 3;
*/
public java.lang.String getFilesChanged(int index) {
return filesChanged_.get(index);
}
/**
*
*/ List of files that were affected because of the refactoring.
*
*
* repeated string filesChanged = 3;
*/
public com.google.protobuf.ByteString
getFilesChangedBytes(int index) {
return filesChanged_.getByteString(index);
}
public static final int FILECHANGES_FIELD_NUMBER = 4;
private java.util.List fileChanges_;
/**
*
*/ List of file changes to be made to successfully achieve refactoring.
*
*
* repeated .gauge.messages.FileChanges fileChanges = 4;
*/
public java.util.List getFileChangesList() {
return fileChanges_;
}
/**
*
*/ List of file changes to be made to successfully achieve refactoring.
*
*
* repeated .gauge.messages.FileChanges fileChanges = 4;
*/
public java.util.List
getFileChangesOrBuilderList() {
return fileChanges_;
}
/**
*
*/ List of file changes to be made to successfully achieve refactoring.
*
*
* repeated .gauge.messages.FileChanges fileChanges = 4;
*/
public int getFileChangesCount() {
return fileChanges_.size();
}
/**
*
*/ List of file changes to be made to successfully achieve refactoring.
*
*
* repeated .gauge.messages.FileChanges fileChanges = 4;
*/
public gauge.messages.Messages.FileChanges getFileChanges(int index) {
return fileChanges_.get(index);
}
/**
*
*/ List of file changes to be made to successfully achieve refactoring.
*
*
* repeated .gauge.messages.FileChanges fileChanges = 4;
*/
public gauge.messages.Messages.FileChangesOrBuilder getFileChangesOrBuilder(
int index) {
return fileChanges_.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 (success_ != false) {
output.writeBool(1, success_);
}
if (!getErrorBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, error_);
}
for (int i = 0; i < filesChanged_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, filesChanged_.getRaw(i));
}
for (int i = 0; i < fileChanges_.size(); i++) {
output.writeMessage(4, fileChanges_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (success_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, success_);
}
if (!getErrorBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, error_);
}
{
int dataSize = 0;
for (int i = 0; i < filesChanged_.size(); i++) {
dataSize += computeStringSizeNoTag(filesChanged_.getRaw(i));
}
size += dataSize;
size += 1 * getFilesChangedList().size();
}
for (int i = 0; i < fileChanges_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, fileChanges_.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 gauge.messages.Messages.RefactorResponse)) {
return super.equals(obj);
}
gauge.messages.Messages.RefactorResponse other = (gauge.messages.Messages.RefactorResponse) obj;
boolean result = true;
result = result && (getSuccess()
== other.getSuccess());
result = result && getError()
.equals(other.getError());
result = result && getFilesChangedList()
.equals(other.getFilesChangedList());
result = result && getFileChangesList()
.equals(other.getFileChangesList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + SUCCESS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getSuccess());
hash = (37 * hash) + ERROR_FIELD_NUMBER;
hash = (53 * hash) + getError().hashCode();
if (getFilesChangedCount() > 0) {
hash = (37 * hash) + FILESCHANGED_FIELD_NUMBER;
hash = (53 * hash) + getFilesChangedList().hashCode();
}
if (getFileChangesCount() > 0) {
hash = (37 * hash) + FILECHANGES_FIELD_NUMBER;
hash = (53 * hash) + getFileChangesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.RefactorResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.RefactorResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.RefactorResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.RefactorResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.RefactorResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.RefactorResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.RefactorResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.RefactorResponse 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 gauge.messages.Messages.RefactorResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.RefactorResponse 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 gauge.messages.Messages.RefactorResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.RefactorResponse 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(gauge.messages.Messages.RefactorResponse 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;
}
/**
*
*/ Response of a RefactorRequest
*
*
* Protobuf type {@code gauge.messages.RefactorResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.RefactorResponse)
gauge.messages.Messages.RefactorResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_RefactorResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_RefactorResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.RefactorResponse.class, gauge.messages.Messages.RefactorResponse.Builder.class);
}
// Construct using gauge.messages.Messages.RefactorResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getFileChangesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
success_ = false;
error_ = "";
filesChanged_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
if (fileChangesBuilder_ == null) {
fileChanges_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
} else {
fileChangesBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_RefactorResponse_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.RefactorResponse getDefaultInstanceForType() {
return gauge.messages.Messages.RefactorResponse.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.RefactorResponse build() {
gauge.messages.Messages.RefactorResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.RefactorResponse buildPartial() {
gauge.messages.Messages.RefactorResponse result = new gauge.messages.Messages.RefactorResponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.success_ = success_;
result.error_ = error_;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
filesChanged_ = filesChanged_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000004);
}
result.filesChanged_ = filesChanged_;
if (fileChangesBuilder_ == null) {
if (((bitField0_ & 0x00000008) == 0x00000008)) {
fileChanges_ = java.util.Collections.unmodifiableList(fileChanges_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.fileChanges_ = fileChanges_;
} else {
result.fileChanges_ = fileChangesBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.RefactorResponse) {
return mergeFrom((gauge.messages.Messages.RefactorResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.RefactorResponse other) {
if (other == gauge.messages.Messages.RefactorResponse.getDefaultInstance()) return this;
if (other.getSuccess() != false) {
setSuccess(other.getSuccess());
}
if (!other.getError().isEmpty()) {
error_ = other.error_;
onChanged();
}
if (!other.filesChanged_.isEmpty()) {
if (filesChanged_.isEmpty()) {
filesChanged_ = other.filesChanged_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureFilesChangedIsMutable();
filesChanged_.addAll(other.filesChanged_);
}
onChanged();
}
if (fileChangesBuilder_ == null) {
if (!other.fileChanges_.isEmpty()) {
if (fileChanges_.isEmpty()) {
fileChanges_ = other.fileChanges_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureFileChangesIsMutable();
fileChanges_.addAll(other.fileChanges_);
}
onChanged();
}
} else {
if (!other.fileChanges_.isEmpty()) {
if (fileChangesBuilder_.isEmpty()) {
fileChangesBuilder_.dispose();
fileChangesBuilder_ = null;
fileChanges_ = other.fileChanges_;
bitField0_ = (bitField0_ & ~0x00000008);
fileChangesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getFileChangesFieldBuilder() : null;
} else {
fileChangesBuilder_.addAllMessages(other.fileChanges_);
}
}
}
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 {
gauge.messages.Messages.RefactorResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.RefactorResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private boolean success_ ;
/**
*
*/ Flag indicating the success of Refactor operation.
*
*
* bool success = 1;
*/
public boolean getSuccess() {
return success_;
}
/**
*
*/ Flag indicating the success of Refactor operation.
*
*
* bool success = 1;
*/
public Builder setSuccess(boolean value) {
success_ = value;
onChanged();
return this;
}
/**
*
*/ Flag indicating the success of Refactor operation.
*
*
* bool success = 1;
*/
public Builder clearSuccess() {
success_ = false;
onChanged();
return this;
}
private java.lang.Object error_ = "";
/**
*
*/ Error message, valid only if Refactor wasn't successful
*
*
* string error = 2;
*/
public java.lang.String getError() {
java.lang.Object ref = error_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
error_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*/ Error message, valid only if Refactor wasn't successful
*
*
* string error = 2;
*/
public com.google.protobuf.ByteString
getErrorBytes() {
java.lang.Object ref = error_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
error_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*/ Error message, valid only if Refactor wasn't successful
*
*
* string error = 2;
*/
public Builder setError(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
error_ = value;
onChanged();
return this;
}
/**
*
*/ Error message, valid only if Refactor wasn't successful
*
*
* string error = 2;
*/
public Builder clearError() {
error_ = getDefaultInstance().getError();
onChanged();
return this;
}
/**
*
*/ Error message, valid only if Refactor wasn't successful
*
*
* string error = 2;
*/
public Builder setErrorBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
error_ = value;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList filesChanged_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureFilesChangedIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
filesChanged_ = new com.google.protobuf.LazyStringArrayList(filesChanged_);
bitField0_ |= 0x00000004;
}
}
/**
*
*/ List of files that were affected because of the refactoring.
*
*
* repeated string filesChanged = 3;
*/
public com.google.protobuf.ProtocolStringList
getFilesChangedList() {
return filesChanged_.getUnmodifiableView();
}
/**
*
*/ List of files that were affected because of the refactoring.
*
*
* repeated string filesChanged = 3;
*/
public int getFilesChangedCount() {
return filesChanged_.size();
}
/**
*
*/ List of files that were affected because of the refactoring.
*
*
* repeated string filesChanged = 3;
*/
public java.lang.String getFilesChanged(int index) {
return filesChanged_.get(index);
}
/**
*
*/ List of files that were affected because of the refactoring.
*
*
* repeated string filesChanged = 3;
*/
public com.google.protobuf.ByteString
getFilesChangedBytes(int index) {
return filesChanged_.getByteString(index);
}
/**
*
*/ List of files that were affected because of the refactoring.
*
*
* repeated string filesChanged = 3;
*/
public Builder setFilesChanged(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureFilesChangedIsMutable();
filesChanged_.set(index, value);
onChanged();
return this;
}
/**
*
*/ List of files that were affected because of the refactoring.
*
*
* repeated string filesChanged = 3;
*/
public Builder addFilesChanged(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureFilesChangedIsMutable();
filesChanged_.add(value);
onChanged();
return this;
}
/**
*
*/ List of files that were affected because of the refactoring.
*
*
* repeated string filesChanged = 3;
*/
public Builder addAllFilesChanged(
java.lang.Iterable values) {
ensureFilesChangedIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, filesChanged_);
onChanged();
return this;
}
/**
*
*/ List of files that were affected because of the refactoring.
*
*
* repeated string filesChanged = 3;
*/
public Builder clearFilesChanged() {
filesChanged_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
*
*/ List of files that were affected because of the refactoring.
*
*
* repeated string filesChanged = 3;
*/
public Builder addFilesChangedBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureFilesChangedIsMutable();
filesChanged_.add(value);
onChanged();
return this;
}
private java.util.List fileChanges_ =
java.util.Collections.emptyList();
private void ensureFileChangesIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
fileChanges_ = new java.util.ArrayList(fileChanges_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
gauge.messages.Messages.FileChanges, gauge.messages.Messages.FileChanges.Builder, gauge.messages.Messages.FileChangesOrBuilder> fileChangesBuilder_;
/**
*
*/ List of file changes to be made to successfully achieve refactoring.
*
*
* repeated .gauge.messages.FileChanges fileChanges = 4;
*/
public java.util.List getFileChangesList() {
if (fileChangesBuilder_ == null) {
return java.util.Collections.unmodifiableList(fileChanges_);
} else {
return fileChangesBuilder_.getMessageList();
}
}
/**
*
*/ List of file changes to be made to successfully achieve refactoring.
*
*
* repeated .gauge.messages.FileChanges fileChanges = 4;
*/
public int getFileChangesCount() {
if (fileChangesBuilder_ == null) {
return fileChanges_.size();
} else {
return fileChangesBuilder_.getCount();
}
}
/**
*
*/ List of file changes to be made to successfully achieve refactoring.
*
*
* repeated .gauge.messages.FileChanges fileChanges = 4;
*/
public gauge.messages.Messages.FileChanges getFileChanges(int index) {
if (fileChangesBuilder_ == null) {
return fileChanges_.get(index);
} else {
return fileChangesBuilder_.getMessage(index);
}
}
/**
*
*/ List of file changes to be made to successfully achieve refactoring.
*
*
* repeated .gauge.messages.FileChanges fileChanges = 4;
*/
public Builder setFileChanges(
int index, gauge.messages.Messages.FileChanges value) {
if (fileChangesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFileChangesIsMutable();
fileChanges_.set(index, value);
onChanged();
} else {
fileChangesBuilder_.setMessage(index, value);
}
return this;
}
/**
*
*/ List of file changes to be made to successfully achieve refactoring.
*
*
* repeated .gauge.messages.FileChanges fileChanges = 4;
*/
public Builder setFileChanges(
int index, gauge.messages.Messages.FileChanges.Builder builderForValue) {
if (fileChangesBuilder_ == null) {
ensureFileChangesIsMutable();
fileChanges_.set(index, builderForValue.build());
onChanged();
} else {
fileChangesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
*/ List of file changes to be made to successfully achieve refactoring.
*
*
* repeated .gauge.messages.FileChanges fileChanges = 4;
*/
public Builder addFileChanges(gauge.messages.Messages.FileChanges value) {
if (fileChangesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFileChangesIsMutable();
fileChanges_.add(value);
onChanged();
} else {
fileChangesBuilder_.addMessage(value);
}
return this;
}
/**
*
*/ List of file changes to be made to successfully achieve refactoring.
*
*
* repeated .gauge.messages.FileChanges fileChanges = 4;
*/
public Builder addFileChanges(
int index, gauge.messages.Messages.FileChanges value) {
if (fileChangesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFileChangesIsMutable();
fileChanges_.add(index, value);
onChanged();
} else {
fileChangesBuilder_.addMessage(index, value);
}
return this;
}
/**
*
*/ List of file changes to be made to successfully achieve refactoring.
*
*
* repeated .gauge.messages.FileChanges fileChanges = 4;
*/
public Builder addFileChanges(
gauge.messages.Messages.FileChanges.Builder builderForValue) {
if (fileChangesBuilder_ == null) {
ensureFileChangesIsMutable();
fileChanges_.add(builderForValue.build());
onChanged();
} else {
fileChangesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
*/ List of file changes to be made to successfully achieve refactoring.
*
*
* repeated .gauge.messages.FileChanges fileChanges = 4;
*/
public Builder addFileChanges(
int index, gauge.messages.Messages.FileChanges.Builder builderForValue) {
if (fileChangesBuilder_ == null) {
ensureFileChangesIsMutable();
fileChanges_.add(index, builderForValue.build());
onChanged();
} else {
fileChangesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
*/ List of file changes to be made to successfully achieve refactoring.
*
*
* repeated .gauge.messages.FileChanges fileChanges = 4;
*/
public Builder addAllFileChanges(
java.lang.Iterable values) {
if (fileChangesBuilder_ == null) {
ensureFileChangesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, fileChanges_);
onChanged();
} else {
fileChangesBuilder_.addAllMessages(values);
}
return this;
}
/**
*
*/ List of file changes to be made to successfully achieve refactoring.
*
*
* repeated .gauge.messages.FileChanges fileChanges = 4;
*/
public Builder clearFileChanges() {
if (fileChangesBuilder_ == null) {
fileChanges_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
fileChangesBuilder_.clear();
}
return this;
}
/**
*
*/ List of file changes to be made to successfully achieve refactoring.
*
*
* repeated .gauge.messages.FileChanges fileChanges = 4;
*/
public Builder removeFileChanges(int index) {
if (fileChangesBuilder_ == null) {
ensureFileChangesIsMutable();
fileChanges_.remove(index);
onChanged();
} else {
fileChangesBuilder_.remove(index);
}
return this;
}
/**
*
*/ List of file changes to be made to successfully achieve refactoring.
*
*
* repeated .gauge.messages.FileChanges fileChanges = 4;
*/
public gauge.messages.Messages.FileChanges.Builder getFileChangesBuilder(
int index) {
return getFileChangesFieldBuilder().getBuilder(index);
}
/**
*
*/ List of file changes to be made to successfully achieve refactoring.
*
*
* repeated .gauge.messages.FileChanges fileChanges = 4;
*/
public gauge.messages.Messages.FileChangesOrBuilder getFileChangesOrBuilder(
int index) {
if (fileChangesBuilder_ == null) {
return fileChanges_.get(index); } else {
return fileChangesBuilder_.getMessageOrBuilder(index);
}
}
/**
*
*/ List of file changes to be made to successfully achieve refactoring.
*
*
* repeated .gauge.messages.FileChanges fileChanges = 4;
*/
public java.util.List
getFileChangesOrBuilderList() {
if (fileChangesBuilder_ != null) {
return fileChangesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(fileChanges_);
}
}
/**
*
*/ List of file changes to be made to successfully achieve refactoring.
*
*
* repeated .gauge.messages.FileChanges fileChanges = 4;
*/
public gauge.messages.Messages.FileChanges.Builder addFileChangesBuilder() {
return getFileChangesFieldBuilder().addBuilder(
gauge.messages.Messages.FileChanges.getDefaultInstance());
}
/**
*
*/ List of file changes to be made to successfully achieve refactoring.
*
*
* repeated .gauge.messages.FileChanges fileChanges = 4;
*/
public gauge.messages.Messages.FileChanges.Builder addFileChangesBuilder(
int index) {
return getFileChangesFieldBuilder().addBuilder(
index, gauge.messages.Messages.FileChanges.getDefaultInstance());
}
/**
*
*/ List of file changes to be made to successfully achieve refactoring.
*
*
* repeated .gauge.messages.FileChanges fileChanges = 4;
*/
public java.util.List
getFileChangesBuilderList() {
return getFileChangesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
gauge.messages.Messages.FileChanges, gauge.messages.Messages.FileChanges.Builder, gauge.messages.Messages.FileChangesOrBuilder>
getFileChangesFieldBuilder() {
if (fileChangesBuilder_ == null) {
fileChangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
gauge.messages.Messages.FileChanges, gauge.messages.Messages.FileChanges.Builder, gauge.messages.Messages.FileChangesOrBuilder>(
fileChanges_,
((bitField0_ & 0x00000008) == 0x00000008),
getParentForChildren(),
isClean());
fileChanges_ = null;
}
return fileChangesBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.RefactorResponse)
}
// @@protoc_insertion_point(class_scope:gauge.messages.RefactorResponse)
private static final gauge.messages.Messages.RefactorResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.RefactorResponse();
}
public static gauge.messages.Messages.RefactorResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public RefactorResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RefactorResponse(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 gauge.messages.Messages.RefactorResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StepNameRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.StepNameRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*/ Step text to lookup the Step.
* / This is the parsed step value, i.e. with placeholders for parameters.
*
*
* string stepValue = 1;
*/
java.lang.String getStepValue();
/**
*
*/ Step text to lookup the Step.
* / This is the parsed step value, i.e. with placeholders for parameters.
*
*
* string stepValue = 1;
*/
com.google.protobuf.ByteString
getStepValueBytes();
}
/**
*
*/ Request for details on a Single Step.
*
*
* Protobuf type {@code gauge.messages.StepNameRequest}
*/
public static final class StepNameRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.StepNameRequest)
StepNameRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use StepNameRequest.newBuilder() to construct.
private StepNameRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private StepNameRequest() {
stepValue_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StepNameRequest(
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();
stepValue_ = s;
break;
}
default: {
if (!parseUnknownFieldProto3(
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 gauge.messages.Messages.internal_static_gauge_messages_StepNameRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_StepNameRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.StepNameRequest.class, gauge.messages.Messages.StepNameRequest.Builder.class);
}
public static final int STEPVALUE_FIELD_NUMBER = 1;
private volatile java.lang.Object stepValue_;
/**
*
*/ Step text to lookup the Step.
* / This is the parsed step value, i.e. with placeholders for parameters.
*
*
* string stepValue = 1;
*/
public java.lang.String getStepValue() {
java.lang.Object ref = stepValue_;
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();
stepValue_ = s;
return s;
}
}
/**
*
*/ Step text to lookup the Step.
* / This is the parsed step value, i.e. with placeholders for parameters.
*
*
* string stepValue = 1;
*/
public com.google.protobuf.ByteString
getStepValueBytes() {
java.lang.Object ref = stepValue_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stepValue_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getStepValueBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, stepValue_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getStepValueBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, stepValue_);
}
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 gauge.messages.Messages.StepNameRequest)) {
return super.equals(obj);
}
gauge.messages.Messages.StepNameRequest other = (gauge.messages.Messages.StepNameRequest) obj;
boolean result = true;
result = result && getStepValue()
.equals(other.getStepValue());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + STEPVALUE_FIELD_NUMBER;
hash = (53 * hash) + getStepValue().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.StepNameRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepNameRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepNameRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepNameRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepNameRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepNameRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepNameRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepNameRequest 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 gauge.messages.Messages.StepNameRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepNameRequest 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 gauge.messages.Messages.StepNameRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepNameRequest 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(gauge.messages.Messages.StepNameRequest 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;
}
/**
*
*/ Request for details on a Single Step.
*
*
* Protobuf type {@code gauge.messages.StepNameRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.StepNameRequest)
gauge.messages.Messages.StepNameRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_StepNameRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_StepNameRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.StepNameRequest.class, gauge.messages.Messages.StepNameRequest.Builder.class);
}
// Construct using gauge.messages.Messages.StepNameRequest.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();
stepValue_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_StepNameRequest_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.StepNameRequest getDefaultInstanceForType() {
return gauge.messages.Messages.StepNameRequest.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.StepNameRequest build() {
gauge.messages.Messages.StepNameRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.StepNameRequest buildPartial() {
gauge.messages.Messages.StepNameRequest result = new gauge.messages.Messages.StepNameRequest(this);
result.stepValue_ = stepValue_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.StepNameRequest) {
return mergeFrom((gauge.messages.Messages.StepNameRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.StepNameRequest other) {
if (other == gauge.messages.Messages.StepNameRequest.getDefaultInstance()) return this;
if (!other.getStepValue().isEmpty()) {
stepValue_ = other.stepValue_;
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 {
gauge.messages.Messages.StepNameRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.StepNameRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object stepValue_ = "";
/**
*
*/ Step text to lookup the Step.
* / This is the parsed step value, i.e. with placeholders for parameters.
*
*
* string stepValue = 1;
*/
public java.lang.String getStepValue() {
java.lang.Object ref = stepValue_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
stepValue_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*/ Step text to lookup the Step.
* / This is the parsed step value, i.e. with placeholders for parameters.
*
*
* string stepValue = 1;
*/
public com.google.protobuf.ByteString
getStepValueBytes() {
java.lang.Object ref = stepValue_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stepValue_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*/ Step text to lookup the Step.
* / This is the parsed step value, i.e. with placeholders for parameters.
*
*
* string stepValue = 1;
*/
public Builder setStepValue(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
stepValue_ = value;
onChanged();
return this;
}
/**
*
*/ Step text to lookup the Step.
* / This is the parsed step value, i.e. with placeholders for parameters.
*
*
* string stepValue = 1;
*/
public Builder clearStepValue() {
stepValue_ = getDefaultInstance().getStepValue();
onChanged();
return this;
}
/**
*
*/ Step text to lookup the Step.
* / This is the parsed step value, i.e. with placeholders for parameters.
*
*
* string stepValue = 1;
*/
public Builder setStepValueBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
stepValue_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.StepNameRequest)
}
// @@protoc_insertion_point(class_scope:gauge.messages.StepNameRequest)
private static final gauge.messages.Messages.StepNameRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.StepNameRequest();
}
public static gauge.messages.Messages.StepNameRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public StepNameRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StepNameRequest(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 gauge.messages.Messages.StepNameRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StepNameResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.StepNameResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
*/ Flag indicating if there is a match for the given Step Text.
*
*
* bool isStepPresent = 1;
*/
boolean getIsStepPresent();
/**
*
*/ The Step name of the given step.
*
*
* repeated string stepName = 2;
*/
java.util.List
getStepNameList();
/**
*
*/ The Step name of the given step.
*
*
* repeated string stepName = 2;
*/
int getStepNameCount();
/**
*
*/ The Step name of the given step.
*
*
* repeated string stepName = 2;
*/
java.lang.String getStepName(int index);
/**
*
*/ The Step name of the given step.
*
*
* repeated string stepName = 2;
*/
com.google.protobuf.ByteString
getStepNameBytes(int index);
/**
*
*/ Flag indicating if the given Step is an alias.
*
*
* bool hasAlias = 3;
*/
boolean getHasAlias();
/**
*
*/ File name in which the step implementation exists
*
*
* string fileName = 4;
*/
java.lang.String getFileName();
/**
*
*/ File name in which the step implementation exists
*
*
* string fileName = 4;
*/
com.google.protobuf.ByteString
getFileNameBytes();
/**
*
*/ Range of step
*
*
* .gauge.messages.Span span = 5;
*/
boolean hasSpan();
/**
*
*/ Range of step
*
*
* .gauge.messages.Span span = 5;
*/
gauge.messages.Spec.Span getSpan();
/**
*
*/ Range of step
*
*
* .gauge.messages.Span span = 5;
*/
gauge.messages.Spec.SpanOrBuilder getSpanOrBuilder();
/**
*
*/ Flag indicating if the given Step defined in some external library and the source code can not be accessed.
*
*
* bool isExternal = 6;
*/
boolean getIsExternal();
}
/**
*
*/ Response to StepNameRequest.
*
*
* Protobuf type {@code gauge.messages.StepNameResponse}
*/
public static final class StepNameResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.StepNameResponse)
StepNameResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use StepNameResponse.newBuilder() to construct.
private StepNameResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private StepNameResponse() {
isStepPresent_ = false;
stepName_ = com.google.protobuf.LazyStringArrayList.EMPTY;
hasAlias_ = false;
fileName_ = "";
isExternal_ = false;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StepNameResponse(
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: {
isStepPresent_ = input.readBool();
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
stepName_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000002;
}
stepName_.add(s);
break;
}
case 24: {
hasAlias_ = input.readBool();
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
fileName_ = s;
break;
}
case 42: {
gauge.messages.Spec.Span.Builder subBuilder = null;
if (span_ != null) {
subBuilder = span_.toBuilder();
}
span_ = input.readMessage(gauge.messages.Spec.Span.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(span_);
span_ = subBuilder.buildPartial();
}
break;
}
case 48: {
isExternal_ = input.readBool();
break;
}
default: {
if (!parseUnknownFieldProto3(
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_ & 0x00000002) == 0x00000002)) {
stepName_ = stepName_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_StepNameResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_StepNameResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.StepNameResponse.class, gauge.messages.Messages.StepNameResponse.Builder.class);
}
private int bitField0_;
public static final int ISSTEPPRESENT_FIELD_NUMBER = 1;
private boolean isStepPresent_;
/**
*
*/ Flag indicating if there is a match for the given Step Text.
*
*
* bool isStepPresent = 1;
*/
public boolean getIsStepPresent() {
return isStepPresent_;
}
public static final int STEPNAME_FIELD_NUMBER = 2;
private com.google.protobuf.LazyStringList stepName_;
/**
*
*/ The Step name of the given step.
*
*
* repeated string stepName = 2;
*/
public com.google.protobuf.ProtocolStringList
getStepNameList() {
return stepName_;
}
/**
*
*/ The Step name of the given step.
*
*
* repeated string stepName = 2;
*/
public int getStepNameCount() {
return stepName_.size();
}
/**
*
*/ The Step name of the given step.
*
*
* repeated string stepName = 2;
*/
public java.lang.String getStepName(int index) {
return stepName_.get(index);
}
/**
*
*/ The Step name of the given step.
*
*
* repeated string stepName = 2;
*/
public com.google.protobuf.ByteString
getStepNameBytes(int index) {
return stepName_.getByteString(index);
}
public static final int HASALIAS_FIELD_NUMBER = 3;
private boolean hasAlias_;
/**
*
*/ Flag indicating if the given Step is an alias.
*
*
* bool hasAlias = 3;
*/
public boolean getHasAlias() {
return hasAlias_;
}
public static final int FILENAME_FIELD_NUMBER = 4;
private volatile java.lang.Object fileName_;
/**
*
*/ File name in which the step implementation exists
*
*
* string fileName = 4;
*/
public java.lang.String getFileName() {
java.lang.Object ref = fileName_;
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();
fileName_ = s;
return s;
}
}
/**
*
*/ File name in which the step implementation exists
*
*
* string fileName = 4;
*/
public com.google.protobuf.ByteString
getFileNameBytes() {
java.lang.Object ref = fileName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fileName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SPAN_FIELD_NUMBER = 5;
private gauge.messages.Spec.Span span_;
/**
*
*/ Range of step
*
*
* .gauge.messages.Span span = 5;
*/
public boolean hasSpan() {
return span_ != null;
}
/**
*
*/ Range of step
*
*
* .gauge.messages.Span span = 5;
*/
public gauge.messages.Spec.Span getSpan() {
return span_ == null ? gauge.messages.Spec.Span.getDefaultInstance() : span_;
}
/**
*
*/ Range of step
*
*
* .gauge.messages.Span span = 5;
*/
public gauge.messages.Spec.SpanOrBuilder getSpanOrBuilder() {
return getSpan();
}
public static final int ISEXTERNAL_FIELD_NUMBER = 6;
private boolean isExternal_;
/**
*
*/ Flag indicating if the given Step defined in some external library and the source code can not be accessed.
*
*
* bool isExternal = 6;
*/
public boolean getIsExternal() {
return isExternal_;
}
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 (isStepPresent_ != false) {
output.writeBool(1, isStepPresent_);
}
for (int i = 0; i < stepName_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, stepName_.getRaw(i));
}
if (hasAlias_ != false) {
output.writeBool(3, hasAlias_);
}
if (!getFileNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, fileName_);
}
if (span_ != null) {
output.writeMessage(5, getSpan());
}
if (isExternal_ != false) {
output.writeBool(6, isExternal_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (isStepPresent_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, isStepPresent_);
}
{
int dataSize = 0;
for (int i = 0; i < stepName_.size(); i++) {
dataSize += computeStringSizeNoTag(stepName_.getRaw(i));
}
size += dataSize;
size += 1 * getStepNameList().size();
}
if (hasAlias_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, hasAlias_);
}
if (!getFileNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, fileName_);
}
if (span_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getSpan());
}
if (isExternal_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(6, isExternal_);
}
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 gauge.messages.Messages.StepNameResponse)) {
return super.equals(obj);
}
gauge.messages.Messages.StepNameResponse other = (gauge.messages.Messages.StepNameResponse) obj;
boolean result = true;
result = result && (getIsStepPresent()
== other.getIsStepPresent());
result = result && getStepNameList()
.equals(other.getStepNameList());
result = result && (getHasAlias()
== other.getHasAlias());
result = result && getFileName()
.equals(other.getFileName());
result = result && (hasSpan() == other.hasSpan());
if (hasSpan()) {
result = result && getSpan()
.equals(other.getSpan());
}
result = result && (getIsExternal()
== other.getIsExternal());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ISSTEPPRESENT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsStepPresent());
if (getStepNameCount() > 0) {
hash = (37 * hash) + STEPNAME_FIELD_NUMBER;
hash = (53 * hash) + getStepNameList().hashCode();
}
hash = (37 * hash) + HASALIAS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getHasAlias());
hash = (37 * hash) + FILENAME_FIELD_NUMBER;
hash = (53 * hash) + getFileName().hashCode();
if (hasSpan()) {
hash = (37 * hash) + SPAN_FIELD_NUMBER;
hash = (53 * hash) + getSpan().hashCode();
}
hash = (37 * hash) + ISEXTERNAL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsExternal());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.StepNameResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepNameResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepNameResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepNameResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepNameResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepNameResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepNameResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepNameResponse 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 gauge.messages.Messages.StepNameResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepNameResponse 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 gauge.messages.Messages.StepNameResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepNameResponse 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(gauge.messages.Messages.StepNameResponse 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;
}
/**
*
*/ Response to StepNameRequest.
*
*
* Protobuf type {@code gauge.messages.StepNameResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.StepNameResponse)
gauge.messages.Messages.StepNameResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_StepNameResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_StepNameResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.StepNameResponse.class, gauge.messages.Messages.StepNameResponse.Builder.class);
}
// Construct using gauge.messages.Messages.StepNameResponse.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();
isStepPresent_ = false;
stepName_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
hasAlias_ = false;
fileName_ = "";
if (spanBuilder_ == null) {
span_ = null;
} else {
span_ = null;
spanBuilder_ = null;
}
isExternal_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_StepNameResponse_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.StepNameResponse getDefaultInstanceForType() {
return gauge.messages.Messages.StepNameResponse.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.StepNameResponse build() {
gauge.messages.Messages.StepNameResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.StepNameResponse buildPartial() {
gauge.messages.Messages.StepNameResponse result = new gauge.messages.Messages.StepNameResponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.isStepPresent_ = isStepPresent_;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
stepName_ = stepName_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000002);
}
result.stepName_ = stepName_;
result.hasAlias_ = hasAlias_;
result.fileName_ = fileName_;
if (spanBuilder_ == null) {
result.span_ = span_;
} else {
result.span_ = spanBuilder_.build();
}
result.isExternal_ = isExternal_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.StepNameResponse) {
return mergeFrom((gauge.messages.Messages.StepNameResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.StepNameResponse other) {
if (other == gauge.messages.Messages.StepNameResponse.getDefaultInstance()) return this;
if (other.getIsStepPresent() != false) {
setIsStepPresent(other.getIsStepPresent());
}
if (!other.stepName_.isEmpty()) {
if (stepName_.isEmpty()) {
stepName_ = other.stepName_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureStepNameIsMutable();
stepName_.addAll(other.stepName_);
}
onChanged();
}
if (other.getHasAlias() != false) {
setHasAlias(other.getHasAlias());
}
if (!other.getFileName().isEmpty()) {
fileName_ = other.fileName_;
onChanged();
}
if (other.hasSpan()) {
mergeSpan(other.getSpan());
}
if (other.getIsExternal() != false) {
setIsExternal(other.getIsExternal());
}
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 {
gauge.messages.Messages.StepNameResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.StepNameResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private boolean isStepPresent_ ;
/**
*
*/ Flag indicating if there is a match for the given Step Text.
*
*
* bool isStepPresent = 1;
*/
public boolean getIsStepPresent() {
return isStepPresent_;
}
/**
*
*/ Flag indicating if there is a match for the given Step Text.
*
*
* bool isStepPresent = 1;
*/
public Builder setIsStepPresent(boolean value) {
isStepPresent_ = value;
onChanged();
return this;
}
/**
*
*/ Flag indicating if there is a match for the given Step Text.
*
*
* bool isStepPresent = 1;
*/
public Builder clearIsStepPresent() {
isStepPresent_ = false;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList stepName_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureStepNameIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
stepName_ = new com.google.protobuf.LazyStringArrayList(stepName_);
bitField0_ |= 0x00000002;
}
}
/**
*
*/ The Step name of the given step.
*
*
* repeated string stepName = 2;
*/
public com.google.protobuf.ProtocolStringList
getStepNameList() {
return stepName_.getUnmodifiableView();
}
/**
*
*/ The Step name of the given step.
*
*
* repeated string stepName = 2;
*/
public int getStepNameCount() {
return stepName_.size();
}
/**
*
*/ The Step name of the given step.
*
*
* repeated string stepName = 2;
*/
public java.lang.String getStepName(int index) {
return stepName_.get(index);
}
/**
*
*/ The Step name of the given step.
*
*
* repeated string stepName = 2;
*/
public com.google.protobuf.ByteString
getStepNameBytes(int index) {
return stepName_.getByteString(index);
}
/**
*
*/ The Step name of the given step.
*
*
* repeated string stepName = 2;
*/
public Builder setStepName(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureStepNameIsMutable();
stepName_.set(index, value);
onChanged();
return this;
}
/**
*
*/ The Step name of the given step.
*
*
* repeated string stepName = 2;
*/
public Builder addStepName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureStepNameIsMutable();
stepName_.add(value);
onChanged();
return this;
}
/**
*
*/ The Step name of the given step.
*
*
* repeated string stepName = 2;
*/
public Builder addAllStepName(
java.lang.Iterable values) {
ensureStepNameIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, stepName_);
onChanged();
return this;
}
/**
*
*/ The Step name of the given step.
*
*
* repeated string stepName = 2;
*/
public Builder clearStepName() {
stepName_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
*
*/ The Step name of the given step.
*
*
* repeated string stepName = 2;
*/
public Builder addStepNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureStepNameIsMutable();
stepName_.add(value);
onChanged();
return this;
}
private boolean hasAlias_ ;
/**
*
*/ Flag indicating if the given Step is an alias.
*
*
* bool hasAlias = 3;
*/
public boolean getHasAlias() {
return hasAlias_;
}
/**
*
*/ Flag indicating if the given Step is an alias.
*
*
* bool hasAlias = 3;
*/
public Builder setHasAlias(boolean value) {
hasAlias_ = value;
onChanged();
return this;
}
/**
*
*/ Flag indicating if the given Step is an alias.
*
*
* bool hasAlias = 3;
*/
public Builder clearHasAlias() {
hasAlias_ = false;
onChanged();
return this;
}
private java.lang.Object fileName_ = "";
/**
*
*/ File name in which the step implementation exists
*
*
* string fileName = 4;
*/
public java.lang.String getFileName() {
java.lang.Object ref = fileName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fileName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*/ File name in which the step implementation exists
*
*
* string fileName = 4;
*/
public com.google.protobuf.ByteString
getFileNameBytes() {
java.lang.Object ref = fileName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fileName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*/ File name in which the step implementation exists
*
*
* string fileName = 4;
*/
public Builder setFileName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
fileName_ = value;
onChanged();
return this;
}
/**
*
*/ File name in which the step implementation exists
*
*
* string fileName = 4;
*/
public Builder clearFileName() {
fileName_ = getDefaultInstance().getFileName();
onChanged();
return this;
}
/**
*
*/ File name in which the step implementation exists
*
*
* string fileName = 4;
*/
public Builder setFileNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
fileName_ = value;
onChanged();
return this;
}
private gauge.messages.Spec.Span span_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.Span, gauge.messages.Spec.Span.Builder, gauge.messages.Spec.SpanOrBuilder> spanBuilder_;
/**
*
*/ Range of step
*
*
* .gauge.messages.Span span = 5;
*/
public boolean hasSpan() {
return spanBuilder_ != null || span_ != null;
}
/**
*
*/ Range of step
*
*
* .gauge.messages.Span span = 5;
*/
public gauge.messages.Spec.Span getSpan() {
if (spanBuilder_ == null) {
return span_ == null ? gauge.messages.Spec.Span.getDefaultInstance() : span_;
} else {
return spanBuilder_.getMessage();
}
}
/**
*
*/ Range of step
*
*
* .gauge.messages.Span span = 5;
*/
public Builder setSpan(gauge.messages.Spec.Span value) {
if (spanBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
span_ = value;
onChanged();
} else {
spanBuilder_.setMessage(value);
}
return this;
}
/**
*
*/ Range of step
*
*
* .gauge.messages.Span span = 5;
*/
public Builder setSpan(
gauge.messages.Spec.Span.Builder builderForValue) {
if (spanBuilder_ == null) {
span_ = builderForValue.build();
onChanged();
} else {
spanBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
*/ Range of step
*
*
* .gauge.messages.Span span = 5;
*/
public Builder mergeSpan(gauge.messages.Spec.Span value) {
if (spanBuilder_ == null) {
if (span_ != null) {
span_ =
gauge.messages.Spec.Span.newBuilder(span_).mergeFrom(value).buildPartial();
} else {
span_ = value;
}
onChanged();
} else {
spanBuilder_.mergeFrom(value);
}
return this;
}
/**
*
*/ Range of step
*
*
* .gauge.messages.Span span = 5;
*/
public Builder clearSpan() {
if (spanBuilder_ == null) {
span_ = null;
onChanged();
} else {
span_ = null;
spanBuilder_ = null;
}
return this;
}
/**
*
*/ Range of step
*
*
* .gauge.messages.Span span = 5;
*/
public gauge.messages.Spec.Span.Builder getSpanBuilder() {
onChanged();
return getSpanFieldBuilder().getBuilder();
}
/**
*
*/ Range of step
*
*
* .gauge.messages.Span span = 5;
*/
public gauge.messages.Spec.SpanOrBuilder getSpanOrBuilder() {
if (spanBuilder_ != null) {
return spanBuilder_.getMessageOrBuilder();
} else {
return span_ == null ?
gauge.messages.Spec.Span.getDefaultInstance() : span_;
}
}
/**
*
*/ Range of step
*
*
* .gauge.messages.Span span = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.Span, gauge.messages.Spec.Span.Builder, gauge.messages.Spec.SpanOrBuilder>
getSpanFieldBuilder() {
if (spanBuilder_ == null) {
spanBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.Span, gauge.messages.Spec.Span.Builder, gauge.messages.Spec.SpanOrBuilder>(
getSpan(),
getParentForChildren(),
isClean());
span_ = null;
}
return spanBuilder_;
}
private boolean isExternal_ ;
/**
*
*/ Flag indicating if the given Step defined in some external library and the source code can not be accessed.
*
*
* bool isExternal = 6;
*/
public boolean getIsExternal() {
return isExternal_;
}
/**
*
*/ Flag indicating if the given Step defined in some external library and the source code can not be accessed.
*
*
* bool isExternal = 6;
*/
public Builder setIsExternal(boolean value) {
isExternal_ = value;
onChanged();
return this;
}
/**
*
*/ Flag indicating if the given Step defined in some external library and the source code can not be accessed.
*
*
* bool isExternal = 6;
*/
public Builder clearIsExternal() {
isExternal_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.StepNameResponse)
}
// @@protoc_insertion_point(class_scope:gauge.messages.StepNameResponse)
private static final gauge.messages.Messages.StepNameResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.StepNameResponse();
}
public static gauge.messages.Messages.StepNameResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public StepNameResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StepNameResponse(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 gauge.messages.Messages.StepNameResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UnsupportedMessageResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.UnsupportedMessageResponse)
com.google.protobuf.MessageOrBuilder {
/**
* string message = 1;
*/
java.lang.String getMessage();
/**
* string message = 1;
*/
com.google.protobuf.ByteString
getMessageBytes();
}
/**
*
*/ Response when a unsupported message request is sent.
*
*
* Protobuf type {@code gauge.messages.UnsupportedMessageResponse}
*/
public static final class UnsupportedMessageResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.UnsupportedMessageResponse)
UnsupportedMessageResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use UnsupportedMessageResponse.newBuilder() to construct.
private UnsupportedMessageResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private UnsupportedMessageResponse() {
message_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private UnsupportedMessageResponse(
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();
message_ = s;
break;
}
default: {
if (!parseUnknownFieldProto3(
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 gauge.messages.Messages.internal_static_gauge_messages_UnsupportedMessageResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_UnsupportedMessageResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.UnsupportedMessageResponse.class, gauge.messages.Messages.UnsupportedMessageResponse.Builder.class);
}
public static final int MESSAGE_FIELD_NUMBER = 1;
private volatile java.lang.Object message_;
/**
* string message = 1;
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
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();
message_ = s;
return s;
}
}
/**
* string message = 1;
*/
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getMessageBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getMessageBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, message_);
}
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 gauge.messages.Messages.UnsupportedMessageResponse)) {
return super.equals(obj);
}
gauge.messages.Messages.UnsupportedMessageResponse other = (gauge.messages.Messages.UnsupportedMessageResponse) obj;
boolean result = true;
result = result && getMessage()
.equals(other.getMessage());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + MESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getMessage().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.UnsupportedMessageResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.UnsupportedMessageResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.UnsupportedMessageResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.UnsupportedMessageResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.UnsupportedMessageResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.UnsupportedMessageResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.UnsupportedMessageResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.UnsupportedMessageResponse 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 gauge.messages.Messages.UnsupportedMessageResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.UnsupportedMessageResponse 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 gauge.messages.Messages.UnsupportedMessageResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.UnsupportedMessageResponse 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(gauge.messages.Messages.UnsupportedMessageResponse 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;
}
/**
*
*/ Response when a unsupported message request is sent.
*
*
* Protobuf type {@code gauge.messages.UnsupportedMessageResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.UnsupportedMessageResponse)
gauge.messages.Messages.UnsupportedMessageResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_UnsupportedMessageResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_UnsupportedMessageResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.UnsupportedMessageResponse.class, gauge.messages.Messages.UnsupportedMessageResponse.Builder.class);
}
// Construct using gauge.messages.Messages.UnsupportedMessageResponse.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();
message_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_UnsupportedMessageResponse_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.UnsupportedMessageResponse getDefaultInstanceForType() {
return gauge.messages.Messages.UnsupportedMessageResponse.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.UnsupportedMessageResponse build() {
gauge.messages.Messages.UnsupportedMessageResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.UnsupportedMessageResponse buildPartial() {
gauge.messages.Messages.UnsupportedMessageResponse result = new gauge.messages.Messages.UnsupportedMessageResponse(this);
result.message_ = message_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.UnsupportedMessageResponse) {
return mergeFrom((gauge.messages.Messages.UnsupportedMessageResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.UnsupportedMessageResponse other) {
if (other == gauge.messages.Messages.UnsupportedMessageResponse.getDefaultInstance()) return this;
if (!other.getMessage().isEmpty()) {
message_ = other.message_;
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 {
gauge.messages.Messages.UnsupportedMessageResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.UnsupportedMessageResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object message_ = "";
/**
* string message = 1;
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
message_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string message = 1;
*/
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string message = 1;
*/
public Builder setMessage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
message_ = value;
onChanged();
return this;
}
/**
* string message = 1;
*/
public Builder clearMessage() {
message_ = getDefaultInstance().getMessage();
onChanged();
return this;
}
/**
* string message = 1;
*/
public Builder setMessageBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
message_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.UnsupportedMessageResponse)
}
// @@protoc_insertion_point(class_scope:gauge.messages.UnsupportedMessageResponse)
private static final gauge.messages.Messages.UnsupportedMessageResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.UnsupportedMessageResponse();
}
public static gauge.messages.Messages.UnsupportedMessageResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public UnsupportedMessageResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new UnsupportedMessageResponse(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 gauge.messages.Messages.UnsupportedMessageResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CacheFileRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.CacheFileRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*/ File content of the file to be cached
*
*
* string content = 1;
*/
java.lang.String getContent();
/**
*
*/ File content of the file to be cached
*
*
* string content = 1;
*/
com.google.protobuf.ByteString
getContentBytes();
/**
*
*/ File path of the file to be cached
*
*
* string filePath = 2;
*/
java.lang.String getFilePath();
/**
*
*/ File path of the file to be cached
*
*
* string filePath = 2;
*/
com.google.protobuf.ByteString
getFilePathBytes();
/**
*
*/ Specifies if the file is closed
*
*
* bool isClosed = 3;
*/
boolean getIsClosed();
/**
*
*/ Specifies the status of the file
*
*
* .gauge.messages.CacheFileRequest.FileStatus status = 4;
*/
int getStatusValue();
/**
*
*/ Specifies the status of the file
*
*
* .gauge.messages.CacheFileRequest.FileStatus status = 4;
*/
gauge.messages.Messages.CacheFileRequest.FileStatus getStatus();
}
/**
*
*/ Request for caching a file.
* / Gauge sends this request when running in LSP mode,
* / so runner can cache file contents present on the client(an editor).
*
*
* Protobuf type {@code gauge.messages.CacheFileRequest}
*/
public static final class CacheFileRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.CacheFileRequest)
CacheFileRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use CacheFileRequest.newBuilder() to construct.
private CacheFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private CacheFileRequest() {
content_ = "";
filePath_ = "";
isClosed_ = false;
status_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CacheFileRequest(
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();
content_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
filePath_ = s;
break;
}
case 24: {
isClosed_ = input.readBool();
break;
}
case 32: {
int rawValue = input.readEnum();
status_ = rawValue;
break;
}
default: {
if (!parseUnknownFieldProto3(
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 gauge.messages.Messages.internal_static_gauge_messages_CacheFileRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_CacheFileRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.CacheFileRequest.class, gauge.messages.Messages.CacheFileRequest.Builder.class);
}
/**
* Protobuf enum {@code gauge.messages.CacheFileRequest.FileStatus}
*/
public enum FileStatus
implements com.google.protobuf.ProtocolMessageEnum {
/**
*
*/ The file content was changed in the client
*
*
* CHANGED = 0;
*/
CHANGED(0),
/**
*
*/ The file was closed in the client
*
*
* CLOSED = 1;
*/
CLOSED(1),
/**
*
*/ The file was created on the client
*
*
* CREATED = 2;
*/
CREATED(2),
/**
*
*/ The file was deleted on the client
*
*
* DELETED = 3;
*/
DELETED(3),
/**
*
*/ The file is opened in the client
*
*
* OPENED = 4;
*/
OPENED(4),
UNRECOGNIZED(-1),
;
/**
*
*/ The file content was changed in the client
*
*
* CHANGED = 0;
*/
public static final int CHANGED_VALUE = 0;
/**
*
*/ The file was closed in the client
*
*
* CLOSED = 1;
*/
public static final int CLOSED_VALUE = 1;
/**
*
*/ The file was created on the client
*
*
* CREATED = 2;
*/
public static final int CREATED_VALUE = 2;
/**
*
*/ The file was deleted on the client
*
*
* DELETED = 3;
*/
public static final int DELETED_VALUE = 3;
/**
*
*/ The file is opened in the client
*
*
* OPENED = 4;
*/
public static final int OPENED_VALUE = 4;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static FileStatus valueOf(int value) {
return forNumber(value);
}
public static FileStatus forNumber(int value) {
switch (value) {
case 0: return CHANGED;
case 1: return CLOSED;
case 2: return CREATED;
case 3: return DELETED;
case 4: return OPENED;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
FileStatus> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public FileStatus findValueByNumber(int number) {
return FileStatus.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return gauge.messages.Messages.CacheFileRequest.getDescriptor().getEnumTypes().get(0);
}
private static final FileStatus[] VALUES = values();
public static FileStatus valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private FileStatus(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:gauge.messages.CacheFileRequest.FileStatus)
}
public static final int CONTENT_FIELD_NUMBER = 1;
private volatile java.lang.Object content_;
/**
*
*/ File content of the file to be cached
*
*
* string content = 1;
*/
public java.lang.String getContent() {
java.lang.Object ref = content_;
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();
content_ = s;
return s;
}
}
/**
*
*/ File content of the file to be cached
*
*
* string content = 1;
*/
public com.google.protobuf.ByteString
getContentBytes() {
java.lang.Object ref = content_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
content_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FILEPATH_FIELD_NUMBER = 2;
private volatile java.lang.Object filePath_;
/**
*
*/ File path of the file to be cached
*
*
* string filePath = 2;
*/
public java.lang.String getFilePath() {
java.lang.Object ref = filePath_;
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();
filePath_ = s;
return s;
}
}
/**
*
*/ File path of the file to be cached
*
*
* string filePath = 2;
*/
public com.google.protobuf.ByteString
getFilePathBytes() {
java.lang.Object ref = filePath_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
filePath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ISCLOSED_FIELD_NUMBER = 3;
private boolean isClosed_;
/**
*
*/ Specifies if the file is closed
*
*
* bool isClosed = 3;
*/
public boolean getIsClosed() {
return isClosed_;
}
public static final int STATUS_FIELD_NUMBER = 4;
private int status_;
/**
*
*/ Specifies the status of the file
*
*
* .gauge.messages.CacheFileRequest.FileStatus status = 4;
*/
public int getStatusValue() {
return status_;
}
/**
*
*/ Specifies the status of the file
*
*
* .gauge.messages.CacheFileRequest.FileStatus status = 4;
*/
public gauge.messages.Messages.CacheFileRequest.FileStatus getStatus() {
@SuppressWarnings("deprecation")
gauge.messages.Messages.CacheFileRequest.FileStatus result = gauge.messages.Messages.CacheFileRequest.FileStatus.valueOf(status_);
return result == null ? gauge.messages.Messages.CacheFileRequest.FileStatus.UNRECOGNIZED : result;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getContentBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, content_);
}
if (!getFilePathBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filePath_);
}
if (isClosed_ != false) {
output.writeBool(3, isClosed_);
}
if (status_ != gauge.messages.Messages.CacheFileRequest.FileStatus.CHANGED.getNumber()) {
output.writeEnum(4, status_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getContentBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, content_);
}
if (!getFilePathBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filePath_);
}
if (isClosed_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, isClosed_);
}
if (status_ != gauge.messages.Messages.CacheFileRequest.FileStatus.CHANGED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(4, status_);
}
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 gauge.messages.Messages.CacheFileRequest)) {
return super.equals(obj);
}
gauge.messages.Messages.CacheFileRequest other = (gauge.messages.Messages.CacheFileRequest) obj;
boolean result = true;
result = result && getContent()
.equals(other.getContent());
result = result && getFilePath()
.equals(other.getFilePath());
result = result && (getIsClosed()
== other.getIsClosed());
result = result && status_ == other.status_;
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + CONTENT_FIELD_NUMBER;
hash = (53 * hash) + getContent().hashCode();
hash = (37 * hash) + FILEPATH_FIELD_NUMBER;
hash = (53 * hash) + getFilePath().hashCode();
hash = (37 * hash) + ISCLOSED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsClosed());
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + status_;
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.CacheFileRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.CacheFileRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.CacheFileRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.CacheFileRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.CacheFileRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.CacheFileRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.CacheFileRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.CacheFileRequest 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 gauge.messages.Messages.CacheFileRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.CacheFileRequest 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 gauge.messages.Messages.CacheFileRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.CacheFileRequest 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(gauge.messages.Messages.CacheFileRequest 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;
}
/**
*
*/ Request for caching a file.
* / Gauge sends this request when running in LSP mode,
* / so runner can cache file contents present on the client(an editor).
*
*
* Protobuf type {@code gauge.messages.CacheFileRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.CacheFileRequest)
gauge.messages.Messages.CacheFileRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_CacheFileRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_CacheFileRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.CacheFileRequest.class, gauge.messages.Messages.CacheFileRequest.Builder.class);
}
// Construct using gauge.messages.Messages.CacheFileRequest.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();
content_ = "";
filePath_ = "";
isClosed_ = false;
status_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_CacheFileRequest_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.CacheFileRequest getDefaultInstanceForType() {
return gauge.messages.Messages.CacheFileRequest.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.CacheFileRequest build() {
gauge.messages.Messages.CacheFileRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.CacheFileRequest buildPartial() {
gauge.messages.Messages.CacheFileRequest result = new gauge.messages.Messages.CacheFileRequest(this);
result.content_ = content_;
result.filePath_ = filePath_;
result.isClosed_ = isClosed_;
result.status_ = status_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.CacheFileRequest) {
return mergeFrom((gauge.messages.Messages.CacheFileRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.CacheFileRequest other) {
if (other == gauge.messages.Messages.CacheFileRequest.getDefaultInstance()) return this;
if (!other.getContent().isEmpty()) {
content_ = other.content_;
onChanged();
}
if (!other.getFilePath().isEmpty()) {
filePath_ = other.filePath_;
onChanged();
}
if (other.getIsClosed() != false) {
setIsClosed(other.getIsClosed());
}
if (other.status_ != 0) {
setStatusValue(other.getStatusValue());
}
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 {
gauge.messages.Messages.CacheFileRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.CacheFileRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object content_ = "";
/**
*
*/ File content of the file to be cached
*
*
* string content = 1;
*/
public java.lang.String getContent() {
java.lang.Object ref = content_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
content_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*/ File content of the file to be cached
*
*
* string content = 1;
*/
public com.google.protobuf.ByteString
getContentBytes() {
java.lang.Object ref = content_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
content_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*/ File content of the file to be cached
*
*
* string content = 1;
*/
public Builder setContent(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
content_ = value;
onChanged();
return this;
}
/**
*
*/ File content of the file to be cached
*
*
* string content = 1;
*/
public Builder clearContent() {
content_ = getDefaultInstance().getContent();
onChanged();
return this;
}
/**
*
*/ File content of the file to be cached
*
*
* string content = 1;
*/
public Builder setContentBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
content_ = value;
onChanged();
return this;
}
private java.lang.Object filePath_ = "";
/**
*
*/ File path of the file to be cached
*
*
* string filePath = 2;
*/
public java.lang.String getFilePath() {
java.lang.Object ref = filePath_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
filePath_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*/ File path of the file to be cached
*
*
* string filePath = 2;
*/
public com.google.protobuf.ByteString
getFilePathBytes() {
java.lang.Object ref = filePath_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
filePath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*/ File path of the file to be cached
*
*
* string filePath = 2;
*/
public Builder setFilePath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
filePath_ = value;
onChanged();
return this;
}
/**
*
*/ File path of the file to be cached
*
*
* string filePath = 2;
*/
public Builder clearFilePath() {
filePath_ = getDefaultInstance().getFilePath();
onChanged();
return this;
}
/**
*
*/ File path of the file to be cached
*
*
* string filePath = 2;
*/
public Builder setFilePathBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
filePath_ = value;
onChanged();
return this;
}
private boolean isClosed_ ;
/**
*
*/ Specifies if the file is closed
*
*
* bool isClosed = 3;
*/
public boolean getIsClosed() {
return isClosed_;
}
/**
*
*/ Specifies if the file is closed
*
*
* bool isClosed = 3;
*/
public Builder setIsClosed(boolean value) {
isClosed_ = value;
onChanged();
return this;
}
/**
*
*/ Specifies if the file is closed
*
*
* bool isClosed = 3;
*/
public Builder clearIsClosed() {
isClosed_ = false;
onChanged();
return this;
}
private int status_ = 0;
/**
*
*/ Specifies the status of the file
*
*
* .gauge.messages.CacheFileRequest.FileStatus status = 4;
*/
public int getStatusValue() {
return status_;
}
/**
*
*/ Specifies the status of the file
*
*
* .gauge.messages.CacheFileRequest.FileStatus status = 4;
*/
public Builder setStatusValue(int value) {
status_ = value;
onChanged();
return this;
}
/**
*
*/ Specifies the status of the file
*
*
* .gauge.messages.CacheFileRequest.FileStatus status = 4;
*/
public gauge.messages.Messages.CacheFileRequest.FileStatus getStatus() {
@SuppressWarnings("deprecation")
gauge.messages.Messages.CacheFileRequest.FileStatus result = gauge.messages.Messages.CacheFileRequest.FileStatus.valueOf(status_);
return result == null ? gauge.messages.Messages.CacheFileRequest.FileStatus.UNRECOGNIZED : result;
}
/**
*
*/ Specifies the status of the file
*
*
* .gauge.messages.CacheFileRequest.FileStatus status = 4;
*/
public Builder setStatus(gauge.messages.Messages.CacheFileRequest.FileStatus value) {
if (value == null) {
throw new NullPointerException();
}
status_ = value.getNumber();
onChanged();
return this;
}
/**
*
*/ Specifies the status of the file
*
*
* .gauge.messages.CacheFileRequest.FileStatus status = 4;
*/
public Builder clearStatus() {
status_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.CacheFileRequest)
}
// @@protoc_insertion_point(class_scope:gauge.messages.CacheFileRequest)
private static final gauge.messages.Messages.CacheFileRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.CacheFileRequest();
}
public static gauge.messages.Messages.CacheFileRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CacheFileRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CacheFileRequest(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 gauge.messages.Messages.CacheFileRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StepPositionsRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.StepPositionsRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*/ Get step positions for file path
*
*
* string filePath = 1;
*/
java.lang.String getFilePath();
/**
*
*/ Get step positions for file path
*
*
* string filePath = 1;
*/
com.google.protobuf.ByteString
getFilePathBytes();
}
/**
*
*/ Request for find step positions
*
*
* Protobuf type {@code gauge.messages.StepPositionsRequest}
*/
public static final class StepPositionsRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.StepPositionsRequest)
StepPositionsRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use StepPositionsRequest.newBuilder() to construct.
private StepPositionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private StepPositionsRequest() {
filePath_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StepPositionsRequest(
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();
filePath_ = s;
break;
}
default: {
if (!parseUnknownFieldProto3(
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 gauge.messages.Messages.internal_static_gauge_messages_StepPositionsRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_StepPositionsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.StepPositionsRequest.class, gauge.messages.Messages.StepPositionsRequest.Builder.class);
}
public static final int FILEPATH_FIELD_NUMBER = 1;
private volatile java.lang.Object filePath_;
/**
*
*/ Get step positions for file path
*
*
* string filePath = 1;
*/
public java.lang.String getFilePath() {
java.lang.Object ref = filePath_;
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();
filePath_ = s;
return s;
}
}
/**
*
*/ Get step positions for file path
*
*
* string filePath = 1;
*/
public com.google.protobuf.ByteString
getFilePathBytes() {
java.lang.Object ref = filePath_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
filePath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getFilePathBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filePath_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getFilePathBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, filePath_);
}
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 gauge.messages.Messages.StepPositionsRequest)) {
return super.equals(obj);
}
gauge.messages.Messages.StepPositionsRequest other = (gauge.messages.Messages.StepPositionsRequest) obj;
boolean result = true;
result = result && getFilePath()
.equals(other.getFilePath());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + FILEPATH_FIELD_NUMBER;
hash = (53 * hash) + getFilePath().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.StepPositionsRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepPositionsRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepPositionsRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepPositionsRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepPositionsRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepPositionsRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepPositionsRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepPositionsRequest 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 gauge.messages.Messages.StepPositionsRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepPositionsRequest 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 gauge.messages.Messages.StepPositionsRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepPositionsRequest 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(gauge.messages.Messages.StepPositionsRequest 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;
}
/**
*
*/ Request for find step positions
*
*
* Protobuf type {@code gauge.messages.StepPositionsRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.StepPositionsRequest)
gauge.messages.Messages.StepPositionsRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_StepPositionsRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_StepPositionsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.StepPositionsRequest.class, gauge.messages.Messages.StepPositionsRequest.Builder.class);
}
// Construct using gauge.messages.Messages.StepPositionsRequest.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();
filePath_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_StepPositionsRequest_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.StepPositionsRequest getDefaultInstanceForType() {
return gauge.messages.Messages.StepPositionsRequest.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.StepPositionsRequest build() {
gauge.messages.Messages.StepPositionsRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.StepPositionsRequest buildPartial() {
gauge.messages.Messages.StepPositionsRequest result = new gauge.messages.Messages.StepPositionsRequest(this);
result.filePath_ = filePath_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.StepPositionsRequest) {
return mergeFrom((gauge.messages.Messages.StepPositionsRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.StepPositionsRequest other) {
if (other == gauge.messages.Messages.StepPositionsRequest.getDefaultInstance()) return this;
if (!other.getFilePath().isEmpty()) {
filePath_ = other.filePath_;
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 {
gauge.messages.Messages.StepPositionsRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.StepPositionsRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object filePath_ = "";
/**
*
*/ Get step positions for file path
*
*
* string filePath = 1;
*/
public java.lang.String getFilePath() {
java.lang.Object ref = filePath_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
filePath_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*/ Get step positions for file path
*
*
* string filePath = 1;
*/
public com.google.protobuf.ByteString
getFilePathBytes() {
java.lang.Object ref = filePath_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
filePath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*/ Get step positions for file path
*
*
* string filePath = 1;
*/
public Builder setFilePath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
filePath_ = value;
onChanged();
return this;
}
/**
*
*/ Get step positions for file path
*
*
* string filePath = 1;
*/
public Builder clearFilePath() {
filePath_ = getDefaultInstance().getFilePath();
onChanged();
return this;
}
/**
*
*/ Get step positions for file path
*
*
* string filePath = 1;
*/
public Builder setFilePathBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
filePath_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.StepPositionsRequest)
}
// @@protoc_insertion_point(class_scope:gauge.messages.StepPositionsRequest)
private static final gauge.messages.Messages.StepPositionsRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.StepPositionsRequest();
}
public static gauge.messages.Messages.StepPositionsRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public StepPositionsRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StepPositionsRequest(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 gauge.messages.Messages.StepPositionsRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StepPositionsResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.StepPositionsResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
*/ Step Position
*
*
* repeated .gauge.messages.StepPositionsResponse.StepPosition stepPositions = 1;
*/
java.util.List
getStepPositionsList();
/**
*
*/ Step Position
*
*
* repeated .gauge.messages.StepPositionsResponse.StepPosition stepPositions = 1;
*/
gauge.messages.Messages.StepPositionsResponse.StepPosition getStepPositions(int index);
/**
*
*/ Step Position
*
*
* repeated .gauge.messages.StepPositionsResponse.StepPosition stepPositions = 1;
*/
int getStepPositionsCount();
/**
*
*/ Step Position
*
*
* repeated .gauge.messages.StepPositionsResponse.StepPosition stepPositions = 1;
*/
java.util.List
getStepPositionsOrBuilderList();
/**
*
*/ Step Position
*
*
* repeated .gauge.messages.StepPositionsResponse.StepPosition stepPositions = 1;
*/
gauge.messages.Messages.StepPositionsResponse.StepPositionOrBuilder getStepPositionsOrBuilder(
int index);
/**
*
*/ Error message
*
*
* string error = 2;
*/
java.lang.String getError();
/**
*
*/ Error message
*
*
* string error = 2;
*/
com.google.protobuf.ByteString
getErrorBytes();
}
/**
*
*/ Response for find step positions
*
*
* Protobuf type {@code gauge.messages.StepPositionsResponse}
*/
public static final class StepPositionsResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.StepPositionsResponse)
StepPositionsResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use StepPositionsResponse.newBuilder() to construct.
private StepPositionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private StepPositionsResponse() {
stepPositions_ = java.util.Collections.emptyList();
error_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StepPositionsResponse(
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) == 0x00000001)) {
stepPositions_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
stepPositions_.add(
input.readMessage(gauge.messages.Messages.StepPositionsResponse.StepPosition.parser(), extensionRegistry));
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
error_ = s;
break;
}
default: {
if (!parseUnknownFieldProto3(
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) == 0x00000001)) {
stepPositions_ = java.util.Collections.unmodifiableList(stepPositions_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_StepPositionsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_StepPositionsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.StepPositionsResponse.class, gauge.messages.Messages.StepPositionsResponse.Builder.class);
}
public interface StepPositionOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.StepPositionsResponse.StepPosition)
com.google.protobuf.MessageOrBuilder {
/**
*
*/ Step Value
*
*
* string stepValue = 1;
*/
java.lang.String getStepValue();
/**
*
*/ Step Value
*
*
* string stepValue = 1;
*/
com.google.protobuf.ByteString
getStepValueBytes();
/**
*
*/ Range of step
*
*
* .gauge.messages.Span span = 2;
*/
boolean hasSpan();
/**
*
*/ Range of step
*
*
* .gauge.messages.Span span = 2;
*/
gauge.messages.Spec.Span getSpan();
/**
*
*/ Range of step
*
*
* .gauge.messages.Span span = 2;
*/
gauge.messages.Spec.SpanOrBuilder getSpanOrBuilder();
}
/**
*
*/ Step position for each step implementation
*
*
* Protobuf type {@code gauge.messages.StepPositionsResponse.StepPosition}
*/
public static final class StepPosition extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.StepPositionsResponse.StepPosition)
StepPositionOrBuilder {
private static final long serialVersionUID = 0L;
// Use StepPosition.newBuilder() to construct.
private StepPosition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private StepPosition() {
stepValue_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StepPosition(
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();
stepValue_ = s;
break;
}
case 18: {
gauge.messages.Spec.Span.Builder subBuilder = null;
if (span_ != null) {
subBuilder = span_.toBuilder();
}
span_ = input.readMessage(gauge.messages.Spec.Span.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(span_);
span_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownFieldProto3(
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 gauge.messages.Messages.internal_static_gauge_messages_StepPositionsResponse_StepPosition_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_StepPositionsResponse_StepPosition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.StepPositionsResponse.StepPosition.class, gauge.messages.Messages.StepPositionsResponse.StepPosition.Builder.class);
}
public static final int STEPVALUE_FIELD_NUMBER = 1;
private volatile java.lang.Object stepValue_;
/**
*
*/ Step Value
*
*
* string stepValue = 1;
*/
public java.lang.String getStepValue() {
java.lang.Object ref = stepValue_;
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();
stepValue_ = s;
return s;
}
}
/**
*
*/ Step Value
*
*
* string stepValue = 1;
*/
public com.google.protobuf.ByteString
getStepValueBytes() {
java.lang.Object ref = stepValue_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stepValue_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SPAN_FIELD_NUMBER = 2;
private gauge.messages.Spec.Span span_;
/**
*
*/ Range of step
*
*
* .gauge.messages.Span span = 2;
*/
public boolean hasSpan() {
return span_ != null;
}
/**
*
*/ Range of step
*
*
* .gauge.messages.Span span = 2;
*/
public gauge.messages.Spec.Span getSpan() {
return span_ == null ? gauge.messages.Spec.Span.getDefaultInstance() : span_;
}
/**
*
*/ Range of step
*
*
* .gauge.messages.Span span = 2;
*/
public gauge.messages.Spec.SpanOrBuilder getSpanOrBuilder() {
return getSpan();
}
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 (!getStepValueBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, stepValue_);
}
if (span_ != null) {
output.writeMessage(2, getSpan());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getStepValueBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, stepValue_);
}
if (span_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getSpan());
}
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 gauge.messages.Messages.StepPositionsResponse.StepPosition)) {
return super.equals(obj);
}
gauge.messages.Messages.StepPositionsResponse.StepPosition other = (gauge.messages.Messages.StepPositionsResponse.StepPosition) obj;
boolean result = true;
result = result && getStepValue()
.equals(other.getStepValue());
result = result && (hasSpan() == other.hasSpan());
if (hasSpan()) {
result = result && getSpan()
.equals(other.getSpan());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + STEPVALUE_FIELD_NUMBER;
hash = (53 * hash) + getStepValue().hashCode();
if (hasSpan()) {
hash = (37 * hash) + SPAN_FIELD_NUMBER;
hash = (53 * hash) + getSpan().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.StepPositionsResponse.StepPosition parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepPositionsResponse.StepPosition parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepPositionsResponse.StepPosition parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepPositionsResponse.StepPosition parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepPositionsResponse.StepPosition parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepPositionsResponse.StepPosition parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepPositionsResponse.StepPosition parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepPositionsResponse.StepPosition 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 gauge.messages.Messages.StepPositionsResponse.StepPosition parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepPositionsResponse.StepPosition 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 gauge.messages.Messages.StepPositionsResponse.StepPosition parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepPositionsResponse.StepPosition 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(gauge.messages.Messages.StepPositionsResponse.StepPosition 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;
}
/**
*
*/ Step position for each step implementation
*
*
* Protobuf type {@code gauge.messages.StepPositionsResponse.StepPosition}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.StepPositionsResponse.StepPosition)
gauge.messages.Messages.StepPositionsResponse.StepPositionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_StepPositionsResponse_StepPosition_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_StepPositionsResponse_StepPosition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.StepPositionsResponse.StepPosition.class, gauge.messages.Messages.StepPositionsResponse.StepPosition.Builder.class);
}
// Construct using gauge.messages.Messages.StepPositionsResponse.StepPosition.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();
stepValue_ = "";
if (spanBuilder_ == null) {
span_ = null;
} else {
span_ = null;
spanBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_StepPositionsResponse_StepPosition_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.StepPositionsResponse.StepPosition getDefaultInstanceForType() {
return gauge.messages.Messages.StepPositionsResponse.StepPosition.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.StepPositionsResponse.StepPosition build() {
gauge.messages.Messages.StepPositionsResponse.StepPosition result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.StepPositionsResponse.StepPosition buildPartial() {
gauge.messages.Messages.StepPositionsResponse.StepPosition result = new gauge.messages.Messages.StepPositionsResponse.StepPosition(this);
result.stepValue_ = stepValue_;
if (spanBuilder_ == null) {
result.span_ = span_;
} else {
result.span_ = spanBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.StepPositionsResponse.StepPosition) {
return mergeFrom((gauge.messages.Messages.StepPositionsResponse.StepPosition)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.StepPositionsResponse.StepPosition other) {
if (other == gauge.messages.Messages.StepPositionsResponse.StepPosition.getDefaultInstance()) return this;
if (!other.getStepValue().isEmpty()) {
stepValue_ = other.stepValue_;
onChanged();
}
if (other.hasSpan()) {
mergeSpan(other.getSpan());
}
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 {
gauge.messages.Messages.StepPositionsResponse.StepPosition parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.StepPositionsResponse.StepPosition) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object stepValue_ = "";
/**
*
*/ Step Value
*
*
* string stepValue = 1;
*/
public java.lang.String getStepValue() {
java.lang.Object ref = stepValue_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
stepValue_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*/ Step Value
*
*
* string stepValue = 1;
*/
public com.google.protobuf.ByteString
getStepValueBytes() {
java.lang.Object ref = stepValue_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stepValue_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*/ Step Value
*
*
* string stepValue = 1;
*/
public Builder setStepValue(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
stepValue_ = value;
onChanged();
return this;
}
/**
*
*/ Step Value
*
*
* string stepValue = 1;
*/
public Builder clearStepValue() {
stepValue_ = getDefaultInstance().getStepValue();
onChanged();
return this;
}
/**
*
*/ Step Value
*
*
* string stepValue = 1;
*/
public Builder setStepValueBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
stepValue_ = value;
onChanged();
return this;
}
private gauge.messages.Spec.Span span_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.Span, gauge.messages.Spec.Span.Builder, gauge.messages.Spec.SpanOrBuilder> spanBuilder_;
/**
*
*/ Range of step
*
*
* .gauge.messages.Span span = 2;
*/
public boolean hasSpan() {
return spanBuilder_ != null || span_ != null;
}
/**
*
*/ Range of step
*
*
* .gauge.messages.Span span = 2;
*/
public gauge.messages.Spec.Span getSpan() {
if (spanBuilder_ == null) {
return span_ == null ? gauge.messages.Spec.Span.getDefaultInstance() : span_;
} else {
return spanBuilder_.getMessage();
}
}
/**
*
*/ Range of step
*
*
* .gauge.messages.Span span = 2;
*/
public Builder setSpan(gauge.messages.Spec.Span value) {
if (spanBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
span_ = value;
onChanged();
} else {
spanBuilder_.setMessage(value);
}
return this;
}
/**
*
*/ Range of step
*
*
* .gauge.messages.Span span = 2;
*/
public Builder setSpan(
gauge.messages.Spec.Span.Builder builderForValue) {
if (spanBuilder_ == null) {
span_ = builderForValue.build();
onChanged();
} else {
spanBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
*/ Range of step
*
*
* .gauge.messages.Span span = 2;
*/
public Builder mergeSpan(gauge.messages.Spec.Span value) {
if (spanBuilder_ == null) {
if (span_ != null) {
span_ =
gauge.messages.Spec.Span.newBuilder(span_).mergeFrom(value).buildPartial();
} else {
span_ = value;
}
onChanged();
} else {
spanBuilder_.mergeFrom(value);
}
return this;
}
/**
*
*/ Range of step
*
*
* .gauge.messages.Span span = 2;
*/
public Builder clearSpan() {
if (spanBuilder_ == null) {
span_ = null;
onChanged();
} else {
span_ = null;
spanBuilder_ = null;
}
return this;
}
/**
*
*/ Range of step
*
*
* .gauge.messages.Span span = 2;
*/
public gauge.messages.Spec.Span.Builder getSpanBuilder() {
onChanged();
return getSpanFieldBuilder().getBuilder();
}
/**
*
*/ Range of step
*
*
* .gauge.messages.Span span = 2;
*/
public gauge.messages.Spec.SpanOrBuilder getSpanOrBuilder() {
if (spanBuilder_ != null) {
return spanBuilder_.getMessageOrBuilder();
} else {
return span_ == null ?
gauge.messages.Spec.Span.getDefaultInstance() : span_;
}
}
/**
*
*/ Range of step
*
*
* .gauge.messages.Span span = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.Span, gauge.messages.Spec.Span.Builder, gauge.messages.Spec.SpanOrBuilder>
getSpanFieldBuilder() {
if (spanBuilder_ == null) {
spanBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
gauge.messages.Spec.Span, gauge.messages.Spec.Span.Builder, gauge.messages.Spec.SpanOrBuilder>(
getSpan(),
getParentForChildren(),
isClean());
span_ = null;
}
return spanBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.StepPositionsResponse.StepPosition)
}
// @@protoc_insertion_point(class_scope:gauge.messages.StepPositionsResponse.StepPosition)
private static final gauge.messages.Messages.StepPositionsResponse.StepPosition DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.StepPositionsResponse.StepPosition();
}
public static gauge.messages.Messages.StepPositionsResponse.StepPosition getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public StepPosition parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StepPosition(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 gauge.messages.Messages.StepPositionsResponse.StepPosition getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private int bitField0_;
public static final int STEPPOSITIONS_FIELD_NUMBER = 1;
private java.util.List stepPositions_;
/**
*
*/ Step Position
*
*
* repeated .gauge.messages.StepPositionsResponse.StepPosition stepPositions = 1;
*/
public java.util.List getStepPositionsList() {
return stepPositions_;
}
/**
*
*/ Step Position
*
*
* repeated .gauge.messages.StepPositionsResponse.StepPosition stepPositions = 1;
*/
public java.util.List
getStepPositionsOrBuilderList() {
return stepPositions_;
}
/**
*
*/ Step Position
*
*
* repeated .gauge.messages.StepPositionsResponse.StepPosition stepPositions = 1;
*/
public int getStepPositionsCount() {
return stepPositions_.size();
}
/**
*
*/ Step Position
*
*
* repeated .gauge.messages.StepPositionsResponse.StepPosition stepPositions = 1;
*/
public gauge.messages.Messages.StepPositionsResponse.StepPosition getStepPositions(int index) {
return stepPositions_.get(index);
}
/**
*
*/ Step Position
*
*
* repeated .gauge.messages.StepPositionsResponse.StepPosition stepPositions = 1;
*/
public gauge.messages.Messages.StepPositionsResponse.StepPositionOrBuilder getStepPositionsOrBuilder(
int index) {
return stepPositions_.get(index);
}
public static final int ERROR_FIELD_NUMBER = 2;
private volatile java.lang.Object error_;
/**
*
*/ Error message
*
*
* string error = 2;
*/
public java.lang.String getError() {
java.lang.Object ref = error_;
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();
error_ = s;
return s;
}
}
/**
*
*/ Error message
*
*
* string error = 2;
*/
public com.google.protobuf.ByteString
getErrorBytes() {
java.lang.Object ref = error_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
error_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < stepPositions_.size(); i++) {
output.writeMessage(1, stepPositions_.get(i));
}
if (!getErrorBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, error_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < stepPositions_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, stepPositions_.get(i));
}
if (!getErrorBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, error_);
}
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 gauge.messages.Messages.StepPositionsResponse)) {
return super.equals(obj);
}
gauge.messages.Messages.StepPositionsResponse other = (gauge.messages.Messages.StepPositionsResponse) obj;
boolean result = true;
result = result && getStepPositionsList()
.equals(other.getStepPositionsList());
result = result && getError()
.equals(other.getError());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getStepPositionsCount() > 0) {
hash = (37 * hash) + STEPPOSITIONS_FIELD_NUMBER;
hash = (53 * hash) + getStepPositionsList().hashCode();
}
hash = (37 * hash) + ERROR_FIELD_NUMBER;
hash = (53 * hash) + getError().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.StepPositionsResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepPositionsResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepPositionsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepPositionsResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepPositionsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.StepPositionsResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.StepPositionsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepPositionsResponse 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 gauge.messages.Messages.StepPositionsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepPositionsResponse 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 gauge.messages.Messages.StepPositionsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.StepPositionsResponse 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(gauge.messages.Messages.StepPositionsResponse 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;
}
/**
*
*/ Response for find step positions
*
*
* Protobuf type {@code gauge.messages.StepPositionsResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.StepPositionsResponse)
gauge.messages.Messages.StepPositionsResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_StepPositionsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_StepPositionsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.StepPositionsResponse.class, gauge.messages.Messages.StepPositionsResponse.Builder.class);
}
// Construct using gauge.messages.Messages.StepPositionsResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStepPositionsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (stepPositionsBuilder_ == null) {
stepPositions_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
stepPositionsBuilder_.clear();
}
error_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_StepPositionsResponse_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.StepPositionsResponse getDefaultInstanceForType() {
return gauge.messages.Messages.StepPositionsResponse.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.StepPositionsResponse build() {
gauge.messages.Messages.StepPositionsResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.StepPositionsResponse buildPartial() {
gauge.messages.Messages.StepPositionsResponse result = new gauge.messages.Messages.StepPositionsResponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (stepPositionsBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
stepPositions_ = java.util.Collections.unmodifiableList(stepPositions_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.stepPositions_ = stepPositions_;
} else {
result.stepPositions_ = stepPositionsBuilder_.build();
}
result.error_ = error_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.StepPositionsResponse) {
return mergeFrom((gauge.messages.Messages.StepPositionsResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.StepPositionsResponse other) {
if (other == gauge.messages.Messages.StepPositionsResponse.getDefaultInstance()) return this;
if (stepPositionsBuilder_ == null) {
if (!other.stepPositions_.isEmpty()) {
if (stepPositions_.isEmpty()) {
stepPositions_ = other.stepPositions_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureStepPositionsIsMutable();
stepPositions_.addAll(other.stepPositions_);
}
onChanged();
}
} else {
if (!other.stepPositions_.isEmpty()) {
if (stepPositionsBuilder_.isEmpty()) {
stepPositionsBuilder_.dispose();
stepPositionsBuilder_ = null;
stepPositions_ = other.stepPositions_;
bitField0_ = (bitField0_ & ~0x00000001);
stepPositionsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getStepPositionsFieldBuilder() : null;
} else {
stepPositionsBuilder_.addAllMessages(other.stepPositions_);
}
}
}
if (!other.getError().isEmpty()) {
error_ = other.error_;
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 {
gauge.messages.Messages.StepPositionsResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.StepPositionsResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List stepPositions_ =
java.util.Collections.emptyList();
private void ensureStepPositionsIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
stepPositions_ = new java.util.ArrayList(stepPositions_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
gauge.messages.Messages.StepPositionsResponse.StepPosition, gauge.messages.Messages.StepPositionsResponse.StepPosition.Builder, gauge.messages.Messages.StepPositionsResponse.StepPositionOrBuilder> stepPositionsBuilder_;
/**
*
*/ Step Position
*
*
* repeated .gauge.messages.StepPositionsResponse.StepPosition stepPositions = 1;
*/
public java.util.List getStepPositionsList() {
if (stepPositionsBuilder_ == null) {
return java.util.Collections.unmodifiableList(stepPositions_);
} else {
return stepPositionsBuilder_.getMessageList();
}
}
/**
*
*/ Step Position
*
*
* repeated .gauge.messages.StepPositionsResponse.StepPosition stepPositions = 1;
*/
public int getStepPositionsCount() {
if (stepPositionsBuilder_ == null) {
return stepPositions_.size();
} else {
return stepPositionsBuilder_.getCount();
}
}
/**
*
*/ Step Position
*
*
* repeated .gauge.messages.StepPositionsResponse.StepPosition stepPositions = 1;
*/
public gauge.messages.Messages.StepPositionsResponse.StepPosition getStepPositions(int index) {
if (stepPositionsBuilder_ == null) {
return stepPositions_.get(index);
} else {
return stepPositionsBuilder_.getMessage(index);
}
}
/**
*
*/ Step Position
*
*
* repeated .gauge.messages.StepPositionsResponse.StepPosition stepPositions = 1;
*/
public Builder setStepPositions(
int index, gauge.messages.Messages.StepPositionsResponse.StepPosition value) {
if (stepPositionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStepPositionsIsMutable();
stepPositions_.set(index, value);
onChanged();
} else {
stepPositionsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
*/ Step Position
*
*
* repeated .gauge.messages.StepPositionsResponse.StepPosition stepPositions = 1;
*/
public Builder setStepPositions(
int index, gauge.messages.Messages.StepPositionsResponse.StepPosition.Builder builderForValue) {
if (stepPositionsBuilder_ == null) {
ensureStepPositionsIsMutable();
stepPositions_.set(index, builderForValue.build());
onChanged();
} else {
stepPositionsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
*/ Step Position
*
*
* repeated .gauge.messages.StepPositionsResponse.StepPosition stepPositions = 1;
*/
public Builder addStepPositions(gauge.messages.Messages.StepPositionsResponse.StepPosition value) {
if (stepPositionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStepPositionsIsMutable();
stepPositions_.add(value);
onChanged();
} else {
stepPositionsBuilder_.addMessage(value);
}
return this;
}
/**
*
*/ Step Position
*
*
* repeated .gauge.messages.StepPositionsResponse.StepPosition stepPositions = 1;
*/
public Builder addStepPositions(
int index, gauge.messages.Messages.StepPositionsResponse.StepPosition value) {
if (stepPositionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStepPositionsIsMutable();
stepPositions_.add(index, value);
onChanged();
} else {
stepPositionsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
*/ Step Position
*
*
* repeated .gauge.messages.StepPositionsResponse.StepPosition stepPositions = 1;
*/
public Builder addStepPositions(
gauge.messages.Messages.StepPositionsResponse.StepPosition.Builder builderForValue) {
if (stepPositionsBuilder_ == null) {
ensureStepPositionsIsMutable();
stepPositions_.add(builderForValue.build());
onChanged();
} else {
stepPositionsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
*/ Step Position
*
*
* repeated .gauge.messages.StepPositionsResponse.StepPosition stepPositions = 1;
*/
public Builder addStepPositions(
int index, gauge.messages.Messages.StepPositionsResponse.StepPosition.Builder builderForValue) {
if (stepPositionsBuilder_ == null) {
ensureStepPositionsIsMutable();
stepPositions_.add(index, builderForValue.build());
onChanged();
} else {
stepPositionsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
*/ Step Position
*
*
* repeated .gauge.messages.StepPositionsResponse.StepPosition stepPositions = 1;
*/
public Builder addAllStepPositions(
java.lang.Iterable values) {
if (stepPositionsBuilder_ == null) {
ensureStepPositionsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, stepPositions_);
onChanged();
} else {
stepPositionsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
*/ Step Position
*
*
* repeated .gauge.messages.StepPositionsResponse.StepPosition stepPositions = 1;
*/
public Builder clearStepPositions() {
if (stepPositionsBuilder_ == null) {
stepPositions_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
stepPositionsBuilder_.clear();
}
return this;
}
/**
*
*/ Step Position
*
*
* repeated .gauge.messages.StepPositionsResponse.StepPosition stepPositions = 1;
*/
public Builder removeStepPositions(int index) {
if (stepPositionsBuilder_ == null) {
ensureStepPositionsIsMutable();
stepPositions_.remove(index);
onChanged();
} else {
stepPositionsBuilder_.remove(index);
}
return this;
}
/**
*
*/ Step Position
*
*
* repeated .gauge.messages.StepPositionsResponse.StepPosition stepPositions = 1;
*/
public gauge.messages.Messages.StepPositionsResponse.StepPosition.Builder getStepPositionsBuilder(
int index) {
return getStepPositionsFieldBuilder().getBuilder(index);
}
/**
*
*/ Step Position
*
*
* repeated .gauge.messages.StepPositionsResponse.StepPosition stepPositions = 1;
*/
public gauge.messages.Messages.StepPositionsResponse.StepPositionOrBuilder getStepPositionsOrBuilder(
int index) {
if (stepPositionsBuilder_ == null) {
return stepPositions_.get(index); } else {
return stepPositionsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
*/ Step Position
*
*
* repeated .gauge.messages.StepPositionsResponse.StepPosition stepPositions = 1;
*/
public java.util.List
getStepPositionsOrBuilderList() {
if (stepPositionsBuilder_ != null) {
return stepPositionsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(stepPositions_);
}
}
/**
*
*/ Step Position
*
*
* repeated .gauge.messages.StepPositionsResponse.StepPosition stepPositions = 1;
*/
public gauge.messages.Messages.StepPositionsResponse.StepPosition.Builder addStepPositionsBuilder() {
return getStepPositionsFieldBuilder().addBuilder(
gauge.messages.Messages.StepPositionsResponse.StepPosition.getDefaultInstance());
}
/**
*
*/ Step Position
*
*
* repeated .gauge.messages.StepPositionsResponse.StepPosition stepPositions = 1;
*/
public gauge.messages.Messages.StepPositionsResponse.StepPosition.Builder addStepPositionsBuilder(
int index) {
return getStepPositionsFieldBuilder().addBuilder(
index, gauge.messages.Messages.StepPositionsResponse.StepPosition.getDefaultInstance());
}
/**
*
*/ Step Position
*
*
* repeated .gauge.messages.StepPositionsResponse.StepPosition stepPositions = 1;
*/
public java.util.List
getStepPositionsBuilderList() {
return getStepPositionsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
gauge.messages.Messages.StepPositionsResponse.StepPosition, gauge.messages.Messages.StepPositionsResponse.StepPosition.Builder, gauge.messages.Messages.StepPositionsResponse.StepPositionOrBuilder>
getStepPositionsFieldBuilder() {
if (stepPositionsBuilder_ == null) {
stepPositionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
gauge.messages.Messages.StepPositionsResponse.StepPosition, gauge.messages.Messages.StepPositionsResponse.StepPosition.Builder, gauge.messages.Messages.StepPositionsResponse.StepPositionOrBuilder>(
stepPositions_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
stepPositions_ = null;
}
return stepPositionsBuilder_;
}
private java.lang.Object error_ = "";
/**
*
*/ Error message
*
*
* string error = 2;
*/
public java.lang.String getError() {
java.lang.Object ref = error_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
error_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*/ Error message
*
*
* string error = 2;
*/
public com.google.protobuf.ByteString
getErrorBytes() {
java.lang.Object ref = error_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
error_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*/ Error message
*
*
* string error = 2;
*/
public Builder setError(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
error_ = value;
onChanged();
return this;
}
/**
*
*/ Error message
*
*
* string error = 2;
*/
public Builder clearError() {
error_ = getDefaultInstance().getError();
onChanged();
return this;
}
/**
*
*/ Error message
*
*
* string error = 2;
*/
public Builder setErrorBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
error_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.StepPositionsResponse)
}
// @@protoc_insertion_point(class_scope:gauge.messages.StepPositionsResponse)
private static final gauge.messages.Messages.StepPositionsResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.StepPositionsResponse();
}
public static gauge.messages.Messages.StepPositionsResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public StepPositionsResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StepPositionsResponse(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 gauge.messages.Messages.StepPositionsResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ImplementationFileGlobPatternRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.ImplementationFileGlobPatternRequest)
com.google.protobuf.MessageOrBuilder {
}
/**
*
*/ Request for getting Implementation file glob pattern
*
*
* Protobuf type {@code gauge.messages.ImplementationFileGlobPatternRequest}
*/
public static final class ImplementationFileGlobPatternRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.ImplementationFileGlobPatternRequest)
ImplementationFileGlobPatternRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ImplementationFileGlobPatternRequest.newBuilder() to construct.
private ImplementationFileGlobPatternRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private ImplementationFileGlobPatternRequest() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ImplementationFileGlobPatternRequest(
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 (!parseUnknownFieldProto3(
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 gauge.messages.Messages.internal_static_gauge_messages_ImplementationFileGlobPatternRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_ImplementationFileGlobPatternRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.ImplementationFileGlobPatternRequest.class, gauge.messages.Messages.ImplementationFileGlobPatternRequest.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 gauge.messages.Messages.ImplementationFileGlobPatternRequest)) {
return super.equals(obj);
}
gauge.messages.Messages.ImplementationFileGlobPatternRequest other = (gauge.messages.Messages.ImplementationFileGlobPatternRequest) obj;
boolean result = true;
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@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 gauge.messages.Messages.ImplementationFileGlobPatternRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ImplementationFileGlobPatternRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ImplementationFileGlobPatternRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ImplementationFileGlobPatternRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ImplementationFileGlobPatternRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ImplementationFileGlobPatternRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ImplementationFileGlobPatternRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ImplementationFileGlobPatternRequest 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 gauge.messages.Messages.ImplementationFileGlobPatternRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ImplementationFileGlobPatternRequest 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 gauge.messages.Messages.ImplementationFileGlobPatternRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ImplementationFileGlobPatternRequest 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(gauge.messages.Messages.ImplementationFileGlobPatternRequest 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;
}
/**
*
*/ Request for getting Implementation file glob pattern
*
*
* Protobuf type {@code gauge.messages.ImplementationFileGlobPatternRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.ImplementationFileGlobPatternRequest)
gauge.messages.Messages.ImplementationFileGlobPatternRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_ImplementationFileGlobPatternRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_ImplementationFileGlobPatternRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.ImplementationFileGlobPatternRequest.class, gauge.messages.Messages.ImplementationFileGlobPatternRequest.Builder.class);
}
// Construct using gauge.messages.Messages.ImplementationFileGlobPatternRequest.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 gauge.messages.Messages.internal_static_gauge_messages_ImplementationFileGlobPatternRequest_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.ImplementationFileGlobPatternRequest getDefaultInstanceForType() {
return gauge.messages.Messages.ImplementationFileGlobPatternRequest.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.ImplementationFileGlobPatternRequest build() {
gauge.messages.Messages.ImplementationFileGlobPatternRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.ImplementationFileGlobPatternRequest buildPartial() {
gauge.messages.Messages.ImplementationFileGlobPatternRequest result = new gauge.messages.Messages.ImplementationFileGlobPatternRequest(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.ImplementationFileGlobPatternRequest) {
return mergeFrom((gauge.messages.Messages.ImplementationFileGlobPatternRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.ImplementationFileGlobPatternRequest other) {
if (other == gauge.messages.Messages.ImplementationFileGlobPatternRequest.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 {
gauge.messages.Messages.ImplementationFileGlobPatternRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.ImplementationFileGlobPatternRequest) 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.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:gauge.messages.ImplementationFileGlobPatternRequest)
}
// @@protoc_insertion_point(class_scope:gauge.messages.ImplementationFileGlobPatternRequest)
private static final gauge.messages.Messages.ImplementationFileGlobPatternRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new gauge.messages.Messages.ImplementationFileGlobPatternRequest();
}
public static gauge.messages.Messages.ImplementationFileGlobPatternRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ImplementationFileGlobPatternRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ImplementationFileGlobPatternRequest(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 gauge.messages.Messages.ImplementationFileGlobPatternRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ImplementationFileGlobPatternResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:gauge.messages.ImplementationFileGlobPatternResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
*/ List of implementation file glob patterns
*
*
* repeated string globPatterns = 1;
*/
java.util.List
getGlobPatternsList();
/**
*
*/ List of implementation file glob patterns
*
*
* repeated string globPatterns = 1;
*/
int getGlobPatternsCount();
/**
*
*/ List of implementation file glob patterns
*
*
* repeated string globPatterns = 1;
*/
java.lang.String getGlobPatterns(int index);
/**
*
*/ List of implementation file glob patterns
*
*
* repeated string globPatterns = 1;
*/
com.google.protobuf.ByteString
getGlobPatternsBytes(int index);
}
/**
*
*/ Response for getting Implementation file glob pattern
*
*
* Protobuf type {@code gauge.messages.ImplementationFileGlobPatternResponse}
*/
public static final class ImplementationFileGlobPatternResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:gauge.messages.ImplementationFileGlobPatternResponse)
ImplementationFileGlobPatternResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ImplementationFileGlobPatternResponse.newBuilder() to construct.
private ImplementationFileGlobPatternResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private ImplementationFileGlobPatternResponse() {
globPatterns_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ImplementationFileGlobPatternResponse(
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();
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
globPatterns_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
globPatterns_.add(s);
break;
}
default: {
if (!parseUnknownFieldProto3(
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) == 0x00000001)) {
globPatterns_ = globPatterns_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_ImplementationFileGlobPatternResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_ImplementationFileGlobPatternResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.ImplementationFileGlobPatternResponse.class, gauge.messages.Messages.ImplementationFileGlobPatternResponse.Builder.class);
}
public static final int GLOBPATTERNS_FIELD_NUMBER = 1;
private com.google.protobuf.LazyStringList globPatterns_;
/**
*
*/ List of implementation file glob patterns
*
*
* repeated string globPatterns = 1;
*/
public com.google.protobuf.ProtocolStringList
getGlobPatternsList() {
return globPatterns_;
}
/**
*
*/ List of implementation file glob patterns
*
*
* repeated string globPatterns = 1;
*/
public int getGlobPatternsCount() {
return globPatterns_.size();
}
/**
*
*/ List of implementation file glob patterns
*
*
* repeated string globPatterns = 1;
*/
public java.lang.String getGlobPatterns(int index) {
return globPatterns_.get(index);
}
/**
*
*/ List of implementation file glob patterns
*
*
* repeated string globPatterns = 1;
*/
public com.google.protobuf.ByteString
getGlobPatternsBytes(int index) {
return globPatterns_.getByteString(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 < globPatterns_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, globPatterns_.getRaw(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < globPatterns_.size(); i++) {
dataSize += computeStringSizeNoTag(globPatterns_.getRaw(i));
}
size += dataSize;
size += 1 * getGlobPatternsList().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 gauge.messages.Messages.ImplementationFileGlobPatternResponse)) {
return super.equals(obj);
}
gauge.messages.Messages.ImplementationFileGlobPatternResponse other = (gauge.messages.Messages.ImplementationFileGlobPatternResponse) obj;
boolean result = true;
result = result && getGlobPatternsList()
.equals(other.getGlobPatternsList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getGlobPatternsCount() > 0) {
hash = (37 * hash) + GLOBPATTERNS_FIELD_NUMBER;
hash = (53 * hash) + getGlobPatternsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static gauge.messages.Messages.ImplementationFileGlobPatternResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ImplementationFileGlobPatternResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ImplementationFileGlobPatternResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ImplementationFileGlobPatternResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ImplementationFileGlobPatternResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static gauge.messages.Messages.ImplementationFileGlobPatternResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static gauge.messages.Messages.ImplementationFileGlobPatternResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ImplementationFileGlobPatternResponse 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 gauge.messages.Messages.ImplementationFileGlobPatternResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ImplementationFileGlobPatternResponse 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 gauge.messages.Messages.ImplementationFileGlobPatternResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static gauge.messages.Messages.ImplementationFileGlobPatternResponse 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(gauge.messages.Messages.ImplementationFileGlobPatternResponse 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;
}
/**
*
*/ Response for getting Implementation file glob pattern
*
*
* Protobuf type {@code gauge.messages.ImplementationFileGlobPatternResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:gauge.messages.ImplementationFileGlobPatternResponse)
gauge.messages.Messages.ImplementationFileGlobPatternResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return gauge.messages.Messages.internal_static_gauge_messages_ImplementationFileGlobPatternResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_ImplementationFileGlobPatternResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.ImplementationFileGlobPatternResponse.class, gauge.messages.Messages.ImplementationFileGlobPatternResponse.Builder.class);
}
// Construct using gauge.messages.Messages.ImplementationFileGlobPatternResponse.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();
globPatterns_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return gauge.messages.Messages.internal_static_gauge_messages_ImplementationFileGlobPatternResponse_descriptor;
}
@java.lang.Override
public gauge.messages.Messages.ImplementationFileGlobPatternResponse getDefaultInstanceForType() {
return gauge.messages.Messages.ImplementationFileGlobPatternResponse.getDefaultInstance();
}
@java.lang.Override
public gauge.messages.Messages.ImplementationFileGlobPatternResponse build() {
gauge.messages.Messages.ImplementationFileGlobPatternResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public gauge.messages.Messages.ImplementationFileGlobPatternResponse buildPartial() {
gauge.messages.Messages.ImplementationFileGlobPatternResponse result = new gauge.messages.Messages.ImplementationFileGlobPatternResponse(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
globPatterns_ = globPatterns_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.globPatterns_ = globPatterns_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof gauge.messages.Messages.ImplementationFileGlobPatternResponse) {
return mergeFrom((gauge.messages.Messages.ImplementationFileGlobPatternResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(gauge.messages.Messages.ImplementationFileGlobPatternResponse other) {
if (other == gauge.messages.Messages.ImplementationFileGlobPatternResponse.getDefaultInstance()) return this;
if (!other.globPatterns_.isEmpty()) {
if (globPatterns_.isEmpty()) {
globPatterns_ = other.globPatterns_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureGlobPatternsIsMutable();
globPatterns_.addAll(other.globPatterns_);
}
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 {
gauge.messages.Messages.ImplementationFileGlobPatternResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (gauge.messages.Messages.ImplementationFileGlobPatternResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.LazyStringList globPatterns_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureGlobPatternsIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
globPatterns_ = new com.google.protobuf.LazyStringArrayList(globPatterns_);
bitField0_ |= 0x00000001;
}
}
/**
*