All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xyz.block.ftl.v1.language.BuildRequest Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: xyz/block/ftl/v1/language/language.proto

// Protobuf Java Version: 3.25.4
package xyz.block.ftl.v1.language;

/**
 * 
 * Request to build a module.
 * 
* * Protobuf type {@code xyz.block.ftl.v1.language.BuildRequest} */ public final class BuildRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:xyz.block.ftl.v1.language.BuildRequest) BuildRequestOrBuilder { private static final long serialVersionUID = 0L; // Use BuildRequest.newBuilder() to construct. private BuildRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BuildRequest() { projectRoot_ = ""; stubsRoot_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BuildRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return xyz.block.ftl.v1.language.Language.internal_static_xyz_block_ftl_v1_language_BuildRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return xyz.block.ftl.v1.language.Language.internal_static_xyz_block_ftl_v1_language_BuildRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( xyz.block.ftl.v1.language.BuildRequest.class, xyz.block.ftl.v1.language.BuildRequest.Builder.class); } private int bitField0_; public static final int PROJECT_ROOT_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object projectRoot_ = ""; /** *
   * The root path for the FTL project
   * 
* * string project_root = 1; * @return The projectRoot. */ @java.lang.Override public java.lang.String getProjectRoot() { java.lang.Object ref = projectRoot_; 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(); projectRoot_ = s; return s; } } /** *
   * The root path for the FTL project
   * 
* * string project_root = 1; * @return The bytes for projectRoot. */ @java.lang.Override public com.google.protobuf.ByteString getProjectRootBytes() { java.lang.Object ref = projectRoot_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); projectRoot_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STUBS_ROOT_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object stubsRoot_ = ""; /** *
   * The path to the directory containing all module stubs. Each module stub is in a subdirectory.
   * 
* * string stubs_root = 2; * @return The stubsRoot. */ @java.lang.Override public java.lang.String getStubsRoot() { java.lang.Object ref = stubsRoot_; 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(); stubsRoot_ = s; return s; } } /** *
   * The path to the directory containing all module stubs. Each module stub is in a subdirectory.
   * 
* * string stubs_root = 2; * @return The bytes for stubsRoot. */ @java.lang.Override public com.google.protobuf.ByteString getStubsRootBytes() { java.lang.Object ref = stubsRoot_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stubsRoot_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int REBUILD_AUTOMATICALLY_FIELD_NUMBER = 3; private boolean rebuildAutomatically_ = false; /** *
   * Indicates whether to watch for file changes and automatically rebuild
   * 
* * bool rebuild_automatically = 3; * @return The rebuildAutomatically. */ @java.lang.Override public boolean getRebuildAutomatically() { return rebuildAutomatically_; } public static final int BUILD_CONTEXT_FIELD_NUMBER = 4; private xyz.block.ftl.v1.language.BuildContext buildContext_; /** * .xyz.block.ftl.v1.language.BuildContext build_context = 4; * @return Whether the buildContext field is set. */ @java.lang.Override public boolean hasBuildContext() { return ((bitField0_ & 0x00000001) != 0); } /** * .xyz.block.ftl.v1.language.BuildContext build_context = 4; * @return The buildContext. */ @java.lang.Override public xyz.block.ftl.v1.language.BuildContext getBuildContext() { return buildContext_ == null ? xyz.block.ftl.v1.language.BuildContext.getDefaultInstance() : buildContext_; } /** * .xyz.block.ftl.v1.language.BuildContext build_context = 4; */ @java.lang.Override public xyz.block.ftl.v1.language.BuildContextOrBuilder getBuildContextOrBuilder() { return buildContext_ == null ? xyz.block.ftl.v1.language.BuildContext.getDefaultInstance() : buildContext_; } 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.GeneratedMessageV3.isStringEmpty(projectRoot_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectRoot_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stubsRoot_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, stubsRoot_); } if (rebuildAutomatically_ != false) { output.writeBool(3, rebuildAutomatically_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(4, getBuildContext()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectRoot_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, projectRoot_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stubsRoot_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stubsRoot_); } if (rebuildAutomatically_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, rebuildAutomatically_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getBuildContext()); } 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 xyz.block.ftl.v1.language.BuildRequest)) { return super.equals(obj); } xyz.block.ftl.v1.language.BuildRequest other = (xyz.block.ftl.v1.language.BuildRequest) obj; if (!getProjectRoot() .equals(other.getProjectRoot())) return false; if (!getStubsRoot() .equals(other.getStubsRoot())) return false; if (getRebuildAutomatically() != other.getRebuildAutomatically()) return false; if (hasBuildContext() != other.hasBuildContext()) return false; if (hasBuildContext()) { if (!getBuildContext() .equals(other.getBuildContext())) 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) + PROJECT_ROOT_FIELD_NUMBER; hash = (53 * hash) + getProjectRoot().hashCode(); hash = (37 * hash) + STUBS_ROOT_FIELD_NUMBER; hash = (53 * hash) + getStubsRoot().hashCode(); hash = (37 * hash) + REBUILD_AUTOMATICALLY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getRebuildAutomatically()); if (hasBuildContext()) { hash = (37 * hash) + BUILD_CONTEXT_FIELD_NUMBER; hash = (53 * hash) + getBuildContext().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static xyz.block.ftl.v1.language.BuildRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static xyz.block.ftl.v1.language.BuildRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static xyz.block.ftl.v1.language.BuildRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static xyz.block.ftl.v1.language.BuildRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static xyz.block.ftl.v1.language.BuildRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static xyz.block.ftl.v1.language.BuildRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static xyz.block.ftl.v1.language.BuildRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static xyz.block.ftl.v1.language.BuildRequest 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 xyz.block.ftl.v1.language.BuildRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static xyz.block.ftl.v1.language.BuildRequest 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 xyz.block.ftl.v1.language.BuildRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static xyz.block.ftl.v1.language.BuildRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(xyz.block.ftl.v1.language.BuildRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * Request to build a module.
   * 
* * Protobuf type {@code xyz.block.ftl.v1.language.BuildRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:xyz.block.ftl.v1.language.BuildRequest) xyz.block.ftl.v1.language.BuildRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return xyz.block.ftl.v1.language.Language.internal_static_xyz_block_ftl_v1_language_BuildRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return xyz.block.ftl.v1.language.Language.internal_static_xyz_block_ftl_v1_language_BuildRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( xyz.block.ftl.v1.language.BuildRequest.class, xyz.block.ftl.v1.language.BuildRequest.Builder.class); } // Construct using xyz.block.ftl.v1.language.BuildRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getBuildContextFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; projectRoot_ = ""; stubsRoot_ = ""; rebuildAutomatically_ = false; buildContext_ = null; if (buildContextBuilder_ != null) { buildContextBuilder_.dispose(); buildContextBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return xyz.block.ftl.v1.language.Language.internal_static_xyz_block_ftl_v1_language_BuildRequest_descriptor; } @java.lang.Override public xyz.block.ftl.v1.language.BuildRequest getDefaultInstanceForType() { return xyz.block.ftl.v1.language.BuildRequest.getDefaultInstance(); } @java.lang.Override public xyz.block.ftl.v1.language.BuildRequest build() { xyz.block.ftl.v1.language.BuildRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public xyz.block.ftl.v1.language.BuildRequest buildPartial() { xyz.block.ftl.v1.language.BuildRequest result = new xyz.block.ftl.v1.language.BuildRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(xyz.block.ftl.v1.language.BuildRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.projectRoot_ = projectRoot_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.stubsRoot_ = stubsRoot_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.rebuildAutomatically_ = rebuildAutomatically_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000008) != 0)) { result.buildContext_ = buildContextBuilder_ == null ? buildContext_ : buildContextBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof xyz.block.ftl.v1.language.BuildRequest) { return mergeFrom((xyz.block.ftl.v1.language.BuildRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(xyz.block.ftl.v1.language.BuildRequest other) { if (other == xyz.block.ftl.v1.language.BuildRequest.getDefaultInstance()) return this; if (!other.getProjectRoot().isEmpty()) { projectRoot_ = other.projectRoot_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getStubsRoot().isEmpty()) { stubsRoot_ = other.stubsRoot_; bitField0_ |= 0x00000002; onChanged(); } if (other.getRebuildAutomatically() != false) { setRebuildAutomatically(other.getRebuildAutomatically()); } if (other.hasBuildContext()) { mergeBuildContext(other.getBuildContext()); } 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: { projectRoot_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { stubsRoot_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 24: { rebuildAutomatically_ = input.readBool(); bitField0_ |= 0x00000004; break; } // case 24 case 34: { input.readMessage( getBuildContextFieldBuilder().getBuilder(), extensionRegistry); 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 java.lang.Object projectRoot_ = ""; /** *
     * The root path for the FTL project
     * 
* * string project_root = 1; * @return The projectRoot. */ public java.lang.String getProjectRoot() { java.lang.Object ref = projectRoot_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectRoot_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The root path for the FTL project
     * 
* * string project_root = 1; * @return The bytes for projectRoot. */ public com.google.protobuf.ByteString getProjectRootBytes() { java.lang.Object ref = projectRoot_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); projectRoot_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The root path for the FTL project
     * 
* * string project_root = 1; * @param value The projectRoot to set. * @return This builder for chaining. */ public Builder setProjectRoot( java.lang.String value) { if (value == null) { throw new NullPointerException(); } projectRoot_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * The root path for the FTL project
     * 
* * string project_root = 1; * @return This builder for chaining. */ public Builder clearProjectRoot() { projectRoot_ = getDefaultInstance().getProjectRoot(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
     * The root path for the FTL project
     * 
* * string project_root = 1; * @param value The bytes for projectRoot to set. * @return This builder for chaining. */ public Builder setProjectRootBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectRoot_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object stubsRoot_ = ""; /** *
     * The path to the directory containing all module stubs. Each module stub is in a subdirectory.
     * 
* * string stubs_root = 2; * @return The stubsRoot. */ public java.lang.String getStubsRoot() { java.lang.Object ref = stubsRoot_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stubsRoot_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The path to the directory containing all module stubs. Each module stub is in a subdirectory.
     * 
* * string stubs_root = 2; * @return The bytes for stubsRoot. */ public com.google.protobuf.ByteString getStubsRootBytes() { java.lang.Object ref = stubsRoot_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stubsRoot_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The path to the directory containing all module stubs. Each module stub is in a subdirectory.
     * 
* * string stubs_root = 2; * @param value The stubsRoot to set. * @return This builder for chaining. */ public Builder setStubsRoot( java.lang.String value) { if (value == null) { throw new NullPointerException(); } stubsRoot_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * The path to the directory containing all module stubs. Each module stub is in a subdirectory.
     * 
* * string stubs_root = 2; * @return This builder for chaining. */ public Builder clearStubsRoot() { stubsRoot_ = getDefaultInstance().getStubsRoot(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
     * The path to the directory containing all module stubs. Each module stub is in a subdirectory.
     * 
* * string stubs_root = 2; * @param value The bytes for stubsRoot to set. * @return This builder for chaining. */ public Builder setStubsRootBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); stubsRoot_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private boolean rebuildAutomatically_ ; /** *
     * Indicates whether to watch for file changes and automatically rebuild
     * 
* * bool rebuild_automatically = 3; * @return The rebuildAutomatically. */ @java.lang.Override public boolean getRebuildAutomatically() { return rebuildAutomatically_; } /** *
     * Indicates whether to watch for file changes and automatically rebuild
     * 
* * bool rebuild_automatically = 3; * @param value The rebuildAutomatically to set. * @return This builder for chaining. */ public Builder setRebuildAutomatically(boolean value) { rebuildAutomatically_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * Indicates whether to watch for file changes and automatically rebuild
     * 
* * bool rebuild_automatically = 3; * @return This builder for chaining. */ public Builder clearRebuildAutomatically() { bitField0_ = (bitField0_ & ~0x00000004); rebuildAutomatically_ = false; onChanged(); return this; } private xyz.block.ftl.v1.language.BuildContext buildContext_; private com.google.protobuf.SingleFieldBuilderV3< xyz.block.ftl.v1.language.BuildContext, xyz.block.ftl.v1.language.BuildContext.Builder, xyz.block.ftl.v1.language.BuildContextOrBuilder> buildContextBuilder_; /** * .xyz.block.ftl.v1.language.BuildContext build_context = 4; * @return Whether the buildContext field is set. */ public boolean hasBuildContext() { return ((bitField0_ & 0x00000008) != 0); } /** * .xyz.block.ftl.v1.language.BuildContext build_context = 4; * @return The buildContext. */ public xyz.block.ftl.v1.language.BuildContext getBuildContext() { if (buildContextBuilder_ == null) { return buildContext_ == null ? xyz.block.ftl.v1.language.BuildContext.getDefaultInstance() : buildContext_; } else { return buildContextBuilder_.getMessage(); } } /** * .xyz.block.ftl.v1.language.BuildContext build_context = 4; */ public Builder setBuildContext(xyz.block.ftl.v1.language.BuildContext value) { if (buildContextBuilder_ == null) { if (value == null) { throw new NullPointerException(); } buildContext_ = value; } else { buildContextBuilder_.setMessage(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** * .xyz.block.ftl.v1.language.BuildContext build_context = 4; */ public Builder setBuildContext( xyz.block.ftl.v1.language.BuildContext.Builder builderForValue) { if (buildContextBuilder_ == null) { buildContext_ = builderForValue.build(); } else { buildContextBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; onChanged(); return this; } /** * .xyz.block.ftl.v1.language.BuildContext build_context = 4; */ public Builder mergeBuildContext(xyz.block.ftl.v1.language.BuildContext value) { if (buildContextBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && buildContext_ != null && buildContext_ != xyz.block.ftl.v1.language.BuildContext.getDefaultInstance()) { getBuildContextBuilder().mergeFrom(value); } else { buildContext_ = value; } } else { buildContextBuilder_.mergeFrom(value); } if (buildContext_ != null) { bitField0_ |= 0x00000008; onChanged(); } return this; } /** * .xyz.block.ftl.v1.language.BuildContext build_context = 4; */ public Builder clearBuildContext() { bitField0_ = (bitField0_ & ~0x00000008); buildContext_ = null; if (buildContextBuilder_ != null) { buildContextBuilder_.dispose(); buildContextBuilder_ = null; } onChanged(); return this; } /** * .xyz.block.ftl.v1.language.BuildContext build_context = 4; */ public xyz.block.ftl.v1.language.BuildContext.Builder getBuildContextBuilder() { bitField0_ |= 0x00000008; onChanged(); return getBuildContextFieldBuilder().getBuilder(); } /** * .xyz.block.ftl.v1.language.BuildContext build_context = 4; */ public xyz.block.ftl.v1.language.BuildContextOrBuilder getBuildContextOrBuilder() { if (buildContextBuilder_ != null) { return buildContextBuilder_.getMessageOrBuilder(); } else { return buildContext_ == null ? xyz.block.ftl.v1.language.BuildContext.getDefaultInstance() : buildContext_; } } /** * .xyz.block.ftl.v1.language.BuildContext build_context = 4; */ private com.google.protobuf.SingleFieldBuilderV3< xyz.block.ftl.v1.language.BuildContext, xyz.block.ftl.v1.language.BuildContext.Builder, xyz.block.ftl.v1.language.BuildContextOrBuilder> getBuildContextFieldBuilder() { if (buildContextBuilder_ == null) { buildContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< xyz.block.ftl.v1.language.BuildContext, xyz.block.ftl.v1.language.BuildContext.Builder, xyz.block.ftl.v1.language.BuildContextOrBuilder>( getBuildContext(), getParentForChildren(), isClean()); buildContext_ = null; } return buildContextBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:xyz.block.ftl.v1.language.BuildRequest) } // @@protoc_insertion_point(class_scope:xyz.block.ftl.v1.language.BuildRequest) private static final xyz.block.ftl.v1.language.BuildRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new xyz.block.ftl.v1.language.BuildRequest(); } public static xyz.block.ftl.v1.language.BuildRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BuildRequest 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 xyz.block.ftl.v1.language.BuildRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy