
flyteidl.admin.NodeExecutionOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: flyteidl/admin/node_execution.proto
package flyteidl.admin;
public final class NodeExecutionOuterClass {
private NodeExecutionOuterClass() {}
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 NodeExecutionGetRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:flyteidl.admin.NodeExecutionGetRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* Uniquely identifies an individual node execution.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
* @return Whether the id field is set.
*/
boolean hasId();
/**
*
* Uniquely identifies an individual node execution.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
* @return The id.
*/
flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getId();
/**
*
* Uniquely identifies an individual node execution.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
*/
flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getIdOrBuilder();
}
/**
*
* A message used to fetch a single node execution entity.
*
*
* Protobuf type {@code flyteidl.admin.NodeExecutionGetRequest}
*/
public static final class NodeExecutionGetRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flyteidl.admin.NodeExecutionGetRequest)
NodeExecutionGetRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use NodeExecutionGetRequest.newBuilder() to construct.
private NodeExecutionGetRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private NodeExecutionGetRequest() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new NodeExecutionGetRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private NodeExecutionGetRequest(
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 (id_ != null) {
subBuilder = id_.toBuilder();
}
id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.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.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionGetRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionGetRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest.Builder.class);
}
public static final int ID_FIELD_NUMBER = 1;
private flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier id_;
/**
*
* Uniquely identifies an individual node execution.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
* @return Whether the id field is set.
*/
public boolean hasId() {
return id_ != null;
}
/**
*
* Uniquely identifies an individual node execution.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
* @return The id.
*/
public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getId() {
return id_ == null ? flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : id_;
}
/**
*
* Uniquely identifies an individual node execution.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
*/
public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder 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.NodeExecutionOuterClass.NodeExecutionGetRequest)) {
return super.equals(obj);
}
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest other = (flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest) 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.NodeExecutionOuterClass.NodeExecutionGetRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest 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.NodeExecutionOuterClass.NodeExecutionGetRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest 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.NodeExecutionOuterClass.NodeExecutionGetRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest 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.NodeExecutionOuterClass.NodeExecutionGetRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest 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.NodeExecutionOuterClass.NodeExecutionGetRequest 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 node execution entity.
*
*
* Protobuf type {@code flyteidl.admin.NodeExecutionGetRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flyteidl.admin.NodeExecutionGetRequest)
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionGetRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionGetRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest.Builder.class);
}
// Construct using flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest.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.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionGetRequest_descriptor;
}
@java.lang.Override
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest getDefaultInstanceForType() {
return flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest.getDefaultInstance();
}
@java.lang.Override
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest build() {
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest buildPartial() {
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest result = new flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest(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.NodeExecutionOuterClass.NodeExecutionGetRequest) {
return mergeFrom((flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest other) {
if (other == flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest.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.NodeExecutionOuterClass.NodeExecutionGetRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier id_;
private com.google.protobuf.SingleFieldBuilderV3<
flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder> idBuilder_;
/**
*
* Uniquely identifies an individual node execution.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
* @return Whether the id field is set.
*/
public boolean hasId() {
return idBuilder_ != null || id_ != null;
}
/**
*
* Uniquely identifies an individual node execution.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
* @return The id.
*/
public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getId() {
if (idBuilder_ == null) {
return id_ == null ? flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : id_;
} else {
return idBuilder_.getMessage();
}
}
/**
*
* Uniquely identifies an individual node execution.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
*/
public Builder setId(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) {
if (idBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
id_ = value;
onChanged();
} else {
idBuilder_.setMessage(value);
}
return this;
}
/**
*
* Uniquely identifies an individual node execution.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
*/
public Builder setId(
flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder builderForValue) {
if (idBuilder_ == null) {
id_ = builderForValue.build();
onChanged();
} else {
idBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Uniquely identifies an individual node execution.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
*/
public Builder mergeId(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) {
if (idBuilder_ == null) {
if (id_ != null) {
id_ =
flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.newBuilder(id_).mergeFrom(value).buildPartial();
} else {
id_ = value;
}
onChanged();
} else {
idBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Uniquely identifies an individual node execution.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
*/
public Builder clearId() {
if (idBuilder_ == null) {
id_ = null;
onChanged();
} else {
id_ = null;
idBuilder_ = null;
}
return this;
}
/**
*
* Uniquely identifies an individual node execution.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
*/
public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder getIdBuilder() {
onChanged();
return getIdFieldBuilder().getBuilder();
}
/**
*
* Uniquely identifies an individual node execution.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
*/
public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getIdOrBuilder() {
if (idBuilder_ != null) {
return idBuilder_.getMessageOrBuilder();
} else {
return id_ == null ?
flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : id_;
}
}
/**
*
* Uniquely identifies an individual node execution.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder>
getIdFieldBuilder() {
if (idBuilder_ == null) {
idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder>(
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.NodeExecutionGetRequest)
}
// @@protoc_insertion_point(class_scope:flyteidl.admin.NodeExecutionGetRequest)
private static final flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest();
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public NodeExecutionGetRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new NodeExecutionGetRequest(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.NodeExecutionOuterClass.NodeExecutionGetRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface NodeExecutionListRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:flyteidl.admin.NodeExecutionListRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* Indicates the workflow execution to filter by.
*
*
* .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1;
* @return Whether the workflowExecutionId field is set.
*/
boolean hasWorkflowExecutionId();
/**
*
* Indicates the workflow execution to filter by.
*
*
* .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1;
* @return The workflowExecutionId.
*/
flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getWorkflowExecutionId();
/**
*
* Indicates the workflow execution to filter by.
*
*
* .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1;
*/
flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getWorkflowExecutionIdOrBuilder();
/**
*
* 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.
* +optional
*
*
* .flyteidl.admin.Sort sort_by = 5;
* @return Whether the sortBy field is set.
*/
boolean hasSortBy();
/**
*
* Sort ordering.
* +optional
*
*
* .flyteidl.admin.Sort sort_by = 5;
* @return The sortBy.
*/
flyteidl.admin.Common.Sort getSortBy();
/**
*
* Sort ordering.
* +optional
*
*
* .flyteidl.admin.Sort sort_by = 5;
*/
flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder();
}
/**
*
* Represents a request structure to retrieve a list of node execution entities.
*
*
* Protobuf type {@code flyteidl.admin.NodeExecutionListRequest}
*/
public static final class NodeExecutionListRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flyteidl.admin.NodeExecutionListRequest)
NodeExecutionListRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use NodeExecutionListRequest.newBuilder() to construct.
private NodeExecutionListRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private NodeExecutionListRequest() {
token_ = "";
filters_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new NodeExecutionListRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private NodeExecutionListRequest(
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.WorkflowExecutionIdentifier.Builder subBuilder = null;
if (workflowExecutionId_ != null) {
subBuilder = workflowExecutionId_.toBuilder();
}
workflowExecutionId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(workflowExecutionId_);
workflowExecutionId_ = 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.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionListRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionListRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest.Builder.class);
}
public static final int WORKFLOW_EXECUTION_ID_FIELD_NUMBER = 1;
private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier workflowExecutionId_;
/**
*
* Indicates the workflow execution to filter by.
*
*
* .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1;
* @return Whether the workflowExecutionId field is set.
*/
public boolean hasWorkflowExecutionId() {
return workflowExecutionId_ != null;
}
/**
*
* Indicates the workflow execution to filter by.
*
*
* .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1;
* @return The workflowExecutionId.
*/
public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getWorkflowExecutionId() {
return workflowExecutionId_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : workflowExecutionId_;
}
/**
*
* Indicates the workflow execution to filter by.
*
*
* .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1;
*/
public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getWorkflowExecutionIdOrBuilder() {
return getWorkflowExecutionId();
}
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.
* +optional
*
*
* .flyteidl.admin.Sort sort_by = 5;
* @return Whether the sortBy field is set.
*/
public boolean hasSortBy() {
return sortBy_ != null;
}
/**
*
* Sort ordering.
* +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.
* +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 (workflowExecutionId_ != null) {
output.writeMessage(1, getWorkflowExecutionId());
}
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 (workflowExecutionId_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getWorkflowExecutionId());
}
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.NodeExecutionOuterClass.NodeExecutionListRequest)) {
return super.equals(obj);
}
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest other = (flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest) obj;
if (hasWorkflowExecutionId() != other.hasWorkflowExecutionId()) return false;
if (hasWorkflowExecutionId()) {
if (!getWorkflowExecutionId()
.equals(other.getWorkflowExecutionId())) 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 (hasWorkflowExecutionId()) {
hash = (37 * hash) + WORKFLOW_EXECUTION_ID_FIELD_NUMBER;
hash = (53 * hash) + getWorkflowExecutionId().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.NodeExecutionOuterClass.NodeExecutionListRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest 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.NodeExecutionOuterClass.NodeExecutionListRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest 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.NodeExecutionOuterClass.NodeExecutionListRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest 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.NodeExecutionOuterClass.NodeExecutionListRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest 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.NodeExecutionOuterClass.NodeExecutionListRequest 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 node execution entities.
*
*
* Protobuf type {@code flyteidl.admin.NodeExecutionListRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flyteidl.admin.NodeExecutionListRequest)
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionListRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionListRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest.Builder.class);
}
// Construct using flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest.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 (workflowExecutionIdBuilder_ == null) {
workflowExecutionId_ = null;
} else {
workflowExecutionId_ = null;
workflowExecutionIdBuilder_ = 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.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionListRequest_descriptor;
}
@java.lang.Override
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest getDefaultInstanceForType() {
return flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest.getDefaultInstance();
}
@java.lang.Override
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest build() {
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest buildPartial() {
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest result = new flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest(this);
if (workflowExecutionIdBuilder_ == null) {
result.workflowExecutionId_ = workflowExecutionId_;
} else {
result.workflowExecutionId_ = workflowExecutionIdBuilder_.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.NodeExecutionOuterClass.NodeExecutionListRequest) {
return mergeFrom((flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest other) {
if (other == flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest.getDefaultInstance()) return this;
if (other.hasWorkflowExecutionId()) {
mergeWorkflowExecutionId(other.getWorkflowExecutionId());
}
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.NodeExecutionOuterClass.NodeExecutionListRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier workflowExecutionId_;
private com.google.protobuf.SingleFieldBuilderV3<
flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> workflowExecutionIdBuilder_;
/**
*
* Indicates the workflow execution to filter by.
*
*
* .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1;
* @return Whether the workflowExecutionId field is set.
*/
public boolean hasWorkflowExecutionId() {
return workflowExecutionIdBuilder_ != null || workflowExecutionId_ != null;
}
/**
*
* Indicates the workflow execution to filter by.
*
*
* .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1;
* @return The workflowExecutionId.
*/
public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getWorkflowExecutionId() {
if (workflowExecutionIdBuilder_ == null) {
return workflowExecutionId_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : workflowExecutionId_;
} else {
return workflowExecutionIdBuilder_.getMessage();
}
}
/**
*
* Indicates the workflow execution to filter by.
*
*
* .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1;
*/
public Builder setWorkflowExecutionId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) {
if (workflowExecutionIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
workflowExecutionId_ = value;
onChanged();
} else {
workflowExecutionIdBuilder_.setMessage(value);
}
return this;
}
/**
*
* Indicates the workflow execution to filter by.
*
*
* .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1;
*/
public Builder setWorkflowExecutionId(
flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder builderForValue) {
if (workflowExecutionIdBuilder_ == null) {
workflowExecutionId_ = builderForValue.build();
onChanged();
} else {
workflowExecutionIdBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Indicates the workflow execution to filter by.
*
*
* .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1;
*/
public Builder mergeWorkflowExecutionId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) {
if (workflowExecutionIdBuilder_ == null) {
if (workflowExecutionId_ != null) {
workflowExecutionId_ =
flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.newBuilder(workflowExecutionId_).mergeFrom(value).buildPartial();
} else {
workflowExecutionId_ = value;
}
onChanged();
} else {
workflowExecutionIdBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Indicates the workflow execution to filter by.
*
*
* .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1;
*/
public Builder clearWorkflowExecutionId() {
if (workflowExecutionIdBuilder_ == null) {
workflowExecutionId_ = null;
onChanged();
} else {
workflowExecutionId_ = null;
workflowExecutionIdBuilder_ = null;
}
return this;
}
/**
*
* Indicates the workflow execution to filter by.
*
*
* .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1;
*/
public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getWorkflowExecutionIdBuilder() {
onChanged();
return getWorkflowExecutionIdFieldBuilder().getBuilder();
}
/**
*
* Indicates the workflow execution to filter by.
*
*
* .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1;
*/
public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getWorkflowExecutionIdOrBuilder() {
if (workflowExecutionIdBuilder_ != null) {
return workflowExecutionIdBuilder_.getMessageOrBuilder();
} else {
return workflowExecutionId_ == null ?
flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : workflowExecutionId_;
}
}
/**
*
* Indicates the workflow execution to filter by.
*
*
* .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder>
getWorkflowExecutionIdFieldBuilder() {
if (workflowExecutionIdBuilder_ == null) {
workflowExecutionIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder>(
getWorkflowExecutionId(),
getParentForChildren(),
isClean());
workflowExecutionId_ = null;
}
return workflowExecutionIdBuilder_;
}
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.
* +optional
*
*
* .flyteidl.admin.Sort sort_by = 5;
* @return Whether the sortBy field is set.
*/
public boolean hasSortBy() {
return sortByBuilder_ != null || sortBy_ != null;
}
/**
*
* Sort ordering.
* +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.
* +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.
* +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.
* +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.
* +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.
* +optional
*
*
* .flyteidl.admin.Sort sort_by = 5;
*/
public flyteidl.admin.Common.Sort.Builder getSortByBuilder() {
onChanged();
return getSortByFieldBuilder().getBuilder();
}
/**
*
* Sort ordering.
* +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.
* +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.NodeExecutionListRequest)
}
// @@protoc_insertion_point(class_scope:flyteidl.admin.NodeExecutionListRequest)
private static final flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest();
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public NodeExecutionListRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new NodeExecutionListRequest(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.NodeExecutionOuterClass.NodeExecutionListRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface NodeExecutionForTaskListRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:flyteidl.admin.NodeExecutionForTaskListRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* Indicates the node execution to filter by.
*
*
* .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1;
* @return Whether the taskExecutionId field is set.
*/
boolean hasTaskExecutionId();
/**
*
* Indicates the node execution to filter by.
*
*
* .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1;
* @return The taskExecutionId.
*/
flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getTaskExecutionId();
/**
*
* Indicates the node execution to filter by.
*
*
* .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1;
*/
flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getTaskExecutionIdOrBuilder();
/**
*
* 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.
* +optional
*
*
* .flyteidl.admin.Sort sort_by = 5;
* @return Whether the sortBy field is set.
*/
boolean hasSortBy();
/**
*
* Sort ordering.
* +optional
*
*
* .flyteidl.admin.Sort sort_by = 5;
* @return The sortBy.
*/
flyteidl.admin.Common.Sort getSortBy();
/**
*
* Sort ordering.
* +optional
*
*
* .flyteidl.admin.Sort sort_by = 5;
*/
flyteidl.admin.Common.SortOrBuilder getSortByOrBuilder();
}
/**
*
* Represents a request structure to retrieve a list of node execution entities launched by a specific task.
*
*
* Protobuf type {@code flyteidl.admin.NodeExecutionForTaskListRequest}
*/
public static final class NodeExecutionForTaskListRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flyteidl.admin.NodeExecutionForTaskListRequest)
NodeExecutionForTaskListRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use NodeExecutionForTaskListRequest.newBuilder() to construct.
private NodeExecutionForTaskListRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private NodeExecutionForTaskListRequest() {
token_ = "";
filters_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new NodeExecutionForTaskListRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private NodeExecutionForTaskListRequest(
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 (taskExecutionId_ != null) {
subBuilder = taskExecutionId_.toBuilder();
}
taskExecutionId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(taskExecutionId_);
taskExecutionId_ = 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.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionForTaskListRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionForTaskListRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest.Builder.class);
}
public static final int TASK_EXECUTION_ID_FIELD_NUMBER = 1;
private flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier taskExecutionId_;
/**
*
* Indicates the node execution to filter by.
*
*
* .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1;
* @return Whether the taskExecutionId field is set.
*/
public boolean hasTaskExecutionId() {
return taskExecutionId_ != null;
}
/**
*
* Indicates the node execution to filter by.
*
*
* .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1;
* @return The taskExecutionId.
*/
public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getTaskExecutionId() {
return taskExecutionId_ == null ? flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : taskExecutionId_;
}
/**
*
* Indicates the node execution to filter by.
*
*
* .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1;
*/
public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getTaskExecutionIdOrBuilder() {
return getTaskExecutionId();
}
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.
* +optional
*
*
* .flyteidl.admin.Sort sort_by = 5;
* @return Whether the sortBy field is set.
*/
public boolean hasSortBy() {
return sortBy_ != null;
}
/**
*
* Sort ordering.
* +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.
* +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 (taskExecutionId_ != null) {
output.writeMessage(1, getTaskExecutionId());
}
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 (taskExecutionId_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getTaskExecutionId());
}
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.NodeExecutionOuterClass.NodeExecutionForTaskListRequest)) {
return super.equals(obj);
}
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest other = (flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest) obj;
if (hasTaskExecutionId() != other.hasTaskExecutionId()) return false;
if (hasTaskExecutionId()) {
if (!getTaskExecutionId()
.equals(other.getTaskExecutionId())) 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 (hasTaskExecutionId()) {
hash = (37 * hash) + TASK_EXECUTION_ID_FIELD_NUMBER;
hash = (53 * hash) + getTaskExecutionId().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.NodeExecutionOuterClass.NodeExecutionForTaskListRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest 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.NodeExecutionOuterClass.NodeExecutionForTaskListRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest 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.NodeExecutionOuterClass.NodeExecutionForTaskListRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest 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.NodeExecutionOuterClass.NodeExecutionForTaskListRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest 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.NodeExecutionOuterClass.NodeExecutionForTaskListRequest 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 node execution entities launched by a specific task.
*
*
* Protobuf type {@code flyteidl.admin.NodeExecutionForTaskListRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flyteidl.admin.NodeExecutionForTaskListRequest)
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionForTaskListRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionForTaskListRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest.Builder.class);
}
// Construct using flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest.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 (taskExecutionIdBuilder_ == null) {
taskExecutionId_ = null;
} else {
taskExecutionId_ = null;
taskExecutionIdBuilder_ = 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.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionForTaskListRequest_descriptor;
}
@java.lang.Override
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest getDefaultInstanceForType() {
return flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest.getDefaultInstance();
}
@java.lang.Override
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest build() {
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest buildPartial() {
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest result = new flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest(this);
if (taskExecutionIdBuilder_ == null) {
result.taskExecutionId_ = taskExecutionId_;
} else {
result.taskExecutionId_ = taskExecutionIdBuilder_.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.NodeExecutionOuterClass.NodeExecutionForTaskListRequest) {
return mergeFrom((flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest other) {
if (other == flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest.getDefaultInstance()) return this;
if (other.hasTaskExecutionId()) {
mergeTaskExecutionId(other.getTaskExecutionId());
}
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.NodeExecutionOuterClass.NodeExecutionForTaskListRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier taskExecutionId_;
private com.google.protobuf.SingleFieldBuilderV3<
flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder> taskExecutionIdBuilder_;
/**
*
* Indicates the node execution to filter by.
*
*
* .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1;
* @return Whether the taskExecutionId field is set.
*/
public boolean hasTaskExecutionId() {
return taskExecutionIdBuilder_ != null || taskExecutionId_ != null;
}
/**
*
* Indicates the node execution to filter by.
*
*
* .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1;
* @return The taskExecutionId.
*/
public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getTaskExecutionId() {
if (taskExecutionIdBuilder_ == null) {
return taskExecutionId_ == null ? flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : taskExecutionId_;
} else {
return taskExecutionIdBuilder_.getMessage();
}
}
/**
*
* Indicates the node execution to filter by.
*
*
* .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1;
*/
public Builder setTaskExecutionId(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier value) {
if (taskExecutionIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
taskExecutionId_ = value;
onChanged();
} else {
taskExecutionIdBuilder_.setMessage(value);
}
return this;
}
/**
*
* Indicates the node execution to filter by.
*
*
* .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1;
*/
public Builder setTaskExecutionId(
flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder builderForValue) {
if (taskExecutionIdBuilder_ == null) {
taskExecutionId_ = builderForValue.build();
onChanged();
} else {
taskExecutionIdBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Indicates the node execution to filter by.
*
*
* .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1;
*/
public Builder mergeTaskExecutionId(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier value) {
if (taskExecutionIdBuilder_ == null) {
if (taskExecutionId_ != null) {
taskExecutionId_ =
flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.newBuilder(taskExecutionId_).mergeFrom(value).buildPartial();
} else {
taskExecutionId_ = value;
}
onChanged();
} else {
taskExecutionIdBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Indicates the node execution to filter by.
*
*
* .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1;
*/
public Builder clearTaskExecutionId() {
if (taskExecutionIdBuilder_ == null) {
taskExecutionId_ = null;
onChanged();
} else {
taskExecutionId_ = null;
taskExecutionIdBuilder_ = null;
}
return this;
}
/**
*
* Indicates the node execution to filter by.
*
*
* .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1;
*/
public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder getTaskExecutionIdBuilder() {
onChanged();
return getTaskExecutionIdFieldBuilder().getBuilder();
}
/**
*
* Indicates the node execution to filter by.
*
*
* .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1;
*/
public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getTaskExecutionIdOrBuilder() {
if (taskExecutionIdBuilder_ != null) {
return taskExecutionIdBuilder_.getMessageOrBuilder();
} else {
return taskExecutionId_ == null ?
flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : taskExecutionId_;
}
}
/**
*
* Indicates the node execution to filter by.
*
*
* .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder>
getTaskExecutionIdFieldBuilder() {
if (taskExecutionIdBuilder_ == null) {
taskExecutionIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder>(
getTaskExecutionId(),
getParentForChildren(),
isClean());
taskExecutionId_ = null;
}
return taskExecutionIdBuilder_;
}
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.
* +optional
*
*
* .flyteidl.admin.Sort sort_by = 5;
* @return Whether the sortBy field is set.
*/
public boolean hasSortBy() {
return sortByBuilder_ != null || sortBy_ != null;
}
/**
*
* Sort ordering.
* +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.
* +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.
* +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.
* +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.
* +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.
* +optional
*
*
* .flyteidl.admin.Sort sort_by = 5;
*/
public flyteidl.admin.Common.Sort.Builder getSortByBuilder() {
onChanged();
return getSortByFieldBuilder().getBuilder();
}
/**
*
* Sort ordering.
* +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.
* +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.NodeExecutionForTaskListRequest)
}
// @@protoc_insertion_point(class_scope:flyteidl.admin.NodeExecutionForTaskListRequest)
private static final flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest();
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionForTaskListRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public NodeExecutionForTaskListRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new NodeExecutionForTaskListRequest(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.NodeExecutionOuterClass.NodeExecutionForTaskListRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface NodeExecutionOrBuilder extends
// @@protoc_insertion_point(interface_extends:flyteidl.admin.NodeExecution)
com.google.protobuf.MessageOrBuilder {
/**
*
* Uniquely identifies an individual node execution.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
* @return Whether the id field is set.
*/
boolean hasId();
/**
*
* Uniquely identifies an individual node execution.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
* @return The id.
*/
flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getId();
/**
*
* Uniquely identifies an individual node execution.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
*/
flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder 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();
/**
*
* Computed results associated with this node execution.
*
*
* .flyteidl.admin.NodeExecutionClosure closure = 3;
* @return Whether the closure field is set.
*/
boolean hasClosure();
/**
*
* Computed results associated with this node execution.
*
*
* .flyteidl.admin.NodeExecutionClosure closure = 3;
* @return The closure.
*/
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure getClosure();
/**
*
* Computed results associated with this node execution.
*
*
* .flyteidl.admin.NodeExecutionClosure closure = 3;
*/
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosureOrBuilder getClosureOrBuilder();
/**
*
* Metadata for Node Execution
*
*
* .flyteidl.admin.NodeExecutionMetaData metadata = 4;
* @return Whether the metadata field is set.
*/
boolean hasMetadata();
/**
*
* Metadata for Node Execution
*
*
* .flyteidl.admin.NodeExecutionMetaData metadata = 4;
* @return The metadata.
*/
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData getMetadata();
/**
*
* Metadata for Node Execution
*
*
* .flyteidl.admin.NodeExecutionMetaData metadata = 4;
*/
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaDataOrBuilder getMetadataOrBuilder();
}
/**
*
* Encapsulates all details for a single node execution entity.
* A node represents a component in the overall workflow graph. A node launch a task, multiple tasks, an entire nested
* sub-workflow, or even a separate child-workflow execution.
* The same task can be called repeatedly in a single workflow but each node is unique.
*
*
* Protobuf type {@code flyteidl.admin.NodeExecution}
*/
public static final class NodeExecution extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flyteidl.admin.NodeExecution)
NodeExecutionOrBuilder {
private static final long serialVersionUID = 0L;
// Use NodeExecution.newBuilder() to construct.
private NodeExecution(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private NodeExecution() {
inputUri_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new NodeExecution();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private NodeExecution(
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 (id_ != null) {
subBuilder = id_.toBuilder();
}
id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.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.NodeExecutionOuterClass.NodeExecutionClosure.Builder subBuilder = null;
if (closure_ != null) {
subBuilder = closure_.toBuilder();
}
closure_ = input.readMessage(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(closure_);
closure_ = subBuilder.buildPartial();
}
break;
}
case 34: {
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.Builder subBuilder = null;
if (metadata_ != null) {
subBuilder = metadata_.toBuilder();
}
metadata_ = input.readMessage(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(metadata_);
metadata_ = 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.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecution_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecution_fieldAccessorTable
.ensureFieldAccessorsInitialized(
flyteidl.admin.NodeExecutionOuterClass.NodeExecution.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecution.Builder.class);
}
public static final int ID_FIELD_NUMBER = 1;
private flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier id_;
/**
*
* Uniquely identifies an individual node execution.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
* @return Whether the id field is set.
*/
public boolean hasId() {
return id_ != null;
}
/**
*
* Uniquely identifies an individual node execution.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
* @return The id.
*/
public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getId() {
return id_ == null ? flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : id_;
}
/**
*
* Uniquely identifies an individual node execution.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
*/
public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder 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.NodeExecutionOuterClass.NodeExecutionClosure closure_;
/**
*
* Computed results associated with this node execution.
*
*
* .flyteidl.admin.NodeExecutionClosure closure = 3;
* @return Whether the closure field is set.
*/
public boolean hasClosure() {
return closure_ != null;
}
/**
*
* Computed results associated with this node execution.
*
*
* .flyteidl.admin.NodeExecutionClosure closure = 3;
* @return The closure.
*/
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure getClosure() {
return closure_ == null ? flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.getDefaultInstance() : closure_;
}
/**
*
* Computed results associated with this node execution.
*
*
* .flyteidl.admin.NodeExecutionClosure closure = 3;
*/
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosureOrBuilder getClosureOrBuilder() {
return getClosure();
}
public static final int METADATA_FIELD_NUMBER = 4;
private flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData metadata_;
/**
*
* Metadata for Node Execution
*
*
* .flyteidl.admin.NodeExecutionMetaData metadata = 4;
* @return Whether the metadata field is set.
*/
public boolean hasMetadata() {
return metadata_ != null;
}
/**
*
* Metadata for Node Execution
*
*
* .flyteidl.admin.NodeExecutionMetaData metadata = 4;
* @return The metadata.
*/
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData getMetadata() {
return metadata_ == null ? flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.getDefaultInstance() : metadata_;
}
/**
*
* Metadata for Node Execution
*
*
* .flyteidl.admin.NodeExecutionMetaData metadata = 4;
*/
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaDataOrBuilder getMetadataOrBuilder() {
return getMetadata();
}
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 (metadata_ != null) {
output.writeMessage(4, getMetadata());
}
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 (metadata_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getMetadata());
}
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.NodeExecutionOuterClass.NodeExecution)) {
return super.equals(obj);
}
flyteidl.admin.NodeExecutionOuterClass.NodeExecution other = (flyteidl.admin.NodeExecutionOuterClass.NodeExecution) 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 (hasMetadata() != other.hasMetadata()) return false;
if (hasMetadata()) {
if (!getMetadata()
.equals(other.getMetadata())) 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();
}
if (hasMetadata()) {
hash = (37 * hash) + METADATA_FIELD_NUMBER;
hash = (53 * hash) + getMetadata().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecution parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecution parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecution parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecution 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.NodeExecutionOuterClass.NodeExecution parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecution parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecution parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecution 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.NodeExecutionOuterClass.NodeExecution parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecution 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.NodeExecutionOuterClass.NodeExecution parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecution 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.NodeExecutionOuterClass.NodeExecution 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 node execution entity.
* A node represents a component in the overall workflow graph. A node launch a task, multiple tasks, an entire nested
* sub-workflow, or even a separate child-workflow execution.
* The same task can be called repeatedly in a single workflow but each node is unique.
*
*
* Protobuf type {@code flyteidl.admin.NodeExecution}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flyteidl.admin.NodeExecution)
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecution_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecution_fieldAccessorTable
.ensureFieldAccessorsInitialized(
flyteidl.admin.NodeExecutionOuterClass.NodeExecution.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecution.Builder.class);
}
// Construct using flyteidl.admin.NodeExecutionOuterClass.NodeExecution.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;
}
if (metadataBuilder_ == null) {
metadata_ = null;
} else {
metadata_ = null;
metadataBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecution_descriptor;
}
@java.lang.Override
public flyteidl.admin.NodeExecutionOuterClass.NodeExecution getDefaultInstanceForType() {
return flyteidl.admin.NodeExecutionOuterClass.NodeExecution.getDefaultInstance();
}
@java.lang.Override
public flyteidl.admin.NodeExecutionOuterClass.NodeExecution build() {
flyteidl.admin.NodeExecutionOuterClass.NodeExecution result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public flyteidl.admin.NodeExecutionOuterClass.NodeExecution buildPartial() {
flyteidl.admin.NodeExecutionOuterClass.NodeExecution result = new flyteidl.admin.NodeExecutionOuterClass.NodeExecution(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();
}
if (metadataBuilder_ == null) {
result.metadata_ = metadata_;
} else {
result.metadata_ = metadataBuilder_.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.NodeExecutionOuterClass.NodeExecution) {
return mergeFrom((flyteidl.admin.NodeExecutionOuterClass.NodeExecution)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(flyteidl.admin.NodeExecutionOuterClass.NodeExecution other) {
if (other == flyteidl.admin.NodeExecutionOuterClass.NodeExecution.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.hasMetadata()) {
mergeMetadata(other.getMetadata());
}
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.NodeExecutionOuterClass.NodeExecution parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (flyteidl.admin.NodeExecutionOuterClass.NodeExecution) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier id_;
private com.google.protobuf.SingleFieldBuilderV3<
flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder> idBuilder_;
/**
*
* Uniquely identifies an individual node execution.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
* @return Whether the id field is set.
*/
public boolean hasId() {
return idBuilder_ != null || id_ != null;
}
/**
*
* Uniquely identifies an individual node execution.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
* @return The id.
*/
public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getId() {
if (idBuilder_ == null) {
return id_ == null ? flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : id_;
} else {
return idBuilder_.getMessage();
}
}
/**
*
* Uniquely identifies an individual node execution.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
*/
public Builder setId(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) {
if (idBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
id_ = value;
onChanged();
} else {
idBuilder_.setMessage(value);
}
return this;
}
/**
*
* Uniquely identifies an individual node execution.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
*/
public Builder setId(
flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder builderForValue) {
if (idBuilder_ == null) {
id_ = builderForValue.build();
onChanged();
} else {
idBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Uniquely identifies an individual node execution.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
*/
public Builder mergeId(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) {
if (idBuilder_ == null) {
if (id_ != null) {
id_ =
flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.newBuilder(id_).mergeFrom(value).buildPartial();
} else {
id_ = value;
}
onChanged();
} else {
idBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Uniquely identifies an individual node execution.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
*/
public Builder clearId() {
if (idBuilder_ == null) {
id_ = null;
onChanged();
} else {
id_ = null;
idBuilder_ = null;
}
return this;
}
/**
*
* Uniquely identifies an individual node execution.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
*/
public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder getIdBuilder() {
onChanged();
return getIdFieldBuilder().getBuilder();
}
/**
*
* Uniquely identifies an individual node execution.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
*/
public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getIdOrBuilder() {
if (idBuilder_ != null) {
return idBuilder_.getMessageOrBuilder();
} else {
return id_ == null ?
flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : id_;
}
}
/**
*
* Uniquely identifies an individual node execution.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder>
getIdFieldBuilder() {
if (idBuilder_ == null) {
idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder>(
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.NodeExecutionOuterClass.NodeExecutionClosure closure_;
private com.google.protobuf.SingleFieldBuilderV3<
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.Builder, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosureOrBuilder> closureBuilder_;
/**
*
* Computed results associated with this node execution.
*
*
* .flyteidl.admin.NodeExecutionClosure closure = 3;
* @return Whether the closure field is set.
*/
public boolean hasClosure() {
return closureBuilder_ != null || closure_ != null;
}
/**
*
* Computed results associated with this node execution.
*
*
* .flyteidl.admin.NodeExecutionClosure closure = 3;
* @return The closure.
*/
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure getClosure() {
if (closureBuilder_ == null) {
return closure_ == null ? flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.getDefaultInstance() : closure_;
} else {
return closureBuilder_.getMessage();
}
}
/**
*
* Computed results associated with this node execution.
*
*
* .flyteidl.admin.NodeExecutionClosure closure = 3;
*/
public Builder setClosure(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure value) {
if (closureBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
closure_ = value;
onChanged();
} else {
closureBuilder_.setMessage(value);
}
return this;
}
/**
*
* Computed results associated with this node execution.
*
*
* .flyteidl.admin.NodeExecutionClosure closure = 3;
*/
public Builder setClosure(
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.Builder builderForValue) {
if (closureBuilder_ == null) {
closure_ = builderForValue.build();
onChanged();
} else {
closureBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Computed results associated with this node execution.
*
*
* .flyteidl.admin.NodeExecutionClosure closure = 3;
*/
public Builder mergeClosure(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure value) {
if (closureBuilder_ == null) {
if (closure_ != null) {
closure_ =
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.newBuilder(closure_).mergeFrom(value).buildPartial();
} else {
closure_ = value;
}
onChanged();
} else {
closureBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Computed results associated with this node execution.
*
*
* .flyteidl.admin.NodeExecutionClosure closure = 3;
*/
public Builder clearClosure() {
if (closureBuilder_ == null) {
closure_ = null;
onChanged();
} else {
closure_ = null;
closureBuilder_ = null;
}
return this;
}
/**
*
* Computed results associated with this node execution.
*
*
* .flyteidl.admin.NodeExecutionClosure closure = 3;
*/
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.Builder getClosureBuilder() {
onChanged();
return getClosureFieldBuilder().getBuilder();
}
/**
*
* Computed results associated with this node execution.
*
*
* .flyteidl.admin.NodeExecutionClosure closure = 3;
*/
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosureOrBuilder getClosureOrBuilder() {
if (closureBuilder_ != null) {
return closureBuilder_.getMessageOrBuilder();
} else {
return closure_ == null ?
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.getDefaultInstance() : closure_;
}
}
/**
*
* Computed results associated with this node execution.
*
*
* .flyteidl.admin.NodeExecutionClosure closure = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.Builder, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosureOrBuilder>
getClosureFieldBuilder() {
if (closureBuilder_ == null) {
closureBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.Builder, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosureOrBuilder>(
getClosure(),
getParentForChildren(),
isClean());
closure_ = null;
}
return closureBuilder_;
}
private flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData metadata_;
private com.google.protobuf.SingleFieldBuilderV3<
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.Builder, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaDataOrBuilder> metadataBuilder_;
/**
*
* Metadata for Node Execution
*
*
* .flyteidl.admin.NodeExecutionMetaData metadata = 4;
* @return Whether the metadata field is set.
*/
public boolean hasMetadata() {
return metadataBuilder_ != null || metadata_ != null;
}
/**
*
* Metadata for Node Execution
*
*
* .flyteidl.admin.NodeExecutionMetaData metadata = 4;
* @return The metadata.
*/
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData getMetadata() {
if (metadataBuilder_ == null) {
return metadata_ == null ? flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.getDefaultInstance() : metadata_;
} else {
return metadataBuilder_.getMessage();
}
}
/**
*
* Metadata for Node Execution
*
*
* .flyteidl.admin.NodeExecutionMetaData metadata = 4;
*/
public Builder setMetadata(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData value) {
if (metadataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
metadata_ = value;
onChanged();
} else {
metadataBuilder_.setMessage(value);
}
return this;
}
/**
*
* Metadata for Node Execution
*
*
* .flyteidl.admin.NodeExecutionMetaData metadata = 4;
*/
public Builder setMetadata(
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.Builder builderForValue) {
if (metadataBuilder_ == null) {
metadata_ = builderForValue.build();
onChanged();
} else {
metadataBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Metadata for Node Execution
*
*
* .flyteidl.admin.NodeExecutionMetaData metadata = 4;
*/
public Builder mergeMetadata(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData value) {
if (metadataBuilder_ == null) {
if (metadata_ != null) {
metadata_ =
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.newBuilder(metadata_).mergeFrom(value).buildPartial();
} else {
metadata_ = value;
}
onChanged();
} else {
metadataBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Metadata for Node Execution
*
*
* .flyteidl.admin.NodeExecutionMetaData metadata = 4;
*/
public Builder clearMetadata() {
if (metadataBuilder_ == null) {
metadata_ = null;
onChanged();
} else {
metadata_ = null;
metadataBuilder_ = null;
}
return this;
}
/**
*
* Metadata for Node Execution
*
*
* .flyteidl.admin.NodeExecutionMetaData metadata = 4;
*/
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.Builder getMetadataBuilder() {
onChanged();
return getMetadataFieldBuilder().getBuilder();
}
/**
*
* Metadata for Node Execution
*
*
* .flyteidl.admin.NodeExecutionMetaData metadata = 4;
*/
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaDataOrBuilder getMetadataOrBuilder() {
if (metadataBuilder_ != null) {
return metadataBuilder_.getMessageOrBuilder();
} else {
return metadata_ == null ?
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.getDefaultInstance() : metadata_;
}
}
/**
*
* Metadata for Node Execution
*
*
* .flyteidl.admin.NodeExecutionMetaData metadata = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.Builder, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaDataOrBuilder>
getMetadataFieldBuilder() {
if (metadataBuilder_ == null) {
metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.Builder, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaDataOrBuilder>(
getMetadata(),
getParentForChildren(),
isClean());
metadata_ = null;
}
return metadataBuilder_;
}
@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.NodeExecution)
}
// @@protoc_insertion_point(class_scope:flyteidl.admin.NodeExecution)
private static final flyteidl.admin.NodeExecutionOuterClass.NodeExecution DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new flyteidl.admin.NodeExecutionOuterClass.NodeExecution();
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecution getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public NodeExecution parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new NodeExecution(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.NodeExecutionOuterClass.NodeExecution getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface NodeExecutionMetaDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:flyteidl.admin.NodeExecutionMetaData)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* Represents additional attributes related to a Node Execution
*
*
* Protobuf type {@code flyteidl.admin.NodeExecutionMetaData}
*/
public static final class NodeExecutionMetaData extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flyteidl.admin.NodeExecutionMetaData)
NodeExecutionMetaDataOrBuilder {
private static final long serialVersionUID = 0L;
// Use NodeExecutionMetaData.newBuilder() to construct.
private NodeExecutionMetaData(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private NodeExecutionMetaData() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new NodeExecutionMetaData();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private NodeExecutionMetaData(
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;
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.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionMetaData_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionMetaData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.Builder.class);
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.NodeExecutionOuterClass.NodeExecutionMetaData)) {
return super.equals(obj);
}
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData other = (flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData) obj;
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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData 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.NodeExecutionOuterClass.NodeExecutionMetaData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData 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.NodeExecutionOuterClass.NodeExecutionMetaData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData 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.NodeExecutionOuterClass.NodeExecutionMetaData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData 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.NodeExecutionOuterClass.NodeExecutionMetaData 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 additional attributes related to a Node Execution
*
*
* Protobuf type {@code flyteidl.admin.NodeExecutionMetaData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flyteidl.admin.NodeExecutionMetaData)
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaDataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionMetaData_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionMetaData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.Builder.class);
}
// Construct using flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.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();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionMetaData_descriptor;
}
@java.lang.Override
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData getDefaultInstanceForType() {
return flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.getDefaultInstance();
}
@java.lang.Override
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData build() {
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData buildPartial() {
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData result = new flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData(this);
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.NodeExecutionOuterClass.NodeExecutionMetaData) {
return mergeFrom((flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData other) {
if (other == flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData.getDefaultInstance()) return this;
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.NodeExecutionOuterClass.NodeExecutionMetaData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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.NodeExecutionMetaData)
}
// @@protoc_insertion_point(class_scope:flyteidl.admin.NodeExecutionMetaData)
private static final flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData();
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionMetaData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public NodeExecutionMetaData parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new NodeExecutionMetaData(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.NodeExecutionOuterClass.NodeExecutionMetaData getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface NodeExecutionListOrBuilder extends
// @@protoc_insertion_point(interface_extends:flyteidl.admin.NodeExecutionList)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .flyteidl.admin.NodeExecution node_executions = 1;
*/
java.util.List
getNodeExecutionsList();
/**
* repeated .flyteidl.admin.NodeExecution node_executions = 1;
*/
flyteidl.admin.NodeExecutionOuterClass.NodeExecution getNodeExecutions(int index);
/**
* repeated .flyteidl.admin.NodeExecution node_executions = 1;
*/
int getNodeExecutionsCount();
/**
* repeated .flyteidl.admin.NodeExecution node_executions = 1;
*/
java.util.List extends flyteidl.admin.NodeExecutionOuterClass.NodeExecutionOrBuilder>
getNodeExecutionsOrBuilderList();
/**
* repeated .flyteidl.admin.NodeExecution node_executions = 1;
*/
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionOrBuilder getNodeExecutionsOrBuilder(
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();
}
/**
*
* Request structure to retrieve a list of node execution entities.
*
*
* Protobuf type {@code flyteidl.admin.NodeExecutionList}
*/
public static final class NodeExecutionList extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flyteidl.admin.NodeExecutionList)
NodeExecutionListOrBuilder {
private static final long serialVersionUID = 0L;
// Use NodeExecutionList.newBuilder() to construct.
private NodeExecutionList(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private NodeExecutionList() {
nodeExecutions_ = java.util.Collections.emptyList();
token_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new NodeExecutionList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private NodeExecutionList(
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)) {
nodeExecutions_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
nodeExecutions_.add(
input.readMessage(flyteidl.admin.NodeExecutionOuterClass.NodeExecution.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)) {
nodeExecutions_ = java.util.Collections.unmodifiableList(nodeExecutions_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList.Builder.class);
}
public static final int NODE_EXECUTIONS_FIELD_NUMBER = 1;
private java.util.List nodeExecutions_;
/**
* repeated .flyteidl.admin.NodeExecution node_executions = 1;
*/
public java.util.List getNodeExecutionsList() {
return nodeExecutions_;
}
/**
* repeated .flyteidl.admin.NodeExecution node_executions = 1;
*/
public java.util.List extends flyteidl.admin.NodeExecutionOuterClass.NodeExecutionOrBuilder>
getNodeExecutionsOrBuilderList() {
return nodeExecutions_;
}
/**
* repeated .flyteidl.admin.NodeExecution node_executions = 1;
*/
public int getNodeExecutionsCount() {
return nodeExecutions_.size();
}
/**
* repeated .flyteidl.admin.NodeExecution node_executions = 1;
*/
public flyteidl.admin.NodeExecutionOuterClass.NodeExecution getNodeExecutions(int index) {
return nodeExecutions_.get(index);
}
/**
* repeated .flyteidl.admin.NodeExecution node_executions = 1;
*/
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionOrBuilder getNodeExecutionsOrBuilder(
int index) {
return nodeExecutions_.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 < nodeExecutions_.size(); i++) {
output.writeMessage(1, nodeExecutions_.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 < nodeExecutions_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, nodeExecutions_.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.NodeExecutionOuterClass.NodeExecutionList)) {
return super.equals(obj);
}
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList other = (flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList) obj;
if (!getNodeExecutionsList()
.equals(other.getNodeExecutionsList())) 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 (getNodeExecutionsCount() > 0) {
hash = (37 * hash) + NODE_EXECUTIONS_FIELD_NUMBER;
hash = (53 * hash) + getNodeExecutionsList().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.NodeExecutionOuterClass.NodeExecutionList parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList 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.NodeExecutionOuterClass.NodeExecutionList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList 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.NodeExecutionOuterClass.NodeExecutionList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList 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.NodeExecutionOuterClass.NodeExecutionList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList 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.NodeExecutionOuterClass.NodeExecutionList 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 retrieve a list of node execution entities.
*
*
* Protobuf type {@code flyteidl.admin.NodeExecutionList}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flyteidl.admin.NodeExecutionList)
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList.Builder.class);
}
// Construct using flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getNodeExecutionsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (nodeExecutionsBuilder_ == null) {
nodeExecutions_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
nodeExecutionsBuilder_.clear();
}
token_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionList_descriptor;
}
@java.lang.Override
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList getDefaultInstanceForType() {
return flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList.getDefaultInstance();
}
@java.lang.Override
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList build() {
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList buildPartial() {
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList result = new flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList(this);
int from_bitField0_ = bitField0_;
if (nodeExecutionsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
nodeExecutions_ = java.util.Collections.unmodifiableList(nodeExecutions_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.nodeExecutions_ = nodeExecutions_;
} else {
result.nodeExecutions_ = nodeExecutionsBuilder_.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.NodeExecutionOuterClass.NodeExecutionList) {
return mergeFrom((flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList other) {
if (other == flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList.getDefaultInstance()) return this;
if (nodeExecutionsBuilder_ == null) {
if (!other.nodeExecutions_.isEmpty()) {
if (nodeExecutions_.isEmpty()) {
nodeExecutions_ = other.nodeExecutions_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureNodeExecutionsIsMutable();
nodeExecutions_.addAll(other.nodeExecutions_);
}
onChanged();
}
} else {
if (!other.nodeExecutions_.isEmpty()) {
if (nodeExecutionsBuilder_.isEmpty()) {
nodeExecutionsBuilder_.dispose();
nodeExecutionsBuilder_ = null;
nodeExecutions_ = other.nodeExecutions_;
bitField0_ = (bitField0_ & ~0x00000001);
nodeExecutionsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getNodeExecutionsFieldBuilder() : null;
} else {
nodeExecutionsBuilder_.addAllMessages(other.nodeExecutions_);
}
}
}
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.NodeExecutionOuterClass.NodeExecutionList parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List nodeExecutions_ =
java.util.Collections.emptyList();
private void ensureNodeExecutionsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
nodeExecutions_ = new java.util.ArrayList(nodeExecutions_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
flyteidl.admin.NodeExecutionOuterClass.NodeExecution, flyteidl.admin.NodeExecutionOuterClass.NodeExecution.Builder, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionOrBuilder> nodeExecutionsBuilder_;
/**
* repeated .flyteidl.admin.NodeExecution node_executions = 1;
*/
public java.util.List getNodeExecutionsList() {
if (nodeExecutionsBuilder_ == null) {
return java.util.Collections.unmodifiableList(nodeExecutions_);
} else {
return nodeExecutionsBuilder_.getMessageList();
}
}
/**
* repeated .flyteidl.admin.NodeExecution node_executions = 1;
*/
public int getNodeExecutionsCount() {
if (nodeExecutionsBuilder_ == null) {
return nodeExecutions_.size();
} else {
return nodeExecutionsBuilder_.getCount();
}
}
/**
* repeated .flyteidl.admin.NodeExecution node_executions = 1;
*/
public flyteidl.admin.NodeExecutionOuterClass.NodeExecution getNodeExecutions(int index) {
if (nodeExecutionsBuilder_ == null) {
return nodeExecutions_.get(index);
} else {
return nodeExecutionsBuilder_.getMessage(index);
}
}
/**
* repeated .flyteidl.admin.NodeExecution node_executions = 1;
*/
public Builder setNodeExecutions(
int index, flyteidl.admin.NodeExecutionOuterClass.NodeExecution value) {
if (nodeExecutionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureNodeExecutionsIsMutable();
nodeExecutions_.set(index, value);
onChanged();
} else {
nodeExecutionsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .flyteidl.admin.NodeExecution node_executions = 1;
*/
public Builder setNodeExecutions(
int index, flyteidl.admin.NodeExecutionOuterClass.NodeExecution.Builder builderForValue) {
if (nodeExecutionsBuilder_ == null) {
ensureNodeExecutionsIsMutable();
nodeExecutions_.set(index, builderForValue.build());
onChanged();
} else {
nodeExecutionsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .flyteidl.admin.NodeExecution node_executions = 1;
*/
public Builder addNodeExecutions(flyteidl.admin.NodeExecutionOuterClass.NodeExecution value) {
if (nodeExecutionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureNodeExecutionsIsMutable();
nodeExecutions_.add(value);
onChanged();
} else {
nodeExecutionsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .flyteidl.admin.NodeExecution node_executions = 1;
*/
public Builder addNodeExecutions(
int index, flyteidl.admin.NodeExecutionOuterClass.NodeExecution value) {
if (nodeExecutionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureNodeExecutionsIsMutable();
nodeExecutions_.add(index, value);
onChanged();
} else {
nodeExecutionsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .flyteidl.admin.NodeExecution node_executions = 1;
*/
public Builder addNodeExecutions(
flyteidl.admin.NodeExecutionOuterClass.NodeExecution.Builder builderForValue) {
if (nodeExecutionsBuilder_ == null) {
ensureNodeExecutionsIsMutable();
nodeExecutions_.add(builderForValue.build());
onChanged();
} else {
nodeExecutionsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .flyteidl.admin.NodeExecution node_executions = 1;
*/
public Builder addNodeExecutions(
int index, flyteidl.admin.NodeExecutionOuterClass.NodeExecution.Builder builderForValue) {
if (nodeExecutionsBuilder_ == null) {
ensureNodeExecutionsIsMutable();
nodeExecutions_.add(index, builderForValue.build());
onChanged();
} else {
nodeExecutionsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .flyteidl.admin.NodeExecution node_executions = 1;
*/
public Builder addAllNodeExecutions(
java.lang.Iterable extends flyteidl.admin.NodeExecutionOuterClass.NodeExecution> values) {
if (nodeExecutionsBuilder_ == null) {
ensureNodeExecutionsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, nodeExecutions_);
onChanged();
} else {
nodeExecutionsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .flyteidl.admin.NodeExecution node_executions = 1;
*/
public Builder clearNodeExecutions() {
if (nodeExecutionsBuilder_ == null) {
nodeExecutions_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
nodeExecutionsBuilder_.clear();
}
return this;
}
/**
* repeated .flyteidl.admin.NodeExecution node_executions = 1;
*/
public Builder removeNodeExecutions(int index) {
if (nodeExecutionsBuilder_ == null) {
ensureNodeExecutionsIsMutable();
nodeExecutions_.remove(index);
onChanged();
} else {
nodeExecutionsBuilder_.remove(index);
}
return this;
}
/**
* repeated .flyteidl.admin.NodeExecution node_executions = 1;
*/
public flyteidl.admin.NodeExecutionOuterClass.NodeExecution.Builder getNodeExecutionsBuilder(
int index) {
return getNodeExecutionsFieldBuilder().getBuilder(index);
}
/**
* repeated .flyteidl.admin.NodeExecution node_executions = 1;
*/
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionOrBuilder getNodeExecutionsOrBuilder(
int index) {
if (nodeExecutionsBuilder_ == null) {
return nodeExecutions_.get(index); } else {
return nodeExecutionsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .flyteidl.admin.NodeExecution node_executions = 1;
*/
public java.util.List extends flyteidl.admin.NodeExecutionOuterClass.NodeExecutionOrBuilder>
getNodeExecutionsOrBuilderList() {
if (nodeExecutionsBuilder_ != null) {
return nodeExecutionsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(nodeExecutions_);
}
}
/**
* repeated .flyteidl.admin.NodeExecution node_executions = 1;
*/
public flyteidl.admin.NodeExecutionOuterClass.NodeExecution.Builder addNodeExecutionsBuilder() {
return getNodeExecutionsFieldBuilder().addBuilder(
flyteidl.admin.NodeExecutionOuterClass.NodeExecution.getDefaultInstance());
}
/**
* repeated .flyteidl.admin.NodeExecution node_executions = 1;
*/
public flyteidl.admin.NodeExecutionOuterClass.NodeExecution.Builder addNodeExecutionsBuilder(
int index) {
return getNodeExecutionsFieldBuilder().addBuilder(
index, flyteidl.admin.NodeExecutionOuterClass.NodeExecution.getDefaultInstance());
}
/**
* repeated .flyteidl.admin.NodeExecution node_executions = 1;
*/
public java.util.List
getNodeExecutionsBuilderList() {
return getNodeExecutionsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
flyteidl.admin.NodeExecutionOuterClass.NodeExecution, flyteidl.admin.NodeExecutionOuterClass.NodeExecution.Builder, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionOrBuilder>
getNodeExecutionsFieldBuilder() {
if (nodeExecutionsBuilder_ == null) {
nodeExecutionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
flyteidl.admin.NodeExecutionOuterClass.NodeExecution, flyteidl.admin.NodeExecutionOuterClass.NodeExecution.Builder, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionOrBuilder>(
nodeExecutions_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
nodeExecutions_ = null;
}
return nodeExecutionsBuilder_;
}
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.NodeExecutionList)
}
// @@protoc_insertion_point(class_scope:flyteidl.admin.NodeExecutionList)
private static final flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList();
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionList getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public NodeExecutionList parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new NodeExecutionList(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.NodeExecutionOuterClass.NodeExecutionList getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface NodeExecutionClosureOrBuilder extends
// @@protoc_insertion_point(interface_extends:flyteidl.admin.NodeExecutionClosure)
com.google.protobuf.MessageOrBuilder {
/**
* string output_uri = 1;
* @return The outputUri.
*/
java.lang.String getOutputUri();
/**
* string output_uri = 1;
* @return The bytes for outputUri.
*/
com.google.protobuf.ByteString
getOutputUriBytes();
/**
*
* Error information for the Node
*
*
* .flyteidl.core.ExecutionError error = 2;
* @return Whether the error field is set.
*/
boolean hasError();
/**
*
* Error information for the Node
*
*
* .flyteidl.core.ExecutionError error = 2;
* @return The error.
*/
flyteidl.core.Execution.ExecutionError getError();
/**
*
* Error information for the Node
*
*
* .flyteidl.core.ExecutionError error = 2;
*/
flyteidl.core.Execution.ExecutionErrorOrBuilder getErrorOrBuilder();
/**
*
* The last recorded phase for this node execution.
*
*
* .flyteidl.core.NodeExecution.Phase phase = 3;
* @return The enum numeric value on the wire for phase.
*/
int getPhaseValue();
/**
*
* The last recorded phase for this node execution.
*
*
* .flyteidl.core.NodeExecution.Phase phase = 3;
* @return The phase.
*/
flyteidl.core.Execution.NodeExecution.Phase getPhase();
/**
*
* Time at which the node execution began running.
*
*
* .google.protobuf.Timestamp started_at = 4;
* @return Whether the startedAt field is set.
*/
boolean hasStartedAt();
/**
*
* Time at which the node execution began running.
*
*
* .google.protobuf.Timestamp started_at = 4;
* @return The startedAt.
*/
com.google.protobuf.Timestamp getStartedAt();
/**
*
* Time at which the node execution began running.
*
*
* .google.protobuf.Timestamp started_at = 4;
*/
com.google.protobuf.TimestampOrBuilder getStartedAtOrBuilder();
/**
*
* The amount of time the node execution spent running.
*
*
* .google.protobuf.Duration duration = 5;
* @return Whether the duration field is set.
*/
boolean hasDuration();
/**
*
* The amount of time the node execution spent running.
*
*
* .google.protobuf.Duration duration = 5;
* @return The duration.
*/
com.google.protobuf.Duration getDuration();
/**
*
* The amount of time the node execution spent running.
*
*
* .google.protobuf.Duration duration = 5;
*/
com.google.protobuf.DurationOrBuilder getDurationOrBuilder();
/**
*
* Time at which the node execution was created.
*
*
* .google.protobuf.Timestamp created_at = 6;
* @return Whether the createdAt field is set.
*/
boolean hasCreatedAt();
/**
*
* Time at which the node execution was created.
*
*
* .google.protobuf.Timestamp created_at = 6;
* @return The createdAt.
*/
com.google.protobuf.Timestamp getCreatedAt();
/**
*
* Time at which the node execution was created.
*
*
* .google.protobuf.Timestamp created_at = 6;
*/
com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder();
/**
*
* Time at which the node execution was last updated.
*
*
* .google.protobuf.Timestamp updated_at = 7;
* @return Whether the updatedAt field is set.
*/
boolean hasUpdatedAt();
/**
*
* Time at which the node execution was last updated.
*
*
* .google.protobuf.Timestamp updated_at = 7;
* @return The updatedAt.
*/
com.google.protobuf.Timestamp getUpdatedAt();
/**
*
* Time at which the node execution was last updated.
*
*
* .google.protobuf.Timestamp updated_at = 7;
*/
com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder();
/**
* .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8;
* @return Whether the workflowNodeMetadata field is set.
*/
boolean hasWorkflowNodeMetadata();
/**
* .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8;
* @return The workflowNodeMetadata.
*/
flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata getWorkflowNodeMetadata();
/**
* .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8;
*/
flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadataOrBuilder getWorkflowNodeMetadataOrBuilder();
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.OutputResultCase getOutputResultCase();
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.TargetMetadataCase getTargetMetadataCase();
}
/**
*
* Container for node execution details and results.
*
*
* Protobuf type {@code flyteidl.admin.NodeExecutionClosure}
*/
public static final class NodeExecutionClosure extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flyteidl.admin.NodeExecutionClosure)
NodeExecutionClosureOrBuilder {
private static final long serialVersionUID = 0L;
// Use NodeExecutionClosure.newBuilder() to construct.
private NodeExecutionClosure(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private NodeExecutionClosure() {
phase_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new NodeExecutionClosure();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private NodeExecutionClosure(
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: {
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: {
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 42: {
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 50: {
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 58: {
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 66: {
flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.Builder subBuilder = null;
if (targetMetadataCase_ == 8) {
subBuilder = ((flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata) targetMetadata_).toBuilder();
}
targetMetadata_ =
input.readMessage(flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata) targetMetadata_);
targetMetadata_ = subBuilder.buildPartial();
}
targetMetadataCase_ = 8;
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.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionClosure_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionClosure_fieldAccessorTable
.ensureFieldAccessorsInitialized(
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.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_);
}
private int targetMetadataCase_ = 0;
private java.lang.Object targetMetadata_;
public enum TargetMetadataCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
WORKFLOW_NODE_METADATA(8),
TARGETMETADATA_NOT_SET(0);
private final int value;
private TargetMetadataCase(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 TargetMetadataCase valueOf(int value) {
return forNumber(value);
}
public static TargetMetadataCase forNumber(int value) {
switch (value) {
case 8: return WORKFLOW_NODE_METADATA;
case 0: return TARGETMETADATA_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public TargetMetadataCase
getTargetMetadataCase() {
return TargetMetadataCase.forNumber(
targetMetadataCase_);
}
public static final int OUTPUT_URI_FIELD_NUMBER = 1;
/**
* 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;
}
}
/**
* 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 Node
*
*
* .flyteidl.core.ExecutionError error = 2;
* @return Whether the error field is set.
*/
public boolean hasError() {
return outputResultCase_ == 2;
}
/**
*
* Error information for the Node
*
*
* .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 Node
*
*
* .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 node execution.
*
*
* .flyteidl.core.NodeExecution.Phase phase = 3;
* @return The enum numeric value on the wire for phase.
*/
public int getPhaseValue() {
return phase_;
}
/**
*
* The last recorded phase for this node execution.
*
*
* .flyteidl.core.NodeExecution.Phase phase = 3;
* @return The phase.
*/
public flyteidl.core.Execution.NodeExecution.Phase getPhase() {
@SuppressWarnings("deprecation")
flyteidl.core.Execution.NodeExecution.Phase result = flyteidl.core.Execution.NodeExecution.Phase.valueOf(phase_);
return result == null ? flyteidl.core.Execution.NodeExecution.Phase.UNRECOGNIZED : result;
}
public static final int STARTED_AT_FIELD_NUMBER = 4;
private com.google.protobuf.Timestamp startedAt_;
/**
*
* Time at which the node execution began running.
*
*
* .google.protobuf.Timestamp started_at = 4;
* @return Whether the startedAt field is set.
*/
public boolean hasStartedAt() {
return startedAt_ != null;
}
/**
*
* Time at which the node execution began running.
*
*
* .google.protobuf.Timestamp started_at = 4;
* @return The startedAt.
*/
public com.google.protobuf.Timestamp getStartedAt() {
return startedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startedAt_;
}
/**
*
* Time at which the node execution began running.
*
*
* .google.protobuf.Timestamp started_at = 4;
*/
public com.google.protobuf.TimestampOrBuilder getStartedAtOrBuilder() {
return getStartedAt();
}
public static final int DURATION_FIELD_NUMBER = 5;
private com.google.protobuf.Duration duration_;
/**
*
* The amount of time the node execution spent running.
*
*
* .google.protobuf.Duration duration = 5;
* @return Whether the duration field is set.
*/
public boolean hasDuration() {
return duration_ != null;
}
/**
*
* The amount of time the node execution spent running.
*
*
* .google.protobuf.Duration duration = 5;
* @return The duration.
*/
public com.google.protobuf.Duration getDuration() {
return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_;
}
/**
*
* The amount of time the node execution spent running.
*
*
* .google.protobuf.Duration duration = 5;
*/
public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
return getDuration();
}
public static final int CREATED_AT_FIELD_NUMBER = 6;
private com.google.protobuf.Timestamp createdAt_;
/**
*
* Time at which the node execution was created.
*
*
* .google.protobuf.Timestamp created_at = 6;
* @return Whether the createdAt field is set.
*/
public boolean hasCreatedAt() {
return createdAt_ != null;
}
/**
*
* Time at which the node execution was created.
*
*
* .google.protobuf.Timestamp created_at = 6;
* @return The createdAt.
*/
public com.google.protobuf.Timestamp getCreatedAt() {
return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_;
}
/**
*
* Time at which the node execution was created.
*
*
* .google.protobuf.Timestamp created_at = 6;
*/
public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() {
return getCreatedAt();
}
public static final int UPDATED_AT_FIELD_NUMBER = 7;
private com.google.protobuf.Timestamp updatedAt_;
/**
*
* Time at which the node execution was last updated.
*
*
* .google.protobuf.Timestamp updated_at = 7;
* @return Whether the updatedAt field is set.
*/
public boolean hasUpdatedAt() {
return updatedAt_ != null;
}
/**
*
* Time at which the node execution was last updated.
*
*
* .google.protobuf.Timestamp updated_at = 7;
* @return The updatedAt.
*/
public com.google.protobuf.Timestamp getUpdatedAt() {
return updatedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updatedAt_;
}
/**
*
* Time at which the node execution was last updated.
*
*
* .google.protobuf.Timestamp updated_at = 7;
*/
public com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder() {
return getUpdatedAt();
}
public static final int WORKFLOW_NODE_METADATA_FIELD_NUMBER = 8;
/**
* .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8;
* @return Whether the workflowNodeMetadata field is set.
*/
public boolean hasWorkflowNodeMetadata() {
return targetMetadataCase_ == 8;
}
/**
* .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8;
* @return The workflowNodeMetadata.
*/
public flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata getWorkflowNodeMetadata() {
if (targetMetadataCase_ == 8) {
return (flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata) targetMetadata_;
}
return flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.getDefaultInstance();
}
/**
* .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8;
*/
public flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadataOrBuilder getWorkflowNodeMetadataOrBuilder() {
if (targetMetadataCase_ == 8) {
return (flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata) targetMetadata_;
}
return flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.getDefaultInstance();
}
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.NodeExecution.Phase.UNDEFINED.getNumber()) {
output.writeEnum(3, phase_);
}
if (startedAt_ != null) {
output.writeMessage(4, getStartedAt());
}
if (duration_ != null) {
output.writeMessage(5, getDuration());
}
if (createdAt_ != null) {
output.writeMessage(6, getCreatedAt());
}
if (updatedAt_ != null) {
output.writeMessage(7, getUpdatedAt());
}
if (targetMetadataCase_ == 8) {
output.writeMessage(8, (flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata) targetMetadata_);
}
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.NodeExecution.Phase.UNDEFINED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, phase_);
}
if (startedAt_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getStartedAt());
}
if (duration_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getDuration());
}
if (createdAt_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getCreatedAt());
}
if (updatedAt_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getUpdatedAt());
}
if (targetMetadataCase_ == 8) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, (flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata) targetMetadata_);
}
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.NodeExecutionOuterClass.NodeExecutionClosure)) {
return super.equals(obj);
}
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure other = (flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure) obj;
if (phase_ != other.phase_) 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 (!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 (!getTargetMetadataCase().equals(other.getTargetMetadataCase())) return false;
switch (targetMetadataCase_) {
case 8:
if (!getWorkflowNodeMetadata()
.equals(other.getWorkflowNodeMetadata())) 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 (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();
}
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:
}
switch (targetMetadataCase_) {
case 8:
hash = (37 * hash) + WORKFLOW_NODE_METADATA_FIELD_NUMBER;
hash = (53 * hash) + getWorkflowNodeMetadata().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure 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.NodeExecutionOuterClass.NodeExecutionClosure parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure 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.NodeExecutionOuterClass.NodeExecutionClosure parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure 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.NodeExecutionOuterClass.NodeExecutionClosure parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure 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.NodeExecutionOuterClass.NodeExecutionClosure 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 node execution details and results.
*
*
* Protobuf type {@code flyteidl.admin.NodeExecutionClosure}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flyteidl.admin.NodeExecutionClosure)
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosureOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionClosure_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionClosure_fieldAccessorTable
.ensureFieldAccessorsInitialized(
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.Builder.class);
}
// Construct using flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.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();
phase_ = 0;
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;
}
outputResultCase_ = 0;
outputResult_ = null;
targetMetadataCase_ = 0;
targetMetadata_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionClosure_descriptor;
}
@java.lang.Override
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure getDefaultInstanceForType() {
return flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.getDefaultInstance();
}
@java.lang.Override
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure build() {
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure buildPartial() {
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure result = new flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure(this);
if (outputResultCase_ == 1) {
result.outputResult_ = outputResult_;
}
if (outputResultCase_ == 2) {
if (errorBuilder_ == null) {
result.outputResult_ = outputResult_;
} else {
result.outputResult_ = errorBuilder_.build();
}
}
result.phase_ = phase_;
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 (targetMetadataCase_ == 8) {
if (workflowNodeMetadataBuilder_ == null) {
result.targetMetadata_ = targetMetadata_;
} else {
result.targetMetadata_ = workflowNodeMetadataBuilder_.build();
}
}
result.outputResultCase_ = outputResultCase_;
result.targetMetadataCase_ = targetMetadataCase_;
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.NodeExecutionOuterClass.NodeExecutionClosure) {
return mergeFrom((flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure other) {
if (other == flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure.getDefaultInstance()) return this;
if (other.phase_ != 0) {
setPhaseValue(other.getPhaseValue());
}
if (other.hasStartedAt()) {
mergeStartedAt(other.getStartedAt());
}
if (other.hasDuration()) {
mergeDuration(other.getDuration());
}
if (other.hasCreatedAt()) {
mergeCreatedAt(other.getCreatedAt());
}
if (other.hasUpdatedAt()) {
mergeUpdatedAt(other.getUpdatedAt());
}
switch (other.getOutputResultCase()) {
case OUTPUT_URI: {
outputResultCase_ = 1;
outputResult_ = other.outputResult_;
onChanged();
break;
}
case ERROR: {
mergeError(other.getError());
break;
}
case OUTPUTRESULT_NOT_SET: {
break;
}
}
switch (other.getTargetMetadataCase()) {
case WORKFLOW_NODE_METADATA: {
mergeWorkflowNodeMetadata(other.getWorkflowNodeMetadata());
break;
}
case TARGETMETADATA_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.NodeExecutionOuterClass.NodeExecutionClosure parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure) 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 targetMetadataCase_ = 0;
private java.lang.Object targetMetadata_;
public TargetMetadataCase
getTargetMetadataCase() {
return TargetMetadataCase.forNumber(
targetMetadataCase_);
}
public Builder clearTargetMetadata() {
targetMetadataCase_ = 0;
targetMetadata_ = null;
onChanged();
return this;
}
/**
* 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;
}
}
/**
* 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;
}
}
/**
* 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;
}
/**
* string output_uri = 1;
* @return This builder for chaining.
*/
public Builder clearOutputUri() {
if (outputResultCase_ == 1) {
outputResultCase_ = 0;
outputResult_ = null;
onChanged();
}
return this;
}
/**
* 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 Node
*
*
* .flyteidl.core.ExecutionError error = 2;
* @return Whether the error field is set.
*/
public boolean hasError() {
return outputResultCase_ == 2;
}
/**
*
* Error information for the Node
*
*
* .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 Node
*
*
* .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 Node
*
*
* .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 Node
*
*
* .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 Node
*
*
* .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 Node
*
*
* .flyteidl.core.ExecutionError error = 2;
*/
public flyteidl.core.Execution.ExecutionError.Builder getErrorBuilder() {
return getErrorFieldBuilder().getBuilder();
}
/**
*
* Error information for the Node
*
*
* .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 Node
*
*
* .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 node execution.
*
*
* .flyteidl.core.NodeExecution.Phase phase = 3;
* @return The enum numeric value on the wire for phase.
*/
public int getPhaseValue() {
return phase_;
}
/**
*
* The last recorded phase for this node execution.
*
*
* .flyteidl.core.NodeExecution.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 node execution.
*
*
* .flyteidl.core.NodeExecution.Phase phase = 3;
* @return The phase.
*/
public flyteidl.core.Execution.NodeExecution.Phase getPhase() {
@SuppressWarnings("deprecation")
flyteidl.core.Execution.NodeExecution.Phase result = flyteidl.core.Execution.NodeExecution.Phase.valueOf(phase_);
return result == null ? flyteidl.core.Execution.NodeExecution.Phase.UNRECOGNIZED : result;
}
/**
*
* The last recorded phase for this node execution.
*
*
* .flyteidl.core.NodeExecution.Phase phase = 3;
* @param value The phase to set.
* @return This builder for chaining.
*/
public Builder setPhase(flyteidl.core.Execution.NodeExecution.Phase value) {
if (value == null) {
throw new NullPointerException();
}
phase_ = value.getNumber();
onChanged();
return this;
}
/**
*
* The last recorded phase for this node execution.
*
*
* .flyteidl.core.NodeExecution.Phase phase = 3;
* @return This builder for chaining.
*/
public Builder clearPhase() {
phase_ = 0;
onChanged();
return this;
}
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 node execution began running.
*
*
* .google.protobuf.Timestamp started_at = 4;
* @return Whether the startedAt field is set.
*/
public boolean hasStartedAt() {
return startedAtBuilder_ != null || startedAt_ != null;
}
/**
*
* Time at which the node execution began running.
*
*
* .google.protobuf.Timestamp started_at = 4;
* @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 node execution began running.
*
*
* .google.protobuf.Timestamp started_at = 4;
*/
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 node execution began running.
*
*
* .google.protobuf.Timestamp started_at = 4;
*/
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 node execution began running.
*
*
* .google.protobuf.Timestamp started_at = 4;
*/
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 node execution began running.
*
*
* .google.protobuf.Timestamp started_at = 4;
*/
public Builder clearStartedAt() {
if (startedAtBuilder_ == null) {
startedAt_ = null;
onChanged();
} else {
startedAt_ = null;
startedAtBuilder_ = null;
}
return this;
}
/**
*
* Time at which the node execution began running.
*
*
* .google.protobuf.Timestamp started_at = 4;
*/
public com.google.protobuf.Timestamp.Builder getStartedAtBuilder() {
onChanged();
return getStartedAtFieldBuilder().getBuilder();
}
/**
*
* Time at which the node execution began running.
*
*
* .google.protobuf.Timestamp started_at = 4;
*/
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 node execution began running.
*
*
* .google.protobuf.Timestamp started_at = 4;
*/
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 node execution spent running.
*
*
* .google.protobuf.Duration duration = 5;
* @return Whether the duration field is set.
*/
public boolean hasDuration() {
return durationBuilder_ != null || duration_ != null;
}
/**
*
* The amount of time the node execution spent running.
*
*
* .google.protobuf.Duration duration = 5;
* @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 node execution spent running.
*
*
* .google.protobuf.Duration duration = 5;
*/
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 node execution spent running.
*
*
* .google.protobuf.Duration duration = 5;
*/
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 node execution spent running.
*
*
* .google.protobuf.Duration duration = 5;
*/
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 node execution spent running.
*
*
* .google.protobuf.Duration duration = 5;
*/
public Builder clearDuration() {
if (durationBuilder_ == null) {
duration_ = null;
onChanged();
} else {
duration_ = null;
durationBuilder_ = null;
}
return this;
}
/**
*
* The amount of time the node execution spent running.
*
*
* .google.protobuf.Duration duration = 5;
*/
public com.google.protobuf.Duration.Builder getDurationBuilder() {
onChanged();
return getDurationFieldBuilder().getBuilder();
}
/**
*
* The amount of time the node execution spent running.
*
*
* .google.protobuf.Duration duration = 5;
*/
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 node execution spent running.
*
*
* .google.protobuf.Duration duration = 5;
*/
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 node execution was created.
*
*
* .google.protobuf.Timestamp created_at = 6;
* @return Whether the createdAt field is set.
*/
public boolean hasCreatedAt() {
return createdAtBuilder_ != null || createdAt_ != null;
}
/**
*
* Time at which the node execution was created.
*
*
* .google.protobuf.Timestamp created_at = 6;
* @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 node execution was created.
*
*
* .google.protobuf.Timestamp created_at = 6;
*/
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 node execution was created.
*
*
* .google.protobuf.Timestamp created_at = 6;
*/
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 node execution was created.
*
*
* .google.protobuf.Timestamp created_at = 6;
*/
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 node execution was created.
*
*
* .google.protobuf.Timestamp created_at = 6;
*/
public Builder clearCreatedAt() {
if (createdAtBuilder_ == null) {
createdAt_ = null;
onChanged();
} else {
createdAt_ = null;
createdAtBuilder_ = null;
}
return this;
}
/**
*
* Time at which the node execution was created.
*
*
* .google.protobuf.Timestamp created_at = 6;
*/
public com.google.protobuf.Timestamp.Builder getCreatedAtBuilder() {
onChanged();
return getCreatedAtFieldBuilder().getBuilder();
}
/**
*
* Time at which the node execution was created.
*
*
* .google.protobuf.Timestamp created_at = 6;
*/
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 node execution was created.
*
*
* .google.protobuf.Timestamp created_at = 6;
*/
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 node execution was last updated.
*
*
* .google.protobuf.Timestamp updated_at = 7;
* @return Whether the updatedAt field is set.
*/
public boolean hasUpdatedAt() {
return updatedAtBuilder_ != null || updatedAt_ != null;
}
/**
*
* Time at which the node execution was last updated.
*
*
* .google.protobuf.Timestamp updated_at = 7;
* @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 node execution was last updated.
*
*
* .google.protobuf.Timestamp updated_at = 7;
*/
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 node execution was last updated.
*
*
* .google.protobuf.Timestamp updated_at = 7;
*/
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 node execution was last updated.
*
*
* .google.protobuf.Timestamp updated_at = 7;
*/
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 node execution was last updated.
*
*
* .google.protobuf.Timestamp updated_at = 7;
*/
public Builder clearUpdatedAt() {
if (updatedAtBuilder_ == null) {
updatedAt_ = null;
onChanged();
} else {
updatedAt_ = null;
updatedAtBuilder_ = null;
}
return this;
}
/**
*
* Time at which the node execution was last updated.
*
*
* .google.protobuf.Timestamp updated_at = 7;
*/
public com.google.protobuf.Timestamp.Builder getUpdatedAtBuilder() {
onChanged();
return getUpdatedAtFieldBuilder().getBuilder();
}
/**
*
* Time at which the node execution was last updated.
*
*
* .google.protobuf.Timestamp updated_at = 7;
*/
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 node execution was last updated.
*
*
* .google.protobuf.Timestamp updated_at = 7;
*/
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.SingleFieldBuilderV3<
flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata, flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.Builder, flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadataOrBuilder> workflowNodeMetadataBuilder_;
/**
* .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8;
* @return Whether the workflowNodeMetadata field is set.
*/
public boolean hasWorkflowNodeMetadata() {
return targetMetadataCase_ == 8;
}
/**
* .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8;
* @return The workflowNodeMetadata.
*/
public flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata getWorkflowNodeMetadata() {
if (workflowNodeMetadataBuilder_ == null) {
if (targetMetadataCase_ == 8) {
return (flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata) targetMetadata_;
}
return flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.getDefaultInstance();
} else {
if (targetMetadataCase_ == 8) {
return workflowNodeMetadataBuilder_.getMessage();
}
return flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.getDefaultInstance();
}
}
/**
* .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8;
*/
public Builder setWorkflowNodeMetadata(flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata value) {
if (workflowNodeMetadataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
targetMetadata_ = value;
onChanged();
} else {
workflowNodeMetadataBuilder_.setMessage(value);
}
targetMetadataCase_ = 8;
return this;
}
/**
* .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8;
*/
public Builder setWorkflowNodeMetadata(
flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.Builder builderForValue) {
if (workflowNodeMetadataBuilder_ == null) {
targetMetadata_ = builderForValue.build();
onChanged();
} else {
workflowNodeMetadataBuilder_.setMessage(builderForValue.build());
}
targetMetadataCase_ = 8;
return this;
}
/**
* .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8;
*/
public Builder mergeWorkflowNodeMetadata(flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata value) {
if (workflowNodeMetadataBuilder_ == null) {
if (targetMetadataCase_ == 8 &&
targetMetadata_ != flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.getDefaultInstance()) {
targetMetadata_ = flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.newBuilder((flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata) targetMetadata_)
.mergeFrom(value).buildPartial();
} else {
targetMetadata_ = value;
}
onChanged();
} else {
if (targetMetadataCase_ == 8) {
workflowNodeMetadataBuilder_.mergeFrom(value);
}
workflowNodeMetadataBuilder_.setMessage(value);
}
targetMetadataCase_ = 8;
return this;
}
/**
* .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8;
*/
public Builder clearWorkflowNodeMetadata() {
if (workflowNodeMetadataBuilder_ == null) {
if (targetMetadataCase_ == 8) {
targetMetadataCase_ = 0;
targetMetadata_ = null;
onChanged();
}
} else {
if (targetMetadataCase_ == 8) {
targetMetadataCase_ = 0;
targetMetadata_ = null;
}
workflowNodeMetadataBuilder_.clear();
}
return this;
}
/**
* .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8;
*/
public flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.Builder getWorkflowNodeMetadataBuilder() {
return getWorkflowNodeMetadataFieldBuilder().getBuilder();
}
/**
* .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8;
*/
public flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadataOrBuilder getWorkflowNodeMetadataOrBuilder() {
if ((targetMetadataCase_ == 8) && (workflowNodeMetadataBuilder_ != null)) {
return workflowNodeMetadataBuilder_.getMessageOrBuilder();
} else {
if (targetMetadataCase_ == 8) {
return (flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata) targetMetadata_;
}
return flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.getDefaultInstance();
}
}
/**
* .flyteidl.admin.WorkflowNodeMetadata workflow_node_metadata = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata, flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.Builder, flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadataOrBuilder>
getWorkflowNodeMetadataFieldBuilder() {
if (workflowNodeMetadataBuilder_ == null) {
if (!(targetMetadataCase_ == 8)) {
targetMetadata_ = flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.getDefaultInstance();
}
workflowNodeMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata, flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.Builder, flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadataOrBuilder>(
(flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata) targetMetadata_,
getParentForChildren(),
isClean());
targetMetadata_ = null;
}
targetMetadataCase_ = 8;
onChanged();;
return workflowNodeMetadataBuilder_;
}
@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.NodeExecutionClosure)
}
// @@protoc_insertion_point(class_scope:flyteidl.admin.NodeExecutionClosure)
private static final flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure();
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionClosure getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public NodeExecutionClosure parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new NodeExecutionClosure(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.NodeExecutionOuterClass.NodeExecutionClosure getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WorkflowNodeMetadataOrBuilder extends
// @@protoc_insertion_point(interface_extends:flyteidl.admin.WorkflowNodeMetadata)
com.google.protobuf.MessageOrBuilder {
/**
* .flyteidl.core.WorkflowExecutionIdentifier executionId = 1;
* @return Whether the executionId field is set.
*/
boolean hasExecutionId();
/**
* .flyteidl.core.WorkflowExecutionIdentifier executionId = 1;
* @return The executionId.
*/
flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getExecutionId();
/**
* .flyteidl.core.WorkflowExecutionIdentifier executionId = 1;
*/
flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getExecutionIdOrBuilder();
}
/**
*
* Metadata for a WorkflowNode
*
*
* Protobuf type {@code flyteidl.admin.WorkflowNodeMetadata}
*/
public static final class WorkflowNodeMetadata extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flyteidl.admin.WorkflowNodeMetadata)
WorkflowNodeMetadataOrBuilder {
private static final long serialVersionUID = 0L;
// Use WorkflowNodeMetadata.newBuilder() to construct.
private WorkflowNodeMetadata(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WorkflowNodeMetadata() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WorkflowNodeMetadata();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WorkflowNodeMetadata(
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.WorkflowExecutionIdentifier.Builder subBuilder = null;
if (executionId_ != null) {
subBuilder = executionId_.toBuilder();
}
executionId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(executionId_);
executionId_ = 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.NodeExecutionOuterClass.internal_static_flyteidl_admin_WorkflowNodeMetadata_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_WorkflowNodeMetadata_fieldAccessorTable
.ensureFieldAccessorsInitialized(
flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.class, flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.Builder.class);
}
public static final int EXECUTIONID_FIELD_NUMBER = 1;
private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier executionId_;
/**
* .flyteidl.core.WorkflowExecutionIdentifier executionId = 1;
* @return Whether the executionId field is set.
*/
public boolean hasExecutionId() {
return executionId_ != null;
}
/**
* .flyteidl.core.WorkflowExecutionIdentifier executionId = 1;
* @return The executionId.
*/
public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getExecutionId() {
return executionId_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : executionId_;
}
/**
* .flyteidl.core.WorkflowExecutionIdentifier executionId = 1;
*/
public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getExecutionIdOrBuilder() {
return getExecutionId();
}
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 (executionId_ != null) {
output.writeMessage(1, getExecutionId());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (executionId_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getExecutionId());
}
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.NodeExecutionOuterClass.WorkflowNodeMetadata)) {
return super.equals(obj);
}
flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata other = (flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata) obj;
if (hasExecutionId() != other.hasExecutionId()) return false;
if (hasExecutionId()) {
if (!getExecutionId()
.equals(other.getExecutionId())) 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 (hasExecutionId()) {
hash = (37 * hash) + EXECUTIONID_FIELD_NUMBER;
hash = (53 * hash) + getExecutionId().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata 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.NodeExecutionOuterClass.WorkflowNodeMetadata parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata 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.NodeExecutionOuterClass.WorkflowNodeMetadata parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata 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.NodeExecutionOuterClass.WorkflowNodeMetadata parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata 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.NodeExecutionOuterClass.WorkflowNodeMetadata 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;
}
/**
*
* Metadata for a WorkflowNode
*
*
* Protobuf type {@code flyteidl.admin.WorkflowNodeMetadata}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flyteidl.admin.WorkflowNodeMetadata)
flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_WorkflowNodeMetadata_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_WorkflowNodeMetadata_fieldAccessorTable
.ensureFieldAccessorsInitialized(
flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.class, flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.Builder.class);
}
// Construct using flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.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 (executionIdBuilder_ == null) {
executionId_ = null;
} else {
executionId_ = null;
executionIdBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_WorkflowNodeMetadata_descriptor;
}
@java.lang.Override
public flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata getDefaultInstanceForType() {
return flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.getDefaultInstance();
}
@java.lang.Override
public flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata build() {
flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata buildPartial() {
flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata result = new flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata(this);
if (executionIdBuilder_ == null) {
result.executionId_ = executionId_;
} else {
result.executionId_ = executionIdBuilder_.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.NodeExecutionOuterClass.WorkflowNodeMetadata) {
return mergeFrom((flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata other) {
if (other == flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata.getDefaultInstance()) return this;
if (other.hasExecutionId()) {
mergeExecutionId(other.getExecutionId());
}
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.NodeExecutionOuterClass.WorkflowNodeMetadata parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier executionId_;
private com.google.protobuf.SingleFieldBuilderV3<
flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> executionIdBuilder_;
/**
* .flyteidl.core.WorkflowExecutionIdentifier executionId = 1;
* @return Whether the executionId field is set.
*/
public boolean hasExecutionId() {
return executionIdBuilder_ != null || executionId_ != null;
}
/**
* .flyteidl.core.WorkflowExecutionIdentifier executionId = 1;
* @return The executionId.
*/
public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getExecutionId() {
if (executionIdBuilder_ == null) {
return executionId_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : executionId_;
} else {
return executionIdBuilder_.getMessage();
}
}
/**
* .flyteidl.core.WorkflowExecutionIdentifier executionId = 1;
*/
public Builder setExecutionId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) {
if (executionIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
executionId_ = value;
onChanged();
} else {
executionIdBuilder_.setMessage(value);
}
return this;
}
/**
* .flyteidl.core.WorkflowExecutionIdentifier executionId = 1;
*/
public Builder setExecutionId(
flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder builderForValue) {
if (executionIdBuilder_ == null) {
executionId_ = builderForValue.build();
onChanged();
} else {
executionIdBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .flyteidl.core.WorkflowExecutionIdentifier executionId = 1;
*/
public Builder mergeExecutionId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) {
if (executionIdBuilder_ == null) {
if (executionId_ != null) {
executionId_ =
flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.newBuilder(executionId_).mergeFrom(value).buildPartial();
} else {
executionId_ = value;
}
onChanged();
} else {
executionIdBuilder_.mergeFrom(value);
}
return this;
}
/**
* .flyteidl.core.WorkflowExecutionIdentifier executionId = 1;
*/
public Builder clearExecutionId() {
if (executionIdBuilder_ == null) {
executionId_ = null;
onChanged();
} else {
executionId_ = null;
executionIdBuilder_ = null;
}
return this;
}
/**
* .flyteidl.core.WorkflowExecutionIdentifier executionId = 1;
*/
public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getExecutionIdBuilder() {
onChanged();
return getExecutionIdFieldBuilder().getBuilder();
}
/**
* .flyteidl.core.WorkflowExecutionIdentifier executionId = 1;
*/
public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getExecutionIdOrBuilder() {
if (executionIdBuilder_ != null) {
return executionIdBuilder_.getMessageOrBuilder();
} else {
return executionId_ == null ?
flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : executionId_;
}
}
/**
* .flyteidl.core.WorkflowExecutionIdentifier executionId = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder>
getExecutionIdFieldBuilder() {
if (executionIdBuilder_ == null) {
executionIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder>(
getExecutionId(),
getParentForChildren(),
isClean());
executionId_ = null;
}
return executionIdBuilder_;
}
@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.WorkflowNodeMetadata)
}
// @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowNodeMetadata)
private static final flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata();
}
public static flyteidl.admin.NodeExecutionOuterClass.WorkflowNodeMetadata getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WorkflowNodeMetadata parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WorkflowNodeMetadata(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.NodeExecutionOuterClass.WorkflowNodeMetadata getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface NodeExecutionGetDataRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:flyteidl.admin.NodeExecutionGetDataRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* The identifier of the node execution for which to fetch inputs and outputs.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
* @return Whether the id field is set.
*/
boolean hasId();
/**
*
* The identifier of the node execution for which to fetch inputs and outputs.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
* @return The id.
*/
flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getId();
/**
*
* The identifier of the node execution for which to fetch inputs and outputs.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
*/
flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getIdOrBuilder();
}
/**
*
* Request structure to fetch inputs and output urls for a node execution.
*
*
* Protobuf type {@code flyteidl.admin.NodeExecutionGetDataRequest}
*/
public static final class NodeExecutionGetDataRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flyteidl.admin.NodeExecutionGetDataRequest)
NodeExecutionGetDataRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use NodeExecutionGetDataRequest.newBuilder() to construct.
private NodeExecutionGetDataRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private NodeExecutionGetDataRequest() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new NodeExecutionGetDataRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private NodeExecutionGetDataRequest(
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 (id_ != null) {
subBuilder = id_.toBuilder();
}
id_ = input.readMessage(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.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.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionGetDataRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionGetDataRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest.Builder.class);
}
public static final int ID_FIELD_NUMBER = 1;
private flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier id_;
/**
*
* The identifier of the node execution for which to fetch inputs and outputs.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
* @return Whether the id field is set.
*/
public boolean hasId() {
return id_ != null;
}
/**
*
* The identifier of the node execution for which to fetch inputs and outputs.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
* @return The id.
*/
public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getId() {
return id_ == null ? flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : id_;
}
/**
*
* The identifier of the node execution for which to fetch inputs and outputs.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
*/
public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder 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.NodeExecutionOuterClass.NodeExecutionGetDataRequest)) {
return super.equals(obj);
}
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest other = (flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest) 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.NodeExecutionOuterClass.NodeExecutionGetDataRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest 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.NodeExecutionOuterClass.NodeExecutionGetDataRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest 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.NodeExecutionOuterClass.NodeExecutionGetDataRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest 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.NodeExecutionOuterClass.NodeExecutionGetDataRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest 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.NodeExecutionOuterClass.NodeExecutionGetDataRequest 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 node execution.
*
*
* Protobuf type {@code flyteidl.admin.NodeExecutionGetDataRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flyteidl.admin.NodeExecutionGetDataRequest)
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionGetDataRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionGetDataRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest.Builder.class);
}
// Construct using flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest.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.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionGetDataRequest_descriptor;
}
@java.lang.Override
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest getDefaultInstanceForType() {
return flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest.getDefaultInstance();
}
@java.lang.Override
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest build() {
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest buildPartial() {
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest result = new flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest(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.NodeExecutionOuterClass.NodeExecutionGetDataRequest) {
return mergeFrom((flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest other) {
if (other == flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest.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.NodeExecutionOuterClass.NodeExecutionGetDataRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier id_;
private com.google.protobuf.SingleFieldBuilderV3<
flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder> idBuilder_;
/**
*
* The identifier of the node execution for which to fetch inputs and outputs.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
* @return Whether the id field is set.
*/
public boolean hasId() {
return idBuilder_ != null || id_ != null;
}
/**
*
* The identifier of the node execution for which to fetch inputs and outputs.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
* @return The id.
*/
public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getId() {
if (idBuilder_ == null) {
return id_ == null ? flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : id_;
} else {
return idBuilder_.getMessage();
}
}
/**
*
* The identifier of the node execution for which to fetch inputs and outputs.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
*/
public Builder setId(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) {
if (idBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
id_ = value;
onChanged();
} else {
idBuilder_.setMessage(value);
}
return this;
}
/**
*
* The identifier of the node execution for which to fetch inputs and outputs.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
*/
public Builder setId(
flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder builderForValue) {
if (idBuilder_ == null) {
id_ = builderForValue.build();
onChanged();
} else {
idBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The identifier of the node execution for which to fetch inputs and outputs.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
*/
public Builder mergeId(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) {
if (idBuilder_ == null) {
if (id_ != null) {
id_ =
flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.newBuilder(id_).mergeFrom(value).buildPartial();
} else {
id_ = value;
}
onChanged();
} else {
idBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The identifier of the node execution for which to fetch inputs and outputs.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
*/
public Builder clearId() {
if (idBuilder_ == null) {
id_ = null;
onChanged();
} else {
id_ = null;
idBuilder_ = null;
}
return this;
}
/**
*
* The identifier of the node execution for which to fetch inputs and outputs.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
*/
public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder getIdBuilder() {
onChanged();
return getIdFieldBuilder().getBuilder();
}
/**
*
* The identifier of the node execution for which to fetch inputs and outputs.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
*/
public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getIdOrBuilder() {
if (idBuilder_ != null) {
return idBuilder_.getMessageOrBuilder();
} else {
return id_ == null ?
flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : id_;
}
}
/**
*
* The identifier of the node execution for which to fetch inputs and outputs.
*
*
* .flyteidl.core.NodeExecutionIdentifier id = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder>
getIdFieldBuilder() {
if (idBuilder_ == null) {
idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder>(
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.NodeExecutionGetDataRequest)
}
// @@protoc_insertion_point(class_scope:flyteidl.admin.NodeExecutionGetDataRequest)
private static final flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest();
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public NodeExecutionGetDataRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new NodeExecutionGetDataRequest(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.NodeExecutionOuterClass.NodeExecutionGetDataRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface NodeExecutionGetDataResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:flyteidl.admin.NodeExecutionGetDataResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* Signed url to fetch a core.LiteralMap of node execution inputs.
*
*
* .flyteidl.admin.UrlBlob inputs = 1;
* @return Whether the inputs field is set.
*/
boolean hasInputs();
/**
*
* Signed url to fetch a core.LiteralMap of node execution inputs.
*
*
* .flyteidl.admin.UrlBlob inputs = 1;
* @return The inputs.
*/
flyteidl.admin.Common.UrlBlob getInputs();
/**
*
* Signed url to fetch a core.LiteralMap of node execution inputs.
*
*
* .flyteidl.admin.UrlBlob inputs = 1;
*/
flyteidl.admin.Common.UrlBlobOrBuilder getInputsOrBuilder();
/**
*
* Signed url to fetch a core.LiteralMap of node execution outputs.
*
*
* .flyteidl.admin.UrlBlob outputs = 2;
* @return Whether the outputs field is set.
*/
boolean hasOutputs();
/**
*
* Signed url to fetch a core.LiteralMap of node execution outputs.
*
*
* .flyteidl.admin.UrlBlob outputs = 2;
* @return The outputs.
*/
flyteidl.admin.Common.UrlBlob getOutputs();
/**
*
* Signed url to fetch a core.LiteralMap of node execution outputs.
*
*
* .flyteidl.admin.UrlBlob outputs = 2;
*/
flyteidl.admin.Common.UrlBlobOrBuilder getOutputsOrBuilder();
}
/**
*
* Response structure for NodeExecutionGetDataRequest which contains inputs and outputs for a node execution.
*
*
* Protobuf type {@code flyteidl.admin.NodeExecutionGetDataResponse}
*/
public static final class NodeExecutionGetDataResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flyteidl.admin.NodeExecutionGetDataResponse)
NodeExecutionGetDataResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use NodeExecutionGetDataResponse.newBuilder() to construct.
private NodeExecutionGetDataResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private NodeExecutionGetDataResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new NodeExecutionGetDataResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private NodeExecutionGetDataResponse(
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.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionGetDataResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionGetDataResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse.Builder.class);
}
public static final int INPUTS_FIELD_NUMBER = 1;
private flyteidl.admin.Common.UrlBlob inputs_;
/**
*
* Signed url to fetch a core.LiteralMap of node 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 node 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 node 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 node 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 node 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 node 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.NodeExecutionOuterClass.NodeExecutionGetDataResponse)) {
return super.equals(obj);
}
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse other = (flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse) 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.NodeExecutionOuterClass.NodeExecutionGetDataResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse 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.NodeExecutionOuterClass.NodeExecutionGetDataResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse 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.NodeExecutionOuterClass.NodeExecutionGetDataResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse 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.NodeExecutionOuterClass.NodeExecutionGetDataResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse 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.NodeExecutionOuterClass.NodeExecutionGetDataResponse 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 NodeExecutionGetDataRequest which contains inputs and outputs for a node execution.
*
*
* Protobuf type {@code flyteidl.admin.NodeExecutionGetDataResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flyteidl.admin.NodeExecutionGetDataResponse)
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionGetDataResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return flyteidl.admin.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionGetDataResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse.class, flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse.Builder.class);
}
// Construct using flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse.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.NodeExecutionOuterClass.internal_static_flyteidl_admin_NodeExecutionGetDataResponse_descriptor;
}
@java.lang.Override
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse getDefaultInstanceForType() {
return flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse.getDefaultInstance();
}
@java.lang.Override
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse build() {
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse buildPartial() {
flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse result = new flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse(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.NodeExecutionOuterClass.NodeExecutionGetDataResponse) {
return mergeFrom((flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse other) {
if (other == flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse.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.NodeExecutionOuterClass.NodeExecutionGetDataResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse) 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 node 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 node 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 node 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 node 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 node 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 node 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 node 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 node 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 node 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 node 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 node 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 node 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 node 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 node 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 node 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 node 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 node 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 node 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.NodeExecutionGetDataResponse)
}
// @@protoc_insertion_point(class_scope:flyteidl.admin.NodeExecutionGetDataResponse)
private static final flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse();
}
public static flyteidl.admin.NodeExecutionOuterClass.NodeExecutionGetDataResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public NodeExecutionGetDataResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new NodeExecutionGetDataResponse(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.NodeExecutionOuterClass.NodeExecutionGetDataResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flyteidl_admin_NodeExecutionGetRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flyteidl_admin_NodeExecutionGetRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flyteidl_admin_NodeExecutionListRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flyteidl_admin_NodeExecutionListRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flyteidl_admin_NodeExecutionForTaskListRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flyteidl_admin_NodeExecutionForTaskListRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flyteidl_admin_NodeExecution_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flyteidl_admin_NodeExecution_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flyteidl_admin_NodeExecutionMetaData_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flyteidl_admin_NodeExecutionMetaData_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flyteidl_admin_NodeExecutionList_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flyteidl_admin_NodeExecutionList_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flyteidl_admin_NodeExecutionClosure_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flyteidl_admin_NodeExecutionClosure_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flyteidl_admin_WorkflowNodeMetadata_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flyteidl_admin_WorkflowNodeMetadata_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flyteidl_admin_NodeExecutionGetDataRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flyteidl_admin_NodeExecutionGetDataRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flyteidl_admin_NodeExecutionGetDataResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flyteidl_admin_NodeExecutionGetDataResponse_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/node_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\"M\n\027NodeExecutionGetRequest\0222\n" +
"\002id\030\001 \001(\0132&.flyteidl.core.NodeExecutionI" +
"dentifier\"\273\001\n\030NodeExecutionListRequest\022I" +
"\n\025workflow_execution_id\030\001 \001(\0132*.flyteidl" +
".core.WorkflowExecutionIdentifier\022\r\n\005lim" +
"it\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\"" +
"\272\001\n\037NodeExecutionForTaskListRequest\022A\n\021t" +
"ask_execution_id\030\001 \001(\0132&.flyteidl.core.T" +
"askExecutionIdentifier\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\"\306\001\n\rNodeExe" +
"cution\0222\n\002id\030\001 \001(\0132&.flyteidl.core.NodeE" +
"xecutionIdentifier\022\021\n\tinput_uri\030\002 \001(\t\0225\n" +
"\007closure\030\003 \001(\0132$.flyteidl.admin.NodeExec" +
"utionClosure\0227\n\010metadata\030\004 \001(\0132%.flyteid" +
"l.admin.NodeExecutionMetaData\"\027\n\025NodeExe" +
"cutionMetaData\"Z\n\021NodeExecutionList\0226\n\017n" +
"ode_executions\030\001 \003(\0132\035.flyteidl.admin.No" +
"deExecution\022\r\n\005token\030\002 \001(\t\"\270\003\n\024NodeExecu" +
"tionClosure\022\024\n\noutput_uri\030\001 \001(\tH\000\022.\n\005err" +
"or\030\002 \001(\0132\035.flyteidl.core.ExecutionErrorH" +
"\000\0221\n\005phase\030\003 \001(\0162\".flyteidl.core.NodeExe" +
"cution.Phase\022.\n\nstarted_at\030\004 \001(\0132\032.googl" +
"e.protobuf.Timestamp\022+\n\010duration\030\005 \001(\0132\031" +
".google.protobuf.Duration\022.\n\ncreated_at\030" +
"\006 \001(\0132\032.google.protobuf.Timestamp\022.\n\nupd" +
"ated_at\030\007 \001(\0132\032.google.protobuf.Timestam" +
"p\022F\n\026workflow_node_metadata\030\010 \001(\0132$.flyt" +
"eidl.admin.WorkflowNodeMetadataH\001B\017\n\rout" +
"put_resultB\021\n\017target_metadata\"W\n\024Workflo" +
"wNodeMetadata\022?\n\013executionId\030\001 \001(\0132*.fly" +
"teidl.core.WorkflowExecutionIdentifier\"Q" +
"\n\033NodeExecutionGetDataRequest\0222\n\002id\030\001 \001(" +
"\0132&.flyteidl.core.NodeExecutionIdentifie" +
"r\"q\n\034NodeExecutionGetDataResponse\022\'\n\006inp" +
"uts\030\001 \001(\0132\027.flyteidl.admin.UrlBlob\022(\n\007ou" +
"tputs\030\002 \001(\0132\027.flyteidl.admin.UrlBlobB3Z1" +
"github.com/lyft/flyteidl/gen/pb-go/flyte" +
"idl/adminb\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(),
});
internal_static_flyteidl_admin_NodeExecutionGetRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_flyteidl_admin_NodeExecutionGetRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flyteidl_admin_NodeExecutionGetRequest_descriptor,
new java.lang.String[] { "Id", });
internal_static_flyteidl_admin_NodeExecutionListRequest_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_flyteidl_admin_NodeExecutionListRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flyteidl_admin_NodeExecutionListRequest_descriptor,
new java.lang.String[] { "WorkflowExecutionId", "Limit", "Token", "Filters", "SortBy", });
internal_static_flyteidl_admin_NodeExecutionForTaskListRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_flyteidl_admin_NodeExecutionForTaskListRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flyteidl_admin_NodeExecutionForTaskListRequest_descriptor,
new java.lang.String[] { "TaskExecutionId", "Limit", "Token", "Filters", "SortBy", });
internal_static_flyteidl_admin_NodeExecution_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_flyteidl_admin_NodeExecution_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flyteidl_admin_NodeExecution_descriptor,
new java.lang.String[] { "Id", "InputUri", "Closure", "Metadata", });
internal_static_flyteidl_admin_NodeExecutionMetaData_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_flyteidl_admin_NodeExecutionMetaData_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flyteidl_admin_NodeExecutionMetaData_descriptor,
new java.lang.String[] { });
internal_static_flyteidl_admin_NodeExecutionList_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_flyteidl_admin_NodeExecutionList_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flyteidl_admin_NodeExecutionList_descriptor,
new java.lang.String[] { "NodeExecutions", "Token", });
internal_static_flyteidl_admin_NodeExecutionClosure_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_flyteidl_admin_NodeExecutionClosure_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flyteidl_admin_NodeExecutionClosure_descriptor,
new java.lang.String[] { "OutputUri", "Error", "Phase", "StartedAt", "Duration", "CreatedAt", "UpdatedAt", "WorkflowNodeMetadata", "OutputResult", "TargetMetadata", });
internal_static_flyteidl_admin_WorkflowNodeMetadata_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_flyteidl_admin_WorkflowNodeMetadata_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flyteidl_admin_WorkflowNodeMetadata_descriptor,
new java.lang.String[] { "ExecutionId", });
internal_static_flyteidl_admin_NodeExecutionGetDataRequest_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_flyteidl_admin_NodeExecutionGetDataRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flyteidl_admin_NodeExecutionGetDataRequest_descriptor,
new java.lang.String[] { "Id", });
internal_static_flyteidl_admin_NodeExecutionGetDataResponse_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_flyteidl_admin_NodeExecutionGetDataResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flyteidl_admin_NodeExecutionGetDataResponse_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();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy