Package gauge.messages
Class Messages.StepValidateResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Messages.StepValidateResponse.Builder>
gauge.messages.Messages.StepValidateResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Messages.StepValidateResponseOrBuilder,Cloneable
- Enclosing class:
- Messages.StepValidateResponse
public static final class Messages.StepValidateResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Messages.StepValidateResponse.Builder>
implements Messages.StepValidateResponseOrBuilder
/ 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
gauge.messages.StepValidateResponse-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()string errorMessage = 2;.gauge.messages.StepValidateResponse.ErrorType errorType = 3;bool isValid = 1;string suggestion = 4;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorstring errorMessage = 2;com.google.protobuf.ByteStringstring errorMessage = 2;.gauge.messages.StepValidateResponse.ErrorType errorType = 3;int.gauge.messages.StepValidateResponse.ErrorType errorType = 3;booleanbool isValid = 1;string suggestion = 4;com.google.protobuf.ByteStringstring suggestion = 4;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setErrorMessage(String value) string errorMessage = 2;setErrorMessageBytes(com.google.protobuf.ByteString value) string errorMessage = 2;.gauge.messages.StepValidateResponse.ErrorType errorType = 3;setErrorTypeValue(int value) .gauge.messages.StepValidateResponse.ErrorType errorType = 3;setIsValid(boolean value) bool isValid = 1;setSuggestion(String value) string suggestion = 4;setSuggestionBytes(com.google.protobuf.ByteString value) string suggestion = 4;Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Messages.StepValidateResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Messages.StepValidateResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Messages.StepValidateResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Messages.StepValidateResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Messages.StepValidateResponse.Builder>
-
mergeFrom
public Messages.StepValidateResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Messages.StepValidateResponse.Builder>- Throws:
IOException
-
getIsValid
public boolean getIsValid()bool isValid = 1;- Specified by:
getIsValidin interfaceMessages.StepValidateResponseOrBuilder- Returns:
- The isValid.
-
setIsValid
bool isValid = 1;- Parameters:
value- The isValid to set.- Returns:
- This builder for chaining.
-
clearIsValid
bool isValid = 1;- Returns:
- This builder for chaining.
-
getErrorMessage
string errorMessage = 2;- Specified by:
getErrorMessagein interfaceMessages.StepValidateResponseOrBuilder- Returns:
- The errorMessage.
-
getErrorMessageBytes
public com.google.protobuf.ByteString getErrorMessageBytes()string errorMessage = 2;- Specified by:
getErrorMessageBytesin interfaceMessages.StepValidateResponseOrBuilder- Returns:
- The bytes for errorMessage.
-
setErrorMessage
string errorMessage = 2;- Parameters:
value- The errorMessage to set.- Returns:
- This builder for chaining.
-
clearErrorMessage
string errorMessage = 2;- Returns:
- This builder for chaining.
-
setErrorMessageBytes
public Messages.StepValidateResponse.Builder setErrorMessageBytes(com.google.protobuf.ByteString value) string errorMessage = 2;- Parameters:
value- The bytes for errorMessage to set.- Returns:
- This builder for chaining.
-
getErrorTypeValue
public int getErrorTypeValue().gauge.messages.StepValidateResponse.ErrorType errorType = 3;- Specified by:
getErrorTypeValuein interfaceMessages.StepValidateResponseOrBuilder- Returns:
- The enum numeric value on the wire for errorType.
-
setErrorTypeValue
.gauge.messages.StepValidateResponse.ErrorType errorType = 3;- Parameters:
value- The enum numeric value on the wire for errorType to set.- Returns:
- This builder for chaining.
-
getErrorType
.gauge.messages.StepValidateResponse.ErrorType errorType = 3;- Specified by:
getErrorTypein interfaceMessages.StepValidateResponseOrBuilder- Returns:
- The errorType.
-
setErrorType
public Messages.StepValidateResponse.Builder setErrorType(Messages.StepValidateResponse.ErrorType value) .gauge.messages.StepValidateResponse.ErrorType errorType = 3;- Parameters:
value- The errorType to set.- Returns:
- This builder for chaining.
-
clearErrorType
.gauge.messages.StepValidateResponse.ErrorType errorType = 3;- Returns:
- This builder for chaining.
-
getSuggestion
string suggestion = 4;- Specified by:
getSuggestionin interfaceMessages.StepValidateResponseOrBuilder- Returns:
- The suggestion.
-
getSuggestionBytes
public com.google.protobuf.ByteString getSuggestionBytes()string suggestion = 4;- Specified by:
getSuggestionBytesin interfaceMessages.StepValidateResponseOrBuilder- Returns:
- The bytes for suggestion.
-
setSuggestion
string suggestion = 4;- Parameters:
value- The suggestion to set.- Returns:
- This builder for chaining.
-
clearSuggestion
string suggestion = 4;- Returns:
- This builder for chaining.
-
setSuggestionBytes
public Messages.StepValidateResponse.Builder setSuggestionBytes(com.google.protobuf.ByteString value) string suggestion = 4;- Parameters:
value- The bytes for suggestion to set.- Returns:
- This builder for chaining.
-