optional string hardwareFolders = 1;
+ */
+ public java.lang.String getHardwareFolders() {
+ java.lang.Object ref = hardwareFolders_;
+ 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();
+ hardwareFolders_ = s;
+ return s;
+ }
+ }
+ /**
+ * optional string hardwareFolders = 1;
+ */
+ public com.google.protobuf.ByteString
+ getHardwareFoldersBytes() {
+ java.lang.Object ref = hardwareFolders_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ hardwareFolders_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int TOOLSFOLDERS_FIELD_NUMBER = 2;
+ private volatile java.lang.Object toolsFolders_;
+ /**
+ * optional string toolsFolders = 2;
+ */
+ public java.lang.String getToolsFolders() {
+ java.lang.Object ref = toolsFolders_;
+ 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();
+ toolsFolders_ = s;
+ return s;
+ }
+ }
+ /**
+ * optional string toolsFolders = 2;
+ */
+ public com.google.protobuf.ByteString
+ getToolsFoldersBytes() {
+ java.lang.Object ref = toolsFolders_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ toolsFolders_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int BUILTINLIBRARIESFOLDERS_FIELD_NUMBER = 3;
+ private volatile java.lang.Object builtInLibrariesFolders_;
+ /**
+ * optional string builtInLibrariesFolders = 3;
+ */
+ public java.lang.String getBuiltInLibrariesFolders() {
+ java.lang.Object ref = builtInLibrariesFolders_;
+ 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();
+ builtInLibrariesFolders_ = s;
+ return s;
+ }
+ }
+ /**
+ * optional string builtInLibrariesFolders = 3;
+ */
+ public com.google.protobuf.ByteString
+ getBuiltInLibrariesFoldersBytes() {
+ java.lang.Object ref = builtInLibrariesFolders_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ builtInLibrariesFolders_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int OTHERLIBRARIESFOLDERS_FIELD_NUMBER = 4;
+ private volatile java.lang.Object otherLibrariesFolders_;
+ /**
+ * optional string otherLibrariesFolders = 4;
+ */
+ public java.lang.String getOtherLibrariesFolders() {
+ java.lang.Object ref = otherLibrariesFolders_;
+ 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();
+ otherLibrariesFolders_ = s;
+ return s;
+ }
+ }
+ /**
+ * optional string otherLibrariesFolders = 4;
+ */
+ public com.google.protobuf.ByteString
+ getOtherLibrariesFoldersBytes() {
+ java.lang.Object ref = otherLibrariesFolders_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ otherLibrariesFolders_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int SKETCHLOCATION_FIELD_NUMBER = 5;
+ private volatile java.lang.Object sketchLocation_;
+ /**
+ * optional string sketchLocation = 5;
+ */
+ public java.lang.String getSketchLocation() {
+ java.lang.Object ref = sketchLocation_;
+ 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();
+ sketchLocation_ = s;
+ return s;
+ }
+ }
+ /**
+ * optional string sketchLocation = 5;
+ */
+ public com.google.protobuf.ByteString
+ getSketchLocationBytes() {
+ java.lang.Object ref = sketchLocation_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ sketchLocation_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int FQBN_FIELD_NUMBER = 6;
+ private volatile java.lang.Object fQBN_;
+ /**
+ * optional string fQBN = 6;
+ */
+ public java.lang.String getFQBN() {
+ java.lang.Object ref = fQBN_;
+ 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();
+ fQBN_ = s;
+ return s;
+ }
+ }
+ /**
+ * optional string fQBN = 6;
+ */
+ public com.google.protobuf.ByteString
+ getFQBNBytes() {
+ java.lang.Object ref = fQBN_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ fQBN_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int ARDUINOAPIVERSION_FIELD_NUMBER = 7;
+ private volatile java.lang.Object arduinoAPIVersion_;
+ /**
+ * optional string arduinoAPIVersion = 7;
+ */
+ public java.lang.String getArduinoAPIVersion() {
+ java.lang.Object ref = arduinoAPIVersion_;
+ 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();
+ arduinoAPIVersion_ = s;
+ return s;
+ }
+ }
+ /**
+ * optional string arduinoAPIVersion = 7;
+ */
+ public com.google.protobuf.ByteString
+ getArduinoAPIVersionBytes() {
+ java.lang.Object ref = arduinoAPIVersion_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ arduinoAPIVersion_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int CUSTOMBUILDPROPERTIES_FIELD_NUMBER = 8;
+ private volatile java.lang.Object customBuildProperties_;
+ /**
+ * optional string customBuildProperties = 8;
+ */
+ public java.lang.String getCustomBuildProperties() {
+ java.lang.Object ref = customBuildProperties_;
+ 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();
+ customBuildProperties_ = s;
+ return s;
+ }
+ }
+ /**
+ * optional string customBuildProperties = 8;
+ */
+ public com.google.protobuf.ByteString
+ getCustomBuildPropertiesBytes() {
+ java.lang.Object ref = customBuildProperties_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ customBuildProperties_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int BUILDCACHEPATH_FIELD_NUMBER = 9;
+ private volatile java.lang.Object buildCachePath_;
+ /**
+ * optional string buildCachePath = 9;
+ */
+ public java.lang.String getBuildCachePath() {
+ java.lang.Object ref = buildCachePath_;
+ 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();
+ buildCachePath_ = s;
+ return s;
+ }
+ }
+ /**
+ * optional string buildCachePath = 9;
+ */
+ public com.google.protobuf.ByteString
+ getBuildCachePathBytes() {
+ java.lang.Object ref = buildCachePath_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ buildCachePath_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int BUILDPATH_FIELD_NUMBER = 10;
+ private volatile java.lang.Object buildPath_;
+ /**
+ * optional string buildPath = 10;
+ */
+ public java.lang.String getBuildPath() {
+ java.lang.Object ref = buildPath_;
+ 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();
+ buildPath_ = s;
+ return s;
+ }
+ }
+ /**
+ * optional string buildPath = 10;
+ */
+ public com.google.protobuf.ByteString
+ getBuildPathBytes() {
+ java.lang.Object ref = buildPath_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ buildPath_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int WARNINGSLEVEL_FIELD_NUMBER = 11;
+ private volatile java.lang.Object warningsLevel_;
+ /**
+ * optional string warningsLevel = 11;
+ */
+ public java.lang.String getWarningsLevel() {
+ java.lang.Object ref = warningsLevel_;
+ 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();
+ warningsLevel_ = s;
+ return s;
+ }
+ }
+ /**
+ * optional string warningsLevel = 11;
+ */
+ public com.google.protobuf.ByteString
+ getWarningsLevelBytes() {
+ java.lang.Object ref = warningsLevel_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ warningsLevel_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int CODECOMPLETEAT_FIELD_NUMBER = 12;
+ private volatile java.lang.Object codeCompleteAt_;
+ /**
+ * optional string codeCompleteAt = 12;
+ */
+ public java.lang.String getCodeCompleteAt() {
+ java.lang.Object ref = codeCompleteAt_;
+ 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();
+ codeCompleteAt_ = s;
+ return s;
+ }
+ }
+ /**
+ * optional string codeCompleteAt = 12;
+ */
+ public com.google.protobuf.ByteString
+ getCodeCompleteAtBytes() {
+ java.lang.Object ref = codeCompleteAt_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ codeCompleteAt_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int VERBOSE_FIELD_NUMBER = 13;
+ private boolean verbose_;
+ /**
+ * optional bool verbose = 13;
+ */
+ public boolean getVerbose() {
+ return verbose_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ if (!getHardwareFoldersBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, hardwareFolders_);
+ }
+ if (!getToolsFoldersBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, toolsFolders_);
+ }
+ if (!getBuiltInLibrariesFoldersBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, builtInLibrariesFolders_);
+ }
+ if (!getOtherLibrariesFoldersBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, otherLibrariesFolders_);
+ }
+ if (!getSketchLocationBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 5, sketchLocation_);
+ }
+ if (!getFQBNBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 6, fQBN_);
+ }
+ if (!getArduinoAPIVersionBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 7, arduinoAPIVersion_);
+ }
+ if (!getCustomBuildPropertiesBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 8, customBuildProperties_);
+ }
+ if (!getBuildCachePathBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 9, buildCachePath_);
+ }
+ if (!getBuildPathBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 10, buildPath_);
+ }
+ if (!getWarningsLevelBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 11, warningsLevel_);
+ }
+ if (!getCodeCompleteAtBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 12, codeCompleteAt_);
+ }
+ if (verbose_ != false) {
+ output.writeBool(13, verbose_);
+ }
+ }
+
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!getHardwareFoldersBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, hardwareFolders_);
+ }
+ if (!getToolsFoldersBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, toolsFolders_);
+ }
+ if (!getBuiltInLibrariesFoldersBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, builtInLibrariesFolders_);
+ }
+ if (!getOtherLibrariesFoldersBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, otherLibrariesFolders_);
+ }
+ if (!getSketchLocationBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, sketchLocation_);
+ }
+ if (!getFQBNBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, fQBN_);
+ }
+ if (!getArduinoAPIVersionBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, arduinoAPIVersion_);
+ }
+ if (!getCustomBuildPropertiesBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, customBuildProperties_);
+ }
+ if (!getBuildCachePathBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, buildCachePath_);
+ }
+ if (!getBuildPathBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, buildPath_);
+ }
+ if (!getWarningsLevelBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, warningsLevel_);
+ }
+ if (!getCodeCompleteAtBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, codeCompleteAt_);
+ }
+ if (verbose_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(13, verbose_);
+ }
+ memoizedSize = size;
+ return size;
+ }
+
+ private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof cc.arduino.builder.BuildParams)) {
+ return super.equals(obj);
+ }
+ cc.arduino.builder.BuildParams other = (cc.arduino.builder.BuildParams) obj;
+
+ boolean result = true;
+ result = result && getHardwareFolders()
+ .equals(other.getHardwareFolders());
+ result = result && getToolsFolders()
+ .equals(other.getToolsFolders());
+ result = result && getBuiltInLibrariesFolders()
+ .equals(other.getBuiltInLibrariesFolders());
+ result = result && getOtherLibrariesFolders()
+ .equals(other.getOtherLibrariesFolders());
+ result = result && getSketchLocation()
+ .equals(other.getSketchLocation());
+ result = result && getFQBN()
+ .equals(other.getFQBN());
+ result = result && getArduinoAPIVersion()
+ .equals(other.getArduinoAPIVersion());
+ result = result && getCustomBuildProperties()
+ .equals(other.getCustomBuildProperties());
+ result = result && getBuildCachePath()
+ .equals(other.getBuildCachePath());
+ result = result && getBuildPath()
+ .equals(other.getBuildPath());
+ result = result && getWarningsLevel()
+ .equals(other.getWarningsLevel());
+ result = result && getCodeCompleteAt()
+ .equals(other.getCodeCompleteAt());
+ result = result && (getVerbose()
+ == other.getVerbose());
+ return result;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptorForType().hashCode();
+ hash = (37 * hash) + HARDWAREFOLDERS_FIELD_NUMBER;
+ hash = (53 * hash) + getHardwareFolders().hashCode();
+ hash = (37 * hash) + TOOLSFOLDERS_FIELD_NUMBER;
+ hash = (53 * hash) + getToolsFolders().hashCode();
+ hash = (37 * hash) + BUILTINLIBRARIESFOLDERS_FIELD_NUMBER;
+ hash = (53 * hash) + getBuiltInLibrariesFolders().hashCode();
+ hash = (37 * hash) + OTHERLIBRARIESFOLDERS_FIELD_NUMBER;
+ hash = (53 * hash) + getOtherLibrariesFolders().hashCode();
+ hash = (37 * hash) + SKETCHLOCATION_FIELD_NUMBER;
+ hash = (53 * hash) + getSketchLocation().hashCode();
+ hash = (37 * hash) + FQBN_FIELD_NUMBER;
+ hash = (53 * hash) + getFQBN().hashCode();
+ hash = (37 * hash) + ARDUINOAPIVERSION_FIELD_NUMBER;
+ hash = (53 * hash) + getArduinoAPIVersion().hashCode();
+ hash = (37 * hash) + CUSTOMBUILDPROPERTIES_FIELD_NUMBER;
+ hash = (53 * hash) + getCustomBuildProperties().hashCode();
+ hash = (37 * hash) + BUILDCACHEPATH_FIELD_NUMBER;
+ hash = (53 * hash) + getBuildCachePath().hashCode();
+ hash = (37 * hash) + BUILDPATH_FIELD_NUMBER;
+ hash = (53 * hash) + getBuildPath().hashCode();
+ hash = (37 * hash) + WARNINGSLEVEL_FIELD_NUMBER;
+ hash = (53 * hash) + getWarningsLevel().hashCode();
+ hash = (37 * hash) + CODECOMPLETEAT_FIELD_NUMBER;
+ hash = (53 * hash) + getCodeCompleteAt().hashCode();
+ hash = (37 * hash) + VERBOSE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getVerbose());
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static cc.arduino.builder.BuildParams parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static cc.arduino.builder.BuildParams parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static cc.arduino.builder.BuildParams parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static cc.arduino.builder.BuildParams parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static cc.arduino.builder.BuildParams parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static cc.arduino.builder.BuildParams parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static cc.arduino.builder.BuildParams parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static cc.arduino.builder.BuildParams parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static cc.arduino.builder.BuildParams parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static cc.arduino.builder.BuildParams parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(cc.arduino.builder.BuildParams prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code proto.BuildParams}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builderoptional string hardwareFolders = 1;
+ */
+ public java.lang.String getHardwareFolders() {
+ java.lang.Object ref = hardwareFolders_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ hardwareFolders_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * optional string hardwareFolders = 1;
+ */
+ public com.google.protobuf.ByteString
+ getHardwareFoldersBytes() {
+ java.lang.Object ref = hardwareFolders_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ hardwareFolders_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * optional string hardwareFolders = 1;
+ */
+ public Builder setHardwareFolders(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ hardwareFolders_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string hardwareFolders = 1;
+ */
+ public Builder clearHardwareFolders() {
+
+ hardwareFolders_ = getDefaultInstance().getHardwareFolders();
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string hardwareFolders = 1;
+ */
+ public Builder setHardwareFoldersBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ hardwareFolders_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object toolsFolders_ = "";
+ /**
+ * optional string toolsFolders = 2;
+ */
+ public java.lang.String getToolsFolders() {
+ java.lang.Object ref = toolsFolders_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ toolsFolders_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * optional string toolsFolders = 2;
+ */
+ public com.google.protobuf.ByteString
+ getToolsFoldersBytes() {
+ java.lang.Object ref = toolsFolders_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ toolsFolders_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * optional string toolsFolders = 2;
+ */
+ public Builder setToolsFolders(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ toolsFolders_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string toolsFolders = 2;
+ */
+ public Builder clearToolsFolders() {
+
+ toolsFolders_ = getDefaultInstance().getToolsFolders();
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string toolsFolders = 2;
+ */
+ public Builder setToolsFoldersBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ toolsFolders_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object builtInLibrariesFolders_ = "";
+ /**
+ * optional string builtInLibrariesFolders = 3;
+ */
+ public java.lang.String getBuiltInLibrariesFolders() {
+ java.lang.Object ref = builtInLibrariesFolders_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ builtInLibrariesFolders_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * optional string builtInLibrariesFolders = 3;
+ */
+ public com.google.protobuf.ByteString
+ getBuiltInLibrariesFoldersBytes() {
+ java.lang.Object ref = builtInLibrariesFolders_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ builtInLibrariesFolders_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * optional string builtInLibrariesFolders = 3;
+ */
+ public Builder setBuiltInLibrariesFolders(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ builtInLibrariesFolders_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string builtInLibrariesFolders = 3;
+ */
+ public Builder clearBuiltInLibrariesFolders() {
+
+ builtInLibrariesFolders_ = getDefaultInstance().getBuiltInLibrariesFolders();
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string builtInLibrariesFolders = 3;
+ */
+ public Builder setBuiltInLibrariesFoldersBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ builtInLibrariesFolders_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object otherLibrariesFolders_ = "";
+ /**
+ * optional string otherLibrariesFolders = 4;
+ */
+ public java.lang.String getOtherLibrariesFolders() {
+ java.lang.Object ref = otherLibrariesFolders_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ otherLibrariesFolders_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * optional string otherLibrariesFolders = 4;
+ */
+ public com.google.protobuf.ByteString
+ getOtherLibrariesFoldersBytes() {
+ java.lang.Object ref = otherLibrariesFolders_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ otherLibrariesFolders_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * optional string otherLibrariesFolders = 4;
+ */
+ public Builder setOtherLibrariesFolders(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ otherLibrariesFolders_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string otherLibrariesFolders = 4;
+ */
+ public Builder clearOtherLibrariesFolders() {
+
+ otherLibrariesFolders_ = getDefaultInstance().getOtherLibrariesFolders();
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string otherLibrariesFolders = 4;
+ */
+ public Builder setOtherLibrariesFoldersBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ otherLibrariesFolders_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object sketchLocation_ = "";
+ /**
+ * optional string sketchLocation = 5;
+ */
+ public java.lang.String getSketchLocation() {
+ java.lang.Object ref = sketchLocation_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ sketchLocation_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * optional string sketchLocation = 5;
+ */
+ public com.google.protobuf.ByteString
+ getSketchLocationBytes() {
+ java.lang.Object ref = sketchLocation_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ sketchLocation_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * optional string sketchLocation = 5;
+ */
+ public Builder setSketchLocation(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ sketchLocation_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string sketchLocation = 5;
+ */
+ public Builder clearSketchLocation() {
+
+ sketchLocation_ = getDefaultInstance().getSketchLocation();
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string sketchLocation = 5;
+ */
+ public Builder setSketchLocationBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ sketchLocation_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object fQBN_ = "";
+ /**
+ * optional string fQBN = 6;
+ */
+ public java.lang.String getFQBN() {
+ java.lang.Object ref = fQBN_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ fQBN_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * optional string fQBN = 6;
+ */
+ public com.google.protobuf.ByteString
+ getFQBNBytes() {
+ java.lang.Object ref = fQBN_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ fQBN_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * optional string fQBN = 6;
+ */
+ public Builder setFQBN(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ fQBN_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string fQBN = 6;
+ */
+ public Builder clearFQBN() {
+
+ fQBN_ = getDefaultInstance().getFQBN();
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string fQBN = 6;
+ */
+ public Builder setFQBNBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ fQBN_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object arduinoAPIVersion_ = "";
+ /**
+ * optional string arduinoAPIVersion = 7;
+ */
+ public java.lang.String getArduinoAPIVersion() {
+ java.lang.Object ref = arduinoAPIVersion_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ arduinoAPIVersion_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * optional string arduinoAPIVersion = 7;
+ */
+ public com.google.protobuf.ByteString
+ getArduinoAPIVersionBytes() {
+ java.lang.Object ref = arduinoAPIVersion_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ arduinoAPIVersion_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * optional string arduinoAPIVersion = 7;
+ */
+ public Builder setArduinoAPIVersion(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ arduinoAPIVersion_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string arduinoAPIVersion = 7;
+ */
+ public Builder clearArduinoAPIVersion() {
+
+ arduinoAPIVersion_ = getDefaultInstance().getArduinoAPIVersion();
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string arduinoAPIVersion = 7;
+ */
+ public Builder setArduinoAPIVersionBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ arduinoAPIVersion_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object customBuildProperties_ = "";
+ /**
+ * optional string customBuildProperties = 8;
+ */
+ public java.lang.String getCustomBuildProperties() {
+ java.lang.Object ref = customBuildProperties_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ customBuildProperties_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * optional string customBuildProperties = 8;
+ */
+ public com.google.protobuf.ByteString
+ getCustomBuildPropertiesBytes() {
+ java.lang.Object ref = customBuildProperties_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ customBuildProperties_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * optional string customBuildProperties = 8;
+ */
+ public Builder setCustomBuildProperties(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ customBuildProperties_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string customBuildProperties = 8;
+ */
+ public Builder clearCustomBuildProperties() {
+
+ customBuildProperties_ = getDefaultInstance().getCustomBuildProperties();
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string customBuildProperties = 8;
+ */
+ public Builder setCustomBuildPropertiesBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ customBuildProperties_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object buildCachePath_ = "";
+ /**
+ * optional string buildCachePath = 9;
+ */
+ public java.lang.String getBuildCachePath() {
+ java.lang.Object ref = buildCachePath_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ buildCachePath_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * optional string buildCachePath = 9;
+ */
+ public com.google.protobuf.ByteString
+ getBuildCachePathBytes() {
+ java.lang.Object ref = buildCachePath_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ buildCachePath_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * optional string buildCachePath = 9;
+ */
+ public Builder setBuildCachePath(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ buildCachePath_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string buildCachePath = 9;
+ */
+ public Builder clearBuildCachePath() {
+
+ buildCachePath_ = getDefaultInstance().getBuildCachePath();
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string buildCachePath = 9;
+ */
+ public Builder setBuildCachePathBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ buildCachePath_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object buildPath_ = "";
+ /**
+ * optional string buildPath = 10;
+ */
+ public java.lang.String getBuildPath() {
+ java.lang.Object ref = buildPath_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ buildPath_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * optional string buildPath = 10;
+ */
+ public com.google.protobuf.ByteString
+ getBuildPathBytes() {
+ java.lang.Object ref = buildPath_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ buildPath_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * optional string buildPath = 10;
+ */
+ public Builder setBuildPath(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ buildPath_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string buildPath = 10;
+ */
+ public Builder clearBuildPath() {
+
+ buildPath_ = getDefaultInstance().getBuildPath();
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string buildPath = 10;
+ */
+ public Builder setBuildPathBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ buildPath_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object warningsLevel_ = "";
+ /**
+ * optional string warningsLevel = 11;
+ */
+ public java.lang.String getWarningsLevel() {
+ java.lang.Object ref = warningsLevel_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ warningsLevel_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * optional string warningsLevel = 11;
+ */
+ public com.google.protobuf.ByteString
+ getWarningsLevelBytes() {
+ java.lang.Object ref = warningsLevel_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ warningsLevel_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * optional string warningsLevel = 11;
+ */
+ public Builder setWarningsLevel(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ warningsLevel_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string warningsLevel = 11;
+ */
+ public Builder clearWarningsLevel() {
+
+ warningsLevel_ = getDefaultInstance().getWarningsLevel();
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string warningsLevel = 11;
+ */
+ public Builder setWarningsLevelBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ warningsLevel_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object codeCompleteAt_ = "";
+ /**
+ * optional string codeCompleteAt = 12;
+ */
+ public java.lang.String getCodeCompleteAt() {
+ java.lang.Object ref = codeCompleteAt_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ codeCompleteAt_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * optional string codeCompleteAt = 12;
+ */
+ public com.google.protobuf.ByteString
+ getCodeCompleteAtBytes() {
+ java.lang.Object ref = codeCompleteAt_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ codeCompleteAt_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * optional string codeCompleteAt = 12;
+ */
+ public Builder setCodeCompleteAt(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ codeCompleteAt_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string codeCompleteAt = 12;
+ */
+ public Builder clearCodeCompleteAt() {
+
+ codeCompleteAt_ = getDefaultInstance().getCodeCompleteAt();
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string codeCompleteAt = 12;
+ */
+ public Builder setCodeCompleteAtBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ codeCompleteAt_ = value;
+ onChanged();
+ return this;
+ }
+
+ private boolean verbose_ ;
+ /**
+ * optional bool verbose = 13;
+ */
+ public boolean getVerbose() {
+ return verbose_;
+ }
+ /**
+ * optional bool verbose = 13;
+ */
+ public Builder setVerbose(boolean value) {
+
+ verbose_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional bool verbose = 13;
+ */
+ public Builder clearVerbose() {
+
+ verbose_ = false;
+ onChanged();
+ return this;
+ }
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return this;
+ }
+
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return this;
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:proto.BuildParams)
+ }
+
+ // @@protoc_insertion_point(class_scope:proto.BuildParams)
+ private static final cc.arduino.builder.BuildParams DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new cc.arduino.builder.BuildParams();
+ }
+
+ public static cc.arduino.builder.BuildParams getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parseroptional string hardwareFolders = 1;
+ */
+ java.lang.String getHardwareFolders();
+ /**
+ * optional string hardwareFolders = 1;
+ */
+ com.google.protobuf.ByteString
+ getHardwareFoldersBytes();
+
+ /**
+ * optional string toolsFolders = 2;
+ */
+ java.lang.String getToolsFolders();
+ /**
+ * optional string toolsFolders = 2;
+ */
+ com.google.protobuf.ByteString
+ getToolsFoldersBytes();
+
+ /**
+ * optional string builtInLibrariesFolders = 3;
+ */
+ java.lang.String getBuiltInLibrariesFolders();
+ /**
+ * optional string builtInLibrariesFolders = 3;
+ */
+ com.google.protobuf.ByteString
+ getBuiltInLibrariesFoldersBytes();
+
+ /**
+ * optional string otherLibrariesFolders = 4;
+ */
+ java.lang.String getOtherLibrariesFolders();
+ /**
+ * optional string otherLibrariesFolders = 4;
+ */
+ com.google.protobuf.ByteString
+ getOtherLibrariesFoldersBytes();
+
+ /**
+ * optional string sketchLocation = 5;
+ */
+ java.lang.String getSketchLocation();
+ /**
+ * optional string sketchLocation = 5;
+ */
+ com.google.protobuf.ByteString
+ getSketchLocationBytes();
+
+ /**
+ * optional string fQBN = 6;
+ */
+ java.lang.String getFQBN();
+ /**
+ * optional string fQBN = 6;
+ */
+ com.google.protobuf.ByteString
+ getFQBNBytes();
+
+ /**
+ * optional string arduinoAPIVersion = 7;
+ */
+ java.lang.String getArduinoAPIVersion();
+ /**
+ * optional string arduinoAPIVersion = 7;
+ */
+ com.google.protobuf.ByteString
+ getArduinoAPIVersionBytes();
+
+ /**
+ * optional string customBuildProperties = 8;
+ */
+ java.lang.String getCustomBuildProperties();
+ /**
+ * optional string customBuildProperties = 8;
+ */
+ com.google.protobuf.ByteString
+ getCustomBuildPropertiesBytes();
+
+ /**
+ * optional string buildCachePath = 9;
+ */
+ java.lang.String getBuildCachePath();
+ /**
+ * optional string buildCachePath = 9;
+ */
+ com.google.protobuf.ByteString
+ getBuildCachePathBytes();
+
+ /**
+ * optional string buildPath = 10;
+ */
+ java.lang.String getBuildPath();
+ /**
+ * optional string buildPath = 10;
+ */
+ com.google.protobuf.ByteString
+ getBuildPathBytes();
+
+ /**
+ * optional string warningsLevel = 11;
+ */
+ java.lang.String getWarningsLevel();
+ /**
+ * optional string warningsLevel = 11;
+ */
+ com.google.protobuf.ByteString
+ getWarningsLevelBytes();
+
+ /**
+ * optional string codeCompleteAt = 12;
+ */
+ java.lang.String getCodeCompleteAt();
+ /**
+ * optional string codeCompleteAt = 12;
+ */
+ com.google.protobuf.ByteString
+ getCodeCompleteAtBytes();
+
+ /**
+ * optional bool verbose = 13;
+ */
+ boolean getVerbose();
+}
diff --git a/arduino-core/src/cc/arduino/builder/BuilderGrpc.java b/arduino-core/src/cc/arduino/builder/BuilderGrpc.java
new file mode 100644
index 000000000..3eb2c52f4
--- /dev/null
+++ b/arduino-core/src/cc/arduino/builder/BuilderGrpc.java
@@ -0,0 +1,311 @@
+package cc.arduino.builder;
+
+import static io.grpc.MethodDescriptor.generateFullMethodName;
+import static io.grpc.stub.ClientCalls.asyncServerStreamingCall;
+import static io.grpc.stub.ClientCalls.asyncUnaryCall;
+import static io.grpc.stub.ClientCalls.blockingServerStreamingCall;
+import static io.grpc.stub.ClientCalls.blockingUnaryCall;
+import static io.grpc.stub.ClientCalls.futureUnaryCall;
+import static io.grpc.stub.ServerCalls.asyncServerStreamingCall;
+import static io.grpc.stub.ServerCalls.asyncUnaryCall;
+import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;
+
+/**
+ * + * Interface exported by the server. + *+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler (version 1.6.1)", + comments = "Source: builder.proto") +public final class BuilderGrpc { + + private BuilderGrpc() {} + + public static final String SERVICE_NAME = "proto.Builder"; + + // Static method descriptors that strictly reflect the proto. + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + public static final io.grpc.MethodDescriptor
+ * Interface exported by the server. + *+ */ + public static abstract class BuilderImplBase implements io.grpc.BindableService { + + /** + *
+ * A server-to-client streaming RPC. + * Obtains the Features available within the given Rectangle. Results are + * streamed rather than returned at once (e.g. in a response message with a + * repeated field), as the rectangle may cover a large area and contain a + * huge number of features. + *+ */ + public void build(cc.arduino.builder.BuildParams request, + io.grpc.stub.StreamObserver
+ * Interface exported by the server. + *+ */ + public static final class BuilderStub extends io.grpc.stub.AbstractStub
+ * A server-to-client streaming RPC. + * Obtains the Features available within the given Rectangle. Results are + * streamed rather than returned at once (e.g. in a response message with a + * repeated field), as the rectangle may cover a large area and contain a + * huge number of features. + *+ */ + public void build(cc.arduino.builder.BuildParams request, + io.grpc.stub.StreamObserver
+ * Interface exported by the server. + *+ */ + public static final class BuilderBlockingStub extends io.grpc.stub.AbstractStub
+ * A server-to-client streaming RPC. + * Obtains the Features available within the given Rectangle. Results are + * streamed rather than returned at once (e.g. in a response message with a + * repeated field), as the rectangle may cover a large area and contain a + * huge number of features. + *+ */ + public java.util.Iterator
+ * Interface exported by the server. + *+ */ + public static final class BuilderFutureStub extends io.grpc.stub.AbstractStub
optional string line = 1;
+ */
+ public java.lang.String getLine() {
+ java.lang.Object ref = line_;
+ 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();
+ line_ = s;
+ return s;
+ }
+ }
+ /**
+ * optional string line = 1;
+ */
+ public com.google.protobuf.ByteString
+ getLineBytes() {
+ java.lang.Object ref = line_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ line_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ if (!getLineBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, line_);
+ }
+ }
+
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!getLineBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, line_);
+ }
+ memoizedSize = size;
+ return size;
+ }
+
+ private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof cc.arduino.builder.Response)) {
+ return super.equals(obj);
+ }
+ cc.arduino.builder.Response other = (cc.arduino.builder.Response) obj;
+
+ boolean result = true;
+ result = result && getLine()
+ .equals(other.getLine());
+ return result;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptorForType().hashCode();
+ hash = (37 * hash) + LINE_FIELD_NUMBER;
+ hash = (53 * hash) + getLine().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static cc.arduino.builder.Response parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static cc.arduino.builder.Response parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static cc.arduino.builder.Response parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static cc.arduino.builder.Response parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static cc.arduino.builder.Response parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static cc.arduino.builder.Response parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static cc.arduino.builder.Response parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static cc.arduino.builder.Response parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static cc.arduino.builder.Response parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static cc.arduino.builder.Response parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(cc.arduino.builder.Response prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code proto.Response}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builderoptional string line = 1;
+ */
+ public java.lang.String getLine() {
+ java.lang.Object ref = line_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ line_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * optional string line = 1;
+ */
+ public com.google.protobuf.ByteString
+ getLineBytes() {
+ java.lang.Object ref = line_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ line_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * optional string line = 1;
+ */
+ public Builder setLine(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ line_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string line = 1;
+ */
+ public Builder clearLine() {
+
+ line_ = getDefaultInstance().getLine();
+ onChanged();
+ return this;
+ }
+ /**
+ * optional string line = 1;
+ */
+ public Builder setLineBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ line_ = value;
+ onChanged();
+ return this;
+ }
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return this;
+ }
+
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return this;
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:proto.Response)
+ }
+
+ // @@protoc_insertion_point(class_scope:proto.Response)
+ private static final cc.arduino.builder.Response DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new cc.arduino.builder.Response();
+ }
+
+ public static cc.arduino.builder.Response getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parseroptional string line = 1;
+ */
+ java.lang.String getLine();
+ /**
+ * optional string line = 1;
+ */
+ com.google.protobuf.ByteString
+ getLineBytes();
+}