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

build.bazel.remote.execution.v2.ExecuteResponse Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: build/bazel/remote/execution/v2/remote_execution.proto

// Protobuf Java Version: 3.25.3
package build.bazel.remote.execution.v2;

/**
 * 
 * The response message for
 * [Execution.Execute][build.bazel.remote.execution.v2.Execution.Execute],
 * which will be contained in the [response
 * field][google.longrunning.Operation.response] of the
 * [Operation][google.longrunning.Operation].
 * 
* * Protobuf type {@code build.bazel.remote.execution.v2.ExecuteResponse} */ public final class ExecuteResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:build.bazel.remote.execution.v2.ExecuteResponse) ExecuteResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ExecuteResponse.newBuilder() to construct. private ExecuteResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExecuteResponse() { message_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExecuteResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return build.bazel.remote.execution.v2.RemoteExecutionProto.internal_static_build_bazel_remote_execution_v2_ExecuteResponse_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( int number) { switch (number) { case 4: return internalGetServerLogs(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return build.bazel.remote.execution.v2.RemoteExecutionProto.internal_static_build_bazel_remote_execution_v2_ExecuteResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( build.bazel.remote.execution.v2.ExecuteResponse.class, build.bazel.remote.execution.v2.ExecuteResponse.Builder.class); } private int bitField0_; public static final int RESULT_FIELD_NUMBER = 1; private build.bazel.remote.execution.v2.ActionResult result_; /** *
   * The result of the action.
   * 
* * .build.bazel.remote.execution.v2.ActionResult result = 1; * @return Whether the result field is set. */ @java.lang.Override public boolean hasResult() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * The result of the action.
   * 
* * .build.bazel.remote.execution.v2.ActionResult result = 1; * @return The result. */ @java.lang.Override public build.bazel.remote.execution.v2.ActionResult getResult() { return result_ == null ? build.bazel.remote.execution.v2.ActionResult.getDefaultInstance() : result_; } /** *
   * The result of the action.
   * 
* * .build.bazel.remote.execution.v2.ActionResult result = 1; */ @java.lang.Override public build.bazel.remote.execution.v2.ActionResultOrBuilder getResultOrBuilder() { return result_ == null ? build.bazel.remote.execution.v2.ActionResult.getDefaultInstance() : result_; } public static final int CACHED_RESULT_FIELD_NUMBER = 2; private boolean cachedResult_ = false; /** *
   * True if the result was served from cache, false if it was executed.
   * 
* * bool cached_result = 2; * @return The cachedResult. */ @java.lang.Override public boolean getCachedResult() { return cachedResult_; } public static final int STATUS_FIELD_NUMBER = 3; private com.google.rpc.Status status_; /** *
   * If the status has a code other than `OK`, it indicates that the action did
   * not finish execution. For example, if the operation times out during
   * execution, the status will have a `DEADLINE_EXCEEDED` code. Servers MUST
   * use this field for errors in execution, rather than the error field on the
   * `Operation` object.
   *
   * If the status code is other than `OK`, then the result MUST NOT be cached.
   * For an error status, the `result` field is optional; the server may
   * populate the output-, stdout-, and stderr-related fields if it has any
   * information available, such as the stdout and stderr of a timed-out action.
   * 
* * .google.rpc.Status status = 3; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * If the status has a code other than `OK`, it indicates that the action did
   * not finish execution. For example, if the operation times out during
   * execution, the status will have a `DEADLINE_EXCEEDED` code. Servers MUST
   * use this field for errors in execution, rather than the error field on the
   * `Operation` object.
   *
   * If the status code is other than `OK`, then the result MUST NOT be cached.
   * For an error status, the `result` field is optional; the server may
   * populate the output-, stdout-, and stderr-related fields if it has any
   * information available, such as the stdout and stderr of a timed-out action.
   * 
* * .google.rpc.Status status = 3; * @return The status. */ @java.lang.Override public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** *
   * If the status has a code other than `OK`, it indicates that the action did
   * not finish execution. For example, if the operation times out during
   * execution, the status will have a `DEADLINE_EXCEEDED` code. Servers MUST
   * use this field for errors in execution, rather than the error field on the
   * `Operation` object.
   *
   * If the status code is other than `OK`, then the result MUST NOT be cached.
   * For an error status, the `result` field is optional; the server may
   * populate the output-, stdout-, and stderr-related fields if it has any
   * information available, such as the stdout and stderr of a timed-out action.
   * 
* * .google.rpc.Status status = 3; */ @java.lang.Override public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } public static final int SERVER_LOGS_FIELD_NUMBER = 4; private static final class ServerLogsDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, build.bazel.remote.execution.v2.LogFile> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( build.bazel.remote.execution.v2.RemoteExecutionProto.internal_static_build_bazel_remote_execution_v2_ExecuteResponse_ServerLogsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, build.bazel.remote.execution.v2.LogFile.getDefaultInstance()); } @SuppressWarnings("serial") private com.google.protobuf.MapField< java.lang.String, build.bazel.remote.execution.v2.LogFile> serverLogs_; private com.google.protobuf.MapField internalGetServerLogs() { if (serverLogs_ == null) { return com.google.protobuf.MapField.emptyMapField( ServerLogsDefaultEntryHolder.defaultEntry); } return serverLogs_; } public int getServerLogsCount() { return internalGetServerLogs().getMap().size(); } /** *
   * An optional list of additional log outputs the server wishes to provide. A
   * server can use this to return execution-specific logs however it wishes.
   * This is intended primarily to make it easier for users to debug issues that
   * may be outside of the actual job execution, such as by identifying the
   * worker executing the action or by providing logs from the worker's setup
   * phase. The keys SHOULD be human readable so that a client can display them
   * to a user.
   * 
* * map<string, .build.bazel.remote.execution.v2.LogFile> server_logs = 4; */ @java.lang.Override public boolean containsServerLogs( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetServerLogs().getMap().containsKey(key); } /** * Use {@link #getServerLogsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getServerLogs() { return getServerLogsMap(); } /** *
   * An optional list of additional log outputs the server wishes to provide. A
   * server can use this to return execution-specific logs however it wishes.
   * This is intended primarily to make it easier for users to debug issues that
   * may be outside of the actual job execution, such as by identifying the
   * worker executing the action or by providing logs from the worker's setup
   * phase. The keys SHOULD be human readable so that a client can display them
   * to a user.
   * 
* * map<string, .build.bazel.remote.execution.v2.LogFile> server_logs = 4; */ @java.lang.Override public java.util.Map getServerLogsMap() { return internalGetServerLogs().getMap(); } /** *
   * An optional list of additional log outputs the server wishes to provide. A
   * server can use this to return execution-specific logs however it wishes.
   * This is intended primarily to make it easier for users to debug issues that
   * may be outside of the actual job execution, such as by identifying the
   * worker executing the action or by providing logs from the worker's setup
   * phase. The keys SHOULD be human readable so that a client can display them
   * to a user.
   * 
* * map<string, .build.bazel.remote.execution.v2.LogFile> server_logs = 4; */ @java.lang.Override public /* nullable */ build.bazel.remote.execution.v2.LogFile getServerLogsOrDefault( java.lang.String key, /* nullable */ build.bazel.remote.execution.v2.LogFile defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetServerLogs().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
   * An optional list of additional log outputs the server wishes to provide. A
   * server can use this to return execution-specific logs however it wishes.
   * This is intended primarily to make it easier for users to debug issues that
   * may be outside of the actual job execution, such as by identifying the
   * worker executing the action or by providing logs from the worker's setup
   * phase. The keys SHOULD be human readable so that a client can display them
   * to a user.
   * 
* * map<string, .build.bazel.remote.execution.v2.LogFile> server_logs = 4; */ @java.lang.Override public build.bazel.remote.execution.v2.LogFile getServerLogsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetServerLogs().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int MESSAGE_FIELD_NUMBER = 5; @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** *
   * Freeform informational message with details on the execution of the action
   * that may be displayed to the user upon failure or when requested explicitly.
   * 
* * string message = 5; * @return The message. */ @java.lang.Override public java.lang.String getMessage() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** *
   * Freeform informational message with details on the execution of the action
   * that may be displayed to the user upon failure or when requested explicitly.
   * 
* * string message = 5; * @return The bytes for message. */ @java.lang.Override public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getResult()); } if (cachedResult_ != false) { output.writeBool(2, cachedResult_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getStatus()); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetServerLogs(), ServerLogsDefaultEntryHolder.defaultEntry, 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, message_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getResult()); } if (cachedResult_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, cachedResult_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getStatus()); } for (java.util.Map.Entry entry : internalGetServerLogs().getMap().entrySet()) { com.google.protobuf.MapEntry serverLogs__ = ServerLogsDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, serverLogs__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, message_); } 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 build.bazel.remote.execution.v2.ExecuteResponse)) { return super.equals(obj); } build.bazel.remote.execution.v2.ExecuteResponse other = (build.bazel.remote.execution.v2.ExecuteResponse) obj; if (hasResult() != other.hasResult()) return false; if (hasResult()) { if (!getResult() .equals(other.getResult())) return false; } if (getCachedResult() != other.getCachedResult()) return false; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus() .equals(other.getStatus())) return false; } if (!internalGetServerLogs().equals( other.internalGetServerLogs())) return false; if (!getMessage() .equals(other.getMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasResult()) { hash = (37 * hash) + RESULT_FIELD_NUMBER; hash = (53 * hash) + getResult().hashCode(); } hash = (37 * hash) + CACHED_RESULT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getCachedResult()); if (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); } if (!internalGetServerLogs().getMap().isEmpty()) { hash = (37 * hash) + SERVER_LOGS_FIELD_NUMBER; hash = (53 * hash) + internalGetServerLogs().hashCode(); } hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static build.bazel.remote.execution.v2.ExecuteResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static build.bazel.remote.execution.v2.ExecuteResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static build.bazel.remote.execution.v2.ExecuteResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static build.bazel.remote.execution.v2.ExecuteResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static build.bazel.remote.execution.v2.ExecuteResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static build.bazel.remote.execution.v2.ExecuteResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static build.bazel.remote.execution.v2.ExecuteResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static build.bazel.remote.execution.v2.ExecuteResponse 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 build.bazel.remote.execution.v2.ExecuteResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static build.bazel.remote.execution.v2.ExecuteResponse 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 build.bazel.remote.execution.v2.ExecuteResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static build.bazel.remote.execution.v2.ExecuteResponse 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(build.bazel.remote.execution.v2.ExecuteResponse 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; } /** *
   * The response message for
   * [Execution.Execute][build.bazel.remote.execution.v2.Execution.Execute],
   * which will be contained in the [response
   * field][google.longrunning.Operation.response] of the
   * [Operation][google.longrunning.Operation].
   * 
* * Protobuf type {@code build.bazel.remote.execution.v2.ExecuteResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:build.bazel.remote.execution.v2.ExecuteResponse) build.bazel.remote.execution.v2.ExecuteResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return build.bazel.remote.execution.v2.RemoteExecutionProto.internal_static_build_bazel_remote_execution_v2_ExecuteResponse_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( int number) { switch (number) { case 4: return internalGetServerLogs(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( int number) { switch (number) { case 4: return internalGetMutableServerLogs(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return build.bazel.remote.execution.v2.RemoteExecutionProto.internal_static_build_bazel_remote_execution_v2_ExecuteResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( build.bazel.remote.execution.v2.ExecuteResponse.class, build.bazel.remote.execution.v2.ExecuteResponse.Builder.class); } // Construct using build.bazel.remote.execution.v2.ExecuteResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getResultFieldBuilder(); getStatusFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; result_ = null; if (resultBuilder_ != null) { resultBuilder_.dispose(); resultBuilder_ = null; } cachedResult_ = false; status_ = null; if (statusBuilder_ != null) { statusBuilder_.dispose(); statusBuilder_ = null; } internalGetMutableServerLogs().clear(); message_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return build.bazel.remote.execution.v2.RemoteExecutionProto.internal_static_build_bazel_remote_execution_v2_ExecuteResponse_descriptor; } @java.lang.Override public build.bazel.remote.execution.v2.ExecuteResponse getDefaultInstanceForType() { return build.bazel.remote.execution.v2.ExecuteResponse.getDefaultInstance(); } @java.lang.Override public build.bazel.remote.execution.v2.ExecuteResponse build() { build.bazel.remote.execution.v2.ExecuteResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public build.bazel.remote.execution.v2.ExecuteResponse buildPartial() { build.bazel.remote.execution.v2.ExecuteResponse result = new build.bazel.remote.execution.v2.ExecuteResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(build.bazel.remote.execution.v2.ExecuteResponse result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.result_ = resultBuilder_ == null ? result_ : resultBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.cachedResult_ = cachedResult_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.status_ = statusBuilder_ == null ? status_ : statusBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { result.serverLogs_ = internalGetServerLogs().build(ServerLogsDefaultEntryHolder.defaultEntry); } if (((from_bitField0_ & 0x00000010) != 0)) { result.message_ = message_; } 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 build.bazel.remote.execution.v2.ExecuteResponse) { return mergeFrom((build.bazel.remote.execution.v2.ExecuteResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(build.bazel.remote.execution.v2.ExecuteResponse other) { if (other == build.bazel.remote.execution.v2.ExecuteResponse.getDefaultInstance()) return this; if (other.hasResult()) { mergeResult(other.getResult()); } if (other.getCachedResult() != false) { setCachedResult(other.getCachedResult()); } if (other.hasStatus()) { mergeStatus(other.getStatus()); } internalGetMutableServerLogs().mergeFrom( other.internalGetServerLogs()); bitField0_ |= 0x00000008; if (!other.getMessage().isEmpty()) { message_ = other.message_; bitField0_ |= 0x00000010; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getResultFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 16: { cachedResult_ = input.readBool(); bitField0_ |= 0x00000002; break; } // case 16 case 26: { input.readMessage( getStatusFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 34: { com.google.protobuf.MapEntry serverLogs__ = input.readMessage( ServerLogsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableServerLogs().ensureBuilderMap().put( serverLogs__.getKey(), serverLogs__.getValue()); bitField0_ |= 0x00000008; break; } // case 34 case 42: { message_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000010; break; } // case 42 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 build.bazel.remote.execution.v2.ActionResult result_; private com.google.protobuf.SingleFieldBuilderV3< build.bazel.remote.execution.v2.ActionResult, build.bazel.remote.execution.v2.ActionResult.Builder, build.bazel.remote.execution.v2.ActionResultOrBuilder> resultBuilder_; /** *
     * The result of the action.
     * 
* * .build.bazel.remote.execution.v2.ActionResult result = 1; * @return Whether the result field is set. */ public boolean hasResult() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * The result of the action.
     * 
* * .build.bazel.remote.execution.v2.ActionResult result = 1; * @return The result. */ public build.bazel.remote.execution.v2.ActionResult getResult() { if (resultBuilder_ == null) { return result_ == null ? build.bazel.remote.execution.v2.ActionResult.getDefaultInstance() : result_; } else { return resultBuilder_.getMessage(); } } /** *
     * The result of the action.
     * 
* * .build.bazel.remote.execution.v2.ActionResult result = 1; */ public Builder setResult(build.bazel.remote.execution.v2.ActionResult value) { if (resultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } result_ = value; } else { resultBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * The result of the action.
     * 
* * .build.bazel.remote.execution.v2.ActionResult result = 1; */ public Builder setResult( build.bazel.remote.execution.v2.ActionResult.Builder builderForValue) { if (resultBuilder_ == null) { result_ = builderForValue.build(); } else { resultBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * The result of the action.
     * 
* * .build.bazel.remote.execution.v2.ActionResult result = 1; */ public Builder mergeResult(build.bazel.remote.execution.v2.ActionResult value) { if (resultBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && result_ != null && result_ != build.bazel.remote.execution.v2.ActionResult.getDefaultInstance()) { getResultBuilder().mergeFrom(value); } else { result_ = value; } } else { resultBuilder_.mergeFrom(value); } if (result_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
     * The result of the action.
     * 
* * .build.bazel.remote.execution.v2.ActionResult result = 1; */ public Builder clearResult() { bitField0_ = (bitField0_ & ~0x00000001); result_ = null; if (resultBuilder_ != null) { resultBuilder_.dispose(); resultBuilder_ = null; } onChanged(); return this; } /** *
     * The result of the action.
     * 
* * .build.bazel.remote.execution.v2.ActionResult result = 1; */ public build.bazel.remote.execution.v2.ActionResult.Builder getResultBuilder() { bitField0_ |= 0x00000001; onChanged(); return getResultFieldBuilder().getBuilder(); } /** *
     * The result of the action.
     * 
* * .build.bazel.remote.execution.v2.ActionResult result = 1; */ public build.bazel.remote.execution.v2.ActionResultOrBuilder getResultOrBuilder() { if (resultBuilder_ != null) { return resultBuilder_.getMessageOrBuilder(); } else { return result_ == null ? build.bazel.remote.execution.v2.ActionResult.getDefaultInstance() : result_; } } /** *
     * The result of the action.
     * 
* * .build.bazel.remote.execution.v2.ActionResult result = 1; */ private com.google.protobuf.SingleFieldBuilderV3< build.bazel.remote.execution.v2.ActionResult, build.bazel.remote.execution.v2.ActionResult.Builder, build.bazel.remote.execution.v2.ActionResultOrBuilder> getResultFieldBuilder() { if (resultBuilder_ == null) { resultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< build.bazel.remote.execution.v2.ActionResult, build.bazel.remote.execution.v2.ActionResult.Builder, build.bazel.remote.execution.v2.ActionResultOrBuilder>( getResult(), getParentForChildren(), isClean()); result_ = null; } return resultBuilder_; } private boolean cachedResult_ ; /** *
     * True if the result was served from cache, false if it was executed.
     * 
* * bool cached_result = 2; * @return The cachedResult. */ @java.lang.Override public boolean getCachedResult() { return cachedResult_; } /** *
     * True if the result was served from cache, false if it was executed.
     * 
* * bool cached_result = 2; * @param value The cachedResult to set. * @return This builder for chaining. */ public Builder setCachedResult(boolean value) { cachedResult_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * True if the result was served from cache, false if it was executed.
     * 
* * bool cached_result = 2; * @return This builder for chaining. */ public Builder clearCachedResult() { bitField0_ = (bitField0_ & ~0x00000002); cachedResult_ = false; onChanged(); return this; } private com.google.rpc.Status status_; private com.google.protobuf.SingleFieldBuilderV3< com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_; /** *
     * If the status has a code other than `OK`, it indicates that the action did
     * not finish execution. For example, if the operation times out during
     * execution, the status will have a `DEADLINE_EXCEEDED` code. Servers MUST
     * use this field for errors in execution, rather than the error field on the
     * `Operation` object.
     *
     * If the status code is other than `OK`, then the result MUST NOT be cached.
     * For an error status, the `result` field is optional; the server may
     * populate the output-, stdout-, and stderr-related fields if it has any
     * information available, such as the stdout and stderr of a timed-out action.
     * 
* * .google.rpc.Status status = 3; * @return Whether the status field is set. */ public boolean hasStatus() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * If the status has a code other than `OK`, it indicates that the action did
     * not finish execution. For example, if the operation times out during
     * execution, the status will have a `DEADLINE_EXCEEDED` code. Servers MUST
     * use this field for errors in execution, rather than the error field on the
     * `Operation` object.
     *
     * If the status code is other than `OK`, then the result MUST NOT be cached.
     * For an error status, the `result` field is optional; the server may
     * populate the output-, stdout-, and stderr-related fields if it has any
     * information available, such as the stdout and stderr of a timed-out action.
     * 
* * .google.rpc.Status status = 3; * @return The status. */ public com.google.rpc.Status getStatus() { if (statusBuilder_ == null) { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** *
     * If the status has a code other than `OK`, it indicates that the action did
     * not finish execution. For example, if the operation times out during
     * execution, the status will have a `DEADLINE_EXCEEDED` code. Servers MUST
     * use this field for errors in execution, rather than the error field on the
     * `Operation` object.
     *
     * If the status code is other than `OK`, then the result MUST NOT be cached.
     * For an error status, the `result` field is optional; the server may
     * populate the output-, stdout-, and stderr-related fields if it has any
     * information available, such as the stdout and stderr of a timed-out action.
     * 
* * .google.rpc.Status status = 3; */ public Builder setStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; } else { statusBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * If the status has a code other than `OK`, it indicates that the action did
     * not finish execution. For example, if the operation times out during
     * execution, the status will have a `DEADLINE_EXCEEDED` code. Servers MUST
     * use this field for errors in execution, rather than the error field on the
     * `Operation` object.
     *
     * If the status code is other than `OK`, then the result MUST NOT be cached.
     * For an error status, the `result` field is optional; the server may
     * populate the output-, stdout-, and stderr-related fields if it has any
     * information available, such as the stdout and stderr of a timed-out action.
     * 
* * .google.rpc.Status status = 3; */ public Builder setStatus( com.google.rpc.Status.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); } else { statusBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * If the status has a code other than `OK`, it indicates that the action did
     * not finish execution. For example, if the operation times out during
     * execution, the status will have a `DEADLINE_EXCEEDED` code. Servers MUST
     * use this field for errors in execution, rather than the error field on the
     * `Operation` object.
     *
     * If the status code is other than `OK`, then the result MUST NOT be cached.
     * For an error status, the `result` field is optional; the server may
     * populate the output-, stdout-, and stderr-related fields if it has any
     * information available, such as the stdout and stderr of a timed-out action.
     * 
* * .google.rpc.Status status = 3; */ public Builder mergeStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && status_ != null && status_ != com.google.rpc.Status.getDefaultInstance()) { getStatusBuilder().mergeFrom(value); } else { status_ = value; } } else { statusBuilder_.mergeFrom(value); } if (status_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** *
     * If the status has a code other than `OK`, it indicates that the action did
     * not finish execution. For example, if the operation times out during
     * execution, the status will have a `DEADLINE_EXCEEDED` code. Servers MUST
     * use this field for errors in execution, rather than the error field on the
     * `Operation` object.
     *
     * If the status code is other than `OK`, then the result MUST NOT be cached.
     * For an error status, the `result` field is optional; the server may
     * populate the output-, stdout-, and stderr-related fields if it has any
     * information available, such as the stdout and stderr of a timed-out action.
     * 
* * .google.rpc.Status status = 3; */ public Builder clearStatus() { bitField0_ = (bitField0_ & ~0x00000004); status_ = null; if (statusBuilder_ != null) { statusBuilder_.dispose(); statusBuilder_ = null; } onChanged(); return this; } /** *
     * If the status has a code other than `OK`, it indicates that the action did
     * not finish execution. For example, if the operation times out during
     * execution, the status will have a `DEADLINE_EXCEEDED` code. Servers MUST
     * use this field for errors in execution, rather than the error field on the
     * `Operation` object.
     *
     * If the status code is other than `OK`, then the result MUST NOT be cached.
     * For an error status, the `result` field is optional; the server may
     * populate the output-, stdout-, and stderr-related fields if it has any
     * information available, such as the stdout and stderr of a timed-out action.
     * 
* * .google.rpc.Status status = 3; */ public com.google.rpc.Status.Builder getStatusBuilder() { bitField0_ |= 0x00000004; onChanged(); return getStatusFieldBuilder().getBuilder(); } /** *
     * If the status has a code other than `OK`, it indicates that the action did
     * not finish execution. For example, if the operation times out during
     * execution, the status will have a `DEADLINE_EXCEEDED` code. Servers MUST
     * use this field for errors in execution, rather than the error field on the
     * `Operation` object.
     *
     * If the status code is other than `OK`, then the result MUST NOT be cached.
     * For an error status, the `result` field is optional; the server may
     * populate the output-, stdout-, and stderr-related fields if it has any
     * information available, such as the stdout and stderr of a timed-out action.
     * 
* * .google.rpc.Status status = 3; */ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } } /** *
     * If the status has a code other than `OK`, it indicates that the action did
     * not finish execution. For example, if the operation times out during
     * execution, the status will have a `DEADLINE_EXCEEDED` code. Servers MUST
     * use this field for errors in execution, rather than the error field on the
     * `Operation` object.
     *
     * If the status code is other than `OK`, then the result MUST NOT be cached.
     * For an error status, the `result` field is optional; the server may
     * populate the output-, stdout-, and stderr-related fields if it has any
     * information available, such as the stdout and stderr of a timed-out action.
     * 
* * .google.rpc.Status status = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } private static final class ServerLogsConverter implements com.google.protobuf.MapFieldBuilder.Converter { @java.lang.Override public build.bazel.remote.execution.v2.LogFile build(build.bazel.remote.execution.v2.LogFileOrBuilder val) { if (val instanceof build.bazel.remote.execution.v2.LogFile) { return (build.bazel.remote.execution.v2.LogFile) val; } return ((build.bazel.remote.execution.v2.LogFile.Builder) val).build(); } @java.lang.Override public com.google.protobuf.MapEntry defaultEntry() { return ServerLogsDefaultEntryHolder.defaultEntry; } }; private static final ServerLogsConverter serverLogsConverter = new ServerLogsConverter(); private com.google.protobuf.MapFieldBuilder< java.lang.String, build.bazel.remote.execution.v2.LogFileOrBuilder, build.bazel.remote.execution.v2.LogFile, build.bazel.remote.execution.v2.LogFile.Builder> serverLogs_; private com.google.protobuf.MapFieldBuilder internalGetServerLogs() { if (serverLogs_ == null) { return new com.google.protobuf.MapFieldBuilder<>(serverLogsConverter); } return serverLogs_; } private com.google.protobuf.MapFieldBuilder internalGetMutableServerLogs() { if (serverLogs_ == null) { serverLogs_ = new com.google.protobuf.MapFieldBuilder<>(serverLogsConverter); } bitField0_ |= 0x00000008; onChanged(); return serverLogs_; } public int getServerLogsCount() { return internalGetServerLogs().ensureBuilderMap().size(); } /** *
     * An optional list of additional log outputs the server wishes to provide. A
     * server can use this to return execution-specific logs however it wishes.
     * This is intended primarily to make it easier for users to debug issues that
     * may be outside of the actual job execution, such as by identifying the
     * worker executing the action or by providing logs from the worker's setup
     * phase. The keys SHOULD be human readable so that a client can display them
     * to a user.
     * 
* * map<string, .build.bazel.remote.execution.v2.LogFile> server_logs = 4; */ @java.lang.Override public boolean containsServerLogs( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetServerLogs().ensureBuilderMap().containsKey(key); } /** * Use {@link #getServerLogsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getServerLogs() { return getServerLogsMap(); } /** *
     * An optional list of additional log outputs the server wishes to provide. A
     * server can use this to return execution-specific logs however it wishes.
     * This is intended primarily to make it easier for users to debug issues that
     * may be outside of the actual job execution, such as by identifying the
     * worker executing the action or by providing logs from the worker's setup
     * phase. The keys SHOULD be human readable so that a client can display them
     * to a user.
     * 
* * map<string, .build.bazel.remote.execution.v2.LogFile> server_logs = 4; */ @java.lang.Override public java.util.Map getServerLogsMap() { return internalGetServerLogs().getImmutableMap(); } /** *
     * An optional list of additional log outputs the server wishes to provide. A
     * server can use this to return execution-specific logs however it wishes.
     * This is intended primarily to make it easier for users to debug issues that
     * may be outside of the actual job execution, such as by identifying the
     * worker executing the action or by providing logs from the worker's setup
     * phase. The keys SHOULD be human readable so that a client can display them
     * to a user.
     * 
* * map<string, .build.bazel.remote.execution.v2.LogFile> server_logs = 4; */ @java.lang.Override public /* nullable */ build.bazel.remote.execution.v2.LogFile getServerLogsOrDefault( java.lang.String key, /* nullable */ build.bazel.remote.execution.v2.LogFile defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMutableServerLogs().ensureBuilderMap(); return map.containsKey(key) ? serverLogsConverter.build(map.get(key)) : defaultValue; } /** *
     * An optional list of additional log outputs the server wishes to provide. A
     * server can use this to return execution-specific logs however it wishes.
     * This is intended primarily to make it easier for users to debug issues that
     * may be outside of the actual job execution, such as by identifying the
     * worker executing the action or by providing logs from the worker's setup
     * phase. The keys SHOULD be human readable so that a client can display them
     * to a user.
     * 
* * map<string, .build.bazel.remote.execution.v2.LogFile> server_logs = 4; */ @java.lang.Override public build.bazel.remote.execution.v2.LogFile getServerLogsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMutableServerLogs().ensureBuilderMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return serverLogsConverter.build(map.get(key)); } public Builder clearServerLogs() { bitField0_ = (bitField0_ & ~0x00000008); internalGetMutableServerLogs().clear(); return this; } /** *
     * An optional list of additional log outputs the server wishes to provide. A
     * server can use this to return execution-specific logs however it wishes.
     * This is intended primarily to make it easier for users to debug issues that
     * may be outside of the actual job execution, such as by identifying the
     * worker executing the action or by providing logs from the worker's setup
     * phase. The keys SHOULD be human readable so that a client can display them
     * to a user.
     * 
* * map<string, .build.bazel.remote.execution.v2.LogFile> server_logs = 4; */ public Builder removeServerLogs( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableServerLogs().ensureBuilderMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableServerLogs() { bitField0_ |= 0x00000008; return internalGetMutableServerLogs().ensureMessageMap(); } /** *
     * An optional list of additional log outputs the server wishes to provide. A
     * server can use this to return execution-specific logs however it wishes.
     * This is intended primarily to make it easier for users to debug issues that
     * may be outside of the actual job execution, such as by identifying the
     * worker executing the action or by providing logs from the worker's setup
     * phase. The keys SHOULD be human readable so that a client can display them
     * to a user.
     * 
* * map<string, .build.bazel.remote.execution.v2.LogFile> server_logs = 4; */ public Builder putServerLogs( java.lang.String key, build.bazel.remote.execution.v2.LogFile value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableServerLogs().ensureBuilderMap() .put(key, value); bitField0_ |= 0x00000008; return this; } /** *
     * An optional list of additional log outputs the server wishes to provide. A
     * server can use this to return execution-specific logs however it wishes.
     * This is intended primarily to make it easier for users to debug issues that
     * may be outside of the actual job execution, such as by identifying the
     * worker executing the action or by providing logs from the worker's setup
     * phase. The keys SHOULD be human readable so that a client can display them
     * to a user.
     * 
* * map<string, .build.bazel.remote.execution.v2.LogFile> server_logs = 4; */ public Builder putAllServerLogs( java.util.Map values) { for (java.util.Map.Entry e : values.entrySet()) { if (e.getKey() == null || e.getValue() == null) { throw new NullPointerException(); } } internalGetMutableServerLogs().ensureBuilderMap() .putAll(values); bitField0_ |= 0x00000008; return this; } /** *
     * An optional list of additional log outputs the server wishes to provide. A
     * server can use this to return execution-specific logs however it wishes.
     * This is intended primarily to make it easier for users to debug issues that
     * may be outside of the actual job execution, such as by identifying the
     * worker executing the action or by providing logs from the worker's setup
     * phase. The keys SHOULD be human readable so that a client can display them
     * to a user.
     * 
* * map<string, .build.bazel.remote.execution.v2.LogFile> server_logs = 4; */ public build.bazel.remote.execution.v2.LogFile.Builder putServerLogsBuilderIfAbsent( java.lang.String key) { java.util.Map builderMap = internalGetMutableServerLogs().ensureBuilderMap(); build.bazel.remote.execution.v2.LogFileOrBuilder entry = builderMap.get(key); if (entry == null) { entry = build.bazel.remote.execution.v2.LogFile.newBuilder(); builderMap.put(key, entry); } if (entry instanceof build.bazel.remote.execution.v2.LogFile) { entry = ((build.bazel.remote.execution.v2.LogFile) entry).toBuilder(); builderMap.put(key, entry); } return (build.bazel.remote.execution.v2.LogFile.Builder) entry; } private java.lang.Object message_ = ""; /** *
     * Freeform informational message with details on the execution of the action
     * that may be displayed to the user upon failure or when requested explicitly.
     * 
* * string message = 5; * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Freeform informational message with details on the execution of the action
     * that may be displayed to the user upon failure or when requested explicitly.
     * 
* * string message = 5; * @return The bytes for message. */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Freeform informational message with details on the execution of the action
     * that may be displayed to the user upon failure or when requested explicitly.
     * 
* * string message = 5; * @param value The message to set. * @return This builder for chaining. */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } message_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     * Freeform informational message with details on the execution of the action
     * that may be displayed to the user upon failure or when requested explicitly.
     * 
* * string message = 5; * @return This builder for chaining. */ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** *
     * Freeform informational message with details on the execution of the action
     * that may be displayed to the user upon failure or when requested explicitly.
     * 
* * string message = 5; * @param value The bytes for message to set. * @return This builder for chaining. */ public Builder setMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } @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:build.bazel.remote.execution.v2.ExecuteResponse) } // @@protoc_insertion_point(class_scope:build.bazel.remote.execution.v2.ExecuteResponse) private static final build.bazel.remote.execution.v2.ExecuteResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new build.bazel.remote.execution.v2.ExecuteResponse(); } public static build.bazel.remote.execution.v2.ExecuteResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExecuteResponse 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 build.bazel.remote.execution.v2.ExecuteResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy