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.
* / Holds the flag name passed from command line.
*
*
* string flagName = 1;
* @return The bytes for flagName.
*/
com.google.protobuf.ByteString
getFlagNameBytes();
/**
*
* / Holds the flag value passed from command line.
*
*
* repeated string flagValue = 2;
* @return A list containing the flagValue.
*/
java.util.List
getFlagValueList();
/**
*
* / Holds the flag value passed from command line.
*
*
* repeated string flagValue = 2;
* @return The count of flagValue.
*/
int getFlagValueCount();
/**
*
* / Holds the flag value passed from command line.
*
*
* repeated string flagValue = 2;
* @param index The index of the element to return.
* @return The flagValue at the given index.
*/
java.lang.String getFlagValue(int index);
/**
*
* / Holds the flag value passed from command line.
*
*
* repeated string flagValue = 2;
* @param index The index of the value to return.
* @return The bytes of the flagValue at the given index.
*/
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.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:gauge.messages.ExecutionArg)
ExecutionArgOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 27,
/* patch= */ 1,
/* suffix= */ "",
ExecutionArg.class.getName());
}
// Use ExecutionArg.newBuilder() to construct.
private ExecutionArg(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private ExecutionArg() {
flagName_ = "";
flagValue_ =
com.google.protobuf.LazyStringArrayList.emptyList();
}
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.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_ExecutionArg_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.ExecutionArg.class, gauge.messages.Messages.ExecutionArg.Builder.class);
}
public static final int FLAGNAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object flagName_ = "";
/**
*
* / Holds the flag name passed from command line.
*
* / Holds the flag name passed from command line.
*
*
* string flagName = 1;
* @return The bytes for flagName.
*/
@java.lang.Override
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;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList flagValue_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
*
* / Holds the flag value passed from command line.
*
*
* repeated string flagValue = 2;
* @return A list containing the flagValue.
*/
public com.google.protobuf.ProtocolStringList
getFlagValueList() {
return flagValue_;
}
/**
*
* / Holds the flag value passed from command line.
*
*
* repeated string flagValue = 2;
* @return The count of flagValue.
*/
public int getFlagValueCount() {
return flagValue_.size();
}
/**
*
* / Holds the flag value passed from command line.
*
*
* repeated string flagValue = 2;
* @param index The index of the element to return.
* @return The flagValue at the given index.
*/
public java.lang.String getFlagValue(int index) {
return flagValue_.get(index);
}
/**
*
* / Holds the flag value passed from command line.
*
*
* repeated string flagValue = 2;
* @param index The index of the value to return.
* @return The bytes of the flagValue at the given index.
*/
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 (!com.google.protobuf.GeneratedMessage.isStringEmpty(flagName_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 1, flagName_);
}
for (int i = 0; i < flagValue_.size(); i++) {
com.google.protobuf.GeneratedMessage.writeString(output, 2, flagValue_.getRaw(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(flagName_)) {
size += com.google.protobuf.GeneratedMessage.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 += getUnknownFields().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;
if (!getFlagName()
.equals(other.getFlagName())) return false;
if (!getFlagValueList()
.equals(other.getFlagValueList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + 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) + getUnknownFields().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.GeneratedMessage
.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.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static gauge.messages.Messages.ExecutionArg parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.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.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static gauge.messages.Messages.ExecutionArg parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.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.GeneratedMessage
.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.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
flagName_ = "";
flagValue_ =
com.google.protobuf.LazyStringArrayList.emptyList();
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);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(gauge.messages.Messages.ExecutionArg result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.flagName_ = flagName_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
flagValue_.makeImmutable();
result.flagValue_ = flagValue_;
}
}
@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_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.flagValue_.isEmpty()) {
if (flagValue_.isEmpty()) {
flagValue_ = other.flagValue_;
bitField0_ |= 0x00000002;
} else {
ensureFlagValueIsMutable();
flagValue_.addAll(other.flagValue_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
flagName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
java.lang.String s = input.readStringRequireUtf8();
ensureFlagValueIsMutable();
flagValue_.add(s);
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object flagName_ = "";
/**
*
* / Holds the flag name passed from command line.
*
* / Holds the flag name passed from command line.
*
*
* string flagName = 1;
* @param value The bytes for flagName to set.
* @return This builder for chaining.
*/
public Builder setFlagNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
flagName_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList flagValue_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureFlagValueIsMutable() {
if (!flagValue_.isModifiable()) {
flagValue_ = new com.google.protobuf.LazyStringArrayList(flagValue_);
}
bitField0_ |= 0x00000002;
}
/**
*
* / Holds the flag value passed from command line.
*
*
* repeated string flagValue = 2;
* @return A list containing the flagValue.
*/
public com.google.protobuf.ProtocolStringList
getFlagValueList() {
flagValue_.makeImmutable();
return flagValue_;
}
/**
*
* / Holds the flag value passed from command line.
*
*
* repeated string flagValue = 2;
* @return The count of flagValue.
*/
public int getFlagValueCount() {
return flagValue_.size();
}
/**
*
* / Holds the flag value passed from command line.
*
*
* repeated string flagValue = 2;
* @param index The index of the element to return.
* @return The flagValue at the given index.
*/
public java.lang.String getFlagValue(int index) {
return flagValue_.get(index);
}
/**
*
* / Holds the flag value passed from command line.
*
*
* repeated string flagValue = 2;
* @param index The index of the value to return.
* @return The bytes of the flagValue at the given index.
*/
public com.google.protobuf.ByteString
getFlagValueBytes(int index) {
return flagValue_.getByteString(index);
}
/**
*
* / Holds the flag value passed from command line.
*
*
* repeated string flagValue = 2;
* @param index The index to set the value at.
* @param value The flagValue to set.
* @return This builder for chaining.
*/
public Builder setFlagValue(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureFlagValueIsMutable();
flagValue_.set(index, value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* / Holds the flag value passed from command line.
*
*
* repeated string flagValue = 2;
* @param value The flagValue to add.
* @return This builder for chaining.
*/
public Builder addFlagValue(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureFlagValueIsMutable();
flagValue_.add(value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* / Holds the flag value passed from command line.
*
*
* repeated string flagValue = 2;
* @param values The flagValue to add.
* @return This builder for chaining.
*/
public Builder addAllFlagValue(
java.lang.Iterable values) {
ensureFlagValueIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, flagValue_);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* / Holds the flag value passed from command line.
*
*
* repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
*/
@java.lang.Override
public gauge.messages.Messages.ExecutionArgOrBuilder getExecutionArgsOrBuilder(
int index) {
return executionArgs_.get(index);
}
public static final int NUMBEROFEXECUTIONSTREAMS_FIELD_NUMBER = 7;
private int numberOfExecutionStreams_ = 0;
/**
*
* / Holds the number of running execution streams.
*
*
* int32 numberOfExecutionStreams = 7;
* @return The numberOfExecutionStreams.
*/
@java.lang.Override
public int getNumberOfExecutionStreams() {
return numberOfExecutionStreams_;
}
public static final int RUNNERID_FIELD_NUMBER = 8;
private int runnerId_ = 0;
/**
*
* / Holds the runner id for parallel execution.
*
*
* int32 runnerId = 8;
* @return The runnerId.
*/
@java.lang.Override
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 (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getCurrentSpec());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getCurrentScenario());
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(3, getCurrentStep());
}
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(stacktrace_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 4, stacktrace_);
}
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(projectName_)) {
com.google.protobuf.GeneratedMessage.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_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getCurrentSpec());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getCurrentScenario());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getCurrentStep());
}
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(stacktrace_)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(4, stacktrace_);
}
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(projectName_)) {
size += com.google.protobuf.GeneratedMessage.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 += getUnknownFields().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;
if (hasCurrentSpec() != other.hasCurrentSpec()) return false;
if (hasCurrentSpec()) {
if (!getCurrentSpec()
.equals(other.getCurrentSpec())) return false;
}
if (hasCurrentScenario() != other.hasCurrentScenario()) return false;
if (hasCurrentScenario()) {
if (!getCurrentScenario()
.equals(other.getCurrentScenario())) return false;
}
if (hasCurrentStep() != other.hasCurrentStep()) return false;
if (hasCurrentStep()) {
if (!getCurrentStep()
.equals(other.getCurrentStep())) return false;
}
if (!getStacktrace()
.equals(other.getStacktrace())) return false;
if (!getProjectName()
.equals(other.getProjectName())) return false;
if (!getExecutionArgsList()
.equals(other.getExecutionArgsList())) return false;
if (getNumberOfExecutionStreams()
!= other.getNumberOfExecutionStreams()) return false;
if (getRunnerId()
!= other.getRunnerId()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@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) + getUnknownFields().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.GeneratedMessage
.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.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static gauge.messages.Messages.ExecutionInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.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.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static gauge.messages.Messages.ExecutionInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.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.GeneratedMessage
.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.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage
.alwaysUseFieldBuilders) {
getCurrentSpecFieldBuilder();
getCurrentScenarioFieldBuilder();
getCurrentStepFieldBuilder();
getExecutionArgsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
currentSpec_ = null;
if (currentSpecBuilder_ != null) {
currentSpecBuilder_.dispose();
currentSpecBuilder_ = null;
}
currentScenario_ = null;
if (currentScenarioBuilder_ != null) {
currentScenarioBuilder_.dispose();
currentScenarioBuilder_ = null;
}
currentStep_ = null;
if (currentStepBuilder_ != null) {
currentStepBuilder_.dispose();
currentStepBuilder_ = null;
}
stacktrace_ = "";
projectName_ = "";
if (executionArgsBuilder_ == null) {
executionArgs_ = java.util.Collections.emptyList();
} else {
executionArgs_ = null;
executionArgsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000020);
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);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(gauge.messages.Messages.ExecutionInfo result) {
if (executionArgsBuilder_ == null) {
if (((bitField0_ & 0x00000020) != 0)) {
executionArgs_ = java.util.Collections.unmodifiableList(executionArgs_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.executionArgs_ = executionArgs_;
} else {
result.executionArgs_ = executionArgsBuilder_.build();
}
}
private void buildPartial0(gauge.messages.Messages.ExecutionInfo result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.currentSpec_ = currentSpecBuilder_ == null
? currentSpec_
: currentSpecBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.currentScenario_ = currentScenarioBuilder_ == null
? currentScenario_
: currentScenarioBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.currentStep_ = currentStepBuilder_ == null
? currentStep_
: currentStepBuilder_.build();
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.stacktrace_ = stacktrace_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.projectName_ = projectName_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.numberOfExecutionStreams_ = numberOfExecutionStreams_;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.runnerId_ = runnerId_;
}
result.bitField0_ |= to_bitField0_;
}
@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_;
bitField0_ |= 0x00000008;
onChanged();
}
if (!other.getProjectName().isEmpty()) {
projectName_ = other.projectName_;
bitField0_ |= 0x00000010;
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.GeneratedMessage.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.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getCurrentSpecFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getCurrentScenarioFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
input.readMessage(
getCurrentStepFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
stacktrace_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
projectName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000010;
break;
} // case 42
case 50: {
gauge.messages.Messages.ExecutionArg m =
input.readMessage(
gauge.messages.Messages.ExecutionArg.parser(),
extensionRegistry);
if (executionArgsBuilder_ == null) {
ensureExecutionArgsIsMutable();
executionArgs_.add(m);
} else {
executionArgsBuilder_.addMessage(m);
}
break;
} // case 50
case 56: {
numberOfExecutionStreams_ = input.readInt32();
bitField0_ |= 0x00000040;
break;
} // case 56
case 64: {
runnerId_ = input.readInt32();
bitField0_ |= 0x00000080;
break;
} // case 64
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private gauge.messages.Messages.SpecInfo currentSpec_;
private com.google.protobuf.SingleFieldBuilder<
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;
* @return Whether the currentSpec field is set.
*/
public boolean hasCurrentSpec() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* / Holds the information of the current Spec. Valid in context of Spec execution.
*
* / Tags relevant to the current Spec execution.
*
*
* repeated string tags = 4;
* @return A list containing the tags.
*/
java.util.List
getTagsList();
/**
*
* / Tags relevant to the current Spec execution.
*
*
* repeated string tags = 4;
* @return The count of tags.
*/
int getTagsCount();
/**
*
* / Tags relevant to the current Spec execution.
*
*
* repeated string tags = 4;
* @param index The index of the element to return.
* @return The tags at the given index.
*/
java.lang.String getTags(int index);
/**
*
* / Tags relevant to the current Spec execution.
*
*
* repeated string tags = 4;
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
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.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:gauge.messages.SpecInfo)
SpecInfoOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 27,
/* patch= */ 1,
/* suffix= */ "",
SpecInfo.class.getName());
}
// Use SpecInfo.newBuilder() to construct.
private SpecInfo(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private SpecInfo() {
name_ = "";
fileName_ = "";
tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
}
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.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_SpecInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.SpecInfo.class, gauge.messages.Messages.SpecInfo.Builder.class);
}
public static final int NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
/**
*
* / Name of the current Spec being executed.
*
*
* string name = 1;
* @return The name.
*/
@java.lang.Override
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;
* @return The bytes for name.
*/
@java.lang.Override
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;
@SuppressWarnings("serial")
private volatile java.lang.Object fileName_ = "";
/**
*
* / Full File path containing the current Spec being executed.
*
* / Full File path containing the current Spec being executed.
*
*
* string fileName = 2;
* @return The bytes for fileName.
*/
@java.lang.Override
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_ = false;
/**
*
* / Flag to indicate if the current Spec execution failed.
*
*
* bool isFailed = 3;
* @return The isFailed.
*/
@java.lang.Override
public boolean getIsFailed() {
return isFailed_;
}
public static final int TAGS_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
*
* / Tags relevant to the current Spec execution.
*
*
* repeated string tags = 4;
* @return A list containing the tags.
*/
public com.google.protobuf.ProtocolStringList
getTagsList() {
return tags_;
}
/**
*
* / Tags relevant to the current Spec execution.
*
*
* repeated string tags = 4;
* @return The count of tags.
*/
public int getTagsCount() {
return tags_.size();
}
/**
*
* / Tags relevant to the current Spec execution.
*
*
* repeated string tags = 4;
* @param index The index of the element to return.
* @return The tags at the given index.
*/
public java.lang.String getTags(int index) {
return tags_.get(index);
}
/**
*
* / Tags relevant to the current Spec execution.
*
*
* repeated string tags = 4;
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
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 (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 1, name_);
}
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(fileName_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 2, fileName_);
}
if (isFailed_ != false) {
output.writeBool(3, isFailed_);
}
for (int i = 0; i < tags_.size(); i++) {
com.google.protobuf.GeneratedMessage.writeString(output, 4, tags_.getRaw(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_);
}
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(fileName_)) {
size += com.google.protobuf.GeneratedMessage.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 += getUnknownFields().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;
if (!getName()
.equals(other.getName())) return false;
if (!getFileName()
.equals(other.getFileName())) return false;
if (getIsFailed()
!= other.getIsFailed()) return false;
if (!getTagsList()
.equals(other.getTagsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + 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) + getUnknownFields().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.GeneratedMessage
.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.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static gauge.messages.Messages.SpecInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.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.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static gauge.messages.Messages.SpecInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.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.GeneratedMessage
.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.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
name_ = "";
fileName_ = "";
isFailed_ = false;
tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
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);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(gauge.messages.Messages.SpecInfo result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.name_ = name_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.fileName_ = fileName_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.isFailed_ = isFailed_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
tags_.makeImmutable();
result.tags_ = tags_;
}
}
@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_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getFileName().isEmpty()) {
fileName_ = other.fileName_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.getIsFailed() != false) {
setIsFailed(other.getIsFailed());
}
if (!other.tags_.isEmpty()) {
if (tags_.isEmpty()) {
tags_ = other.tags_;
bitField0_ |= 0x00000008;
} else {
ensureTagsIsMutable();
tags_.addAll(other.tags_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
name_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
fileName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
isFailed_ = input.readBool();
bitField0_ |= 0x00000004;
break;
} // case 24
case 34: {
java.lang.String s = input.readStringRequireUtf8();
ensureTagsIsMutable();
tags_.add(s);
break;
} // case 34
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
*
* / Name of the current Spec being executed.
*
*
* string name = 1;
* @return The name.
*/
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;
* @return The bytes for name.
*/
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;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* / Name of the current Spec being executed.
*
*
* string name = 1;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* / Name of the current Spec being executed.
*
*
* string name = 1;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object fileName_ = "";
/**
*
* / Full File path containing the current Spec being executed.
*
* / Tags relevant to the current Spec execution.
*
*
* repeated string tags = 4;
* @return A list containing the tags.
*/
public com.google.protobuf.ProtocolStringList
getTagsList() {
tags_.makeImmutable();
return tags_;
}
/**
*
* / Tags relevant to the current Spec execution.
*
*
* repeated string tags = 4;
* @return The count of tags.
*/
public int getTagsCount() {
return tags_.size();
}
/**
*
* / Tags relevant to the current Spec execution.
*
*
* repeated string tags = 4;
* @param index The index of the element to return.
* @return The tags at the given index.
*/
public java.lang.String getTags(int index) {
return tags_.get(index);
}
/**
*
* / Tags relevant to the current Spec execution.
*
*
* repeated string tags = 4;
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
public com.google.protobuf.ByteString
getTagsBytes(int index) {
return tags_.getByteString(index);
}
/**
*
* / Tags relevant to the current Spec execution.
*
*
* repeated string tags = 4;
* @param index The index to set the value at.
* @param value The tags to set.
* @return This builder for chaining.
*/
public Builder setTags(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureTagsIsMutable();
tags_.set(index, value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
*
* / Tags relevant to the current Spec execution.
*
*
* repeated string tags = 4;
* @param value The tags to add.
* @return This builder for chaining.
*/
public Builder addTags(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureTagsIsMutable();
tags_.add(value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
*
* / Tags relevant to the current Spec execution.
*
*
* repeated string tags = 4;
* @param values The tags to add.
* @return This builder for chaining.
*/
public Builder addAllTags(
java.lang.Iterable values) {
ensureTagsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tags_);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
*
* / Tags relevant to the current Spec execution.
*
* / Tags relevant to the current Scenario execution.
*
*
* repeated string tags = 3;
* @return A list containing the tags.
*/
java.util.List
getTagsList();
/**
*
* / Tags relevant to the current Scenario execution.
*
*
* repeated string tags = 3;
* @return The count of tags.
*/
int getTagsCount();
/**
*
* / Tags relevant to the current Scenario execution.
*
*
* repeated string tags = 3;
* @param index The index of the element to return.
* @return The tags at the given index.
*/
java.lang.String getTags(int index);
/**
*
* / Tags relevant to the current Scenario execution.
*
*
* repeated string tags = 3;
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
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.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:gauge.messages.ScenarioInfo)
ScenarioInfoOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 27,
/* patch= */ 1,
/* suffix= */ "",
ScenarioInfo.class.getName());
}
// Use ScenarioInfo.newBuilder() to construct.
private ScenarioInfo(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private ScenarioInfo() {
name_ = "";
tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
}
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.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_ScenarioInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.ScenarioInfo.class, gauge.messages.Messages.ScenarioInfo.Builder.class);
}
public static final int NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
/**
*
* / Name of the current Scenario being executed.
*
*
* string name = 1;
* @return The name.
*/
@java.lang.Override
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;
* @return The bytes for name.
*/
@java.lang.Override
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_ = false;
/**
*
* / Flag to indicate if the current Scenario execution failed.
*
*
* bool isFailed = 2;
* @return The isFailed.
*/
@java.lang.Override
public boolean getIsFailed() {
return isFailed_;
}
public static final int TAGS_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
*
* / Tags relevant to the current Scenario execution.
*
*
* repeated string tags = 3;
* @return A list containing the tags.
*/
public com.google.protobuf.ProtocolStringList
getTagsList() {
return tags_;
}
/**
*
* / Tags relevant to the current Scenario execution.
*
*
* repeated string tags = 3;
* @return The count of tags.
*/
public int getTagsCount() {
return tags_.size();
}
/**
*
* / Tags relevant to the current Scenario execution.
*
*
* repeated string tags = 3;
* @param index The index of the element to return.
* @return The tags at the given index.
*/
public java.lang.String getTags(int index) {
return tags_.get(index);
}
/**
*
* / Tags relevant to the current Scenario execution.
*
*
* repeated string tags = 3;
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
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 (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 1, name_);
}
if (isFailed_ != false) {
output.writeBool(2, isFailed_);
}
for (int i = 0; i < tags_.size(); i++) {
com.google.protobuf.GeneratedMessage.writeString(output, 3, tags_.getRaw(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessage.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 += getUnknownFields().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;
if (!getName()
.equals(other.getName())) return false;
if (getIsFailed()
!= other.getIsFailed()) return false;
if (!getTagsList()
.equals(other.getTagsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + 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) + getUnknownFields().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.GeneratedMessage
.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.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static gauge.messages.Messages.ScenarioInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.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.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static gauge.messages.Messages.ScenarioInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.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.GeneratedMessage
.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.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
name_ = "";
isFailed_ = false;
tags_ =
com.google.protobuf.LazyStringArrayList.emptyList();
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);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(gauge.messages.Messages.ScenarioInfo result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.name_ = name_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.isFailed_ = isFailed_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
tags_.makeImmutable();
result.tags_ = tags_;
}
}
@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_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.getIsFailed() != false) {
setIsFailed(other.getIsFailed());
}
if (!other.tags_.isEmpty()) {
if (tags_.isEmpty()) {
tags_ = other.tags_;
bitField0_ |= 0x00000004;
} else {
ensureTagsIsMutable();
tags_.addAll(other.tags_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
name_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
isFailed_ = input.readBool();
bitField0_ |= 0x00000002;
break;
} // case 16
case 26: {
java.lang.String s = input.readStringRequireUtf8();
ensureTagsIsMutable();
tags_.add(s);
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
*
* / Name of the current Scenario being executed.
*
*
* string name = 1;
* @return The name.
*/
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;
* @return The bytes for name.
*/
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;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* / Name of the current Scenario being executed.
*
*
* string name = 1;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* / Name of the current Scenario being executed.
*
*
* string name = 1;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private boolean isFailed_ ;
/**
*
* / Flag to indicate if the current Scenario execution failed.
*
* / Tags relevant to the current Scenario execution.
*
*
* repeated string tags = 3;
* @return A list containing the tags.
*/
public com.google.protobuf.ProtocolStringList
getTagsList() {
tags_.makeImmutable();
return tags_;
}
/**
*
* / Tags relevant to the current Scenario execution.
*
*
* repeated string tags = 3;
* @return The count of tags.
*/
public int getTagsCount() {
return tags_.size();
}
/**
*
* / Tags relevant to the current Scenario execution.
*
*
* repeated string tags = 3;
* @param index The index of the element to return.
* @return The tags at the given index.
*/
public java.lang.String getTags(int index) {
return tags_.get(index);
}
/**
*
* / Tags relevant to the current Scenario execution.
*
*
* repeated string tags = 3;
* @param index The index of the value to return.
* @return The bytes of the tags at the given index.
*/
public com.google.protobuf.ByteString
getTagsBytes(int index) {
return tags_.getByteString(index);
}
/**
*
* / Tags relevant to the current Scenario execution.
*
*
* repeated string tags = 3;
* @param index The index to set the value at.
* @param value The tags to set.
* @return This builder for chaining.
*/
public Builder setTags(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureTagsIsMutable();
tags_.set(index, value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
*
* / Tags relevant to the current Scenario execution.
*
*
* repeated string tags = 3;
* @param value The tags to add.
* @return This builder for chaining.
*/
public Builder addTags(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureTagsIsMutable();
tags_.add(value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
*
* / Tags relevant to the current Scenario execution.
*
*
* repeated string tags = 3;
* @param values The tags to add.
* @return This builder for chaining.
*/
public Builder addAllTags(
java.lang.Iterable values) {
ensureTagsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tags_);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
*
* / Tags relevant to the current Scenario execution.
*
* / 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.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:gauge.messages.StepValidateRequest)
StepValidateRequestOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 27,
/* patch= */ 1,
/* suffix= */ "",
StepValidateRequest.class.getName());
}
// Use StepValidateRequest.newBuilder() to construct.
private StepValidateRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private StepValidateRequest() {
stepText_ = "";
}
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.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_StepValidateRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.StepValidateRequest.class, gauge.messages.Messages.StepValidateRequest.Builder.class);
}
private int bitField0_;
public static final int STEPTEXT_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object stepText_ = "";
/**
*
* / The text is used to lookup Step implementation
*
* / 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.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage
.alwaysUseFieldBuilders) {
getStepValueFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
stepText_ = "";
numberOfParameters_ = 0;
stepValue_ = null;
if (stepValueBuilder_ != null) {
stepValueBuilder_.dispose();
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);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(gauge.messages.Messages.StepValidateRequest result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.stepText_ = stepText_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.numberOfParameters_ = numberOfParameters_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000004) != 0)) {
result.stepValue_ = stepValueBuilder_ == null
? stepValue_
: stepValueBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@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_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.getNumberOfParameters() != 0) {
setNumberOfParameters(other.getNumberOfParameters());
}
if (other.hasStepValue()) {
mergeStepValue(other.getStepValue());
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
stepText_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
numberOfParameters_ = input.readInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
case 26: {
input.readMessage(
getStepValueFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000004;
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object stepText_ = "";
/**
*
* / The text is used to lookup Step implementation
*
* /This is use to generate step implementation template
*
*
* .gauge.messages.ProtoStepValue stepValue = 3;
*/
private com.google.protobuf.SingleFieldBuilder<
gauge.messages.Spec.ProtoStepValue, gauge.messages.Spec.ProtoStepValue.Builder, gauge.messages.Spec.ProtoStepValueOrBuilder>
getStepValueFieldBuilder() {
if (stepValueBuilder_ == null) {
stepValueBuilder_ = new com.google.protobuf.SingleFieldBuilder<
gauge.messages.Spec.ProtoStepValue, gauge.messages.Spec.ProtoStepValue.Builder, gauge.messages.Spec.ProtoStepValueOrBuilder>(
getStepValue(),
getParentForChildren(),
isClean());
stepValue_ = null;
}
return stepValueBuilder_;
}
// @@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 {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
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;
* @return The isValid.
*/
boolean getIsValid();
/**
* string errorMessage = 2;
* @return The errorMessage.
*/
java.lang.String getErrorMessage();
/**
* string errorMessage = 2;
* @return The bytes for errorMessage.
*/
com.google.protobuf.ByteString
getErrorMessageBytes();
/**
* .gauge.messages.StepValidateResponse.ErrorType errorType = 3;
* @return The enum numeric value on the wire for errorType.
*/
int getErrorTypeValue();
/**
* .gauge.messages.StepValidateResponse.ErrorType errorType = 3;
* @return The errorType.
*/
gauge.messages.Messages.StepValidateResponse.ErrorType getErrorType();
/**
* string suggestion = 4;
* @return The suggestion.
*/
java.lang.String getSuggestion();
/**
* string suggestion = 4;
* @return The bytes for suggestion.
*/
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.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:gauge.messages.StepValidateResponse)
StepValidateResponseOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 27,
/* patch= */ 1,
/* suffix= */ "",
StepValidateResponse.class.getName());
}
// Use StepValidateResponse.newBuilder() to construct.
private StepValidateResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private StepValidateResponse() {
errorMessage_ = "";
errorType_ = 0;
suggestion_ = "";
}
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.GeneratedMessage.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),
;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 27,
/* patch= */ 1,
/* suffix= */ "",
ErrorType.class.getName());
}
/**
* 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;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ErrorType valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire 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() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
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_ = false;
/**
* bool isValid = 1;
* @return The isValid.
*/
@java.lang.Override
public boolean getIsValid() {
return isValid_;
}
public static final int ERRORMESSAGE_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object errorMessage_ = "";
/**
* string errorMessage = 2;
* @return The errorMessage.
*/
@java.lang.Override
public java.lang.String getErrorMessage() {
java.lang.Object ref = errorMessage_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
errorMessage_ = s;
return s;
}
}
/**
* string errorMessage = 2;
* @return The bytes for errorMessage.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getErrorMessageBytes() {
java.lang.Object ref = errorMessage_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
errorMessage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ERRORTYPE_FIELD_NUMBER = 3;
private int errorType_ = 0;
/**
* .gauge.messages.StepValidateResponse.ErrorType errorType = 3;
* @return The enum numeric value on the wire for errorType.
*/
@java.lang.Override public int getErrorTypeValue() {
return errorType_;
}
/**
* .gauge.messages.StepValidateResponse.ErrorType errorType = 3;
* @return The errorType.
*/
@java.lang.Override public gauge.messages.Messages.StepValidateResponse.ErrorType getErrorType() {
gauge.messages.Messages.StepValidateResponse.ErrorType result = gauge.messages.Messages.StepValidateResponse.ErrorType.forNumber(errorType_);
return result == null ? gauge.messages.Messages.StepValidateResponse.ErrorType.UNRECOGNIZED : result;
}
public static final int SUGGESTION_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object suggestion_ = "";
/**
* string suggestion = 4;
* @return The suggestion.
*/
@java.lang.Override
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;
* @return The bytes for suggestion.
*/
@java.lang.Override
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 (!com.google.protobuf.GeneratedMessage.isStringEmpty(errorMessage_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 2, errorMessage_);
}
if (errorType_ != gauge.messages.Messages.StepValidateResponse.ErrorType.STEP_IMPLEMENTATION_NOT_FOUND.getNumber()) {
output.writeEnum(3, errorType_);
}
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(suggestion_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 4, suggestion_);
}
getUnknownFields().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 (!com.google.protobuf.GeneratedMessage.isStringEmpty(errorMessage_)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(2, errorMessage_);
}
if (errorType_ != gauge.messages.Messages.StepValidateResponse.ErrorType.STEP_IMPLEMENTATION_NOT_FOUND.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, errorType_);
}
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(suggestion_)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(4, suggestion_);
}
size += getUnknownFields().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;
if (getIsValid()
!= other.getIsValid()) return false;
if (!getErrorMessage()
.equals(other.getErrorMessage())) return false;
if (errorType_ != other.errorType_) return false;
if (!getSuggestion()
.equals(other.getSuggestion())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + 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) + getUnknownFields().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.GeneratedMessage
.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.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static gauge.messages.Messages.StepValidateResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.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.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static gauge.messages.Messages.StepValidateResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.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.GeneratedMessage
.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.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
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);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(gauge.messages.Messages.StepValidateResponse result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.isValid_ = isValid_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.errorMessage_ = errorMessage_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.errorType_ = errorType_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.suggestion_ = suggestion_;
}
}
@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_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.errorType_ != 0) {
setErrorTypeValue(other.getErrorTypeValue());
}
if (!other.getSuggestion().isEmpty()) {
suggestion_ = other.suggestion_;
bitField0_ |= 0x00000008;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
isValid_ = input.readBool();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
errorMessage_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
errorType_ = input.readEnum();
bitField0_ |= 0x00000004;
break;
} // case 24
case 34: {
suggestion_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000008;
break;
} // case 34
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private boolean isValid_ ;
/**
* bool isValid = 1;
* @return The isValid.
*/
@java.lang.Override
public boolean getIsValid() {
return isValid_;
}
/**
* bool isValid = 1;
* @param value The isValid to set.
* @return This builder for chaining.
*/
public Builder setIsValid(boolean value) {
isValid_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* bool isValid = 1;
* @return This builder for chaining.
*/
public Builder clearIsValid() {
bitField0_ = (bitField0_ & ~0x00000001);
isValid_ = false;
onChanged();
return this;
}
private java.lang.Object errorMessage_ = "";
/**
* string errorMessage = 2;
* @return The errorMessage.
*/
public java.lang.String getErrorMessage() {
java.lang.Object ref = errorMessage_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
errorMessage_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string errorMessage = 2;
* @return The bytes for errorMessage.
*/
public com.google.protobuf.ByteString
getErrorMessageBytes() {
java.lang.Object ref = errorMessage_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
errorMessage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string errorMessage = 2;
* @param value The errorMessage to set.
* @return This builder for chaining.
*/
public Builder setErrorMessage(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
errorMessage_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* string errorMessage = 2;
* @return This builder for chaining.
*/
public Builder clearErrorMessage() {
errorMessage_ = getDefaultInstance().getErrorMessage();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* string errorMessage = 2;
* @param value The bytes for errorMessage to set.
* @return This builder for chaining.
*/
public Builder setErrorMessageBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
errorMessage_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private int errorType_ = 0;
/**
* .gauge.messages.StepValidateResponse.ErrorType errorType = 3;
* @return The enum numeric value on the wire for errorType.
*/
@java.lang.Override public int getErrorTypeValue() {
return errorType_;
}
/**
* .gauge.messages.StepValidateResponse.ErrorType errorType = 3;
* @param value The enum numeric value on the wire for errorType to set.
* @return This builder for chaining.
*/
public Builder setErrorTypeValue(int value) {
errorType_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* .gauge.messages.StepValidateResponse.ErrorType errorType = 3;
* @return The errorType.
*/
@java.lang.Override
public gauge.messages.Messages.StepValidateResponse.ErrorType getErrorType() {
gauge.messages.Messages.StepValidateResponse.ErrorType result = gauge.messages.Messages.StepValidateResponse.ErrorType.forNumber(errorType_);
return result == null ? gauge.messages.Messages.StepValidateResponse.ErrorType.UNRECOGNIZED : result;
}
/**
* .gauge.messages.StepValidateResponse.ErrorType errorType = 3;
* @param value The errorType to set.
* @return This builder for chaining.
*/
public Builder setErrorType(gauge.messages.Messages.StepValidateResponse.ErrorType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
errorType_ = value.getNumber();
onChanged();
return this;
}
/**
* .gauge.messages.StepValidateResponse.ErrorType errorType = 3;
* @return This builder for chaining.
*/
public Builder clearErrorType() {
bitField0_ = (bitField0_ & ~0x00000004);
errorType_ = 0;
onChanged();
return this;
}
private java.lang.Object suggestion_ = "";
/**
* string suggestion = 4;
* @return The suggestion.
*/
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;
* @return The bytes for suggestion.
*/
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;
* @param value The suggestion to set.
* @return This builder for chaining.
*/
public Builder setSuggestion(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
suggestion_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* string suggestion = 4;
* @return This builder for chaining.
*/
public Builder clearSuggestion() {
suggestion_ = getDefaultInstance().getSuggestion();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* string suggestion = 4;
* @param value The bytes for suggestion to set.
* @return This builder for chaining.
*/
public Builder setSuggestionBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
suggestion_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
// @@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 {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
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;
* @return Whether the suiteResult field is set.
*/
boolean hasSuiteResult();
/**
* .gauge.messages.ProtoSuiteResult suiteResult = 1;
* @return The suiteResult.
*/
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.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:gauge.messages.SuiteExecutionResult)
SuiteExecutionResultOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 27,
/* patch= */ 1,
/* suffix= */ "",
SuiteExecutionResult.class.getName());
}
// Use SuiteExecutionResult.newBuilder() to construct.
private SuiteExecutionResult(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private SuiteExecutionResult() {
}
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.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_SuiteExecutionResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.SuiteExecutionResult.class, gauge.messages.Messages.SuiteExecutionResult.Builder.class);
}
private int bitField0_;
public static final int SUITERESULT_FIELD_NUMBER = 1;
private gauge.messages.Spec.ProtoSuiteResult suiteResult_;
/**
* .gauge.messages.ProtoSuiteResult suiteResult = 1;
* @return Whether the suiteResult field is set.
*/
@java.lang.Override
public boolean hasSuiteResult() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .gauge.messages.ProtoSuiteResult suiteResult = 1;
* @return The suiteResult.
*/
@java.lang.Override
public gauge.messages.Spec.ProtoSuiteResult getSuiteResult() {
return suiteResult_ == null ? gauge.messages.Spec.ProtoSuiteResult.getDefaultInstance() : suiteResult_;
}
/**
* .gauge.messages.ProtoSuiteResult suiteResult = 1;
*/
@java.lang.Override
public gauge.messages.Spec.ProtoSuiteResultOrBuilder getSuiteResultOrBuilder() {
return suiteResult_ == null ? gauge.messages.Spec.ProtoSuiteResult.getDefaultInstance() : suiteResult_;
}
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 (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getSuiteResult());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getSuiteResult());
}
size += getUnknownFields().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;
if (hasSuiteResult() != other.hasSuiteResult()) return false;
if (hasSuiteResult()) {
if (!getSuiteResult()
.equals(other.getSuiteResult())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@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) + getUnknownFields().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.GeneratedMessage
.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.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static gauge.messages.Messages.SuiteExecutionResult parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.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.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static gauge.messages.Messages.SuiteExecutionResult parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.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.GeneratedMessage
.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.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage
.alwaysUseFieldBuilders) {
getSuiteResultFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
suiteResult_ = null;
if (suiteResultBuilder_ != null) {
suiteResultBuilder_.dispose();
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 (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(gauge.messages.Messages.SuiteExecutionResult result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.suiteResult_ = suiteResultBuilder_ == null
? suiteResult_
: suiteResultBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@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.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getSuiteResultFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private gauge.messages.Spec.ProtoSuiteResult suiteResult_;
private com.google.protobuf.SingleFieldBuilder<
gauge.messages.Spec.ProtoSuiteResult, gauge.messages.Spec.ProtoSuiteResult.Builder, gauge.messages.Spec.ProtoSuiteResultOrBuilder> suiteResultBuilder_;
/**
* .gauge.messages.ProtoSuiteResult suiteResult = 1;
* @return Whether the suiteResult field is set.
*/
public boolean hasSuiteResult() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .gauge.messages.ProtoSuiteResult suiteResult = 1;
* @return The suiteResult.
*/
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;
} else {
suiteResultBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .gauge.messages.ProtoSuiteResult suiteResult = 1;
*/
public Builder setSuiteResult(
gauge.messages.Spec.ProtoSuiteResult.Builder builderForValue) {
if (suiteResultBuilder_ == null) {
suiteResult_ = builderForValue.build();
} else {
suiteResultBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .gauge.messages.ProtoSuiteResult suiteResult = 1;
*/
public Builder mergeSuiteResult(gauge.messages.Spec.ProtoSuiteResult value) {
if (suiteResultBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
suiteResult_ != null &&
suiteResult_ != gauge.messages.Spec.ProtoSuiteResult.getDefaultInstance()) {
getSuiteResultBuilder().mergeFrom(value);
} else {
suiteResult_ = value;
}
} else {
suiteResultBuilder_.mergeFrom(value);
}
if (suiteResult_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* .gauge.messages.ProtoSuiteResult suiteResult = 1;
*/
public Builder clearSuiteResult() {
bitField0_ = (bitField0_ & ~0x00000001);
suiteResult_ = null;
if (suiteResultBuilder_ != null) {
suiteResultBuilder_.dispose();
suiteResultBuilder_ = null;
}
onChanged();
return this;
}
/**
* .gauge.messages.ProtoSuiteResult suiteResult = 1;
*/
public gauge.messages.Spec.ProtoSuiteResult.Builder getSuiteResultBuilder() {
bitField0_ |= 0x00000001;
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.SingleFieldBuilder<
gauge.messages.Spec.ProtoSuiteResult, gauge.messages.Spec.ProtoSuiteResult.Builder, gauge.messages.Spec.ProtoSuiteResultOrBuilder>
getSuiteResultFieldBuilder() {
if (suiteResultBuilder_ == null) {
suiteResultBuilder_ = new com.google.protobuf.SingleFieldBuilder<
gauge.messages.Spec.ProtoSuiteResult, gauge.messages.Spec.ProtoSuiteResult.Builder, gauge.messages.Spec.ProtoSuiteResultOrBuilder>(
getSuiteResult(),
getParentForChildren(),
isClean());
suiteResult_ = null;
}
return suiteResultBuilder_;
}
// @@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 {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
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;
* @return Whether the resultItem field is set.
*/
boolean hasResultItem();
/**
* .gauge.messages.ProtoItem resultItem = 1;
* @return The resultItem.
*/
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.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:gauge.messages.SuiteExecutionResultItem)
SuiteExecutionResultItemOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 27,
/* patch= */ 1,
/* suffix= */ "",
SuiteExecutionResultItem.class.getName());
}
// Use SuiteExecutionResultItem.newBuilder() to construct.
private SuiteExecutionResultItem(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private SuiteExecutionResultItem() {
}
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.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return gauge.messages.Messages.internal_static_gauge_messages_SuiteExecutionResultItem_fieldAccessorTable
.ensureFieldAccessorsInitialized(
gauge.messages.Messages.SuiteExecutionResultItem.class, gauge.messages.Messages.SuiteExecutionResultItem.Builder.class);
}
private int bitField0_;
public static final int RESULTITEM_FIELD_NUMBER = 1;
private gauge.messages.Spec.ProtoItem resultItem_;
/**
* .gauge.messages.ProtoItem resultItem = 1;
* @return Whether the resultItem field is set.
*/
@java.lang.Override
public boolean hasResultItem() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .gauge.messages.ProtoItem resultItem = 1;
* @return The resultItem.
*/
@java.lang.Override
public gauge.messages.Spec.ProtoItem getResultItem() {
return resultItem_ == null ? gauge.messages.Spec.ProtoItem.getDefaultInstance() : resultItem_;
}
/**
* .gauge.messages.ProtoItem resultItem = 1;
*/
@java.lang.Override
public gauge.messages.Spec.ProtoItemOrBuilder getResultItemOrBuilder() {
return resultItem_ == null ? gauge.messages.Spec.ProtoItem.getDefaultInstance() : resultItem_;
}
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 (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getResultItem());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getResultItem());
}
size += getUnknownFields().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;
if (hasResultItem() != other.hasResultItem()) return false;
if (hasResultItem()) {
if (!getResultItem()
.equals(other.getResultItem())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@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) + getUnknownFields().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.GeneratedMessage
.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.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static gauge.messages.Messages.SuiteExecutionResultItem parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.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.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static gauge.messages.Messages.SuiteExecutionResultItem parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.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.GeneratedMessage
.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.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code gauge.messages.SuiteExecutionResultItem}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage
.alwaysUseFieldBuilders) {
getResultItemFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
resultItem_ = null;
if (resultItemBuilder_ != null) {
resultItemBuilder_.dispose();
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 (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(gauge.messages.Messages.SuiteExecutionResultItem result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.resultItem_ = resultItemBuilder_ == null
? resultItem_
: resultItemBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@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.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getResultItemFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private gauge.messages.Spec.ProtoItem resultItem_;
private com.google.protobuf.SingleFieldBuilder<
gauge.messages.Spec.ProtoItem, gauge.messages.Spec.ProtoItem.Builder, gauge.messages.Spec.ProtoItemOrBuilder> resultItemBuilder_;
/**
* .gauge.messages.ProtoItem resultItem = 1;
* @return Whether the resultItem field is set.
*/
public boolean hasResultItem() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .gauge.messages.ProtoItem resultItem = 1;
* @return The resultItem.
*/
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;
} else {
resultItemBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .gauge.messages.ProtoItem resultItem = 1;
*/
public Builder setResultItem(
gauge.messages.Spec.ProtoItem.Builder builderForValue) {
if (resultItemBuilder_ == null) {
resultItem_ = builderForValue.build();
} else {
resultItemBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .gauge.messages.ProtoItem resultItem = 1;
*/
public Builder mergeResultItem(gauge.messages.Spec.ProtoItem value) {
if (resultItemBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
resultItem_ != null &&
resultItem_ != gauge.messages.Spec.ProtoItem.getDefaultInstance()) {
getResultItemBuilder().mergeFrom(value);
} else {
resultItem_ = value;
}
} else {
resultItemBuilder_.mergeFrom(value);
}
if (resultItem_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* .gauge.messages.ProtoItem resultItem = 1;
*/
public Builder clearResultItem() {
bitField0_ = (bitField0_ & ~0x00000001);
resultItem_ = null;
if (resultItemBuilder_ != null) {
resultItemBuilder_.dispose();
resultItemBuilder_ = null;
}
onChanged();
return this;
}
/**
* .gauge.messages.ProtoItem resultItem = 1;
*/
public gauge.messages.Spec.ProtoItem.Builder getResultItemBuilder() {
bitField0_ |= 0x00000001;
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.SingleFieldBuilder<
gauge.messages.Spec.ProtoItem, gauge.messages.Spec.ProtoItem.Builder, gauge.messages.Spec.ProtoItemOrBuilder>
getResultItemFieldBuilder() {
if (resultItemBuilder_ == null) {
resultItemBuilder_ = new com.google.protobuf.SingleFieldBuilder<
gauge.messages.Spec.ProtoItem, gauge.messages.Spec.ProtoItem.Builder, gauge.messages.Spec.ProtoItemOrBuilder>(
getResultItem(),
getParentForChildren(),
isClean());
resultItem_ = null;
}
return resultItemBuilder_;
}
// @@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 {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
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.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:gauge.messages.StepNamesRequest)
StepNamesRequestOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 27,
/* patch= */ 1,
/* suffix= */ "",
StepNamesRequest.class.getName());
}
// Use StepNamesRequest.newBuilder() to construct.
private StepNamesRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private StepNamesRequest() {
}
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.GeneratedMessage.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 {
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().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;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + getUnknownFields().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.GeneratedMessage
.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.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static gauge.messages.Messages.StepNamesRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.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.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static gauge.messages.Messages.StepNamesRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.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.GeneratedMessage
.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.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@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 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.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
// @@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 {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
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;
* @return A list containing the steps.
*/
java.util.List
getStepsList();
/**
*
* / Collection of strings corresponding to Step texts.
*
*
* repeated string steps = 1;
* @return The count of steps.
*/
int getStepsCount();
/**
*
* / Collection of strings corresponding to Step texts.
*
*
* repeated string steps = 1;
* @param index The index of the element to return.
* @return The steps at the given index.
*/
java.lang.String getSteps(int index);
/**
*
* / Collection of strings corresponding to Step texts.
*
*
* repeated string steps = 1;
* @param index The index of the value to return.
* @return The bytes of the steps at the given index.
*/
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.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:gauge.messages.StepNamesResponse)
StepNamesResponseOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 27,
/* patch= */ 1,
/* suffix= */ "",
StepNamesResponse.class.getName());
}
// Use StepNamesResponse.newBuilder() to construct.
private StepNamesResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private StepNamesResponse() {
steps_ =
com.google.protobuf.LazyStringArrayList.emptyList();
}
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.GeneratedMessage.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;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList steps_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
*
* / Collection of strings corresponding to Step texts.
*
*
* repeated string steps = 1;
* @return A list containing the steps.
*/
public com.google.protobuf.ProtocolStringList
getStepsList() {
return steps_;
}
/**
*
* / Collection of strings corresponding to Step texts.
*
*
* repeated string steps = 1;
* @return The count of steps.
*/
public int getStepsCount() {
return steps_.size();
}
/**
*
* / Collection of strings corresponding to Step texts.
*
*
* repeated string steps = 1;
* @param index The index of the element to return.
* @return The steps at the given index.
*/
public java.lang.String getSteps(int index) {
return steps_.get(index);
}
/**
*
* / Collection of strings corresponding to Step texts.
*
*
* repeated string steps = 1;
* @param index The index of the value to return.
* @return The bytes of the steps at the given index.
*/
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.GeneratedMessage.writeString(output, 1, steps_.getRaw(i));
}
getUnknownFields().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 += getUnknownFields().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;
if (!getStepsList()
.equals(other.getStepsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@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) + getUnknownFields().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.GeneratedMessage
.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.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static gauge.messages.Messages.StepNamesResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.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.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static gauge.messages.Messages.StepNamesResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.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.GeneratedMessage
.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.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
steps_ =
com.google.protobuf.LazyStringArrayList.emptyList();
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);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(gauge.messages.Messages.StepNamesResponse result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
steps_.makeImmutable();
result.steps_ = steps_;
}
}
@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_ |= 0x00000001;
} else {
ensureStepsIsMutable();
steps_.addAll(other.steps_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
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();
ensureStepsIsMutable();
steps_.add(s);
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.LazyStringArrayList steps_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureStepsIsMutable() {
if (!steps_.isModifiable()) {
steps_ = new com.google.protobuf.LazyStringArrayList(steps_);
}
bitField0_ |= 0x00000001;
}
/**
*
* / Collection of strings corresponding to Step texts.
*
*
* repeated string steps = 1;
* @return A list containing the steps.
*/
public com.google.protobuf.ProtocolStringList
getStepsList() {
steps_.makeImmutable();
return steps_;
}
/**
*
* / Collection of strings corresponding to Step texts.
*
*
* repeated string steps = 1;
* @return The count of steps.
*/
public int getStepsCount() {
return steps_.size();
}
/**
*
* / Collection of strings corresponding to Step texts.
*
*
* repeated string steps = 1;
* @param index The index of the element to return.
* @return The steps at the given index.
*/
public java.lang.String getSteps(int index) {
return steps_.get(index);
}
/**
*
* / Collection of strings corresponding to Step texts.
*
*
* repeated string steps = 1;
* @param index The index of the value to return.
* @return The bytes of the steps at the given index.
*/
public com.google.protobuf.ByteString
getStepsBytes(int index) {
return steps_.getByteString(index);
}
/**
*
* / Collection of strings corresponding to Step texts.
*
*
* repeated string steps = 1;
* @param index The index to set the value at.
* @param value The steps to set.
* @return This builder for chaining.
*/
public Builder setSteps(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureStepsIsMutable();
steps_.set(index, value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* / Collection of strings corresponding to Step texts.
*
*
* repeated string steps = 1;
* @param value The steps to add.
* @return This builder for chaining.
*/
public Builder addSteps(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureStepsIsMutable();
steps_.add(value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* / Collection of strings corresponding to Step texts.
*
*
* repeated string steps = 1;
* @param values The steps to add.
* @return This builder for chaining.
*/
public Builder addAllSteps(
java.lang.Iterable values) {
ensureStepsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, steps_);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* / Collection of strings corresponding to Step texts.
*
* / Error message, valid only if Refactor wasn't successful
*
*
* string error = 2;
* @return The bytes for error.
*/
com.google.protobuf.ByteString
getErrorBytes();
/**
*
* / List of files that were affected because of the refactoring.
*
*
* repeated string filesChanged = 3;
* @return A list containing the filesChanged.
*/
java.util.List
getFilesChangedList();
/**
*
* / List of files that were affected because of the refactoring.
*
*
* repeated string filesChanged = 3;
* @return The count of filesChanged.
*/
int getFilesChangedCount();
/**
*
* / List of files that were affected because of the refactoring.
*
*
* repeated string filesChanged = 3;
* @param index The index of the element to return.
* @return The filesChanged at the given index.
*/
java.lang.String getFilesChanged(int index);
/**
*
* / List of files that were affected because of the refactoring.
*
*
* repeated string filesChanged = 3;
* @param index The index of the value to return.
* @return The bytes of the filesChanged at the given index.
*/
com.google.protobuf.ByteString
getFilesChangedBytes(int index);
/**
*
* / List of file changes to be made to successfully achieve refactoring.
*
* / Error message, valid only if Refactor wasn't successful
*
*
* string error = 2;
* @return The bytes for error.
*/
@java.lang.Override
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;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList filesChanged_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
*
* / List of files that were affected because of the refactoring.
*
*
* repeated string filesChanged = 3;
* @return A list containing the filesChanged.
*/
public com.google.protobuf.ProtocolStringList
getFilesChangedList() {
return filesChanged_;
}
/**
*
* / List of files that were affected because of the refactoring.
*
*
* repeated string filesChanged = 3;
* @return The count of filesChanged.
*/
public int getFilesChangedCount() {
return filesChanged_.size();
}
/**
*
* / List of files that were affected because of the refactoring.
*
*
* repeated string filesChanged = 3;
* @param index The index of the element to return.
* @return The filesChanged at the given index.
*/
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;
* @param index The index of the value to return.
* @return The bytes of the filesChanged at the given index.
*/
public com.google.protobuf.ByteString
getFilesChangedBytes(int index) {
return filesChanged_.getByteString(index);
}
public static final int FILECHANGES_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private java.util.List fileChanges_;
/**
*
* / List of file changes to be made to successfully achieve refactoring.
*
* / Error message, valid only if Refactor wasn't successful
*
*
* string error = 2;
* @param value The bytes for error to set.
* @return This builder for chaining.
*/
public Builder setErrorBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
error_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList filesChanged_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureFilesChangedIsMutable() {
if (!filesChanged_.isModifiable()) {
filesChanged_ = new com.google.protobuf.LazyStringArrayList(filesChanged_);
}
bitField0_ |= 0x00000004;
}
/**
*
* / List of files that were affected because of the refactoring.
*
*
* repeated string filesChanged = 3;
* @return A list containing the filesChanged.
*/
public com.google.protobuf.ProtocolStringList
getFilesChangedList() {
filesChanged_.makeImmutable();
return filesChanged_;
}
/**
*
* / List of files that were affected because of the refactoring.
*
*
* repeated string filesChanged = 3;
* @return The count of filesChanged.
*/
public int getFilesChangedCount() {
return filesChanged_.size();
}
/**
*
* / List of files that were affected because of the refactoring.
*
*
* repeated string filesChanged = 3;
* @param index The index of the element to return.
* @return The filesChanged at the given index.
*/
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;
* @param index The index of the value to return.
* @return The bytes of the filesChanged at the given index.
*/
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;
* @param index The index to set the value at.
* @param value The filesChanged to set.
* @return This builder for chaining.
*/
public Builder setFilesChanged(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureFilesChangedIsMutable();
filesChanged_.set(index, value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
*
* / List of files that were affected because of the refactoring.
*
*
* repeated string filesChanged = 3;
* @param value The filesChanged to add.
* @return This builder for chaining.
*/
public Builder addFilesChanged(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureFilesChangedIsMutable();
filesChanged_.add(value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
*
* / List of files that were affected because of the refactoring.
*
*
* repeated string filesChanged = 3;
* @param values The filesChanged to add.
* @return This builder for chaining.
*/
public Builder addAllFilesChanged(
java.lang.Iterable values) {
ensureFilesChangedIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, filesChanged_);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
*
* / List of files that were affected because of the refactoring.
*
*
* repeated string stepName = 2;
* @return A list containing the stepName.
*/
java.util.List
getStepNameList();
/**
*
* / The Step name of the given step.
*
*
* repeated string stepName = 2;
* @return The count of stepName.
*/
int getStepNameCount();
/**
*
* / The Step name of the given step.
*
*
* repeated string stepName = 2;
* @param index The index of the element to return.
* @return The stepName at the given index.
*/
java.lang.String getStepName(int index);
/**
*
* / The Step name of the given step.
*
*
* repeated string stepName = 2;
* @param index The index of the value to return.
* @return The bytes of the stepName at the given index.
*/
com.google.protobuf.ByteString
getStepNameBytes(int index);
/**
*
* / Flag indicating if the given Step is an alias.
*
*
* Protobuf type {@code gauge.messages.StepNameResponse}
*/
public static final class StepNameResponse extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:gauge.messages.StepNameResponse)
StepNameResponseOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 27,
/* patch= */ 1,
/* suffix= */ "",
StepNameResponse.class.getName());
}
// Use StepNameResponse.newBuilder() to construct.
private StepNameResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private StepNameResponse() {
stepName_ =
com.google.protobuf.LazyStringArrayList.emptyList();
fileName_ = "";
}
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.GeneratedMessage.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_ = false;
/**
*
* / Flag indicating if there is a match for the given Step Text.
*
*
* bool isStepPresent = 1;
* @return The isStepPresent.
*/
@java.lang.Override
public boolean getIsStepPresent() {
return isStepPresent_;
}
public static final int STEPNAME_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList stepName_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
*
* / The Step name of the given step.
*
*
* repeated string stepName = 2;
* @return A list containing the stepName.
*/
public com.google.protobuf.ProtocolStringList
getStepNameList() {
return stepName_;
}
/**
*
* / The Step name of the given step.
*
*
* repeated string stepName = 2;
* @return The count of stepName.
*/
public int getStepNameCount() {
return stepName_.size();
}
/**
*
* / The Step name of the given step.
*
*
* repeated string stepName = 2;
* @param index The index of the element to return.
* @return The stepName at the given index.
*/
public java.lang.String getStepName(int index) {
return stepName_.get(index);
}
/**
*
* / The Step name of the given step.
*
*
* repeated string stepName = 2;
* @param index The index of the value to return.
* @return The bytes of the stepName at the given index.
*/
public com.google.protobuf.ByteString
getStepNameBytes(int index) {
return stepName_.getByteString(index);
}
public static final int HASALIAS_FIELD_NUMBER = 3;
private boolean hasAlias_ = false;
/**
*
* / Flag indicating if the given Step is an alias.
*
*
* bool hasAlias = 3;
* @return The hasAlias.
*/
@java.lang.Override
public boolean getHasAlias() {
return hasAlias_;
}
public static final int FILENAME_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object fileName_ = "";
/**
*
* / File name in which the step implementation exists
*
*
* repeated string stepName = 2;
* @return A list containing the stepName.
*/
public com.google.protobuf.ProtocolStringList
getStepNameList() {
stepName_.makeImmutable();
return stepName_;
}
/**
*
* / The Step name of the given step.
*
*
* repeated string stepName = 2;
* @return The count of stepName.
*/
public int getStepNameCount() {
return stepName_.size();
}
/**
*
* / The Step name of the given step.
*
*
* repeated string stepName = 2;
* @param index The index of the element to return.
* @return The stepName at the given index.
*/
public java.lang.String getStepName(int index) {
return stepName_.get(index);
}
/**
*
* / The Step name of the given step.
*
*
* repeated string stepName = 2;
* @param index The index of the value to return.
* @return The bytes of the stepName at the given index.
*/
public com.google.protobuf.ByteString
getStepNameBytes(int index) {
return stepName_.getByteString(index);
}
/**
*
* / The Step name of the given step.
*
*
* repeated string stepName = 2;
* @param index The index to set the value at.
* @param value The stepName to set.
* @return This builder for chaining.
*/
public Builder setStepName(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureStepNameIsMutable();
stepName_.set(index, value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* / The Step name of the given step.
*
*
* repeated string stepName = 2;
* @param value The stepName to add.
* @return This builder for chaining.
*/
public Builder addStepName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureStepNameIsMutable();
stepName_.add(value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* / The Step name of the given step.
*
*
* repeated string stepName = 2;
* @param values The stepName to add.
* @return This builder for chaining.
*/
public Builder addAllStepName(
java.lang.Iterable values) {
ensureStepNameIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, stepName_);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
*
* .gauge.messages.CacheFileRequest.FileStatus status = 4;
* @return The enum numeric value on the wire for status.
*/
int getStatusValue();
/**
*
* / Specifies the status of the file
*
*
* .gauge.messages.CacheFileRequest.FileStatus status = 4;
* @return The status.
*/
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.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:gauge.messages.CacheFileRequest)
CacheFileRequestOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 27,
/* patch= */ 1,
/* suffix= */ "",
CacheFileRequest.class.getName());
}
// Use CacheFileRequest.newBuilder() to construct.
private CacheFileRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CacheFileRequest() {
content_ = "";
filePath_ = "";
status_ = 0;
}
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.GeneratedMessage.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 {
/**
*
*
* 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;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static FileStatus valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire 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() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
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;
@SuppressWarnings("serial")
private volatile java.lang.Object content_ = "";
/**
*
*
* string filePath = 2;
* @return The bytes for filePath.
*/
@java.lang.Override
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_ = false;
/**
*
* / Specifies if the file is closed
*
*
* bool isClosed = 3;
* @return The isClosed.
*/
@java.lang.Override
public boolean getIsClosed() {
return isClosed_;
}
public static final int STATUS_FIELD_NUMBER = 4;
private int status_ = 0;
/**
*
* / Specifies the status of the file
*
*
* .gauge.messages.CacheFileRequest.FileStatus status = 4;
* @return The enum numeric value on the wire for status.
*/
@java.lang.Override public int getStatusValue() {
return status_;
}
/**
*
* / Specifies the status of the file
*
*
* .gauge.messages.CacheFileRequest.FileStatus status = 4;
* @return The status.
*/
@java.lang.Override public gauge.messages.Messages.CacheFileRequest.FileStatus getStatus() {
gauge.messages.Messages.CacheFileRequest.FileStatus result = gauge.messages.Messages.CacheFileRequest.FileStatus.forNumber(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 (!com.google.protobuf.GeneratedMessage.isStringEmpty(content_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 1, content_);
}
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filePath_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 2, filePath_);
}
if (isClosed_ != false) {
output.writeBool(3, isClosed_);
}
if (status_ != gauge.messages.Messages.CacheFileRequest.FileStatus.CHANGED.getNumber()) {
output.writeEnum(4, status_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(content_)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(1, content_);
}
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filePath_)) {
size += com.google.protobuf.GeneratedMessage.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 += getUnknownFields().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;
if (!getContent()
.equals(other.getContent())) return false;
if (!getFilePath()
.equals(other.getFilePath())) return false;
if (getIsClosed()
!= other.getIsClosed()) return false;
if (status_ != other.status_) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + 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) + getUnknownFields().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.GeneratedMessage
.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.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static gauge.messages.Messages.CacheFileRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.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.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static gauge.messages.Messages.CacheFileRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.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.GeneratedMessage
.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.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
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);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(gauge.messages.Messages.CacheFileRequest result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.content_ = content_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.filePath_ = filePath_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.isClosed_ = isClosed_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.status_ = status_;
}
}
@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_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getFilePath().isEmpty()) {
filePath_ = other.filePath_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.getIsClosed() != false) {
setIsClosed(other.getIsClosed());
}
if (other.status_ != 0) {
setStatusValue(other.getStatusValue());
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
content_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
filePath_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
isClosed_ = input.readBool();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
status_ = input.readEnum();
bitField0_ |= 0x00000008;
break;
} // case 32
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object content_ = "";
/**
*
*
* bool isClosed = 3;
* @param value The isClosed to set.
* @return This builder for chaining.
*/
public Builder setIsClosed(boolean value) {
isClosed_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
*
* / Specifies if the file is closed
*
*
* bool isClosed = 3;
* @return This builder for chaining.
*/
public Builder clearIsClosed() {
bitField0_ = (bitField0_ & ~0x00000004);
isClosed_ = false;
onChanged();
return this;
}
private int status_ = 0;
/**
*
* / Specifies the status of the file
*
*
* .gauge.messages.CacheFileRequest.FileStatus status = 4;
* @return The enum numeric value on the wire for status.
*/
@java.lang.Override public int getStatusValue() {
return status_;
}
/**
*
* / Specifies the status of the file
*
*
* .gauge.messages.CacheFileRequest.FileStatus status = 4;
* @param value The enum numeric value on the wire for status to set.
* @return This builder for chaining.
*/
public Builder setStatusValue(int value) {
status_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
*
* / Specifies the status of the file
*
*
* .gauge.messages.CacheFileRequest.FileStatus status = 4;
* @return The status.
*/
@java.lang.Override
public gauge.messages.Messages.CacheFileRequest.FileStatus getStatus() {
gauge.messages.Messages.CacheFileRequest.FileStatus result = gauge.messages.Messages.CacheFileRequest.FileStatus.forNumber(status_);
return result == null ? gauge.messages.Messages.CacheFileRequest.FileStatus.UNRECOGNIZED : result;
}
/**
*
* / Specifies the status of the file
*
*
* .gauge.messages.CacheFileRequest.FileStatus status = 4;
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatus(gauge.messages.Messages.CacheFileRequest.FileStatus value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
status_ = value.getNumber();
onChanged();
return this;
}
/**
*
* / Specifies the status of the file
*
*
* .gauge.messages.CacheFileRequest.FileStatus status = 4;
* @return This builder for chaining.
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000008);
status_ = 0;
onChanged();
return this;
}
// @@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 {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
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 {
/**
*
*
* string error = 2;
* @param value The bytes for error to set.
* @return This builder for chaining.
*/
public Builder setErrorBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
error_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
// @@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 {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
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.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:gauge.messages.ImplementationFileGlobPatternRequest)
ImplementationFileGlobPatternRequestOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 27,
/* patch= */ 1,
/* suffix= */ "",
ImplementationFileGlobPatternRequest.class.getName());
}
// Use ImplementationFileGlobPatternRequest.newBuilder() to construct.
private ImplementationFileGlobPatternRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private ImplementationFileGlobPatternRequest() {
}
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.GeneratedMessage.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 {
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().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;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + getUnknownFields().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.GeneratedMessage
.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.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static gauge.messages.Messages.ImplementationFileGlobPatternRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.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.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static gauge.messages.Messages.ImplementationFileGlobPatternRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.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.GeneratedMessage
.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.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@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 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.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
// @@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 {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
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;
* @return A list containing the globPatterns.
*/
java.util.List
getGlobPatternsList();
/**
*
* / List of implementation file glob patterns
*
*
* repeated string globPatterns = 1;
* @return The count of globPatterns.
*/
int getGlobPatternsCount();
/**
*
* / List of implementation file glob patterns
*
*
* repeated string globPatterns = 1;
* @param index The index of the element to return.
* @return The globPatterns at the given index.
*/
java.lang.String getGlobPatterns(int index);
/**
*
* / List of implementation file glob patterns
*
*
* repeated string globPatterns = 1;
* @param index The index of the value to return.
* @return The bytes of the globPatterns at the given index.
*/
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.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:gauge.messages.ImplementationFileGlobPatternResponse)
ImplementationFileGlobPatternResponseOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 27,
/* patch= */ 1,
/* suffix= */ "",
ImplementationFileGlobPatternResponse.class.getName());
}
// Use ImplementationFileGlobPatternResponse.newBuilder() to construct.
private ImplementationFileGlobPatternResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private ImplementationFileGlobPatternResponse() {
globPatterns_ =
com.google.protobuf.LazyStringArrayList.emptyList();
}
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.GeneratedMessage.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;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList globPatterns_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
*
* / List of implementation file glob patterns
*
*
* repeated string globPatterns = 1;
* @return A list containing the globPatterns.
*/
public com.google.protobuf.ProtocolStringList
getGlobPatternsList() {
return globPatterns_;
}
/**
*
* / List of implementation file glob patterns
*
*
* repeated string globPatterns = 1;
* @return The count of globPatterns.
*/
public int getGlobPatternsCount() {
return globPatterns_.size();
}
/**
*
* / List of implementation file glob patterns
*
*
* repeated string globPatterns = 1;
* @param index The index of the element to return.
* @return The globPatterns at the given index.
*/
public java.lang.String getGlobPatterns(int index) {
return globPatterns_.get(index);
}
/**
*
* / List of implementation file glob patterns
*
*
* repeated string globPatterns = 1;
* @param index The index of the value to return.
* @return The bytes of the globPatterns at the given index.
*/
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.GeneratedMessage.writeString(output, 1, globPatterns_.getRaw(i));
}
getUnknownFields().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 += getUnknownFields().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;
if (!getGlobPatternsList()
.equals(other.getGlobPatternsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@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) + getUnknownFields().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.GeneratedMessage
.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.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static gauge.messages.Messages.ImplementationFileGlobPatternResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.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.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static gauge.messages.Messages.ImplementationFileGlobPatternResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.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.GeneratedMessage
.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.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
globPatterns_ =
com.google.protobuf.LazyStringArrayList.emptyList();
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);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(gauge.messages.Messages.ImplementationFileGlobPatternResponse result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
globPatterns_.makeImmutable();
result.globPatterns_ = globPatterns_;
}
}
@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_ |= 0x00000001;
} else {
ensureGlobPatternsIsMutable();
globPatterns_.addAll(other.globPatterns_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
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();
ensureGlobPatternsIsMutable();
globPatterns_.add(s);
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.LazyStringArrayList globPatterns_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureGlobPatternsIsMutable() {
if (!globPatterns_.isModifiable()) {
globPatterns_ = new com.google.protobuf.LazyStringArrayList(globPatterns_);
}
bitField0_ |= 0x00000001;
}
/**
*
* / List of implementation file glob patterns
*
*
* repeated string globPatterns = 1;
* @return A list containing the globPatterns.
*/
public com.google.protobuf.ProtocolStringList
getGlobPatternsList() {
globPatterns_.makeImmutable();
return globPatterns_;
}
/**
*
* / List of implementation file glob patterns
*
*
* repeated string globPatterns = 1;
* @return The count of globPatterns.
*/
public int getGlobPatternsCount() {
return globPatterns_.size();
}
/**
*
* / List of implementation file glob patterns
*
*
* repeated string globPatterns = 1;
* @param index The index of the element to return.
* @return The globPatterns at the given index.
*/
public java.lang.String getGlobPatterns(int index) {
return globPatterns_.get(index);
}
/**
*
* / List of implementation file glob patterns
*
*
* repeated string globPatterns = 1;
* @param index The index of the value to return.
* @return The bytes of the globPatterns at the given index.
*/
public com.google.protobuf.ByteString
getGlobPatternsBytes(int index) {
return globPatterns_.getByteString(index);
}
/**
*
* / List of implementation file glob patterns
*
*
* repeated string globPatterns = 1;
* @param index The index to set the value at.
* @param value The globPatterns to set.
* @return This builder for chaining.
*/
public Builder setGlobPatterns(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureGlobPatternsIsMutable();
globPatterns_.set(index, value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* / List of implementation file glob patterns
*
*
* repeated string globPatterns = 1;
* @param value The globPatterns to add.
* @return This builder for chaining.
*/
public Builder addGlobPatterns(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureGlobPatternsIsMutable();
globPatterns_.add(value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* / List of implementation file glob patterns
*
*
* repeated string globPatterns = 1;
* @param values The globPatterns to add.
* @return This builder for chaining.
*/
public Builder addAllGlobPatterns(
java.lang.Iterable values) {
ensureGlobPatternsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, globPatterns_);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*