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

flyteidl.admin.TaskExecutionOuterClass Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: flyteidl/admin/task_execution.proto

package flyteidl.admin;

public final class TaskExecutionOuterClass {
  private TaskExecutionOuterClass() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface TaskExecutionGetRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:flyteidl.admin.TaskExecutionGetRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * Unique identifier for the task execution.
     * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; * @return Whether the id field is set. */ boolean hasId(); /** *
     * Unique identifier for the task execution.
     * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; * @return The id. */ flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getId(); /** *
     * Unique identifier for the task execution.
     * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; */ flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getIdOrBuilder(); } /** *
   * A message used to fetch a single task execution entity.
   * 
* * Protobuf type {@code flyteidl.admin.TaskExecutionGetRequest} */ public static final class TaskExecutionGetRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:flyteidl.admin.TaskExecutionGetRequest) TaskExecutionGetRequestOrBuilder { private static final long serialVersionUID = 0L; // Use TaskExecutionGetRequest.newBuilder() to construct. private TaskExecutionGetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskExecutionGetRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskExecutionGetRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TaskExecutionGetRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder subBuilder = null; if (id_ != null) { subBuilder = id_.toBuilder(); } id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(id_); id_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionGetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionGetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest.class, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier id_; /** *
     * Unique identifier for the task execution.
     * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; * @return Whether the id field is set. */ public boolean hasId() { return id_ != null; } /** *
     * Unique identifier for the task execution.
     * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; * @return The id. */ public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getId() { return id_ == null ? flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : id_; } /** *
     * Unique identifier for the task execution.
     * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; */ public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getIdOrBuilder() { return getId(); } 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 (id_ != null) { output.writeMessage(1, getId()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (id_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getId()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest)) { return super.equals(obj); } flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest other = (flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest) obj; if (hasId() != other.hasId()) return false; if (hasId()) { if (!getId() .equals(other.getId())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasId()) { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest 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 flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest 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 flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest 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(flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest 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; } /** *
     * A message used to fetch a single task execution entity.
     * 
* * Protobuf type {@code flyteidl.admin.TaskExecutionGetRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:flyteidl.admin.TaskExecutionGetRequest) flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionGetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionGetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest.class, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest.Builder.class); } // Construct using flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (idBuilder_ == null) { id_ = null; } else { id_ = null; idBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionGetRequest_descriptor; } @java.lang.Override public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest getDefaultInstanceForType() { return flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest.getDefaultInstance(); } @java.lang.Override public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest build() { flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest buildPartial() { flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest result = new flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest(this); if (idBuilder_ == null) { result.id_ = id_; } else { result.id_ = idBuilder_.build(); } onBuilt(); return result; } @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 flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest) { return mergeFrom((flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest other) { if (other == flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest.getDefaultInstance()) return this; if (other.hasId()) { mergeId(other.getId()); } this.mergeUnknownFields(other.unknownFields); 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 { flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier id_; private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder> idBuilder_; /** *
       * Unique identifier for the task execution.
       * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; * @return Whether the id field is set. */ public boolean hasId() { return idBuilder_ != null || id_ != null; } /** *
       * Unique identifier for the task execution.
       * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; * @return The id. */ public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getId() { if (idBuilder_ == null) { return id_ == null ? flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : id_; } else { return idBuilder_.getMessage(); } } /** *
       * Unique identifier for the task execution.
       * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; */ public Builder setId(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier value) { if (idBuilder_ == null) { if (value == null) { throw new NullPointerException(); } id_ = value; onChanged(); } else { idBuilder_.setMessage(value); } return this; } /** *
       * Unique identifier for the task execution.
       * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; */ public Builder setId( flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder builderForValue) { if (idBuilder_ == null) { id_ = builderForValue.build(); onChanged(); } else { idBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Unique identifier for the task execution.
       * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; */ public Builder mergeId(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier value) { if (idBuilder_ == null) { if (id_ != null) { id_ = flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.newBuilder(id_).mergeFrom(value).buildPartial(); } else { id_ = value; } onChanged(); } else { idBuilder_.mergeFrom(value); } return this; } /** *
       * Unique identifier for the task execution.
       * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; */ public Builder clearId() { if (idBuilder_ == null) { id_ = null; onChanged(); } else { id_ = null; idBuilder_ = null; } return this; } /** *
       * Unique identifier for the task execution.
       * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; */ public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder getIdBuilder() { onChanged(); return getIdFieldBuilder().getBuilder(); } /** *
       * Unique identifier for the task execution.
       * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; */ public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getIdOrBuilder() { if (idBuilder_ != null) { return idBuilder_.getMessageOrBuilder(); } else { return id_ == null ? flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : id_; } } /** *
       * Unique identifier for the task execution.
       * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder> getIdFieldBuilder() { if (idBuilder_ == null) { idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder>( getId(), getParentForChildren(), isClean()); id_ = null; } return idBuilder_; } @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:flyteidl.admin.TaskExecutionGetRequest) } // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskExecutionGetRequest) private static final flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest(); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskExecutionGetRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TaskExecutionGetRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskExecutionListRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:flyteidl.admin.TaskExecutionListRequest) com.google.protobuf.MessageOrBuilder { /** *
     * Indicates the node execution to filter by.
     * 
* * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; * @return Whether the nodeExecutionId field is set. */ boolean hasNodeExecutionId(); /** *
     * Indicates the node execution to filter by.
     * 
* * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; * @return The nodeExecutionId. */ flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getNodeExecutionId(); /** *
     * Indicates the node execution to filter by.
     * 
* * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; */ flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getNodeExecutionIdOrBuilder(); /** *
     * Indicates the number of resources to be returned.
     * 
* * uint32 limit = 2; * @return The limit. */ int getLimit(); /** *
     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
     * in a query.
     * +optional
     * 
* * string token = 3; * @return The token. */ java.lang.String getToken(); /** *
     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
     * in a query.
     * +optional
     * 
* * string token = 3; * @return The bytes for token. */ com.google.protobuf.ByteString getTokenBytes(); /** *
     * Indicates a list of filters passed as string.
     * More info on constructing filters : <Link>
     * +optional
     * 
* * string filters = 4; * @return The filters. */ java.lang.String getFilters(); /** *
     * Indicates a list of filters passed as string.
     * More info on constructing filters : <Link>
     * +optional
     * 
* * string filters = 4; * @return The bytes for filters. */ com.google.protobuf.ByteString getFiltersBytes(); /** *
     * Sort ordering for returned list.
     * +optional
     * 
* * .flyteidl.admin.Sort sort_by = 5; * @return Whether the sortBy field is set. */ boolean hasSortBy(); /** *
     * Sort ordering for returned list.
     * +optional
     * 
* * .flyteidl.admin.Sort sort_by = 5; * @return The sortBy. */ flyteidl.admin.Common.Sort getSortBy(); /** *
     * Sort ordering for returned list.
     * +optional
     * 
* * .flyteidl.admin.Sort sort_by = 5; */ flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder(); } /** *
   * Represents a request structure to retrieve a list of task execution entities.
   * 
* * Protobuf type {@code flyteidl.admin.TaskExecutionListRequest} */ public static final class TaskExecutionListRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:flyteidl.admin.TaskExecutionListRequest) TaskExecutionListRequestOrBuilder { private static final long serialVersionUID = 0L; // Use TaskExecutionListRequest.newBuilder() to construct. private TaskExecutionListRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskExecutionListRequest() { token_ = ""; filters_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskExecutionListRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TaskExecutionListRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder subBuilder = null; if (nodeExecutionId_ != null) { subBuilder = nodeExecutionId_.toBuilder(); } nodeExecutionId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(nodeExecutionId_); nodeExecutionId_ = subBuilder.buildPartial(); } break; } case 16: { limit_ = input.readUInt32(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); token_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); filters_ = s; break; } case 42: { flyteidl.admin.Common.Sort.Builder subBuilder = null; if (sortBy_ != null) { subBuilder = sortBy_.toBuilder(); } sortBy_ = input.readMessage(flyteidl.admin.Common.Sort.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(sortBy_); sortBy_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionListRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionListRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest.class, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest.Builder.class); } public static final int NODE_EXECUTION_ID_FIELD_NUMBER = 1; private flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier nodeExecutionId_; /** *
     * Indicates the node execution to filter by.
     * 
* * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; * @return Whether the nodeExecutionId field is set. */ public boolean hasNodeExecutionId() { return nodeExecutionId_ != null; } /** *
     * Indicates the node execution to filter by.
     * 
* * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; * @return The nodeExecutionId. */ public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getNodeExecutionId() { return nodeExecutionId_ == null ? flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : nodeExecutionId_; } /** *
     * Indicates the node execution to filter by.
     * 
* * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; */ public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getNodeExecutionIdOrBuilder() { return getNodeExecutionId(); } public static final int LIMIT_FIELD_NUMBER = 2; private int limit_; /** *
     * Indicates the number of resources to be returned.
     * 
* * uint32 limit = 2; * @return The limit. */ public int getLimit() { return limit_; } public static final int TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object token_; /** *
     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
     * in a query.
     * +optional
     * 
* * string token = 3; * @return The token. */ public java.lang.String getToken() { java.lang.Object ref = token_; 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(); token_ = s; return s; } } /** *
     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
     * in a query.
     * +optional
     * 
* * string token = 3; * @return The bytes for token. */ public com.google.protobuf.ByteString getTokenBytes() { java.lang.Object ref = token_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); token_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FILTERS_FIELD_NUMBER = 4; private volatile java.lang.Object filters_; /** *
     * Indicates a list of filters passed as string.
     * More info on constructing filters : <Link>
     * +optional
     * 
* * string filters = 4; * @return The filters. */ public java.lang.String getFilters() { java.lang.Object ref = filters_; 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(); filters_ = s; return s; } } /** *
     * Indicates a list of filters passed as string.
     * More info on constructing filters : <Link>
     * +optional
     * 
* * string filters = 4; * @return The bytes for filters. */ public com.google.protobuf.ByteString getFiltersBytes() { java.lang.Object ref = filters_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filters_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SORT_BY_FIELD_NUMBER = 5; private flyteidl.admin.Common.Sort sortBy_; /** *
     * Sort ordering for returned list.
     * +optional
     * 
* * .flyteidl.admin.Sort sort_by = 5; * @return Whether the sortBy field is set. */ public boolean hasSortBy() { return sortBy_ != null; } /** *
     * Sort ordering for returned list.
     * +optional
     * 
* * .flyteidl.admin.Sort sort_by = 5; * @return The sortBy. */ public flyteidl.admin.Common.Sort getSortBy() { return sortBy_ == null ? flyteidl.admin.Common.Sort.getDefaultInstance() : sortBy_; } /** *
     * Sort ordering for returned list.
     * +optional
     * 
* * .flyteidl.admin.Sort sort_by = 5; */ public flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder() { return getSortBy(); } 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 (nodeExecutionId_ != null) { output.writeMessage(1, getNodeExecutionId()); } if (limit_ != 0) { output.writeUInt32(2, limit_); } if (!getTokenBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, token_); } if (!getFiltersBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filters_); } if (sortBy_ != null) { output.writeMessage(5, getSortBy()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (nodeExecutionId_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getNodeExecutionId()); } if (limit_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, limit_); } if (!getTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, token_); } if (!getFiltersBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filters_); } if (sortBy_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getSortBy()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest)) { return super.equals(obj); } flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest other = (flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest) obj; if (hasNodeExecutionId() != other.hasNodeExecutionId()) return false; if (hasNodeExecutionId()) { if (!getNodeExecutionId() .equals(other.getNodeExecutionId())) return false; } if (getLimit() != other.getLimit()) return false; if (!getToken() .equals(other.getToken())) return false; if (!getFilters() .equals(other.getFilters())) return false; if (hasSortBy() != other.hasSortBy()) return false; if (hasSortBy()) { if (!getSortBy() .equals(other.getSortBy())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasNodeExecutionId()) { hash = (37 * hash) + NODE_EXECUTION_ID_FIELD_NUMBER; hash = (53 * hash) + getNodeExecutionId().hashCode(); } hash = (37 * hash) + LIMIT_FIELD_NUMBER; hash = (53 * hash) + getLimit(); hash = (37 * hash) + TOKEN_FIELD_NUMBER; hash = (53 * hash) + getToken().hashCode(); hash = (37 * hash) + FILTERS_FIELD_NUMBER; hash = (53 * hash) + getFilters().hashCode(); if (hasSortBy()) { hash = (37 * hash) + SORT_BY_FIELD_NUMBER; hash = (53 * hash) + getSortBy().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest 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 flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest 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 flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest 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(flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest 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; } /** *
     * Represents a request structure to retrieve a list of task execution entities.
     * 
* * Protobuf type {@code flyteidl.admin.TaskExecutionListRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:flyteidl.admin.TaskExecutionListRequest) flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionListRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionListRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest.class, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest.Builder.class); } // Construct using flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (nodeExecutionIdBuilder_ == null) { nodeExecutionId_ = null; } else { nodeExecutionId_ = null; nodeExecutionIdBuilder_ = null; } limit_ = 0; token_ = ""; filters_ = ""; if (sortByBuilder_ == null) { sortBy_ = null; } else { sortBy_ = null; sortByBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionListRequest_descriptor; } @java.lang.Override public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest getDefaultInstanceForType() { return flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest.getDefaultInstance(); } @java.lang.Override public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest build() { flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest buildPartial() { flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest result = new flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest(this); if (nodeExecutionIdBuilder_ == null) { result.nodeExecutionId_ = nodeExecutionId_; } else { result.nodeExecutionId_ = nodeExecutionIdBuilder_.build(); } result.limit_ = limit_; result.token_ = token_; result.filters_ = filters_; if (sortByBuilder_ == null) { result.sortBy_ = sortBy_; } else { result.sortBy_ = sortByBuilder_.build(); } onBuilt(); return result; } @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 flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest) { return mergeFrom((flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest other) { if (other == flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest.getDefaultInstance()) return this; if (other.hasNodeExecutionId()) { mergeNodeExecutionId(other.getNodeExecutionId()); } if (other.getLimit() != 0) { setLimit(other.getLimit()); } if (!other.getToken().isEmpty()) { token_ = other.token_; onChanged(); } if (!other.getFilters().isEmpty()) { filters_ = other.filters_; onChanged(); } if (other.hasSortBy()) { mergeSortBy(other.getSortBy()); } this.mergeUnknownFields(other.unknownFields); 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 { flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier nodeExecutionId_; private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder> nodeExecutionIdBuilder_; /** *
       * Indicates the node execution to filter by.
       * 
* * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; * @return Whether the nodeExecutionId field is set. */ public boolean hasNodeExecutionId() { return nodeExecutionIdBuilder_ != null || nodeExecutionId_ != null; } /** *
       * Indicates the node execution to filter by.
       * 
* * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; * @return The nodeExecutionId. */ public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getNodeExecutionId() { if (nodeExecutionIdBuilder_ == null) { return nodeExecutionId_ == null ? flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : nodeExecutionId_; } else { return nodeExecutionIdBuilder_.getMessage(); } } /** *
       * Indicates the node execution to filter by.
       * 
* * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; */ public Builder setNodeExecutionId(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) { if (nodeExecutionIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } nodeExecutionId_ = value; onChanged(); } else { nodeExecutionIdBuilder_.setMessage(value); } return this; } /** *
       * Indicates the node execution to filter by.
       * 
* * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; */ public Builder setNodeExecutionId( flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder builderForValue) { if (nodeExecutionIdBuilder_ == null) { nodeExecutionId_ = builderForValue.build(); onChanged(); } else { nodeExecutionIdBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Indicates the node execution to filter by.
       * 
* * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; */ public Builder mergeNodeExecutionId(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) { if (nodeExecutionIdBuilder_ == null) { if (nodeExecutionId_ != null) { nodeExecutionId_ = flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.newBuilder(nodeExecutionId_).mergeFrom(value).buildPartial(); } else { nodeExecutionId_ = value; } onChanged(); } else { nodeExecutionIdBuilder_.mergeFrom(value); } return this; } /** *
       * Indicates the node execution to filter by.
       * 
* * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; */ public Builder clearNodeExecutionId() { if (nodeExecutionIdBuilder_ == null) { nodeExecutionId_ = null; onChanged(); } else { nodeExecutionId_ = null; nodeExecutionIdBuilder_ = null; } return this; } /** *
       * Indicates the node execution to filter by.
       * 
* * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; */ public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder getNodeExecutionIdBuilder() { onChanged(); return getNodeExecutionIdFieldBuilder().getBuilder(); } /** *
       * Indicates the node execution to filter by.
       * 
* * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; */ public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getNodeExecutionIdOrBuilder() { if (nodeExecutionIdBuilder_ != null) { return nodeExecutionIdBuilder_.getMessageOrBuilder(); } else { return nodeExecutionId_ == null ? flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : nodeExecutionId_; } } /** *
       * Indicates the node execution to filter by.
       * 
* * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder> getNodeExecutionIdFieldBuilder() { if (nodeExecutionIdBuilder_ == null) { nodeExecutionIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder>( getNodeExecutionId(), getParentForChildren(), isClean()); nodeExecutionId_ = null; } return nodeExecutionIdBuilder_; } private int limit_ ; /** *
       * Indicates the number of resources to be returned.
       * 
* * uint32 limit = 2; * @return The limit. */ public int getLimit() { return limit_; } /** *
       * Indicates the number of resources to be returned.
       * 
* * uint32 limit = 2; * @param value The limit to set. * @return This builder for chaining. */ public Builder setLimit(int value) { limit_ = value; onChanged(); return this; } /** *
       * Indicates the number of resources to be returned.
       * 
* * uint32 limit = 2; * @return This builder for chaining. */ public Builder clearLimit() { limit_ = 0; onChanged(); return this; } private java.lang.Object token_ = ""; /** *
       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
       * in a query.
       * +optional
       * 
* * string token = 3; * @return The token. */ public java.lang.String getToken() { java.lang.Object ref = token_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); token_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
       * in a query.
       * +optional
       * 
* * string token = 3; * @return The bytes for token. */ public com.google.protobuf.ByteString getTokenBytes() { java.lang.Object ref = token_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); token_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
       * in a query.
       * +optional
       * 
* * string token = 3; * @param value The token to set. * @return This builder for chaining. */ public Builder setToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } token_ = value; onChanged(); return this; } /** *
       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
       * in a query.
       * +optional
       * 
* * string token = 3; * @return This builder for chaining. */ public Builder clearToken() { token_ = getDefaultInstance().getToken(); onChanged(); return this; } /** *
       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
       * in a query.
       * +optional
       * 
* * string token = 3; * @param value The bytes for token to set. * @return This builder for chaining. */ public Builder setTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); token_ = value; onChanged(); return this; } private java.lang.Object filters_ = ""; /** *
       * Indicates a list of filters passed as string.
       * More info on constructing filters : <Link>
       * +optional
       * 
* * string filters = 4; * @return The filters. */ public java.lang.String getFilters() { java.lang.Object ref = filters_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filters_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Indicates a list of filters passed as string.
       * More info on constructing filters : <Link>
       * +optional
       * 
* * string filters = 4; * @return The bytes for filters. */ public com.google.protobuf.ByteString getFiltersBytes() { java.lang.Object ref = filters_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filters_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Indicates a list of filters passed as string.
       * More info on constructing filters : <Link>
       * +optional
       * 
* * string filters = 4; * @param value The filters to set. * @return This builder for chaining. */ public Builder setFilters( java.lang.String value) { if (value == null) { throw new NullPointerException(); } filters_ = value; onChanged(); return this; } /** *
       * Indicates a list of filters passed as string.
       * More info on constructing filters : <Link>
       * +optional
       * 
* * string filters = 4; * @return This builder for chaining. */ public Builder clearFilters() { filters_ = getDefaultInstance().getFilters(); onChanged(); return this; } /** *
       * Indicates a list of filters passed as string.
       * More info on constructing filters : <Link>
       * +optional
       * 
* * string filters = 4; * @param value The bytes for filters to set. * @return This builder for chaining. */ public Builder setFiltersBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filters_ = value; onChanged(); return this; } private flyteidl.admin.Common.Sort sortBy_; private com.google.protobuf.SingleFieldBuilderV3< flyteidl.admin.Common.Sort, flyteidl.admin.Common.Sort.Builder, flyteidl.admin.Common.SortOrBuilder> sortByBuilder_; /** *
       * Sort ordering for returned list.
       * +optional
       * 
* * .flyteidl.admin.Sort sort_by = 5; * @return Whether the sortBy field is set. */ public boolean hasSortBy() { return sortByBuilder_ != null || sortBy_ != null; } /** *
       * Sort ordering for returned list.
       * +optional
       * 
* * .flyteidl.admin.Sort sort_by = 5; * @return The sortBy. */ public flyteidl.admin.Common.Sort getSortBy() { if (sortByBuilder_ == null) { return sortBy_ == null ? flyteidl.admin.Common.Sort.getDefaultInstance() : sortBy_; } else { return sortByBuilder_.getMessage(); } } /** *
       * Sort ordering for returned list.
       * +optional
       * 
* * .flyteidl.admin.Sort sort_by = 5; */ public Builder setSortBy(flyteidl.admin.Common.Sort value) { if (sortByBuilder_ == null) { if (value == null) { throw new NullPointerException(); } sortBy_ = value; onChanged(); } else { sortByBuilder_.setMessage(value); } return this; } /** *
       * Sort ordering for returned list.
       * +optional
       * 
* * .flyteidl.admin.Sort sort_by = 5; */ public Builder setSortBy( flyteidl.admin.Common.Sort.Builder builderForValue) { if (sortByBuilder_ == null) { sortBy_ = builderForValue.build(); onChanged(); } else { sortByBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Sort ordering for returned list.
       * +optional
       * 
* * .flyteidl.admin.Sort sort_by = 5; */ public Builder mergeSortBy(flyteidl.admin.Common.Sort value) { if (sortByBuilder_ == null) { if (sortBy_ != null) { sortBy_ = flyteidl.admin.Common.Sort.newBuilder(sortBy_).mergeFrom(value).buildPartial(); } else { sortBy_ = value; } onChanged(); } else { sortByBuilder_.mergeFrom(value); } return this; } /** *
       * Sort ordering for returned list.
       * +optional
       * 
* * .flyteidl.admin.Sort sort_by = 5; */ public Builder clearSortBy() { if (sortByBuilder_ == null) { sortBy_ = null; onChanged(); } else { sortBy_ = null; sortByBuilder_ = null; } return this; } /** *
       * Sort ordering for returned list.
       * +optional
       * 
* * .flyteidl.admin.Sort sort_by = 5; */ public flyteidl.admin.Common.Sort.Builder getSortByBuilder() { onChanged(); return getSortByFieldBuilder().getBuilder(); } /** *
       * Sort ordering for returned list.
       * +optional
       * 
* * .flyteidl.admin.Sort sort_by = 5; */ public flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder() { if (sortByBuilder_ != null) { return sortByBuilder_.getMessageOrBuilder(); } else { return sortBy_ == null ? flyteidl.admin.Common.Sort.getDefaultInstance() : sortBy_; } } /** *
       * Sort ordering for returned list.
       * +optional
       * 
* * .flyteidl.admin.Sort sort_by = 5; */ private com.google.protobuf.SingleFieldBuilderV3< flyteidl.admin.Common.Sort, flyteidl.admin.Common.Sort.Builder, flyteidl.admin.Common.SortOrBuilder> getSortByFieldBuilder() { if (sortByBuilder_ == null) { sortByBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< flyteidl.admin.Common.Sort, flyteidl.admin.Common.Sort.Builder, flyteidl.admin.Common.SortOrBuilder>( getSortBy(), getParentForChildren(), isClean()); sortBy_ = null; } return sortByBuilder_; } @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:flyteidl.admin.TaskExecutionListRequest) } // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskExecutionListRequest) private static final flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest(); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskExecutionListRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TaskExecutionListRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskExecutionOrBuilder extends // @@protoc_insertion_point(interface_extends:flyteidl.admin.TaskExecution) com.google.protobuf.MessageOrBuilder { /** *
     * Unique identifier for the task execution.
     * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; * @return Whether the id field is set. */ boolean hasId(); /** *
     * Unique identifier for the task execution.
     * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; * @return The id. */ flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getId(); /** *
     * Unique identifier for the task execution.
     * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; */ flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getIdOrBuilder(); /** *
     * Path to remote data store where input blob is stored.
     * 
* * string input_uri = 2; * @return The inputUri. */ java.lang.String getInputUri(); /** *
     * Path to remote data store where input blob is stored.
     * 
* * string input_uri = 2; * @return The bytes for inputUri. */ com.google.protobuf.ByteString getInputUriBytes(); /** *
     * Task execution details and results.
     * 
* * .flyteidl.admin.TaskExecutionClosure closure = 3; * @return Whether the closure field is set. */ boolean hasClosure(); /** *
     * Task execution details and results.
     * 
* * .flyteidl.admin.TaskExecutionClosure closure = 3; * @return The closure. */ flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure getClosure(); /** *
     * Task execution details and results.
     * 
* * .flyteidl.admin.TaskExecutionClosure closure = 3; */ flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosureOrBuilder getClosureOrBuilder(); /** *
     * Whether this task spawned nodes.
     * 
* * bool is_parent = 4; * @return The isParent. */ boolean getIsParent(); } /** *
   * Encapsulates all details for a single task execution entity.
   * A task execution represents an instantiated task, including all inputs and additional
   * metadata as well as computed results included state, outputs, and duration-based attributes.
   * 
* * Protobuf type {@code flyteidl.admin.TaskExecution} */ public static final class TaskExecution extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:flyteidl.admin.TaskExecution) TaskExecutionOrBuilder { private static final long serialVersionUID = 0L; // Use TaskExecution.newBuilder() to construct. private TaskExecution(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskExecution() { inputUri_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskExecution(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TaskExecution( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder subBuilder = null; if (id_ != null) { subBuilder = id_.toBuilder(); } id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(id_); id_ = subBuilder.buildPartial(); } break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); inputUri_ = s; break; } case 26: { flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.Builder subBuilder = null; if (closure_ != null) { subBuilder = closure_.toBuilder(); } closure_ = input.readMessage(flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(closure_); closure_ = subBuilder.buildPartial(); } break; } case 32: { isParent_ = input.readBool(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecution_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecution_fieldAccessorTable .ensureFieldAccessorsInitialized( flyteidl.admin.TaskExecutionOuterClass.TaskExecution.class, flyteidl.admin.TaskExecutionOuterClass.TaskExecution.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier id_; /** *
     * Unique identifier for the task execution.
     * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; * @return Whether the id field is set. */ public boolean hasId() { return id_ != null; } /** *
     * Unique identifier for the task execution.
     * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; * @return The id. */ public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getId() { return id_ == null ? flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : id_; } /** *
     * Unique identifier for the task execution.
     * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; */ public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getIdOrBuilder() { return getId(); } public static final int INPUT_URI_FIELD_NUMBER = 2; private volatile java.lang.Object inputUri_; /** *
     * Path to remote data store where input blob is stored.
     * 
* * string input_uri = 2; * @return The inputUri. */ public java.lang.String getInputUri() { java.lang.Object ref = inputUri_; 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(); inputUri_ = s; return s; } } /** *
     * Path to remote data store where input blob is stored.
     * 
* * string input_uri = 2; * @return The bytes for inputUri. */ public com.google.protobuf.ByteString getInputUriBytes() { java.lang.Object ref = inputUri_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); inputUri_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CLOSURE_FIELD_NUMBER = 3; private flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure closure_; /** *
     * Task execution details and results.
     * 
* * .flyteidl.admin.TaskExecutionClosure closure = 3; * @return Whether the closure field is set. */ public boolean hasClosure() { return closure_ != null; } /** *
     * Task execution details and results.
     * 
* * .flyteidl.admin.TaskExecutionClosure closure = 3; * @return The closure. */ public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure getClosure() { return closure_ == null ? flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.getDefaultInstance() : closure_; } /** *
     * Task execution details and results.
     * 
* * .flyteidl.admin.TaskExecutionClosure closure = 3; */ public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosureOrBuilder getClosureOrBuilder() { return getClosure(); } public static final int IS_PARENT_FIELD_NUMBER = 4; private boolean isParent_; /** *
     * Whether this task spawned nodes.
     * 
* * bool is_parent = 4; * @return The isParent. */ public boolean getIsParent() { return isParent_; } 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 (id_ != null) { output.writeMessage(1, getId()); } if (!getInputUriBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, inputUri_); } if (closure_ != null) { output.writeMessage(3, getClosure()); } if (isParent_ != false) { output.writeBool(4, isParent_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (id_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getId()); } if (!getInputUriBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, inputUri_); } if (closure_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getClosure()); } if (isParent_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, isParent_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof flyteidl.admin.TaskExecutionOuterClass.TaskExecution)) { return super.equals(obj); } flyteidl.admin.TaskExecutionOuterClass.TaskExecution other = (flyteidl.admin.TaskExecutionOuterClass.TaskExecution) obj; if (hasId() != other.hasId()) return false; if (hasId()) { if (!getId() .equals(other.getId())) return false; } if (!getInputUri() .equals(other.getInputUri())) return false; if (hasClosure() != other.hasClosure()) return false; if (hasClosure()) { if (!getClosure() .equals(other.getClosure())) return false; } if (getIsParent() != other.getIsParent()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasId()) { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); } hash = (37 * hash) + INPUT_URI_FIELD_NUMBER; hash = (53 * hash) + getInputUri().hashCode(); if (hasClosure()) { hash = (37 * hash) + CLOSURE_FIELD_NUMBER; hash = (53 * hash) + getClosure().hashCode(); } hash = (37 * hash) + IS_PARENT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsParent()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecution parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecution parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecution parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecution parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecution parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecution parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecution parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecution 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 flyteidl.admin.TaskExecutionOuterClass.TaskExecution parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecution 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 flyteidl.admin.TaskExecutionOuterClass.TaskExecution parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecution 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(flyteidl.admin.TaskExecutionOuterClass.TaskExecution 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; } /** *
     * Encapsulates all details for a single task execution entity.
     * A task execution represents an instantiated task, including all inputs and additional
     * metadata as well as computed results included state, outputs, and duration-based attributes.
     * 
* * Protobuf type {@code flyteidl.admin.TaskExecution} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:flyteidl.admin.TaskExecution) flyteidl.admin.TaskExecutionOuterClass.TaskExecutionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecution_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecution_fieldAccessorTable .ensureFieldAccessorsInitialized( flyteidl.admin.TaskExecutionOuterClass.TaskExecution.class, flyteidl.admin.TaskExecutionOuterClass.TaskExecution.Builder.class); } // Construct using flyteidl.admin.TaskExecutionOuterClass.TaskExecution.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (idBuilder_ == null) { id_ = null; } else { id_ = null; idBuilder_ = null; } inputUri_ = ""; if (closureBuilder_ == null) { closure_ = null; } else { closure_ = null; closureBuilder_ = null; } isParent_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecution_descriptor; } @java.lang.Override public flyteidl.admin.TaskExecutionOuterClass.TaskExecution getDefaultInstanceForType() { return flyteidl.admin.TaskExecutionOuterClass.TaskExecution.getDefaultInstance(); } @java.lang.Override public flyteidl.admin.TaskExecutionOuterClass.TaskExecution build() { flyteidl.admin.TaskExecutionOuterClass.TaskExecution result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public flyteidl.admin.TaskExecutionOuterClass.TaskExecution buildPartial() { flyteidl.admin.TaskExecutionOuterClass.TaskExecution result = new flyteidl.admin.TaskExecutionOuterClass.TaskExecution(this); if (idBuilder_ == null) { result.id_ = id_; } else { result.id_ = idBuilder_.build(); } result.inputUri_ = inputUri_; if (closureBuilder_ == null) { result.closure_ = closure_; } else { result.closure_ = closureBuilder_.build(); } result.isParent_ = isParent_; onBuilt(); return result; } @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 flyteidl.admin.TaskExecutionOuterClass.TaskExecution) { return mergeFrom((flyteidl.admin.TaskExecutionOuterClass.TaskExecution)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(flyteidl.admin.TaskExecutionOuterClass.TaskExecution other) { if (other == flyteidl.admin.TaskExecutionOuterClass.TaskExecution.getDefaultInstance()) return this; if (other.hasId()) { mergeId(other.getId()); } if (!other.getInputUri().isEmpty()) { inputUri_ = other.inputUri_; onChanged(); } if (other.hasClosure()) { mergeClosure(other.getClosure()); } if (other.getIsParent() != false) { setIsParent(other.getIsParent()); } this.mergeUnknownFields(other.unknownFields); 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 { flyteidl.admin.TaskExecutionOuterClass.TaskExecution parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (flyteidl.admin.TaskExecutionOuterClass.TaskExecution) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier id_; private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder> idBuilder_; /** *
       * Unique identifier for the task execution.
       * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; * @return Whether the id field is set. */ public boolean hasId() { return idBuilder_ != null || id_ != null; } /** *
       * Unique identifier for the task execution.
       * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; * @return The id. */ public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getId() { if (idBuilder_ == null) { return id_ == null ? flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : id_; } else { return idBuilder_.getMessage(); } } /** *
       * Unique identifier for the task execution.
       * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; */ public Builder setId(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier value) { if (idBuilder_ == null) { if (value == null) { throw new NullPointerException(); } id_ = value; onChanged(); } else { idBuilder_.setMessage(value); } return this; } /** *
       * Unique identifier for the task execution.
       * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; */ public Builder setId( flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder builderForValue) { if (idBuilder_ == null) { id_ = builderForValue.build(); onChanged(); } else { idBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Unique identifier for the task execution.
       * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; */ public Builder mergeId(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier value) { if (idBuilder_ == null) { if (id_ != null) { id_ = flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.newBuilder(id_).mergeFrom(value).buildPartial(); } else { id_ = value; } onChanged(); } else { idBuilder_.mergeFrom(value); } return this; } /** *
       * Unique identifier for the task execution.
       * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; */ public Builder clearId() { if (idBuilder_ == null) { id_ = null; onChanged(); } else { id_ = null; idBuilder_ = null; } return this; } /** *
       * Unique identifier for the task execution.
       * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; */ public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder getIdBuilder() { onChanged(); return getIdFieldBuilder().getBuilder(); } /** *
       * Unique identifier for the task execution.
       * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; */ public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getIdOrBuilder() { if (idBuilder_ != null) { return idBuilder_.getMessageOrBuilder(); } else { return id_ == null ? flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : id_; } } /** *
       * Unique identifier for the task execution.
       * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder> getIdFieldBuilder() { if (idBuilder_ == null) { idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder>( getId(), getParentForChildren(), isClean()); id_ = null; } return idBuilder_; } private java.lang.Object inputUri_ = ""; /** *
       * Path to remote data store where input blob is stored.
       * 
* * string input_uri = 2; * @return The inputUri. */ public java.lang.String getInputUri() { java.lang.Object ref = inputUri_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputUri_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Path to remote data store where input blob is stored.
       * 
* * string input_uri = 2; * @return The bytes for inputUri. */ public com.google.protobuf.ByteString getInputUriBytes() { java.lang.Object ref = inputUri_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); inputUri_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Path to remote data store where input blob is stored.
       * 
* * string input_uri = 2; * @param value The inputUri to set. * @return This builder for chaining. */ public Builder setInputUri( java.lang.String value) { if (value == null) { throw new NullPointerException(); } inputUri_ = value; onChanged(); return this; } /** *
       * Path to remote data store where input blob is stored.
       * 
* * string input_uri = 2; * @return This builder for chaining. */ public Builder clearInputUri() { inputUri_ = getDefaultInstance().getInputUri(); onChanged(); return this; } /** *
       * Path to remote data store where input blob is stored.
       * 
* * string input_uri = 2; * @param value The bytes for inputUri to set. * @return This builder for chaining. */ public Builder setInputUriBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); inputUri_ = value; onChanged(); return this; } private flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure closure_; private com.google.protobuf.SingleFieldBuilderV3< flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.Builder, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosureOrBuilder> closureBuilder_; /** *
       * Task execution details and results.
       * 
* * .flyteidl.admin.TaskExecutionClosure closure = 3; * @return Whether the closure field is set. */ public boolean hasClosure() { return closureBuilder_ != null || closure_ != null; } /** *
       * Task execution details and results.
       * 
* * .flyteidl.admin.TaskExecutionClosure closure = 3; * @return The closure. */ public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure getClosure() { if (closureBuilder_ == null) { return closure_ == null ? flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.getDefaultInstance() : closure_; } else { return closureBuilder_.getMessage(); } } /** *
       * Task execution details and results.
       * 
* * .flyteidl.admin.TaskExecutionClosure closure = 3; */ public Builder setClosure(flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure value) { if (closureBuilder_ == null) { if (value == null) { throw new NullPointerException(); } closure_ = value; onChanged(); } else { closureBuilder_.setMessage(value); } return this; } /** *
       * Task execution details and results.
       * 
* * .flyteidl.admin.TaskExecutionClosure closure = 3; */ public Builder setClosure( flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.Builder builderForValue) { if (closureBuilder_ == null) { closure_ = builderForValue.build(); onChanged(); } else { closureBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Task execution details and results.
       * 
* * .flyteidl.admin.TaskExecutionClosure closure = 3; */ public Builder mergeClosure(flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure value) { if (closureBuilder_ == null) { if (closure_ != null) { closure_ = flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.newBuilder(closure_).mergeFrom(value).buildPartial(); } else { closure_ = value; } onChanged(); } else { closureBuilder_.mergeFrom(value); } return this; } /** *
       * Task execution details and results.
       * 
* * .flyteidl.admin.TaskExecutionClosure closure = 3; */ public Builder clearClosure() { if (closureBuilder_ == null) { closure_ = null; onChanged(); } else { closure_ = null; closureBuilder_ = null; } return this; } /** *
       * Task execution details and results.
       * 
* * .flyteidl.admin.TaskExecutionClosure closure = 3; */ public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.Builder getClosureBuilder() { onChanged(); return getClosureFieldBuilder().getBuilder(); } /** *
       * Task execution details and results.
       * 
* * .flyteidl.admin.TaskExecutionClosure closure = 3; */ public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosureOrBuilder getClosureOrBuilder() { if (closureBuilder_ != null) { return closureBuilder_.getMessageOrBuilder(); } else { return closure_ == null ? flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.getDefaultInstance() : closure_; } } /** *
       * Task execution details and results.
       * 
* * .flyteidl.admin.TaskExecutionClosure closure = 3; */ private com.google.protobuf.SingleFieldBuilderV3< flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.Builder, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosureOrBuilder> getClosureFieldBuilder() { if (closureBuilder_ == null) { closureBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.Builder, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosureOrBuilder>( getClosure(), getParentForChildren(), isClean()); closure_ = null; } return closureBuilder_; } private boolean isParent_ ; /** *
       * Whether this task spawned nodes.
       * 
* * bool is_parent = 4; * @return The isParent. */ public boolean getIsParent() { return isParent_; } /** *
       * Whether this task spawned nodes.
       * 
* * bool is_parent = 4; * @param value The isParent to set. * @return This builder for chaining. */ public Builder setIsParent(boolean value) { isParent_ = value; onChanged(); return this; } /** *
       * Whether this task spawned nodes.
       * 
* * bool is_parent = 4; * @return This builder for chaining. */ public Builder clearIsParent() { isParent_ = false; 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:flyteidl.admin.TaskExecution) } // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskExecution) private static final flyteidl.admin.TaskExecutionOuterClass.TaskExecution DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new flyteidl.admin.TaskExecutionOuterClass.TaskExecution(); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecution getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskExecution parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TaskExecution(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public flyteidl.admin.TaskExecutionOuterClass.TaskExecution getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskExecutionListOrBuilder extends // @@protoc_insertion_point(interface_extends:flyteidl.admin.TaskExecutionList) com.google.protobuf.MessageOrBuilder { /** * repeated .flyteidl.admin.TaskExecution task_executions = 1; */ java.util.List getTaskExecutionsList(); /** * repeated .flyteidl.admin.TaskExecution task_executions = 1; */ flyteidl.admin.TaskExecutionOuterClass.TaskExecution getTaskExecutions(int index); /** * repeated .flyteidl.admin.TaskExecution task_executions = 1; */ int getTaskExecutionsCount(); /** * repeated .flyteidl.admin.TaskExecution task_executions = 1; */ java.util.List getTaskExecutionsOrBuilderList(); /** * repeated .flyteidl.admin.TaskExecution task_executions = 1; */ flyteidl.admin.TaskExecutionOuterClass.TaskExecutionOrBuilder getTaskExecutionsOrBuilder( int index); /** *
     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
     * in a query. If there are no more results, this value will be empty.
     * 
* * string token = 2; * @return The token. */ java.lang.String getToken(); /** *
     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
     * in a query. If there are no more results, this value will be empty.
     * 
* * string token = 2; * @return The bytes for token. */ com.google.protobuf.ByteString getTokenBytes(); } /** *
   * Response structure for a query to list of task execution entities.
   * 
* * Protobuf type {@code flyteidl.admin.TaskExecutionList} */ public static final class TaskExecutionList extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:flyteidl.admin.TaskExecutionList) TaskExecutionListOrBuilder { private static final long serialVersionUID = 0L; // Use TaskExecutionList.newBuilder() to construct. private TaskExecutionList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskExecutionList() { taskExecutions_ = java.util.Collections.emptyList(); token_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskExecutionList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TaskExecutionList( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { taskExecutions_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } taskExecutions_.add( input.readMessage(flyteidl.admin.TaskExecutionOuterClass.TaskExecution.parser(), extensionRegistry)); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); token_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { taskExecutions_ = java.util.Collections.unmodifiableList(taskExecutions_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionList_fieldAccessorTable .ensureFieldAccessorsInitialized( flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList.class, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList.Builder.class); } public static final int TASK_EXECUTIONS_FIELD_NUMBER = 1; private java.util.List taskExecutions_; /** * repeated .flyteidl.admin.TaskExecution task_executions = 1; */ public java.util.List getTaskExecutionsList() { return taskExecutions_; } /** * repeated .flyteidl.admin.TaskExecution task_executions = 1; */ public java.util.List getTaskExecutionsOrBuilderList() { return taskExecutions_; } /** * repeated .flyteidl.admin.TaskExecution task_executions = 1; */ public int getTaskExecutionsCount() { return taskExecutions_.size(); } /** * repeated .flyteidl.admin.TaskExecution task_executions = 1; */ public flyteidl.admin.TaskExecutionOuterClass.TaskExecution getTaskExecutions(int index) { return taskExecutions_.get(index); } /** * repeated .flyteidl.admin.TaskExecution task_executions = 1; */ public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionOrBuilder getTaskExecutionsOrBuilder( int index) { return taskExecutions_.get(index); } public static final int TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object token_; /** *
     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
     * in a query. If there are no more results, this value will be empty.
     * 
* * string token = 2; * @return The token. */ public java.lang.String getToken() { java.lang.Object ref = token_; 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(); token_ = s; return s; } } /** *
     * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
     * in a query. If there are no more results, this value will be empty.
     * 
* * string token = 2; * @return The bytes for token. */ public com.google.protobuf.ByteString getTokenBytes() { java.lang.Object ref = token_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); token_ = 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 { for (int i = 0; i < taskExecutions_.size(); i++) { output.writeMessage(1, taskExecutions_.get(i)); } if (!getTokenBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, token_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < taskExecutions_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, taskExecutions_.get(i)); } if (!getTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, token_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList)) { return super.equals(obj); } flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList other = (flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList) obj; if (!getTaskExecutionsList() .equals(other.getTaskExecutionsList())) return false; if (!getToken() .equals(other.getToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getTaskExecutionsCount() > 0) { hash = (37 * hash) + TASK_EXECUTIONS_FIELD_NUMBER; hash = (53 * hash) + getTaskExecutionsList().hashCode(); } hash = (37 * hash) + TOKEN_FIELD_NUMBER; hash = (53 * hash) + getToken().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList 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 flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList 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 flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList 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(flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList 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; } /** *
     * Response structure for a query to list of task execution entities.
     * 
* * Protobuf type {@code flyteidl.admin.TaskExecutionList} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:flyteidl.admin.TaskExecutionList) flyteidl.admin.TaskExecutionOuterClass.TaskExecutionListOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionList_fieldAccessorTable .ensureFieldAccessorsInitialized( flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList.class, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList.Builder.class); } // Construct using flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTaskExecutionsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (taskExecutionsBuilder_ == null) { taskExecutions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { taskExecutionsBuilder_.clear(); } token_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionList_descriptor; } @java.lang.Override public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList getDefaultInstanceForType() { return flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList.getDefaultInstance(); } @java.lang.Override public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList build() { flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList buildPartial() { flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList result = new flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList(this); int from_bitField0_ = bitField0_; if (taskExecutionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { taskExecutions_ = java.util.Collections.unmodifiableList(taskExecutions_); bitField0_ = (bitField0_ & ~0x00000001); } result.taskExecutions_ = taskExecutions_; } else { result.taskExecutions_ = taskExecutionsBuilder_.build(); } result.token_ = token_; onBuilt(); return result; } @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 flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList) { return mergeFrom((flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList other) { if (other == flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList.getDefaultInstance()) return this; if (taskExecutionsBuilder_ == null) { if (!other.taskExecutions_.isEmpty()) { if (taskExecutions_.isEmpty()) { taskExecutions_ = other.taskExecutions_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTaskExecutionsIsMutable(); taskExecutions_.addAll(other.taskExecutions_); } onChanged(); } } else { if (!other.taskExecutions_.isEmpty()) { if (taskExecutionsBuilder_.isEmpty()) { taskExecutionsBuilder_.dispose(); taskExecutionsBuilder_ = null; taskExecutions_ = other.taskExecutions_; bitField0_ = (bitField0_ & ~0x00000001); taskExecutionsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTaskExecutionsFieldBuilder() : null; } else { taskExecutionsBuilder_.addAllMessages(other.taskExecutions_); } } } if (!other.getToken().isEmpty()) { token_ = other.token_; onChanged(); } this.mergeUnknownFields(other.unknownFields); 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 { flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List taskExecutions_ = java.util.Collections.emptyList(); private void ensureTaskExecutionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { taskExecutions_ = new java.util.ArrayList(taskExecutions_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< flyteidl.admin.TaskExecutionOuterClass.TaskExecution, flyteidl.admin.TaskExecutionOuterClass.TaskExecution.Builder, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionOrBuilder> taskExecutionsBuilder_; /** * repeated .flyteidl.admin.TaskExecution task_executions = 1; */ public java.util.List getTaskExecutionsList() { if (taskExecutionsBuilder_ == null) { return java.util.Collections.unmodifiableList(taskExecutions_); } else { return taskExecutionsBuilder_.getMessageList(); } } /** * repeated .flyteidl.admin.TaskExecution task_executions = 1; */ public int getTaskExecutionsCount() { if (taskExecutionsBuilder_ == null) { return taskExecutions_.size(); } else { return taskExecutionsBuilder_.getCount(); } } /** * repeated .flyteidl.admin.TaskExecution task_executions = 1; */ public flyteidl.admin.TaskExecutionOuterClass.TaskExecution getTaskExecutions(int index) { if (taskExecutionsBuilder_ == null) { return taskExecutions_.get(index); } else { return taskExecutionsBuilder_.getMessage(index); } } /** * repeated .flyteidl.admin.TaskExecution task_executions = 1; */ public Builder setTaskExecutions( int index, flyteidl.admin.TaskExecutionOuterClass.TaskExecution value) { if (taskExecutionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTaskExecutionsIsMutable(); taskExecutions_.set(index, value); onChanged(); } else { taskExecutionsBuilder_.setMessage(index, value); } return this; } /** * repeated .flyteidl.admin.TaskExecution task_executions = 1; */ public Builder setTaskExecutions( int index, flyteidl.admin.TaskExecutionOuterClass.TaskExecution.Builder builderForValue) { if (taskExecutionsBuilder_ == null) { ensureTaskExecutionsIsMutable(); taskExecutions_.set(index, builderForValue.build()); onChanged(); } else { taskExecutionsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .flyteidl.admin.TaskExecution task_executions = 1; */ public Builder addTaskExecutions(flyteidl.admin.TaskExecutionOuterClass.TaskExecution value) { if (taskExecutionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTaskExecutionsIsMutable(); taskExecutions_.add(value); onChanged(); } else { taskExecutionsBuilder_.addMessage(value); } return this; } /** * repeated .flyteidl.admin.TaskExecution task_executions = 1; */ public Builder addTaskExecutions( int index, flyteidl.admin.TaskExecutionOuterClass.TaskExecution value) { if (taskExecutionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTaskExecutionsIsMutable(); taskExecutions_.add(index, value); onChanged(); } else { taskExecutionsBuilder_.addMessage(index, value); } return this; } /** * repeated .flyteidl.admin.TaskExecution task_executions = 1; */ public Builder addTaskExecutions( flyteidl.admin.TaskExecutionOuterClass.TaskExecution.Builder builderForValue) { if (taskExecutionsBuilder_ == null) { ensureTaskExecutionsIsMutable(); taskExecutions_.add(builderForValue.build()); onChanged(); } else { taskExecutionsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .flyteidl.admin.TaskExecution task_executions = 1; */ public Builder addTaskExecutions( int index, flyteidl.admin.TaskExecutionOuterClass.TaskExecution.Builder builderForValue) { if (taskExecutionsBuilder_ == null) { ensureTaskExecutionsIsMutable(); taskExecutions_.add(index, builderForValue.build()); onChanged(); } else { taskExecutionsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .flyteidl.admin.TaskExecution task_executions = 1; */ public Builder addAllTaskExecutions( java.lang.Iterable values) { if (taskExecutionsBuilder_ == null) { ensureTaskExecutionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, taskExecutions_); onChanged(); } else { taskExecutionsBuilder_.addAllMessages(values); } return this; } /** * repeated .flyteidl.admin.TaskExecution task_executions = 1; */ public Builder clearTaskExecutions() { if (taskExecutionsBuilder_ == null) { taskExecutions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { taskExecutionsBuilder_.clear(); } return this; } /** * repeated .flyteidl.admin.TaskExecution task_executions = 1; */ public Builder removeTaskExecutions(int index) { if (taskExecutionsBuilder_ == null) { ensureTaskExecutionsIsMutable(); taskExecutions_.remove(index); onChanged(); } else { taskExecutionsBuilder_.remove(index); } return this; } /** * repeated .flyteidl.admin.TaskExecution task_executions = 1; */ public flyteidl.admin.TaskExecutionOuterClass.TaskExecution.Builder getTaskExecutionsBuilder( int index) { return getTaskExecutionsFieldBuilder().getBuilder(index); } /** * repeated .flyteidl.admin.TaskExecution task_executions = 1; */ public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionOrBuilder getTaskExecutionsOrBuilder( int index) { if (taskExecutionsBuilder_ == null) { return taskExecutions_.get(index); } else { return taskExecutionsBuilder_.getMessageOrBuilder(index); } } /** * repeated .flyteidl.admin.TaskExecution task_executions = 1; */ public java.util.List getTaskExecutionsOrBuilderList() { if (taskExecutionsBuilder_ != null) { return taskExecutionsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(taskExecutions_); } } /** * repeated .flyteidl.admin.TaskExecution task_executions = 1; */ public flyteidl.admin.TaskExecutionOuterClass.TaskExecution.Builder addTaskExecutionsBuilder() { return getTaskExecutionsFieldBuilder().addBuilder( flyteidl.admin.TaskExecutionOuterClass.TaskExecution.getDefaultInstance()); } /** * repeated .flyteidl.admin.TaskExecution task_executions = 1; */ public flyteidl.admin.TaskExecutionOuterClass.TaskExecution.Builder addTaskExecutionsBuilder( int index) { return getTaskExecutionsFieldBuilder().addBuilder( index, flyteidl.admin.TaskExecutionOuterClass.TaskExecution.getDefaultInstance()); } /** * repeated .flyteidl.admin.TaskExecution task_executions = 1; */ public java.util.List getTaskExecutionsBuilderList() { return getTaskExecutionsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< flyteidl.admin.TaskExecutionOuterClass.TaskExecution, flyteidl.admin.TaskExecutionOuterClass.TaskExecution.Builder, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionOrBuilder> getTaskExecutionsFieldBuilder() { if (taskExecutionsBuilder_ == null) { taskExecutionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< flyteidl.admin.TaskExecutionOuterClass.TaskExecution, flyteidl.admin.TaskExecutionOuterClass.TaskExecution.Builder, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionOrBuilder>( taskExecutions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); taskExecutions_ = null; } return taskExecutionsBuilder_; } private java.lang.Object token_ = ""; /** *
       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
       * in a query. If there are no more results, this value will be empty.
       * 
* * string token = 2; * @return The token. */ public java.lang.String getToken() { java.lang.Object ref = token_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); token_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
       * in a query. If there are no more results, this value will be empty.
       * 
* * string token = 2; * @return The bytes for token. */ public com.google.protobuf.ByteString getTokenBytes() { java.lang.Object ref = token_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); token_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
       * in a query. If there are no more results, this value will be empty.
       * 
* * string token = 2; * @param value The token to set. * @return This builder for chaining. */ public Builder setToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } token_ = value; onChanged(); return this; } /** *
       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
       * in a query. If there are no more results, this value will be empty.
       * 
* * string token = 2; * @return This builder for chaining. */ public Builder clearToken() { token_ = getDefaultInstance().getToken(); onChanged(); return this; } /** *
       * In the case of multiple pages of results, the server-provided token can be used to fetch the next page
       * in a query. If there are no more results, this value will be empty.
       * 
* * string token = 2; * @param value The bytes for token to set. * @return This builder for chaining. */ public Builder setTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); token_ = value; 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:flyteidl.admin.TaskExecutionList) } // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskExecutionList) private static final flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList(); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskExecutionList parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TaskExecutionList(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskExecutionClosureOrBuilder extends // @@protoc_insertion_point(interface_extends:flyteidl.admin.TaskExecutionClosure) com.google.protobuf.MessageOrBuilder { /** *
     * Path to remote data store where output blob is stored if the execution succeeded (and produced outputs).
     * 
* * string output_uri = 1; * @return The outputUri. */ java.lang.String getOutputUri(); /** *
     * Path to remote data store where output blob is stored if the execution succeeded (and produced outputs).
     * 
* * string output_uri = 1; * @return The bytes for outputUri. */ com.google.protobuf.ByteString getOutputUriBytes(); /** *
     * Error information for the task execution. Populated if the execution failed.
     * 
* * .flyteidl.core.ExecutionError error = 2; * @return Whether the error field is set. */ boolean hasError(); /** *
     * Error information for the task execution. Populated if the execution failed.
     * 
* * .flyteidl.core.ExecutionError error = 2; * @return The error. */ flyteidl.core.Execution.ExecutionError getError(); /** *
     * Error information for the task execution. Populated if the execution failed.
     * 
* * .flyteidl.core.ExecutionError error = 2; */ flyteidl.core.Execution.ExecutionErrorOrBuilder getErrorOrBuilder(); /** *
     * The last recorded phase for this task execution.
     * 
* * .flyteidl.core.TaskExecution.Phase phase = 3; * @return The enum numeric value on the wire for phase. */ int getPhaseValue(); /** *
     * The last recorded phase for this task execution.
     * 
* * .flyteidl.core.TaskExecution.Phase phase = 3; * @return The phase. */ flyteidl.core.Execution.TaskExecution.Phase getPhase(); /** *
     * Detailed log information output by the task execution.
     * 
* * repeated .flyteidl.core.TaskLog logs = 4; */ java.util.List getLogsList(); /** *
     * Detailed log information output by the task execution.
     * 
* * repeated .flyteidl.core.TaskLog logs = 4; */ flyteidl.core.Execution.TaskLog getLogs(int index); /** *
     * Detailed log information output by the task execution.
     * 
* * repeated .flyteidl.core.TaskLog logs = 4; */ int getLogsCount(); /** *
     * Detailed log information output by the task execution.
     * 
* * repeated .flyteidl.core.TaskLog logs = 4; */ java.util.List getLogsOrBuilderList(); /** *
     * Detailed log information output by the task execution.
     * 
* * repeated .flyteidl.core.TaskLog logs = 4; */ flyteidl.core.Execution.TaskLogOrBuilder getLogsOrBuilder( int index); /** *
     * Time at which the task execution began running.
     * 
* * .google.protobuf.Timestamp started_at = 5; * @return Whether the startedAt field is set. */ boolean hasStartedAt(); /** *
     * Time at which the task execution began running.
     * 
* * .google.protobuf.Timestamp started_at = 5; * @return The startedAt. */ com.google.protobuf.Timestamp getStartedAt(); /** *
     * Time at which the task execution began running.
     * 
* * .google.protobuf.Timestamp started_at = 5; */ com.google.protobuf.TimestampOrBuilder getStartedAtOrBuilder(); /** *
     * The amount of time the task execution spent running.
     * 
* * .google.protobuf.Duration duration = 6; * @return Whether the duration field is set. */ boolean hasDuration(); /** *
     * The amount of time the task execution spent running.
     * 
* * .google.protobuf.Duration duration = 6; * @return The duration. */ com.google.protobuf.Duration getDuration(); /** *
     * The amount of time the task execution spent running.
     * 
* * .google.protobuf.Duration duration = 6; */ com.google.protobuf.DurationOrBuilder getDurationOrBuilder(); /** *
     * Time at which the task execution was created.
     * 
* * .google.protobuf.Timestamp created_at = 7; * @return Whether the createdAt field is set. */ boolean hasCreatedAt(); /** *
     * Time at which the task execution was created.
     * 
* * .google.protobuf.Timestamp created_at = 7; * @return The createdAt. */ com.google.protobuf.Timestamp getCreatedAt(); /** *
     * Time at which the task execution was created.
     * 
* * .google.protobuf.Timestamp created_at = 7; */ com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder(); /** *
     * Time at which the task execution was last updated.
     * 
* * .google.protobuf.Timestamp updated_at = 8; * @return Whether the updatedAt field is set. */ boolean hasUpdatedAt(); /** *
     * Time at which the task execution was last updated.
     * 
* * .google.protobuf.Timestamp updated_at = 8; * @return The updatedAt. */ com.google.protobuf.Timestamp getUpdatedAt(); /** *
     * Time at which the task execution was last updated.
     * 
* * .google.protobuf.Timestamp updated_at = 8; */ com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder(); /** *
     * Custom data specific to the task plugin.
     * 
* * .google.protobuf.Struct custom_info = 9; * @return Whether the customInfo field is set. */ boolean hasCustomInfo(); /** *
     * Custom data specific to the task plugin.
     * 
* * .google.protobuf.Struct custom_info = 9; * @return The customInfo. */ com.google.protobuf.Struct getCustomInfo(); /** *
     * Custom data specific to the task plugin.
     * 
* * .google.protobuf.Struct custom_info = 9; */ com.google.protobuf.StructOrBuilder getCustomInfoOrBuilder(); public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.OutputResultCase getOutputResultCase(); } /** *
   * Container for task execution details and results.
   * 
* * Protobuf type {@code flyteidl.admin.TaskExecutionClosure} */ public static final class TaskExecutionClosure extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:flyteidl.admin.TaskExecutionClosure) TaskExecutionClosureOrBuilder { private static final long serialVersionUID = 0L; // Use TaskExecutionClosure.newBuilder() to construct. private TaskExecutionClosure(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskExecutionClosure() { phase_ = 0; logs_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskExecutionClosure(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TaskExecutionClosure( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); outputResultCase_ = 1; outputResult_ = s; break; } case 18: { flyteidl.core.Execution.ExecutionError.Builder subBuilder = null; if (outputResultCase_ == 2) { subBuilder = ((flyteidl.core.Execution.ExecutionError) outputResult_).toBuilder(); } outputResult_ = input.readMessage(flyteidl.core.Execution.ExecutionError.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((flyteidl.core.Execution.ExecutionError) outputResult_); outputResult_ = subBuilder.buildPartial(); } outputResultCase_ = 2; break; } case 24: { int rawValue = input.readEnum(); phase_ = rawValue; break; } case 34: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { logs_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } logs_.add( input.readMessage(flyteidl.core.Execution.TaskLog.parser(), extensionRegistry)); break; } case 42: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (startedAt_ != null) { subBuilder = startedAt_.toBuilder(); } startedAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(startedAt_); startedAt_ = subBuilder.buildPartial(); } break; } case 50: { com.google.protobuf.Duration.Builder subBuilder = null; if (duration_ != null) { subBuilder = duration_.toBuilder(); } duration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(duration_); duration_ = subBuilder.buildPartial(); } break; } case 58: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (createdAt_ != null) { subBuilder = createdAt_.toBuilder(); } createdAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(createdAt_); createdAt_ = subBuilder.buildPartial(); } break; } case 66: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (updatedAt_ != null) { subBuilder = updatedAt_.toBuilder(); } updatedAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(updatedAt_); updatedAt_ = subBuilder.buildPartial(); } break; } case 74: { com.google.protobuf.Struct.Builder subBuilder = null; if (customInfo_ != null) { subBuilder = customInfo_.toBuilder(); } customInfo_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(customInfo_); customInfo_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { logs_ = java.util.Collections.unmodifiableList(logs_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionClosure_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionClosure_fieldAccessorTable .ensureFieldAccessorsInitialized( flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.class, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.Builder.class); } private int outputResultCase_ = 0; private java.lang.Object outputResult_; public enum OutputResultCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { OUTPUT_URI(1), ERROR(2), OUTPUTRESULT_NOT_SET(0); private final int value; private OutputResultCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static OutputResultCase valueOf(int value) { return forNumber(value); } public static OutputResultCase forNumber(int value) { switch (value) { case 1: return OUTPUT_URI; case 2: return ERROR; case 0: return OUTPUTRESULT_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public OutputResultCase getOutputResultCase() { return OutputResultCase.forNumber( outputResultCase_); } public static final int OUTPUT_URI_FIELD_NUMBER = 1; /** *
     * Path to remote data store where output blob is stored if the execution succeeded (and produced outputs).
     * 
* * string output_uri = 1; * @return The outputUri. */ public java.lang.String getOutputUri() { java.lang.Object ref = ""; if (outputResultCase_ == 1) { ref = outputResult_; } 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(); if (outputResultCase_ == 1) { outputResult_ = s; } return s; } } /** *
     * Path to remote data store where output blob is stored if the execution succeeded (and produced outputs).
     * 
* * string output_uri = 1; * @return The bytes for outputUri. */ public com.google.protobuf.ByteString getOutputUriBytes() { java.lang.Object ref = ""; if (outputResultCase_ == 1) { ref = outputResult_; } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (outputResultCase_ == 1) { outputResult_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ERROR_FIELD_NUMBER = 2; /** *
     * Error information for the task execution. Populated if the execution failed.
     * 
* * .flyteidl.core.ExecutionError error = 2; * @return Whether the error field is set. */ public boolean hasError() { return outputResultCase_ == 2; } /** *
     * Error information for the task execution. Populated if the execution failed.
     * 
* * .flyteidl.core.ExecutionError error = 2; * @return The error. */ public flyteidl.core.Execution.ExecutionError getError() { if (outputResultCase_ == 2) { return (flyteidl.core.Execution.ExecutionError) outputResult_; } return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); } /** *
     * Error information for the task execution. Populated if the execution failed.
     * 
* * .flyteidl.core.ExecutionError error = 2; */ public flyteidl.core.Execution.ExecutionErrorOrBuilder getErrorOrBuilder() { if (outputResultCase_ == 2) { return (flyteidl.core.Execution.ExecutionError) outputResult_; } return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); } public static final int PHASE_FIELD_NUMBER = 3; private int phase_; /** *
     * The last recorded phase for this task execution.
     * 
* * .flyteidl.core.TaskExecution.Phase phase = 3; * @return The enum numeric value on the wire for phase. */ public int getPhaseValue() { return phase_; } /** *
     * The last recorded phase for this task execution.
     * 
* * .flyteidl.core.TaskExecution.Phase phase = 3; * @return The phase. */ public flyteidl.core.Execution.TaskExecution.Phase getPhase() { @SuppressWarnings("deprecation") flyteidl.core.Execution.TaskExecution.Phase result = flyteidl.core.Execution.TaskExecution.Phase.valueOf(phase_); return result == null ? flyteidl.core.Execution.TaskExecution.Phase.UNRECOGNIZED : result; } public static final int LOGS_FIELD_NUMBER = 4; private java.util.List logs_; /** *
     * Detailed log information output by the task execution.
     * 
* * repeated .flyteidl.core.TaskLog logs = 4; */ public java.util.List getLogsList() { return logs_; } /** *
     * Detailed log information output by the task execution.
     * 
* * repeated .flyteidl.core.TaskLog logs = 4; */ public java.util.List getLogsOrBuilderList() { return logs_; } /** *
     * Detailed log information output by the task execution.
     * 
* * repeated .flyteidl.core.TaskLog logs = 4; */ public int getLogsCount() { return logs_.size(); } /** *
     * Detailed log information output by the task execution.
     * 
* * repeated .flyteidl.core.TaskLog logs = 4; */ public flyteidl.core.Execution.TaskLog getLogs(int index) { return logs_.get(index); } /** *
     * Detailed log information output by the task execution.
     * 
* * repeated .flyteidl.core.TaskLog logs = 4; */ public flyteidl.core.Execution.TaskLogOrBuilder getLogsOrBuilder( int index) { return logs_.get(index); } public static final int STARTED_AT_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp startedAt_; /** *
     * Time at which the task execution began running.
     * 
* * .google.protobuf.Timestamp started_at = 5; * @return Whether the startedAt field is set. */ public boolean hasStartedAt() { return startedAt_ != null; } /** *
     * Time at which the task execution began running.
     * 
* * .google.protobuf.Timestamp started_at = 5; * @return The startedAt. */ public com.google.protobuf.Timestamp getStartedAt() { return startedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startedAt_; } /** *
     * Time at which the task execution began running.
     * 
* * .google.protobuf.Timestamp started_at = 5; */ public com.google.protobuf.TimestampOrBuilder getStartedAtOrBuilder() { return getStartedAt(); } public static final int DURATION_FIELD_NUMBER = 6; private com.google.protobuf.Duration duration_; /** *
     * The amount of time the task execution spent running.
     * 
* * .google.protobuf.Duration duration = 6; * @return Whether the duration field is set. */ public boolean hasDuration() { return duration_ != null; } /** *
     * The amount of time the task execution spent running.
     * 
* * .google.protobuf.Duration duration = 6; * @return The duration. */ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** *
     * The amount of time the task execution spent running.
     * 
* * .google.protobuf.Duration duration = 6; */ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { return getDuration(); } public static final int CREATED_AT_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp createdAt_; /** *
     * Time at which the task execution was created.
     * 
* * .google.protobuf.Timestamp created_at = 7; * @return Whether the createdAt field is set. */ public boolean hasCreatedAt() { return createdAt_ != null; } /** *
     * Time at which the task execution was created.
     * 
* * .google.protobuf.Timestamp created_at = 7; * @return The createdAt. */ public com.google.protobuf.Timestamp getCreatedAt() { return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; } /** *
     * Time at which the task execution was created.
     * 
* * .google.protobuf.Timestamp created_at = 7; */ public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { return getCreatedAt(); } public static final int UPDATED_AT_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp updatedAt_; /** *
     * Time at which the task execution was last updated.
     * 
* * .google.protobuf.Timestamp updated_at = 8; * @return Whether the updatedAt field is set. */ public boolean hasUpdatedAt() { return updatedAt_ != null; } /** *
     * Time at which the task execution was last updated.
     * 
* * .google.protobuf.Timestamp updated_at = 8; * @return The updatedAt. */ public com.google.protobuf.Timestamp getUpdatedAt() { return updatedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updatedAt_; } /** *
     * Time at which the task execution was last updated.
     * 
* * .google.protobuf.Timestamp updated_at = 8; */ public com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder() { return getUpdatedAt(); } public static final int CUSTOM_INFO_FIELD_NUMBER = 9; private com.google.protobuf.Struct customInfo_; /** *
     * Custom data specific to the task plugin.
     * 
* * .google.protobuf.Struct custom_info = 9; * @return Whether the customInfo field is set. */ public boolean hasCustomInfo() { return customInfo_ != null; } /** *
     * Custom data specific to the task plugin.
     * 
* * .google.protobuf.Struct custom_info = 9; * @return The customInfo. */ public com.google.protobuf.Struct getCustomInfo() { return customInfo_ == null ? com.google.protobuf.Struct.getDefaultInstance() : customInfo_; } /** *
     * Custom data specific to the task plugin.
     * 
* * .google.protobuf.Struct custom_info = 9; */ public com.google.protobuf.StructOrBuilder getCustomInfoOrBuilder() { return getCustomInfo(); } 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 (outputResultCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, outputResult_); } if (outputResultCase_ == 2) { output.writeMessage(2, (flyteidl.core.Execution.ExecutionError) outputResult_); } if (phase_ != flyteidl.core.Execution.TaskExecution.Phase.UNDEFINED.getNumber()) { output.writeEnum(3, phase_); } for (int i = 0; i < logs_.size(); i++) { output.writeMessage(4, logs_.get(i)); } if (startedAt_ != null) { output.writeMessage(5, getStartedAt()); } if (duration_ != null) { output.writeMessage(6, getDuration()); } if (createdAt_ != null) { output.writeMessage(7, getCreatedAt()); } if (updatedAt_ != null) { output.writeMessage(8, getUpdatedAt()); } if (customInfo_ != null) { output.writeMessage(9, getCustomInfo()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (outputResultCase_ == 1) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, outputResult_); } if (outputResultCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (flyteidl.core.Execution.ExecutionError) outputResult_); } if (phase_ != flyteidl.core.Execution.TaskExecution.Phase.UNDEFINED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, phase_); } for (int i = 0; i < logs_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, logs_.get(i)); } if (startedAt_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getStartedAt()); } if (duration_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getDuration()); } if (createdAt_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getCreatedAt()); } if (updatedAt_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getUpdatedAt()); } if (customInfo_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getCustomInfo()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure)) { return super.equals(obj); } flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure other = (flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure) obj; if (phase_ != other.phase_) return false; if (!getLogsList() .equals(other.getLogsList())) return false; if (hasStartedAt() != other.hasStartedAt()) return false; if (hasStartedAt()) { if (!getStartedAt() .equals(other.getStartedAt())) return false; } if (hasDuration() != other.hasDuration()) return false; if (hasDuration()) { if (!getDuration() .equals(other.getDuration())) return false; } if (hasCreatedAt() != other.hasCreatedAt()) return false; if (hasCreatedAt()) { if (!getCreatedAt() .equals(other.getCreatedAt())) return false; } if (hasUpdatedAt() != other.hasUpdatedAt()) return false; if (hasUpdatedAt()) { if (!getUpdatedAt() .equals(other.getUpdatedAt())) return false; } if (hasCustomInfo() != other.hasCustomInfo()) return false; if (hasCustomInfo()) { if (!getCustomInfo() .equals(other.getCustomInfo())) return false; } if (!getOutputResultCase().equals(other.getOutputResultCase())) return false; switch (outputResultCase_) { case 1: if (!getOutputUri() .equals(other.getOutputUri())) return false; break; case 2: if (!getError() .equals(other.getError())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) 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) + PHASE_FIELD_NUMBER; hash = (53 * hash) + phase_; if (getLogsCount() > 0) { hash = (37 * hash) + LOGS_FIELD_NUMBER; hash = (53 * hash) + getLogsList().hashCode(); } if (hasStartedAt()) { hash = (37 * hash) + STARTED_AT_FIELD_NUMBER; hash = (53 * hash) + getStartedAt().hashCode(); } if (hasDuration()) { hash = (37 * hash) + DURATION_FIELD_NUMBER; hash = (53 * hash) + getDuration().hashCode(); } if (hasCreatedAt()) { hash = (37 * hash) + CREATED_AT_FIELD_NUMBER; hash = (53 * hash) + getCreatedAt().hashCode(); } if (hasUpdatedAt()) { hash = (37 * hash) + UPDATED_AT_FIELD_NUMBER; hash = (53 * hash) + getUpdatedAt().hashCode(); } if (hasCustomInfo()) { hash = (37 * hash) + CUSTOM_INFO_FIELD_NUMBER; hash = (53 * hash) + getCustomInfo().hashCode(); } switch (outputResultCase_) { case 1: hash = (37 * hash) + OUTPUT_URI_FIELD_NUMBER; hash = (53 * hash) + getOutputUri().hashCode(); break; case 2: hash = (37 * hash) + ERROR_FIELD_NUMBER; hash = (53 * hash) + getError().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure 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 flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure 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 flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure 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(flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure 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; } /** *
     * Container for task execution details and results.
     * 
* * Protobuf type {@code flyteidl.admin.TaskExecutionClosure} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:flyteidl.admin.TaskExecutionClosure) flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosureOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionClosure_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionClosure_fieldAccessorTable .ensureFieldAccessorsInitialized( flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.class, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.Builder.class); } // Construct using flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getLogsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); phase_ = 0; if (logsBuilder_ == null) { logs_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { logsBuilder_.clear(); } if (startedAtBuilder_ == null) { startedAt_ = null; } else { startedAt_ = null; startedAtBuilder_ = null; } if (durationBuilder_ == null) { duration_ = null; } else { duration_ = null; durationBuilder_ = null; } if (createdAtBuilder_ == null) { createdAt_ = null; } else { createdAt_ = null; createdAtBuilder_ = null; } if (updatedAtBuilder_ == null) { updatedAt_ = null; } else { updatedAt_ = null; updatedAtBuilder_ = null; } if (customInfoBuilder_ == null) { customInfo_ = null; } else { customInfo_ = null; customInfoBuilder_ = null; } outputResultCase_ = 0; outputResult_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionClosure_descriptor; } @java.lang.Override public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure getDefaultInstanceForType() { return flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.getDefaultInstance(); } @java.lang.Override public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure build() { flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure buildPartial() { flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure result = new flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure(this); int from_bitField0_ = bitField0_; if (outputResultCase_ == 1) { result.outputResult_ = outputResult_; } if (outputResultCase_ == 2) { if (errorBuilder_ == null) { result.outputResult_ = outputResult_; } else { result.outputResult_ = errorBuilder_.build(); } } result.phase_ = phase_; if (logsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { logs_ = java.util.Collections.unmodifiableList(logs_); bitField0_ = (bitField0_ & ~0x00000001); } result.logs_ = logs_; } else { result.logs_ = logsBuilder_.build(); } if (startedAtBuilder_ == null) { result.startedAt_ = startedAt_; } else { result.startedAt_ = startedAtBuilder_.build(); } if (durationBuilder_ == null) { result.duration_ = duration_; } else { result.duration_ = durationBuilder_.build(); } if (createdAtBuilder_ == null) { result.createdAt_ = createdAt_; } else { result.createdAt_ = createdAtBuilder_.build(); } if (updatedAtBuilder_ == null) { result.updatedAt_ = updatedAt_; } else { result.updatedAt_ = updatedAtBuilder_.build(); } if (customInfoBuilder_ == null) { result.customInfo_ = customInfo_; } else { result.customInfo_ = customInfoBuilder_.build(); } result.outputResultCase_ = outputResultCase_; onBuilt(); return result; } @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 flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure) { return mergeFrom((flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure other) { if (other == flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure.getDefaultInstance()) return this; if (other.phase_ != 0) { setPhaseValue(other.getPhaseValue()); } if (logsBuilder_ == null) { if (!other.logs_.isEmpty()) { if (logs_.isEmpty()) { logs_ = other.logs_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureLogsIsMutable(); logs_.addAll(other.logs_); } onChanged(); } } else { if (!other.logs_.isEmpty()) { if (logsBuilder_.isEmpty()) { logsBuilder_.dispose(); logsBuilder_ = null; logs_ = other.logs_; bitField0_ = (bitField0_ & ~0x00000001); logsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getLogsFieldBuilder() : null; } else { logsBuilder_.addAllMessages(other.logs_); } } } if (other.hasStartedAt()) { mergeStartedAt(other.getStartedAt()); } if (other.hasDuration()) { mergeDuration(other.getDuration()); } if (other.hasCreatedAt()) { mergeCreatedAt(other.getCreatedAt()); } if (other.hasUpdatedAt()) { mergeUpdatedAt(other.getUpdatedAt()); } if (other.hasCustomInfo()) { mergeCustomInfo(other.getCustomInfo()); } switch (other.getOutputResultCase()) { case OUTPUT_URI: { outputResultCase_ = 1; outputResult_ = other.outputResult_; onChanged(); break; } case ERROR: { mergeError(other.getError()); break; } case OUTPUTRESULT_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); 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 { flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int outputResultCase_ = 0; private java.lang.Object outputResult_; public OutputResultCase getOutputResultCase() { return OutputResultCase.forNumber( outputResultCase_); } public Builder clearOutputResult() { outputResultCase_ = 0; outputResult_ = null; onChanged(); return this; } private int bitField0_; /** *
       * Path to remote data store where output blob is stored if the execution succeeded (and produced outputs).
       * 
* * string output_uri = 1; * @return The outputUri. */ public java.lang.String getOutputUri() { java.lang.Object ref = ""; if (outputResultCase_ == 1) { ref = outputResult_; } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (outputResultCase_ == 1) { outputResult_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Path to remote data store where output blob is stored if the execution succeeded (and produced outputs).
       * 
* * string output_uri = 1; * @return The bytes for outputUri. */ public com.google.protobuf.ByteString getOutputUriBytes() { java.lang.Object ref = ""; if (outputResultCase_ == 1) { ref = outputResult_; } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (outputResultCase_ == 1) { outputResult_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Path to remote data store where output blob is stored if the execution succeeded (and produced outputs).
       * 
* * string output_uri = 1; * @param value The outputUri to set. * @return This builder for chaining. */ public Builder setOutputUri( java.lang.String value) { if (value == null) { throw new NullPointerException(); } outputResultCase_ = 1; outputResult_ = value; onChanged(); return this; } /** *
       * Path to remote data store where output blob is stored if the execution succeeded (and produced outputs).
       * 
* * string output_uri = 1; * @return This builder for chaining. */ public Builder clearOutputUri() { if (outputResultCase_ == 1) { outputResultCase_ = 0; outputResult_ = null; onChanged(); } return this; } /** *
       * Path to remote data store where output blob is stored if the execution succeeded (and produced outputs).
       * 
* * string output_uri = 1; * @param value The bytes for outputUri to set. * @return This builder for chaining. */ public Builder setOutputUriBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); outputResultCase_ = 1; outputResult_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.Execution.ExecutionError, flyteidl.core.Execution.ExecutionError.Builder, flyteidl.core.Execution.ExecutionErrorOrBuilder> errorBuilder_; /** *
       * Error information for the task execution. Populated if the execution failed.
       * 
* * .flyteidl.core.ExecutionError error = 2; * @return Whether the error field is set. */ public boolean hasError() { return outputResultCase_ == 2; } /** *
       * Error information for the task execution. Populated if the execution failed.
       * 
* * .flyteidl.core.ExecutionError error = 2; * @return The error. */ public flyteidl.core.Execution.ExecutionError getError() { if (errorBuilder_ == null) { if (outputResultCase_ == 2) { return (flyteidl.core.Execution.ExecutionError) outputResult_; } return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); } else { if (outputResultCase_ == 2) { return errorBuilder_.getMessage(); } return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); } } /** *
       * Error information for the task execution. Populated if the execution failed.
       * 
* * .flyteidl.core.ExecutionError error = 2; */ public Builder setError(flyteidl.core.Execution.ExecutionError value) { if (errorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } outputResult_ = value; onChanged(); } else { errorBuilder_.setMessage(value); } outputResultCase_ = 2; return this; } /** *
       * Error information for the task execution. Populated if the execution failed.
       * 
* * .flyteidl.core.ExecutionError error = 2; */ public Builder setError( flyteidl.core.Execution.ExecutionError.Builder builderForValue) { if (errorBuilder_ == null) { outputResult_ = builderForValue.build(); onChanged(); } else { errorBuilder_.setMessage(builderForValue.build()); } outputResultCase_ = 2; return this; } /** *
       * Error information for the task execution. Populated if the execution failed.
       * 
* * .flyteidl.core.ExecutionError error = 2; */ public Builder mergeError(flyteidl.core.Execution.ExecutionError value) { if (errorBuilder_ == null) { if (outputResultCase_ == 2 && outputResult_ != flyteidl.core.Execution.ExecutionError.getDefaultInstance()) { outputResult_ = flyteidl.core.Execution.ExecutionError.newBuilder((flyteidl.core.Execution.ExecutionError) outputResult_) .mergeFrom(value).buildPartial(); } else { outputResult_ = value; } onChanged(); } else { if (outputResultCase_ == 2) { errorBuilder_.mergeFrom(value); } errorBuilder_.setMessage(value); } outputResultCase_ = 2; return this; } /** *
       * Error information for the task execution. Populated if the execution failed.
       * 
* * .flyteidl.core.ExecutionError error = 2; */ public Builder clearError() { if (errorBuilder_ == null) { if (outputResultCase_ == 2) { outputResultCase_ = 0; outputResult_ = null; onChanged(); } } else { if (outputResultCase_ == 2) { outputResultCase_ = 0; outputResult_ = null; } errorBuilder_.clear(); } return this; } /** *
       * Error information for the task execution. Populated if the execution failed.
       * 
* * .flyteidl.core.ExecutionError error = 2; */ public flyteidl.core.Execution.ExecutionError.Builder getErrorBuilder() { return getErrorFieldBuilder().getBuilder(); } /** *
       * Error information for the task execution. Populated if the execution failed.
       * 
* * .flyteidl.core.ExecutionError error = 2; */ public flyteidl.core.Execution.ExecutionErrorOrBuilder getErrorOrBuilder() { if ((outputResultCase_ == 2) && (errorBuilder_ != null)) { return errorBuilder_.getMessageOrBuilder(); } else { if (outputResultCase_ == 2) { return (flyteidl.core.Execution.ExecutionError) outputResult_; } return flyteidl.core.Execution.ExecutionError.getDefaultInstance(); } } /** *
       * Error information for the task execution. Populated if the execution failed.
       * 
* * .flyteidl.core.ExecutionError error = 2; */ private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.Execution.ExecutionError, flyteidl.core.Execution.ExecutionError.Builder, flyteidl.core.Execution.ExecutionErrorOrBuilder> getErrorFieldBuilder() { if (errorBuilder_ == null) { if (!(outputResultCase_ == 2)) { outputResult_ = flyteidl.core.Execution.ExecutionError.getDefaultInstance(); } errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.Execution.ExecutionError, flyteidl.core.Execution.ExecutionError.Builder, flyteidl.core.Execution.ExecutionErrorOrBuilder>( (flyteidl.core.Execution.ExecutionError) outputResult_, getParentForChildren(), isClean()); outputResult_ = null; } outputResultCase_ = 2; onChanged();; return errorBuilder_; } private int phase_ = 0; /** *
       * The last recorded phase for this task execution.
       * 
* * .flyteidl.core.TaskExecution.Phase phase = 3; * @return The enum numeric value on the wire for phase. */ public int getPhaseValue() { return phase_; } /** *
       * The last recorded phase for this task execution.
       * 
* * .flyteidl.core.TaskExecution.Phase phase = 3; * @param value The enum numeric value on the wire for phase to set. * @return This builder for chaining. */ public Builder setPhaseValue(int value) { phase_ = value; onChanged(); return this; } /** *
       * The last recorded phase for this task execution.
       * 
* * .flyteidl.core.TaskExecution.Phase phase = 3; * @return The phase. */ public flyteidl.core.Execution.TaskExecution.Phase getPhase() { @SuppressWarnings("deprecation") flyteidl.core.Execution.TaskExecution.Phase result = flyteidl.core.Execution.TaskExecution.Phase.valueOf(phase_); return result == null ? flyteidl.core.Execution.TaskExecution.Phase.UNRECOGNIZED : result; } /** *
       * The last recorded phase for this task execution.
       * 
* * .flyteidl.core.TaskExecution.Phase phase = 3; * @param value The phase to set. * @return This builder for chaining. */ public Builder setPhase(flyteidl.core.Execution.TaskExecution.Phase value) { if (value == null) { throw new NullPointerException(); } phase_ = value.getNumber(); onChanged(); return this; } /** *
       * The last recorded phase for this task execution.
       * 
* * .flyteidl.core.TaskExecution.Phase phase = 3; * @return This builder for chaining. */ public Builder clearPhase() { phase_ = 0; onChanged(); return this; } private java.util.List logs_ = java.util.Collections.emptyList(); private void ensureLogsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { logs_ = new java.util.ArrayList(logs_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< flyteidl.core.Execution.TaskLog, flyteidl.core.Execution.TaskLog.Builder, flyteidl.core.Execution.TaskLogOrBuilder> logsBuilder_; /** *
       * Detailed log information output by the task execution.
       * 
* * repeated .flyteidl.core.TaskLog logs = 4; */ public java.util.List getLogsList() { if (logsBuilder_ == null) { return java.util.Collections.unmodifiableList(logs_); } else { return logsBuilder_.getMessageList(); } } /** *
       * Detailed log information output by the task execution.
       * 
* * repeated .flyteidl.core.TaskLog logs = 4; */ public int getLogsCount() { if (logsBuilder_ == null) { return logs_.size(); } else { return logsBuilder_.getCount(); } } /** *
       * Detailed log information output by the task execution.
       * 
* * repeated .flyteidl.core.TaskLog logs = 4; */ public flyteidl.core.Execution.TaskLog getLogs(int index) { if (logsBuilder_ == null) { return logs_.get(index); } else { return logsBuilder_.getMessage(index); } } /** *
       * Detailed log information output by the task execution.
       * 
* * repeated .flyteidl.core.TaskLog logs = 4; */ public Builder setLogs( int index, flyteidl.core.Execution.TaskLog value) { if (logsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLogsIsMutable(); logs_.set(index, value); onChanged(); } else { logsBuilder_.setMessage(index, value); } return this; } /** *
       * Detailed log information output by the task execution.
       * 
* * repeated .flyteidl.core.TaskLog logs = 4; */ public Builder setLogs( int index, flyteidl.core.Execution.TaskLog.Builder builderForValue) { if (logsBuilder_ == null) { ensureLogsIsMutable(); logs_.set(index, builderForValue.build()); onChanged(); } else { logsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Detailed log information output by the task execution.
       * 
* * repeated .flyteidl.core.TaskLog logs = 4; */ public Builder addLogs(flyteidl.core.Execution.TaskLog value) { if (logsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLogsIsMutable(); logs_.add(value); onChanged(); } else { logsBuilder_.addMessage(value); } return this; } /** *
       * Detailed log information output by the task execution.
       * 
* * repeated .flyteidl.core.TaskLog logs = 4; */ public Builder addLogs( int index, flyteidl.core.Execution.TaskLog value) { if (logsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLogsIsMutable(); logs_.add(index, value); onChanged(); } else { logsBuilder_.addMessage(index, value); } return this; } /** *
       * Detailed log information output by the task execution.
       * 
* * repeated .flyteidl.core.TaskLog logs = 4; */ public Builder addLogs( flyteidl.core.Execution.TaskLog.Builder builderForValue) { if (logsBuilder_ == null) { ensureLogsIsMutable(); logs_.add(builderForValue.build()); onChanged(); } else { logsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Detailed log information output by the task execution.
       * 
* * repeated .flyteidl.core.TaskLog logs = 4; */ public Builder addLogs( int index, flyteidl.core.Execution.TaskLog.Builder builderForValue) { if (logsBuilder_ == null) { ensureLogsIsMutable(); logs_.add(index, builderForValue.build()); onChanged(); } else { logsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Detailed log information output by the task execution.
       * 
* * repeated .flyteidl.core.TaskLog logs = 4; */ public Builder addAllLogs( java.lang.Iterable values) { if (logsBuilder_ == null) { ensureLogsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, logs_); onChanged(); } else { logsBuilder_.addAllMessages(values); } return this; } /** *
       * Detailed log information output by the task execution.
       * 
* * repeated .flyteidl.core.TaskLog logs = 4; */ public Builder clearLogs() { if (logsBuilder_ == null) { logs_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { logsBuilder_.clear(); } return this; } /** *
       * Detailed log information output by the task execution.
       * 
* * repeated .flyteidl.core.TaskLog logs = 4; */ public Builder removeLogs(int index) { if (logsBuilder_ == null) { ensureLogsIsMutable(); logs_.remove(index); onChanged(); } else { logsBuilder_.remove(index); } return this; } /** *
       * Detailed log information output by the task execution.
       * 
* * repeated .flyteidl.core.TaskLog logs = 4; */ public flyteidl.core.Execution.TaskLog.Builder getLogsBuilder( int index) { return getLogsFieldBuilder().getBuilder(index); } /** *
       * Detailed log information output by the task execution.
       * 
* * repeated .flyteidl.core.TaskLog logs = 4; */ public flyteidl.core.Execution.TaskLogOrBuilder getLogsOrBuilder( int index) { if (logsBuilder_ == null) { return logs_.get(index); } else { return logsBuilder_.getMessageOrBuilder(index); } } /** *
       * Detailed log information output by the task execution.
       * 
* * repeated .flyteidl.core.TaskLog logs = 4; */ public java.util.List getLogsOrBuilderList() { if (logsBuilder_ != null) { return logsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(logs_); } } /** *
       * Detailed log information output by the task execution.
       * 
* * repeated .flyteidl.core.TaskLog logs = 4; */ public flyteidl.core.Execution.TaskLog.Builder addLogsBuilder() { return getLogsFieldBuilder().addBuilder( flyteidl.core.Execution.TaskLog.getDefaultInstance()); } /** *
       * Detailed log information output by the task execution.
       * 
* * repeated .flyteidl.core.TaskLog logs = 4; */ public flyteidl.core.Execution.TaskLog.Builder addLogsBuilder( int index) { return getLogsFieldBuilder().addBuilder( index, flyteidl.core.Execution.TaskLog.getDefaultInstance()); } /** *
       * Detailed log information output by the task execution.
       * 
* * repeated .flyteidl.core.TaskLog logs = 4; */ public java.util.List getLogsBuilderList() { return getLogsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< flyteidl.core.Execution.TaskLog, flyteidl.core.Execution.TaskLog.Builder, flyteidl.core.Execution.TaskLogOrBuilder> getLogsFieldBuilder() { if (logsBuilder_ == null) { logsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< flyteidl.core.Execution.TaskLog, flyteidl.core.Execution.TaskLog.Builder, flyteidl.core.Execution.TaskLogOrBuilder>( logs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); logs_ = null; } return logsBuilder_; } private com.google.protobuf.Timestamp startedAt_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startedAtBuilder_; /** *
       * Time at which the task execution began running.
       * 
* * .google.protobuf.Timestamp started_at = 5; * @return Whether the startedAt field is set. */ public boolean hasStartedAt() { return startedAtBuilder_ != null || startedAt_ != null; } /** *
       * Time at which the task execution began running.
       * 
* * .google.protobuf.Timestamp started_at = 5; * @return The startedAt. */ public com.google.protobuf.Timestamp getStartedAt() { if (startedAtBuilder_ == null) { return startedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startedAt_; } else { return startedAtBuilder_.getMessage(); } } /** *
       * Time at which the task execution began running.
       * 
* * .google.protobuf.Timestamp started_at = 5; */ public Builder setStartedAt(com.google.protobuf.Timestamp value) { if (startedAtBuilder_ == null) { if (value == null) { throw new NullPointerException(); } startedAt_ = value; onChanged(); } else { startedAtBuilder_.setMessage(value); } return this; } /** *
       * Time at which the task execution began running.
       * 
* * .google.protobuf.Timestamp started_at = 5; */ public Builder setStartedAt( com.google.protobuf.Timestamp.Builder builderForValue) { if (startedAtBuilder_ == null) { startedAt_ = builderForValue.build(); onChanged(); } else { startedAtBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Time at which the task execution began running.
       * 
* * .google.protobuf.Timestamp started_at = 5; */ public Builder mergeStartedAt(com.google.protobuf.Timestamp value) { if (startedAtBuilder_ == null) { if (startedAt_ != null) { startedAt_ = com.google.protobuf.Timestamp.newBuilder(startedAt_).mergeFrom(value).buildPartial(); } else { startedAt_ = value; } onChanged(); } else { startedAtBuilder_.mergeFrom(value); } return this; } /** *
       * Time at which the task execution began running.
       * 
* * .google.protobuf.Timestamp started_at = 5; */ public Builder clearStartedAt() { if (startedAtBuilder_ == null) { startedAt_ = null; onChanged(); } else { startedAt_ = null; startedAtBuilder_ = null; } return this; } /** *
       * Time at which the task execution began running.
       * 
* * .google.protobuf.Timestamp started_at = 5; */ public com.google.protobuf.Timestamp.Builder getStartedAtBuilder() { onChanged(); return getStartedAtFieldBuilder().getBuilder(); } /** *
       * Time at which the task execution began running.
       * 
* * .google.protobuf.Timestamp started_at = 5; */ public com.google.protobuf.TimestampOrBuilder getStartedAtOrBuilder() { if (startedAtBuilder_ != null) { return startedAtBuilder_.getMessageOrBuilder(); } else { return startedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startedAt_; } } /** *
       * Time at which the task execution began running.
       * 
* * .google.protobuf.Timestamp started_at = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartedAtFieldBuilder() { if (startedAtBuilder_ == null) { startedAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getStartedAt(), getParentForChildren(), isClean()); startedAt_ = null; } return startedAtBuilder_; } private com.google.protobuf.Duration duration_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; /** *
       * The amount of time the task execution spent running.
       * 
* * .google.protobuf.Duration duration = 6; * @return Whether the duration field is set. */ public boolean hasDuration() { return durationBuilder_ != null || duration_ != null; } /** *
       * The amount of time the task execution spent running.
       * 
* * .google.protobuf.Duration duration = 6; * @return The duration. */ public com.google.protobuf.Duration getDuration() { if (durationBuilder_ == null) { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } else { return durationBuilder_.getMessage(); } } /** *
       * The amount of time the task execution spent running.
       * 
* * .google.protobuf.Duration duration = 6; */ public Builder setDuration(com.google.protobuf.Duration value) { if (durationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } duration_ = value; onChanged(); } else { durationBuilder_.setMessage(value); } return this; } /** *
       * The amount of time the task execution spent running.
       * 
* * .google.protobuf.Duration duration = 6; */ public Builder setDuration( com.google.protobuf.Duration.Builder builderForValue) { if (durationBuilder_ == null) { duration_ = builderForValue.build(); onChanged(); } else { durationBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The amount of time the task execution spent running.
       * 
* * .google.protobuf.Duration duration = 6; */ public Builder mergeDuration(com.google.protobuf.Duration value) { if (durationBuilder_ == null) { if (duration_ != null) { duration_ = com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial(); } else { duration_ = value; } onChanged(); } else { durationBuilder_.mergeFrom(value); } return this; } /** *
       * The amount of time the task execution spent running.
       * 
* * .google.protobuf.Duration duration = 6; */ public Builder clearDuration() { if (durationBuilder_ == null) { duration_ = null; onChanged(); } else { duration_ = null; durationBuilder_ = null; } return this; } /** *
       * The amount of time the task execution spent running.
       * 
* * .google.protobuf.Duration duration = 6; */ public com.google.protobuf.Duration.Builder getDurationBuilder() { onChanged(); return getDurationFieldBuilder().getBuilder(); } /** *
       * The amount of time the task execution spent running.
       * 
* * .google.protobuf.Duration duration = 6; */ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { if (durationBuilder_ != null) { return durationBuilder_.getMessageOrBuilder(); } else { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } } /** *
       * The amount of time the task execution spent running.
       * 
* * .google.protobuf.Duration duration = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getDurationFieldBuilder() { if (durationBuilder_ == null) { durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( getDuration(), getParentForChildren(), isClean()); duration_ = null; } return durationBuilder_; } private com.google.protobuf.Timestamp createdAt_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createdAtBuilder_; /** *
       * Time at which the task execution was created.
       * 
* * .google.protobuf.Timestamp created_at = 7; * @return Whether the createdAt field is set. */ public boolean hasCreatedAt() { return createdAtBuilder_ != null || createdAt_ != null; } /** *
       * Time at which the task execution was created.
       * 
* * .google.protobuf.Timestamp created_at = 7; * @return The createdAt. */ public com.google.protobuf.Timestamp getCreatedAt() { if (createdAtBuilder_ == null) { return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; } else { return createdAtBuilder_.getMessage(); } } /** *
       * Time at which the task execution was created.
       * 
* * .google.protobuf.Timestamp created_at = 7; */ public Builder setCreatedAt(com.google.protobuf.Timestamp value) { if (createdAtBuilder_ == null) { if (value == null) { throw new NullPointerException(); } createdAt_ = value; onChanged(); } else { createdAtBuilder_.setMessage(value); } return this; } /** *
       * Time at which the task execution was created.
       * 
* * .google.protobuf.Timestamp created_at = 7; */ public Builder setCreatedAt( com.google.protobuf.Timestamp.Builder builderForValue) { if (createdAtBuilder_ == null) { createdAt_ = builderForValue.build(); onChanged(); } else { createdAtBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Time at which the task execution was created.
       * 
* * .google.protobuf.Timestamp created_at = 7; */ public Builder mergeCreatedAt(com.google.protobuf.Timestamp value) { if (createdAtBuilder_ == null) { if (createdAt_ != null) { createdAt_ = com.google.protobuf.Timestamp.newBuilder(createdAt_).mergeFrom(value).buildPartial(); } else { createdAt_ = value; } onChanged(); } else { createdAtBuilder_.mergeFrom(value); } return this; } /** *
       * Time at which the task execution was created.
       * 
* * .google.protobuf.Timestamp created_at = 7; */ public Builder clearCreatedAt() { if (createdAtBuilder_ == null) { createdAt_ = null; onChanged(); } else { createdAt_ = null; createdAtBuilder_ = null; } return this; } /** *
       * Time at which the task execution was created.
       * 
* * .google.protobuf.Timestamp created_at = 7; */ public com.google.protobuf.Timestamp.Builder getCreatedAtBuilder() { onChanged(); return getCreatedAtFieldBuilder().getBuilder(); } /** *
       * Time at which the task execution was created.
       * 
* * .google.protobuf.Timestamp created_at = 7; */ public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { if (createdAtBuilder_ != null) { return createdAtBuilder_.getMessageOrBuilder(); } else { return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; } } /** *
       * Time at which the task execution was created.
       * 
* * .google.protobuf.Timestamp created_at = 7; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreatedAtFieldBuilder() { if (createdAtBuilder_ == null) { createdAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getCreatedAt(), getParentForChildren(), isClean()); createdAt_ = null; } return createdAtBuilder_; } private com.google.protobuf.Timestamp updatedAt_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updatedAtBuilder_; /** *
       * Time at which the task execution was last updated.
       * 
* * .google.protobuf.Timestamp updated_at = 8; * @return Whether the updatedAt field is set. */ public boolean hasUpdatedAt() { return updatedAtBuilder_ != null || updatedAt_ != null; } /** *
       * Time at which the task execution was last updated.
       * 
* * .google.protobuf.Timestamp updated_at = 8; * @return The updatedAt. */ public com.google.protobuf.Timestamp getUpdatedAt() { if (updatedAtBuilder_ == null) { return updatedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updatedAt_; } else { return updatedAtBuilder_.getMessage(); } } /** *
       * Time at which the task execution was last updated.
       * 
* * .google.protobuf.Timestamp updated_at = 8; */ public Builder setUpdatedAt(com.google.protobuf.Timestamp value) { if (updatedAtBuilder_ == null) { if (value == null) { throw new NullPointerException(); } updatedAt_ = value; onChanged(); } else { updatedAtBuilder_.setMessage(value); } return this; } /** *
       * Time at which the task execution was last updated.
       * 
* * .google.protobuf.Timestamp updated_at = 8; */ public Builder setUpdatedAt( com.google.protobuf.Timestamp.Builder builderForValue) { if (updatedAtBuilder_ == null) { updatedAt_ = builderForValue.build(); onChanged(); } else { updatedAtBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Time at which the task execution was last updated.
       * 
* * .google.protobuf.Timestamp updated_at = 8; */ public Builder mergeUpdatedAt(com.google.protobuf.Timestamp value) { if (updatedAtBuilder_ == null) { if (updatedAt_ != null) { updatedAt_ = com.google.protobuf.Timestamp.newBuilder(updatedAt_).mergeFrom(value).buildPartial(); } else { updatedAt_ = value; } onChanged(); } else { updatedAtBuilder_.mergeFrom(value); } return this; } /** *
       * Time at which the task execution was last updated.
       * 
* * .google.protobuf.Timestamp updated_at = 8; */ public Builder clearUpdatedAt() { if (updatedAtBuilder_ == null) { updatedAt_ = null; onChanged(); } else { updatedAt_ = null; updatedAtBuilder_ = null; } return this; } /** *
       * Time at which the task execution was last updated.
       * 
* * .google.protobuf.Timestamp updated_at = 8; */ public com.google.protobuf.Timestamp.Builder getUpdatedAtBuilder() { onChanged(); return getUpdatedAtFieldBuilder().getBuilder(); } /** *
       * Time at which the task execution was last updated.
       * 
* * .google.protobuf.Timestamp updated_at = 8; */ public com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder() { if (updatedAtBuilder_ != null) { return updatedAtBuilder_.getMessageOrBuilder(); } else { return updatedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updatedAt_; } } /** *
       * Time at which the task execution was last updated.
       * 
* * .google.protobuf.Timestamp updated_at = 8; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdatedAtFieldBuilder() { if (updatedAtBuilder_ == null) { updatedAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getUpdatedAt(), getParentForChildren(), isClean()); updatedAt_ = null; } return updatedAtBuilder_; } private com.google.protobuf.Struct customInfo_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> customInfoBuilder_; /** *
       * Custom data specific to the task plugin.
       * 
* * .google.protobuf.Struct custom_info = 9; * @return Whether the customInfo field is set. */ public boolean hasCustomInfo() { return customInfoBuilder_ != null || customInfo_ != null; } /** *
       * Custom data specific to the task plugin.
       * 
* * .google.protobuf.Struct custom_info = 9; * @return The customInfo. */ public com.google.protobuf.Struct getCustomInfo() { if (customInfoBuilder_ == null) { return customInfo_ == null ? com.google.protobuf.Struct.getDefaultInstance() : customInfo_; } else { return customInfoBuilder_.getMessage(); } } /** *
       * Custom data specific to the task plugin.
       * 
* * .google.protobuf.Struct custom_info = 9; */ public Builder setCustomInfo(com.google.protobuf.Struct value) { if (customInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } customInfo_ = value; onChanged(); } else { customInfoBuilder_.setMessage(value); } return this; } /** *
       * Custom data specific to the task plugin.
       * 
* * .google.protobuf.Struct custom_info = 9; */ public Builder setCustomInfo( com.google.protobuf.Struct.Builder builderForValue) { if (customInfoBuilder_ == null) { customInfo_ = builderForValue.build(); onChanged(); } else { customInfoBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Custom data specific to the task plugin.
       * 
* * .google.protobuf.Struct custom_info = 9; */ public Builder mergeCustomInfo(com.google.protobuf.Struct value) { if (customInfoBuilder_ == null) { if (customInfo_ != null) { customInfo_ = com.google.protobuf.Struct.newBuilder(customInfo_).mergeFrom(value).buildPartial(); } else { customInfo_ = value; } onChanged(); } else { customInfoBuilder_.mergeFrom(value); } return this; } /** *
       * Custom data specific to the task plugin.
       * 
* * .google.protobuf.Struct custom_info = 9; */ public Builder clearCustomInfo() { if (customInfoBuilder_ == null) { customInfo_ = null; onChanged(); } else { customInfo_ = null; customInfoBuilder_ = null; } return this; } /** *
       * Custom data specific to the task plugin.
       * 
* * .google.protobuf.Struct custom_info = 9; */ public com.google.protobuf.Struct.Builder getCustomInfoBuilder() { onChanged(); return getCustomInfoFieldBuilder().getBuilder(); } /** *
       * Custom data specific to the task plugin.
       * 
* * .google.protobuf.Struct custom_info = 9; */ public com.google.protobuf.StructOrBuilder getCustomInfoOrBuilder() { if (customInfoBuilder_ != null) { return customInfoBuilder_.getMessageOrBuilder(); } else { return customInfo_ == null ? com.google.protobuf.Struct.getDefaultInstance() : customInfo_; } } /** *
       * Custom data specific to the task plugin.
       * 
* * .google.protobuf.Struct custom_info = 9; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> getCustomInfoFieldBuilder() { if (customInfoBuilder_ == null) { customInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( getCustomInfo(), getParentForChildren(), isClean()); customInfo_ = null; } return customInfoBuilder_; } @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:flyteidl.admin.TaskExecutionClosure) } // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskExecutionClosure) private static final flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure(); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskExecutionClosure parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TaskExecutionClosure(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionClosure getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskExecutionGetDataRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:flyteidl.admin.TaskExecutionGetDataRequest) com.google.protobuf.MessageOrBuilder { /** *
     * The identifier of the task execution for which to fetch inputs and outputs.
     * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; * @return Whether the id field is set. */ boolean hasId(); /** *
     * The identifier of the task execution for which to fetch inputs and outputs.
     * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; * @return The id. */ flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getId(); /** *
     * The identifier of the task execution for which to fetch inputs and outputs.
     * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; */ flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getIdOrBuilder(); } /** *
   * Request structure to fetch inputs and output urls for a task execution.
   * 
* * Protobuf type {@code flyteidl.admin.TaskExecutionGetDataRequest} */ public static final class TaskExecutionGetDataRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:flyteidl.admin.TaskExecutionGetDataRequest) TaskExecutionGetDataRequestOrBuilder { private static final long serialVersionUID = 0L; // Use TaskExecutionGetDataRequest.newBuilder() to construct. private TaskExecutionGetDataRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskExecutionGetDataRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskExecutionGetDataRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TaskExecutionGetDataRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder subBuilder = null; if (id_ != null) { subBuilder = id_.toBuilder(); } id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(id_); id_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionGetDataRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionGetDataRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest.class, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier id_; /** *
     * The identifier of the task execution for which to fetch inputs and outputs.
     * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; * @return Whether the id field is set. */ public boolean hasId() { return id_ != null; } /** *
     * The identifier of the task execution for which to fetch inputs and outputs.
     * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; * @return The id. */ public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getId() { return id_ == null ? flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : id_; } /** *
     * The identifier of the task execution for which to fetch inputs and outputs.
     * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; */ public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getIdOrBuilder() { return getId(); } 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 (id_ != null) { output.writeMessage(1, getId()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (id_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getId()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest)) { return super.equals(obj); } flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest other = (flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest) obj; if (hasId() != other.hasId()) return false; if (hasId()) { if (!getId() .equals(other.getId())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasId()) { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest 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 flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest 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 flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest 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(flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest 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 structure to fetch inputs and output urls for a task execution.
     * 
* * Protobuf type {@code flyteidl.admin.TaskExecutionGetDataRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:flyteidl.admin.TaskExecutionGetDataRequest) flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionGetDataRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionGetDataRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest.class, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest.Builder.class); } // Construct using flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (idBuilder_ == null) { id_ = null; } else { id_ = null; idBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionGetDataRequest_descriptor; } @java.lang.Override public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest getDefaultInstanceForType() { return flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest.getDefaultInstance(); } @java.lang.Override public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest build() { flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest buildPartial() { flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest result = new flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest(this); if (idBuilder_ == null) { result.id_ = id_; } else { result.id_ = idBuilder_.build(); } onBuilt(); return result; } @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 flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest) { return mergeFrom((flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest other) { if (other == flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest.getDefaultInstance()) return this; if (other.hasId()) { mergeId(other.getId()); } this.mergeUnknownFields(other.unknownFields); 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 { flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier id_; private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder> idBuilder_; /** *
       * The identifier of the task execution for which to fetch inputs and outputs.
       * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; * @return Whether the id field is set. */ public boolean hasId() { return idBuilder_ != null || id_ != null; } /** *
       * The identifier of the task execution for which to fetch inputs and outputs.
       * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; * @return The id. */ public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getId() { if (idBuilder_ == null) { return id_ == null ? flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : id_; } else { return idBuilder_.getMessage(); } } /** *
       * The identifier of the task execution for which to fetch inputs and outputs.
       * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; */ public Builder setId(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier value) { if (idBuilder_ == null) { if (value == null) { throw new NullPointerException(); } id_ = value; onChanged(); } else { idBuilder_.setMessage(value); } return this; } /** *
       * The identifier of the task execution for which to fetch inputs and outputs.
       * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; */ public Builder setId( flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder builderForValue) { if (idBuilder_ == null) { id_ = builderForValue.build(); onChanged(); } else { idBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The identifier of the task execution for which to fetch inputs and outputs.
       * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; */ public Builder mergeId(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier value) { if (idBuilder_ == null) { if (id_ != null) { id_ = flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.newBuilder(id_).mergeFrom(value).buildPartial(); } else { id_ = value; } onChanged(); } else { idBuilder_.mergeFrom(value); } return this; } /** *
       * The identifier of the task execution for which to fetch inputs and outputs.
       * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; */ public Builder clearId() { if (idBuilder_ == null) { id_ = null; onChanged(); } else { id_ = null; idBuilder_ = null; } return this; } /** *
       * The identifier of the task execution for which to fetch inputs and outputs.
       * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; */ public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder getIdBuilder() { onChanged(); return getIdFieldBuilder().getBuilder(); } /** *
       * The identifier of the task execution for which to fetch inputs and outputs.
       * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; */ public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getIdOrBuilder() { if (idBuilder_ != null) { return idBuilder_.getMessageOrBuilder(); } else { return id_ == null ? flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : id_; } } /** *
       * The identifier of the task execution for which to fetch inputs and outputs.
       * 
* * .flyteidl.core.TaskExecutionIdentifier id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder> getIdFieldBuilder() { if (idBuilder_ == null) { idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder>( getId(), getParentForChildren(), isClean()); id_ = null; } return idBuilder_; } @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:flyteidl.admin.TaskExecutionGetDataRequest) } // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskExecutionGetDataRequest) private static final flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest(); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskExecutionGetDataRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TaskExecutionGetDataRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TaskExecutionGetDataResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:flyteidl.admin.TaskExecutionGetDataResponse) com.google.protobuf.MessageOrBuilder { /** *
     * Signed url to fetch a core.LiteralMap of task execution inputs.
     * 
* * .flyteidl.admin.UrlBlob inputs = 1; * @return Whether the inputs field is set. */ boolean hasInputs(); /** *
     * Signed url to fetch a core.LiteralMap of task execution inputs.
     * 
* * .flyteidl.admin.UrlBlob inputs = 1; * @return The inputs. */ flyteidl.admin.Common.UrlBlob getInputs(); /** *
     * Signed url to fetch a core.LiteralMap of task execution inputs.
     * 
* * .flyteidl.admin.UrlBlob inputs = 1; */ flyteidl.admin.Common.UrlBlobOrBuilder getInputsOrBuilder(); /** *
     * Signed url to fetch a core.LiteralMap of task execution outputs.
     * 
* * .flyteidl.admin.UrlBlob outputs = 2; * @return Whether the outputs field is set. */ boolean hasOutputs(); /** *
     * Signed url to fetch a core.LiteralMap of task execution outputs.
     * 
* * .flyteidl.admin.UrlBlob outputs = 2; * @return The outputs. */ flyteidl.admin.Common.UrlBlob getOutputs(); /** *
     * Signed url to fetch a core.LiteralMap of task execution outputs.
     * 
* * .flyteidl.admin.UrlBlob outputs = 2; */ flyteidl.admin.Common.UrlBlobOrBuilder getOutputsOrBuilder(); } /** *
   * Response structure for TaskExecutionGetDataRequest which contains inputs and outputs for a task execution.
   * 
* * Protobuf type {@code flyteidl.admin.TaskExecutionGetDataResponse} */ public static final class TaskExecutionGetDataResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:flyteidl.admin.TaskExecutionGetDataResponse) TaskExecutionGetDataResponseOrBuilder { private static final long serialVersionUID = 0L; // Use TaskExecutionGetDataResponse.newBuilder() to construct. private TaskExecutionGetDataResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TaskExecutionGetDataResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TaskExecutionGetDataResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TaskExecutionGetDataResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { flyteidl.admin.Common.UrlBlob.Builder subBuilder = null; if (inputs_ != null) { subBuilder = inputs_.toBuilder(); } inputs_ = input.readMessage(flyteidl.admin.Common.UrlBlob.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(inputs_); inputs_ = subBuilder.buildPartial(); } break; } case 18: { flyteidl.admin.Common.UrlBlob.Builder subBuilder = null; if (outputs_ != null) { subBuilder = outputs_.toBuilder(); } outputs_ = input.readMessage(flyteidl.admin.Common.UrlBlob.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(outputs_); outputs_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionGetDataResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionGetDataResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse.class, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse.Builder.class); } public static final int INPUTS_FIELD_NUMBER = 1; private flyteidl.admin.Common.UrlBlob inputs_; /** *
     * Signed url to fetch a core.LiteralMap of task execution inputs.
     * 
* * .flyteidl.admin.UrlBlob inputs = 1; * @return Whether the inputs field is set. */ public boolean hasInputs() { return inputs_ != null; } /** *
     * Signed url to fetch a core.LiteralMap of task execution inputs.
     * 
* * .flyteidl.admin.UrlBlob inputs = 1; * @return The inputs. */ public flyteidl.admin.Common.UrlBlob getInputs() { return inputs_ == null ? flyteidl.admin.Common.UrlBlob.getDefaultInstance() : inputs_; } /** *
     * Signed url to fetch a core.LiteralMap of task execution inputs.
     * 
* * .flyteidl.admin.UrlBlob inputs = 1; */ public flyteidl.admin.Common.UrlBlobOrBuilder getInputsOrBuilder() { return getInputs(); } public static final int OUTPUTS_FIELD_NUMBER = 2; private flyteidl.admin.Common.UrlBlob outputs_; /** *
     * Signed url to fetch a core.LiteralMap of task execution outputs.
     * 
* * .flyteidl.admin.UrlBlob outputs = 2; * @return Whether the outputs field is set. */ public boolean hasOutputs() { return outputs_ != null; } /** *
     * Signed url to fetch a core.LiteralMap of task execution outputs.
     * 
* * .flyteidl.admin.UrlBlob outputs = 2; * @return The outputs. */ public flyteidl.admin.Common.UrlBlob getOutputs() { return outputs_ == null ? flyteidl.admin.Common.UrlBlob.getDefaultInstance() : outputs_; } /** *
     * Signed url to fetch a core.LiteralMap of task execution outputs.
     * 
* * .flyteidl.admin.UrlBlob outputs = 2; */ public flyteidl.admin.Common.UrlBlobOrBuilder getOutputsOrBuilder() { return getOutputs(); } 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 (inputs_ != null) { output.writeMessage(1, getInputs()); } if (outputs_ != null) { output.writeMessage(2, getOutputs()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (inputs_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getInputs()); } if (outputs_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getOutputs()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse)) { return super.equals(obj); } flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse other = (flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse) obj; if (hasInputs() != other.hasInputs()) return false; if (hasInputs()) { if (!getInputs() .equals(other.getInputs())) return false; } if (hasOutputs() != other.hasOutputs()) return false; if (hasOutputs()) { if (!getOutputs() .equals(other.getOutputs())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasInputs()) { hash = (37 * hash) + INPUTS_FIELD_NUMBER; hash = (53 * hash) + getInputs().hashCode(); } if (hasOutputs()) { hash = (37 * hash) + OUTPUTS_FIELD_NUMBER; hash = (53 * hash) + getOutputs().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse 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 flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse 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 flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse 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(flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse 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; } /** *
     * Response structure for TaskExecutionGetDataRequest which contains inputs and outputs for a task execution.
     * 
* * Protobuf type {@code flyteidl.admin.TaskExecutionGetDataResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:flyteidl.admin.TaskExecutionGetDataResponse) flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionGetDataResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionGetDataResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse.class, flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse.Builder.class); } // Construct using flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (inputsBuilder_ == null) { inputs_ = null; } else { inputs_ = null; inputsBuilder_ = null; } if (outputsBuilder_ == null) { outputs_ = null; } else { outputs_ = null; outputsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return flyteidl.admin.TaskExecutionOuterClass.internal_static_flyteidl_admin_TaskExecutionGetDataResponse_descriptor; } @java.lang.Override public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse getDefaultInstanceForType() { return flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse.getDefaultInstance(); } @java.lang.Override public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse build() { flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse buildPartial() { flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse result = new flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse(this); if (inputsBuilder_ == null) { result.inputs_ = inputs_; } else { result.inputs_ = inputsBuilder_.build(); } if (outputsBuilder_ == null) { result.outputs_ = outputs_; } else { result.outputs_ = outputsBuilder_.build(); } onBuilt(); return result; } @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 flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse) { return mergeFrom((flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse other) { if (other == flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse.getDefaultInstance()) return this; if (other.hasInputs()) { mergeInputs(other.getInputs()); } if (other.hasOutputs()) { mergeOutputs(other.getOutputs()); } this.mergeUnknownFields(other.unknownFields); 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 { flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private flyteidl.admin.Common.UrlBlob inputs_; private com.google.protobuf.SingleFieldBuilderV3< flyteidl.admin.Common.UrlBlob, flyteidl.admin.Common.UrlBlob.Builder, flyteidl.admin.Common.UrlBlobOrBuilder> inputsBuilder_; /** *
       * Signed url to fetch a core.LiteralMap of task execution inputs.
       * 
* * .flyteidl.admin.UrlBlob inputs = 1; * @return Whether the inputs field is set. */ public boolean hasInputs() { return inputsBuilder_ != null || inputs_ != null; } /** *
       * Signed url to fetch a core.LiteralMap of task execution inputs.
       * 
* * .flyteidl.admin.UrlBlob inputs = 1; * @return The inputs. */ public flyteidl.admin.Common.UrlBlob getInputs() { if (inputsBuilder_ == null) { return inputs_ == null ? flyteidl.admin.Common.UrlBlob.getDefaultInstance() : inputs_; } else { return inputsBuilder_.getMessage(); } } /** *
       * Signed url to fetch a core.LiteralMap of task execution inputs.
       * 
* * .flyteidl.admin.UrlBlob inputs = 1; */ public Builder setInputs(flyteidl.admin.Common.UrlBlob value) { if (inputsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } inputs_ = value; onChanged(); } else { inputsBuilder_.setMessage(value); } return this; } /** *
       * Signed url to fetch a core.LiteralMap of task execution inputs.
       * 
* * .flyteidl.admin.UrlBlob inputs = 1; */ public Builder setInputs( flyteidl.admin.Common.UrlBlob.Builder builderForValue) { if (inputsBuilder_ == null) { inputs_ = builderForValue.build(); onChanged(); } else { inputsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Signed url to fetch a core.LiteralMap of task execution inputs.
       * 
* * .flyteidl.admin.UrlBlob inputs = 1; */ public Builder mergeInputs(flyteidl.admin.Common.UrlBlob value) { if (inputsBuilder_ == null) { if (inputs_ != null) { inputs_ = flyteidl.admin.Common.UrlBlob.newBuilder(inputs_).mergeFrom(value).buildPartial(); } else { inputs_ = value; } onChanged(); } else { inputsBuilder_.mergeFrom(value); } return this; } /** *
       * Signed url to fetch a core.LiteralMap of task execution inputs.
       * 
* * .flyteidl.admin.UrlBlob inputs = 1; */ public Builder clearInputs() { if (inputsBuilder_ == null) { inputs_ = null; onChanged(); } else { inputs_ = null; inputsBuilder_ = null; } return this; } /** *
       * Signed url to fetch a core.LiteralMap of task execution inputs.
       * 
* * .flyteidl.admin.UrlBlob inputs = 1; */ public flyteidl.admin.Common.UrlBlob.Builder getInputsBuilder() { onChanged(); return getInputsFieldBuilder().getBuilder(); } /** *
       * Signed url to fetch a core.LiteralMap of task execution inputs.
       * 
* * .flyteidl.admin.UrlBlob inputs = 1; */ public flyteidl.admin.Common.UrlBlobOrBuilder getInputsOrBuilder() { if (inputsBuilder_ != null) { return inputsBuilder_.getMessageOrBuilder(); } else { return inputs_ == null ? flyteidl.admin.Common.UrlBlob.getDefaultInstance() : inputs_; } } /** *
       * Signed url to fetch a core.LiteralMap of task execution inputs.
       * 
* * .flyteidl.admin.UrlBlob inputs = 1; */ private com.google.protobuf.SingleFieldBuilderV3< flyteidl.admin.Common.UrlBlob, flyteidl.admin.Common.UrlBlob.Builder, flyteidl.admin.Common.UrlBlobOrBuilder> getInputsFieldBuilder() { if (inputsBuilder_ == null) { inputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< flyteidl.admin.Common.UrlBlob, flyteidl.admin.Common.UrlBlob.Builder, flyteidl.admin.Common.UrlBlobOrBuilder>( getInputs(), getParentForChildren(), isClean()); inputs_ = null; } return inputsBuilder_; } private flyteidl.admin.Common.UrlBlob outputs_; private com.google.protobuf.SingleFieldBuilderV3< flyteidl.admin.Common.UrlBlob, flyteidl.admin.Common.UrlBlob.Builder, flyteidl.admin.Common.UrlBlobOrBuilder> outputsBuilder_; /** *
       * Signed url to fetch a core.LiteralMap of task execution outputs.
       * 
* * .flyteidl.admin.UrlBlob outputs = 2; * @return Whether the outputs field is set. */ public boolean hasOutputs() { return outputsBuilder_ != null || outputs_ != null; } /** *
       * Signed url to fetch a core.LiteralMap of task execution outputs.
       * 
* * .flyteidl.admin.UrlBlob outputs = 2; * @return The outputs. */ public flyteidl.admin.Common.UrlBlob getOutputs() { if (outputsBuilder_ == null) { return outputs_ == null ? flyteidl.admin.Common.UrlBlob.getDefaultInstance() : outputs_; } else { return outputsBuilder_.getMessage(); } } /** *
       * Signed url to fetch a core.LiteralMap of task execution outputs.
       * 
* * .flyteidl.admin.UrlBlob outputs = 2; */ public Builder setOutputs(flyteidl.admin.Common.UrlBlob value) { if (outputsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } outputs_ = value; onChanged(); } else { outputsBuilder_.setMessage(value); } return this; } /** *
       * Signed url to fetch a core.LiteralMap of task execution outputs.
       * 
* * .flyteidl.admin.UrlBlob outputs = 2; */ public Builder setOutputs( flyteidl.admin.Common.UrlBlob.Builder builderForValue) { if (outputsBuilder_ == null) { outputs_ = builderForValue.build(); onChanged(); } else { outputsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Signed url to fetch a core.LiteralMap of task execution outputs.
       * 
* * .flyteidl.admin.UrlBlob outputs = 2; */ public Builder mergeOutputs(flyteidl.admin.Common.UrlBlob value) { if (outputsBuilder_ == null) { if (outputs_ != null) { outputs_ = flyteidl.admin.Common.UrlBlob.newBuilder(outputs_).mergeFrom(value).buildPartial(); } else { outputs_ = value; } onChanged(); } else { outputsBuilder_.mergeFrom(value); } return this; } /** *
       * Signed url to fetch a core.LiteralMap of task execution outputs.
       * 
* * .flyteidl.admin.UrlBlob outputs = 2; */ public Builder clearOutputs() { if (outputsBuilder_ == null) { outputs_ = null; onChanged(); } else { outputs_ = null; outputsBuilder_ = null; } return this; } /** *
       * Signed url to fetch a core.LiteralMap of task execution outputs.
       * 
* * .flyteidl.admin.UrlBlob outputs = 2; */ public flyteidl.admin.Common.UrlBlob.Builder getOutputsBuilder() { onChanged(); return getOutputsFieldBuilder().getBuilder(); } /** *
       * Signed url to fetch a core.LiteralMap of task execution outputs.
       * 
* * .flyteidl.admin.UrlBlob outputs = 2; */ public flyteidl.admin.Common.UrlBlobOrBuilder getOutputsOrBuilder() { if (outputsBuilder_ != null) { return outputsBuilder_.getMessageOrBuilder(); } else { return outputs_ == null ? flyteidl.admin.Common.UrlBlob.getDefaultInstance() : outputs_; } } /** *
       * Signed url to fetch a core.LiteralMap of task execution outputs.
       * 
* * .flyteidl.admin.UrlBlob outputs = 2; */ private com.google.protobuf.SingleFieldBuilderV3< flyteidl.admin.Common.UrlBlob, flyteidl.admin.Common.UrlBlob.Builder, flyteidl.admin.Common.UrlBlobOrBuilder> getOutputsFieldBuilder() { if (outputsBuilder_ == null) { outputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< flyteidl.admin.Common.UrlBlob, flyteidl.admin.Common.UrlBlob.Builder, flyteidl.admin.Common.UrlBlobOrBuilder>( getOutputs(), getParentForChildren(), isClean()); outputs_ = null; } return outputsBuilder_; } @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:flyteidl.admin.TaskExecutionGetDataResponse) } // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskExecutionGetDataResponse) private static final flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse(); } public static flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TaskExecutionGetDataResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TaskExecutionGetDataResponse(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public flyteidl.admin.TaskExecutionOuterClass.TaskExecutionGetDataResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_flyteidl_admin_TaskExecutionGetRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flyteidl_admin_TaskExecutionGetRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flyteidl_admin_TaskExecutionListRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flyteidl_admin_TaskExecutionListRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flyteidl_admin_TaskExecution_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flyteidl_admin_TaskExecution_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flyteidl_admin_TaskExecutionList_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flyteidl_admin_TaskExecutionList_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flyteidl_admin_TaskExecutionClosure_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flyteidl_admin_TaskExecutionClosure_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flyteidl_admin_TaskExecutionGetDataRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flyteidl_admin_TaskExecutionGetDataRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flyteidl_admin_TaskExecutionGetDataResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flyteidl_admin_TaskExecutionGetDataResponse_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n#flyteidl/admin/task_execution.proto\022\016f" + "lyteidl.admin\032\033flyteidl/admin/common.pro" + "to\032\035flyteidl/core/execution.proto\032\036flyte" + "idl/core/identifier.proto\032\037google/protob" + "uf/timestamp.proto\032\036google/protobuf/dura" + "tion.proto\032\034google/protobuf/struct.proto" + "\"M\n\027TaskExecutionGetRequest\0222\n\002id\030\001 \001(\0132" + "&.flyteidl.core.TaskExecutionIdentifier\"" + "\263\001\n\030TaskExecutionListRequest\022A\n\021node_exe" + "cution_id\030\001 \001(\0132&.flyteidl.core.NodeExec" + "utionIdentifier\022\r\n\005limit\030\002 \001(\r\022\r\n\005token\030" + "\003 \001(\t\022\017\n\007filters\030\004 \001(\t\022%\n\007sort_by\030\005 \001(\0132" + "\024.flyteidl.admin.Sort\"\240\001\n\rTaskExecution\022" + "2\n\002id\030\001 \001(\0132&.flyteidl.core.TaskExecutio" + "nIdentifier\022\021\n\tinput_uri\030\002 \001(\t\0225\n\007closur" + "e\030\003 \001(\0132$.flyteidl.admin.TaskExecutionCl" + "osure\022\021\n\tis_parent\030\004 \001(\010\"Z\n\021TaskExecutio" + "nList\0226\n\017task_executions\030\001 \003(\0132\035.flyteid" + "l.admin.TaskExecution\022\r\n\005token\030\002 \001(\t\"\261\003\n" + "\024TaskExecutionClosure\022\024\n\noutput_uri\030\001 \001(" + "\tH\000\022.\n\005error\030\002 \001(\0132\035.flyteidl.core.Execu" + "tionErrorH\000\0221\n\005phase\030\003 \001(\0162\".flyteidl.co" + "re.TaskExecution.Phase\022$\n\004logs\030\004 \003(\0132\026.f" + "lyteidl.core.TaskLog\022.\n\nstarted_at\030\005 \001(\013" + "2\032.google.protobuf.Timestamp\022+\n\010duration" + "\030\006 \001(\0132\031.google.protobuf.Duration\022.\n\ncre" + "ated_at\030\007 \001(\0132\032.google.protobuf.Timestam" + "p\022.\n\nupdated_at\030\010 \001(\0132\032.google.protobuf." + "Timestamp\022,\n\013custom_info\030\t \001(\0132\027.google." + "protobuf.StructB\017\n\routput_result\"Q\n\033Task" + "ExecutionGetDataRequest\0222\n\002id\030\001 \001(\0132&.fl" + "yteidl.core.TaskExecutionIdentifier\"q\n\034T" + "askExecutionGetDataResponse\022\'\n\006inputs\030\001 " + "\001(\0132\027.flyteidl.admin.UrlBlob\022(\n\007outputs\030" + "\002 \001(\0132\027.flyteidl.admin.UrlBlobB3Z1github" + ".com/lyft/flyteidl/gen/pb-go/flyteidl/ad" + "minb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { flyteidl.admin.Common.getDescriptor(), flyteidl.core.Execution.getDescriptor(), flyteidl.core.IdentifierOuterClass.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.StructProto.getDescriptor(), }); internal_static_flyteidl_admin_TaskExecutionGetRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_flyteidl_admin_TaskExecutionGetRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_admin_TaskExecutionGetRequest_descriptor, new java.lang.String[] { "Id", }); internal_static_flyteidl_admin_TaskExecutionListRequest_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_flyteidl_admin_TaskExecutionListRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_admin_TaskExecutionListRequest_descriptor, new java.lang.String[] { "NodeExecutionId", "Limit", "Token", "Filters", "SortBy", }); internal_static_flyteidl_admin_TaskExecution_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_flyteidl_admin_TaskExecution_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_admin_TaskExecution_descriptor, new java.lang.String[] { "Id", "InputUri", "Closure", "IsParent", }); internal_static_flyteidl_admin_TaskExecutionList_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_flyteidl_admin_TaskExecutionList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_admin_TaskExecutionList_descriptor, new java.lang.String[] { "TaskExecutions", "Token", }); internal_static_flyteidl_admin_TaskExecutionClosure_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_flyteidl_admin_TaskExecutionClosure_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_admin_TaskExecutionClosure_descriptor, new java.lang.String[] { "OutputUri", "Error", "Phase", "Logs", "StartedAt", "Duration", "CreatedAt", "UpdatedAt", "CustomInfo", "OutputResult", }); internal_static_flyteidl_admin_TaskExecutionGetDataRequest_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_flyteidl_admin_TaskExecutionGetDataRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_admin_TaskExecutionGetDataRequest_descriptor, new java.lang.String[] { "Id", }); internal_static_flyteidl_admin_TaskExecutionGetDataResponse_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_flyteidl_admin_TaskExecutionGetDataResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_admin_TaskExecutionGetDataResponse_descriptor, new java.lang.String[] { "Inputs", "Outputs", }); flyteidl.admin.Common.getDescriptor(); flyteidl.core.Execution.getDescriptor(); flyteidl.core.IdentifierOuterClass.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.StructProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy