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

com.clarifai.grpc.api.AppDuplication Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: proto/clarifai/api/resources.proto

package com.clarifai.grpc.api;

/**
 * 
 * AppDuplication
 * 
* * Protobuf type {@code clarifai.api.AppDuplication} */ public final class AppDuplication extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:clarifai.api.AppDuplication) AppDuplicationOrBuilder { private static final long serialVersionUID = 0L; // Use AppDuplication.newBuilder() to construct. private AppDuplication(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AppDuplication() { id_ = ""; existingAppId_ = ""; newAppId_ = ""; newAppName_ = ""; progress_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AppDuplication(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AppDuplication( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); id_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); newAppId_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); newAppName_ = s; break; } case 34: { com.clarifai.grpc.api.status.Status.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(com.clarifai.grpc.api.status.Status.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(status_); status_ = subBuilder.buildPartial(); } break; } case 42: { 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 50: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (lastModifiedAt_ != null) { subBuilder = lastModifiedAt_.toBuilder(); } lastModifiedAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(lastModifiedAt_); lastModifiedAt_ = subBuilder.buildPartial(); } break; } case 58: { com.clarifai.grpc.api.AppDuplicationFilters.Builder subBuilder = null; if (filter_ != null) { subBuilder = filter_.toBuilder(); } filter_ = input.readMessage(com.clarifai.grpc.api.AppDuplicationFilters.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(filter_); filter_ = subBuilder.buildPartial(); } break; } case 66: { java.lang.String s = input.readStringRequireUtf8(); existingAppId_ = s; break; } case 74: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { progress_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } progress_.add( input.readMessage(com.clarifai.grpc.api.AppCopyProgress.parser(), extensionRegistry)); break; } case 82: { com.clarifai.grpc.api.App.Builder subBuilder = null; if (destinationApp_ != null) { subBuilder = destinationApp_.toBuilder(); } destinationApp_ = input.readMessage(com.clarifai.grpc.api.App.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(destinationApp_); destinationApp_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { progress_ = java.util.Collections.unmodifiableList(progress_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_AppDuplication_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_AppDuplication_fieldAccessorTable .ensureFieldAccessorsInitialized( com.clarifai.grpc.api.AppDuplication.class, com.clarifai.grpc.api.AppDuplication.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** *
   * The unique identifier of an app duplication job.
   * 
* * string id = 1; * @return The id. */ @java.lang.Override public java.lang.String getId() { java.lang.Object ref = id_; 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(); id_ = s; return s; } } /** *
   * The unique identifier of an app duplication job.
   * 
* * string id = 1; * @return The bytes for id. */ @java.lang.Override public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DESTINATION_APP_FIELD_NUMBER = 10; private com.clarifai.grpc.api.App destinationApp_; /** *
   * The destination application where resources are written.
   * If the destination does not exist, then the fields from the request are
   * used to create the application. If a field is not set or not supported,
   * then it will be copied from the source app, unless otherwise noted.
   * Note: this field can be empty when reading app duplication jobs in cases
   * where the app has been deleted or is just not visible to the caller.
   * ########## Supported fields ##########
   *  - description
   *  - id      - if not set, then generated automatically
   *  - user_id - if not set, then the calling user is used as the app owner
   * 
* * .clarifai.api.App destination_app = 10; * @return Whether the destinationApp field is set. */ @java.lang.Override public boolean hasDestinationApp() { return destinationApp_ != null; } /** *
   * The destination application where resources are written.
   * If the destination does not exist, then the fields from the request are
   * used to create the application. If a field is not set or not supported,
   * then it will be copied from the source app, unless otherwise noted.
   * Note: this field can be empty when reading app duplication jobs in cases
   * where the app has been deleted or is just not visible to the caller.
   * ########## Supported fields ##########
   *  - description
   *  - id      - if not set, then generated automatically
   *  - user_id - if not set, then the calling user is used as the app owner
   * 
* * .clarifai.api.App destination_app = 10; * @return The destinationApp. */ @java.lang.Override public com.clarifai.grpc.api.App getDestinationApp() { return destinationApp_ == null ? com.clarifai.grpc.api.App.getDefaultInstance() : destinationApp_; } /** *
   * The destination application where resources are written.
   * If the destination does not exist, then the fields from the request are
   * used to create the application. If a field is not set or not supported,
   * then it will be copied from the source app, unless otherwise noted.
   * Note: this field can be empty when reading app duplication jobs in cases
   * where the app has been deleted or is just not visible to the caller.
   * ########## Supported fields ##########
   *  - description
   *  - id      - if not set, then generated automatically
   *  - user_id - if not set, then the calling user is used as the app owner
   * 
* * .clarifai.api.App destination_app = 10; */ @java.lang.Override public com.clarifai.grpc.api.AppOrBuilder getDestinationAppOrBuilder() { return getDestinationApp(); } public static final int EXISTING_APP_ID_FIELD_NUMBER = 8; private volatile java.lang.Object existingAppId_; /** *
   * The ID of an existing app you want to copy data into.
   * If not provided, then we will create a new application as the destination instead.
   * The various new_app_* fields can be used to set fields of this new application.
   * Deprecated: Use destination_app.id with an existing ID instead.
   * 
* * string existing_app_id = 8 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.existing_app_id is deprecated. * See proto/clarifai/api/resources.proto;l=2929 * @return The existingAppId. */ @java.lang.Override @java.lang.Deprecated public java.lang.String getExistingAppId() { java.lang.Object ref = existingAppId_; 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(); existingAppId_ = s; return s; } } /** *
   * The ID of an existing app you want to copy data into.
   * If not provided, then we will create a new application as the destination instead.
   * The various new_app_* fields can be used to set fields of this new application.
   * Deprecated: Use destination_app.id with an existing ID instead.
   * 
* * string existing_app_id = 8 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.existing_app_id is deprecated. * See proto/clarifai/api/resources.proto;l=2929 * @return The bytes for existingAppId. */ @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getExistingAppIdBytes() { java.lang.Object ref = existingAppId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); existingAppId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NEW_APP_ID_FIELD_NUMBER = 2; private volatile java.lang.Object newAppId_; /** *
   * The ID to use when creating a new application.
   * You cannot set this field when copying into an existing app, i.e., when existing_app_is is set.
   * If not provided, then it will be generated automatically.
   * Deprecated: Use destination_app.id with a new ID instead.
   * 
* * string new_app_id = 2 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.new_app_id is deprecated. * See proto/clarifai/api/resources.proto;l=2937 * @return The newAppId. */ @java.lang.Override @java.lang.Deprecated public java.lang.String getNewAppId() { java.lang.Object ref = newAppId_; 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(); newAppId_ = s; return s; } } /** *
   * The ID to use when creating a new application.
   * You cannot set this field when copying into an existing app, i.e., when existing_app_is is set.
   * If not provided, then it will be generated automatically.
   * Deprecated: Use destination_app.id with a new ID instead.
   * 
* * string new_app_id = 2 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.new_app_id is deprecated. * See proto/clarifai/api/resources.proto;l=2937 * @return The bytes for newAppId. */ @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getNewAppIdBytes() { java.lang.Object ref = newAppId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); newAppId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NEW_APP_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object newAppName_; /** *
   * The name to use when creating a new application.
   * You cannot set this field when copying into an existing app, i.e., when existing_app_is is set.
   * If not provided, then the ID of the new application is also used as the name.
   * Deprecated: Application names are deprecated, use application IDs instead.
   * 
* * string new_app_name = 3 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.new_app_name is deprecated. * See proto/clarifai/api/resources.proto;l=2945 * @return The newAppName. */ @java.lang.Override @java.lang.Deprecated public java.lang.String getNewAppName() { java.lang.Object ref = newAppName_; 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(); newAppName_ = s; return s; } } /** *
   * The name to use when creating a new application.
   * You cannot set this field when copying into an existing app, i.e., when existing_app_is is set.
   * If not provided, then the ID of the new application is also used as the name.
   * Deprecated: Application names are deprecated, use application IDs instead.
   * 
* * string new_app_name = 3 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.new_app_name is deprecated. * See proto/clarifai/api/resources.proto;l=2945 * @return The bytes for newAppName. */ @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getNewAppNameBytes() { java.lang.Object ref = newAppName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); newAppName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STATUS_FIELD_NUMBER = 4; private com.clarifai.grpc.api.status.Status status_; /** *
   * The status of the app duplication job.
   * 
* * .clarifai.api.status.Status status = 4; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** *
   * The status of the app duplication job.
   * 
* * .clarifai.api.status.Status status = 4; * @return The status. */ @java.lang.Override public com.clarifai.grpc.api.status.Status getStatus() { return status_ == null ? com.clarifai.grpc.api.status.Status.getDefaultInstance() : status_; } /** *
   * The status of the app duplication job.
   * 
* * .clarifai.api.status.Status status = 4; */ @java.lang.Override public com.clarifai.grpc.api.status.StatusOrBuilder getStatusOrBuilder() { return getStatus(); } public static final int CREATED_AT_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createdAt_; /** *
   * The time when the app duplication job was created.
   * 
* * .google.protobuf.Timestamp created_at = 5; * @return Whether the createdAt field is set. */ @java.lang.Override public boolean hasCreatedAt() { return createdAt_ != null; } /** *
   * The time when the app duplication job was created.
   * 
* * .google.protobuf.Timestamp created_at = 5; * @return The createdAt. */ @java.lang.Override public com.google.protobuf.Timestamp getCreatedAt() { return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; } /** *
   * The time when the app duplication job was created.
   * 
* * .google.protobuf.Timestamp created_at = 5; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { return getCreatedAt(); } public static final int LAST_MODIFIED_AT_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp lastModifiedAt_; /** *
   * The last time when the app duplication job status was updated.
   * 
* * .google.protobuf.Timestamp last_modified_at = 6; * @return Whether the lastModifiedAt field is set. */ @java.lang.Override public boolean hasLastModifiedAt() { return lastModifiedAt_ != null; } /** *
   * The last time when the app duplication job status was updated.
   * 
* * .google.protobuf.Timestamp last_modified_at = 6; * @return The lastModifiedAt. */ @java.lang.Override public com.google.protobuf.Timestamp getLastModifiedAt() { return lastModifiedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastModifiedAt_; } /** *
   * The last time when the app duplication job status was updated.
   * 
* * .google.protobuf.Timestamp last_modified_at = 6; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLastModifiedAtOrBuilder() { return getLastModifiedAt(); } public static final int FILTER_FIELD_NUMBER = 7; private com.clarifai.grpc.api.AppDuplicationFilters filter_; /** *
   * The filter specifies which resources are copied by the app duplication job.
   * 
* * .clarifai.api.AppDuplicationFilters filter = 7; * @return Whether the filter field is set. */ @java.lang.Override public boolean hasFilter() { return filter_ != null; } /** *
   * The filter specifies which resources are copied by the app duplication job.
   * 
* * .clarifai.api.AppDuplicationFilters filter = 7; * @return The filter. */ @java.lang.Override public com.clarifai.grpc.api.AppDuplicationFilters getFilter() { return filter_ == null ? com.clarifai.grpc.api.AppDuplicationFilters.getDefaultInstance() : filter_; } /** *
   * The filter specifies which resources are copied by the app duplication job.
   * 
* * .clarifai.api.AppDuplicationFilters filter = 7; */ @java.lang.Override public com.clarifai.grpc.api.AppDuplicationFiltersOrBuilder getFilterOrBuilder() { return getFilter(); } public static final int PROGRESS_FIELD_NUMBER = 9; private java.util.List progress_; /** *
   * Copy progress for each resource type requested by the filter. Possible fields:
   *  - inputs
   *  - concepts
   *  - annotations
   *  - models
   *  - workflows
   *  - installed_module_versions
   * 
* * repeated .clarifai.api.AppCopyProgress progress = 9; */ @java.lang.Override public java.util.List getProgressList() { return progress_; } /** *
   * Copy progress for each resource type requested by the filter. Possible fields:
   *  - inputs
   *  - concepts
   *  - annotations
   *  - models
   *  - workflows
   *  - installed_module_versions
   * 
* * repeated .clarifai.api.AppCopyProgress progress = 9; */ @java.lang.Override public java.util.List getProgressOrBuilderList() { return progress_; } /** *
   * Copy progress for each resource type requested by the filter. Possible fields:
   *  - inputs
   *  - concepts
   *  - annotations
   *  - models
   *  - workflows
   *  - installed_module_versions
   * 
* * repeated .clarifai.api.AppCopyProgress progress = 9; */ @java.lang.Override public int getProgressCount() { return progress_.size(); } /** *
   * Copy progress for each resource type requested by the filter. Possible fields:
   *  - inputs
   *  - concepts
   *  - annotations
   *  - models
   *  - workflows
   *  - installed_module_versions
   * 
* * repeated .clarifai.api.AppCopyProgress progress = 9; */ @java.lang.Override public com.clarifai.grpc.api.AppCopyProgress getProgress(int index) { return progress_.get(index); } /** *
   * Copy progress for each resource type requested by the filter. Possible fields:
   *  - inputs
   *  - concepts
   *  - annotations
   *  - models
   *  - workflows
   *  - installed_module_versions
   * 
* * repeated .clarifai.api.AppCopyProgress progress = 9; */ @java.lang.Override public com.clarifai.grpc.api.AppCopyProgressOrBuilder getProgressOrBuilder( int index) { return progress_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newAppId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, newAppId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newAppName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, newAppName_); } if (status_ != null) { output.writeMessage(4, getStatus()); } if (createdAt_ != null) { output.writeMessage(5, getCreatedAt()); } if (lastModifiedAt_ != null) { output.writeMessage(6, getLastModifiedAt()); } if (filter_ != null) { output.writeMessage(7, getFilter()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(existingAppId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, existingAppId_); } for (int i = 0; i < progress_.size(); i++) { output.writeMessage(9, progress_.get(i)); } if (destinationApp_ != null) { output.writeMessage(10, getDestinationApp()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newAppId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, newAppId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newAppName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, newAppName_); } if (status_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getStatus()); } if (createdAt_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getCreatedAt()); } if (lastModifiedAt_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getLastModifiedAt()); } if (filter_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getFilter()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(existingAppId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, existingAppId_); } for (int i = 0; i < progress_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, progress_.get(i)); } if (destinationApp_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getDestinationApp()); } 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 com.clarifai.grpc.api.AppDuplication)) { return super.equals(obj); } com.clarifai.grpc.api.AppDuplication other = (com.clarifai.grpc.api.AppDuplication) obj; if (!getId() .equals(other.getId())) return false; if (hasDestinationApp() != other.hasDestinationApp()) return false; if (hasDestinationApp()) { if (!getDestinationApp() .equals(other.getDestinationApp())) return false; } if (!getExistingAppId() .equals(other.getExistingAppId())) return false; if (!getNewAppId() .equals(other.getNewAppId())) return false; if (!getNewAppName() .equals(other.getNewAppName())) return false; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus() .equals(other.getStatus())) return false; } if (hasCreatedAt() != other.hasCreatedAt()) return false; if (hasCreatedAt()) { if (!getCreatedAt() .equals(other.getCreatedAt())) return false; } if (hasLastModifiedAt() != other.hasLastModifiedAt()) return false; if (hasLastModifiedAt()) { if (!getLastModifiedAt() .equals(other.getLastModifiedAt())) return false; } if (hasFilter() != other.hasFilter()) return false; if (hasFilter()) { if (!getFilter() .equals(other.getFilter())) return false; } if (!getProgressList() .equals(other.getProgressList())) 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(); hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); if (hasDestinationApp()) { hash = (37 * hash) + DESTINATION_APP_FIELD_NUMBER; hash = (53 * hash) + getDestinationApp().hashCode(); } hash = (37 * hash) + EXISTING_APP_ID_FIELD_NUMBER; hash = (53 * hash) + getExistingAppId().hashCode(); hash = (37 * hash) + NEW_APP_ID_FIELD_NUMBER; hash = (53 * hash) + getNewAppId().hashCode(); hash = (37 * hash) + NEW_APP_NAME_FIELD_NUMBER; hash = (53 * hash) + getNewAppName().hashCode(); if (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); } if (hasCreatedAt()) { hash = (37 * hash) + CREATED_AT_FIELD_NUMBER; hash = (53 * hash) + getCreatedAt().hashCode(); } if (hasLastModifiedAt()) { hash = (37 * hash) + LAST_MODIFIED_AT_FIELD_NUMBER; hash = (53 * hash) + getLastModifiedAt().hashCode(); } if (hasFilter()) { hash = (37 * hash) + FILTER_FIELD_NUMBER; hash = (53 * hash) + getFilter().hashCode(); } if (getProgressCount() > 0) { hash = (37 * hash) + PROGRESS_FIELD_NUMBER; hash = (53 * hash) + getProgressList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.clarifai.grpc.api.AppDuplication parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.clarifai.grpc.api.AppDuplication parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.clarifai.grpc.api.AppDuplication parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.clarifai.grpc.api.AppDuplication parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.clarifai.grpc.api.AppDuplication parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.clarifai.grpc.api.AppDuplication parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.clarifai.grpc.api.AppDuplication parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.clarifai.grpc.api.AppDuplication 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 com.clarifai.grpc.api.AppDuplication parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.clarifai.grpc.api.AppDuplication 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 com.clarifai.grpc.api.AppDuplication parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.clarifai.grpc.api.AppDuplication 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(com.clarifai.grpc.api.AppDuplication 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; } /** *
   * AppDuplication
   * 
* * Protobuf type {@code clarifai.api.AppDuplication} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:clarifai.api.AppDuplication) com.clarifai.grpc.api.AppDuplicationOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_AppDuplication_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_AppDuplication_fieldAccessorTable .ensureFieldAccessorsInitialized( com.clarifai.grpc.api.AppDuplication.class, com.clarifai.grpc.api.AppDuplication.Builder.class); } // Construct using com.clarifai.grpc.api.AppDuplication.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getProgressFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); id_ = ""; if (destinationAppBuilder_ == null) { destinationApp_ = null; } else { destinationApp_ = null; destinationAppBuilder_ = null; } existingAppId_ = ""; newAppId_ = ""; newAppName_ = ""; if (statusBuilder_ == null) { status_ = null; } else { status_ = null; statusBuilder_ = null; } if (createdAtBuilder_ == null) { createdAt_ = null; } else { createdAt_ = null; createdAtBuilder_ = null; } if (lastModifiedAtBuilder_ == null) { lastModifiedAt_ = null; } else { lastModifiedAt_ = null; lastModifiedAtBuilder_ = null; } if (filterBuilder_ == null) { filter_ = null; } else { filter_ = null; filterBuilder_ = null; } if (progressBuilder_ == null) { progress_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { progressBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_AppDuplication_descriptor; } @java.lang.Override public com.clarifai.grpc.api.AppDuplication getDefaultInstanceForType() { return com.clarifai.grpc.api.AppDuplication.getDefaultInstance(); } @java.lang.Override public com.clarifai.grpc.api.AppDuplication build() { com.clarifai.grpc.api.AppDuplication result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.clarifai.grpc.api.AppDuplication buildPartial() { com.clarifai.grpc.api.AppDuplication result = new com.clarifai.grpc.api.AppDuplication(this); int from_bitField0_ = bitField0_; result.id_ = id_; if (destinationAppBuilder_ == null) { result.destinationApp_ = destinationApp_; } else { result.destinationApp_ = destinationAppBuilder_.build(); } result.existingAppId_ = existingAppId_; result.newAppId_ = newAppId_; result.newAppName_ = newAppName_; if (statusBuilder_ == null) { result.status_ = status_; } else { result.status_ = statusBuilder_.build(); } if (createdAtBuilder_ == null) { result.createdAt_ = createdAt_; } else { result.createdAt_ = createdAtBuilder_.build(); } if (lastModifiedAtBuilder_ == null) { result.lastModifiedAt_ = lastModifiedAt_; } else { result.lastModifiedAt_ = lastModifiedAtBuilder_.build(); } if (filterBuilder_ == null) { result.filter_ = filter_; } else { result.filter_ = filterBuilder_.build(); } if (progressBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { progress_ = java.util.Collections.unmodifiableList(progress_); bitField0_ = (bitField0_ & ~0x00000001); } result.progress_ = progress_; } else { result.progress_ = progressBuilder_.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 com.clarifai.grpc.api.AppDuplication) { return mergeFrom((com.clarifai.grpc.api.AppDuplication)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.clarifai.grpc.api.AppDuplication other) { if (other == com.clarifai.grpc.api.AppDuplication.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } if (other.hasDestinationApp()) { mergeDestinationApp(other.getDestinationApp()); } if (!other.getExistingAppId().isEmpty()) { existingAppId_ = other.existingAppId_; onChanged(); } if (!other.getNewAppId().isEmpty()) { newAppId_ = other.newAppId_; onChanged(); } if (!other.getNewAppName().isEmpty()) { newAppName_ = other.newAppName_; onChanged(); } if (other.hasStatus()) { mergeStatus(other.getStatus()); } if (other.hasCreatedAt()) { mergeCreatedAt(other.getCreatedAt()); } if (other.hasLastModifiedAt()) { mergeLastModifiedAt(other.getLastModifiedAt()); } if (other.hasFilter()) { mergeFilter(other.getFilter()); } if (progressBuilder_ == null) { if (!other.progress_.isEmpty()) { if (progress_.isEmpty()) { progress_ = other.progress_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureProgressIsMutable(); progress_.addAll(other.progress_); } onChanged(); } } else { if (!other.progress_.isEmpty()) { if (progressBuilder_.isEmpty()) { progressBuilder_.dispose(); progressBuilder_ = null; progress_ = other.progress_; bitField0_ = (bitField0_ & ~0x00000001); progressBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getProgressFieldBuilder() : null; } else { progressBuilder_.addAllMessages(other.progress_); } } } 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 { com.clarifai.grpc.api.AppDuplication parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.clarifai.grpc.api.AppDuplication) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object id_ = ""; /** *
     * The unique identifier of an app duplication job.
     * 
* * string id = 1; * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The unique identifier of an app duplication job.
     * 
* * string id = 1; * @return The bytes for id. */ public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The unique identifier of an app duplication job.
     * 
* * string id = 1; * @param value The id to set. * @return This builder for chaining. */ public Builder setId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } id_ = value; onChanged(); return this; } /** *
     * The unique identifier of an app duplication job.
     * 
* * string id = 1; * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /** *
     * The unique identifier of an app duplication job.
     * 
* * string id = 1; * @param value The bytes for id to set. * @return This builder for chaining. */ public Builder setIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; onChanged(); return this; } private com.clarifai.grpc.api.App destinationApp_; private com.google.protobuf.SingleFieldBuilderV3< com.clarifai.grpc.api.App, com.clarifai.grpc.api.App.Builder, com.clarifai.grpc.api.AppOrBuilder> destinationAppBuilder_; /** *
     * The destination application where resources are written.
     * If the destination does not exist, then the fields from the request are
     * used to create the application. If a field is not set or not supported,
     * then it will be copied from the source app, unless otherwise noted.
     * Note: this field can be empty when reading app duplication jobs in cases
     * where the app has been deleted or is just not visible to the caller.
     * ########## Supported fields ##########
     *  - description
     *  - id      - if not set, then generated automatically
     *  - user_id - if not set, then the calling user is used as the app owner
     * 
* * .clarifai.api.App destination_app = 10; * @return Whether the destinationApp field is set. */ public boolean hasDestinationApp() { return destinationAppBuilder_ != null || destinationApp_ != null; } /** *
     * The destination application where resources are written.
     * If the destination does not exist, then the fields from the request are
     * used to create the application. If a field is not set or not supported,
     * then it will be copied from the source app, unless otherwise noted.
     * Note: this field can be empty when reading app duplication jobs in cases
     * where the app has been deleted or is just not visible to the caller.
     * ########## Supported fields ##########
     *  - description
     *  - id      - if not set, then generated automatically
     *  - user_id - if not set, then the calling user is used as the app owner
     * 
* * .clarifai.api.App destination_app = 10; * @return The destinationApp. */ public com.clarifai.grpc.api.App getDestinationApp() { if (destinationAppBuilder_ == null) { return destinationApp_ == null ? com.clarifai.grpc.api.App.getDefaultInstance() : destinationApp_; } else { return destinationAppBuilder_.getMessage(); } } /** *
     * The destination application where resources are written.
     * If the destination does not exist, then the fields from the request are
     * used to create the application. If a field is not set or not supported,
     * then it will be copied from the source app, unless otherwise noted.
     * Note: this field can be empty when reading app duplication jobs in cases
     * where the app has been deleted or is just not visible to the caller.
     * ########## Supported fields ##########
     *  - description
     *  - id      - if not set, then generated automatically
     *  - user_id - if not set, then the calling user is used as the app owner
     * 
* * .clarifai.api.App destination_app = 10; */ public Builder setDestinationApp(com.clarifai.grpc.api.App value) { if (destinationAppBuilder_ == null) { if (value == null) { throw new NullPointerException(); } destinationApp_ = value; onChanged(); } else { destinationAppBuilder_.setMessage(value); } return this; } /** *
     * The destination application where resources are written.
     * If the destination does not exist, then the fields from the request are
     * used to create the application. If a field is not set or not supported,
     * then it will be copied from the source app, unless otherwise noted.
     * Note: this field can be empty when reading app duplication jobs in cases
     * where the app has been deleted or is just not visible to the caller.
     * ########## Supported fields ##########
     *  - description
     *  - id      - if not set, then generated automatically
     *  - user_id - if not set, then the calling user is used as the app owner
     * 
* * .clarifai.api.App destination_app = 10; */ public Builder setDestinationApp( com.clarifai.grpc.api.App.Builder builderForValue) { if (destinationAppBuilder_ == null) { destinationApp_ = builderForValue.build(); onChanged(); } else { destinationAppBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * The destination application where resources are written.
     * If the destination does not exist, then the fields from the request are
     * used to create the application. If a field is not set or not supported,
     * then it will be copied from the source app, unless otherwise noted.
     * Note: this field can be empty when reading app duplication jobs in cases
     * where the app has been deleted or is just not visible to the caller.
     * ########## Supported fields ##########
     *  - description
     *  - id      - if not set, then generated automatically
     *  - user_id - if not set, then the calling user is used as the app owner
     * 
* * .clarifai.api.App destination_app = 10; */ public Builder mergeDestinationApp(com.clarifai.grpc.api.App value) { if (destinationAppBuilder_ == null) { if (destinationApp_ != null) { destinationApp_ = com.clarifai.grpc.api.App.newBuilder(destinationApp_).mergeFrom(value).buildPartial(); } else { destinationApp_ = value; } onChanged(); } else { destinationAppBuilder_.mergeFrom(value); } return this; } /** *
     * The destination application where resources are written.
     * If the destination does not exist, then the fields from the request are
     * used to create the application. If a field is not set or not supported,
     * then it will be copied from the source app, unless otherwise noted.
     * Note: this field can be empty when reading app duplication jobs in cases
     * where the app has been deleted or is just not visible to the caller.
     * ########## Supported fields ##########
     *  - description
     *  - id      - if not set, then generated automatically
     *  - user_id - if not set, then the calling user is used as the app owner
     * 
* * .clarifai.api.App destination_app = 10; */ public Builder clearDestinationApp() { if (destinationAppBuilder_ == null) { destinationApp_ = null; onChanged(); } else { destinationApp_ = null; destinationAppBuilder_ = null; } return this; } /** *
     * The destination application where resources are written.
     * If the destination does not exist, then the fields from the request are
     * used to create the application. If a field is not set or not supported,
     * then it will be copied from the source app, unless otherwise noted.
     * Note: this field can be empty when reading app duplication jobs in cases
     * where the app has been deleted or is just not visible to the caller.
     * ########## Supported fields ##########
     *  - description
     *  - id      - if not set, then generated automatically
     *  - user_id - if not set, then the calling user is used as the app owner
     * 
* * .clarifai.api.App destination_app = 10; */ public com.clarifai.grpc.api.App.Builder getDestinationAppBuilder() { onChanged(); return getDestinationAppFieldBuilder().getBuilder(); } /** *
     * The destination application where resources are written.
     * If the destination does not exist, then the fields from the request are
     * used to create the application. If a field is not set or not supported,
     * then it will be copied from the source app, unless otherwise noted.
     * Note: this field can be empty when reading app duplication jobs in cases
     * where the app has been deleted or is just not visible to the caller.
     * ########## Supported fields ##########
     *  - description
     *  - id      - if not set, then generated automatically
     *  - user_id - if not set, then the calling user is used as the app owner
     * 
* * .clarifai.api.App destination_app = 10; */ public com.clarifai.grpc.api.AppOrBuilder getDestinationAppOrBuilder() { if (destinationAppBuilder_ != null) { return destinationAppBuilder_.getMessageOrBuilder(); } else { return destinationApp_ == null ? com.clarifai.grpc.api.App.getDefaultInstance() : destinationApp_; } } /** *
     * The destination application where resources are written.
     * If the destination does not exist, then the fields from the request are
     * used to create the application. If a field is not set or not supported,
     * then it will be copied from the source app, unless otherwise noted.
     * Note: this field can be empty when reading app duplication jobs in cases
     * where the app has been deleted or is just not visible to the caller.
     * ########## Supported fields ##########
     *  - description
     *  - id      - if not set, then generated automatically
     *  - user_id - if not set, then the calling user is used as the app owner
     * 
* * .clarifai.api.App destination_app = 10; */ private com.google.protobuf.SingleFieldBuilderV3< com.clarifai.grpc.api.App, com.clarifai.grpc.api.App.Builder, com.clarifai.grpc.api.AppOrBuilder> getDestinationAppFieldBuilder() { if (destinationAppBuilder_ == null) { destinationAppBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.clarifai.grpc.api.App, com.clarifai.grpc.api.App.Builder, com.clarifai.grpc.api.AppOrBuilder>( getDestinationApp(), getParentForChildren(), isClean()); destinationApp_ = null; } return destinationAppBuilder_; } private java.lang.Object existingAppId_ = ""; /** *
     * The ID of an existing app you want to copy data into.
     * If not provided, then we will create a new application as the destination instead.
     * The various new_app_* fields can be used to set fields of this new application.
     * Deprecated: Use destination_app.id with an existing ID instead.
     * 
* * string existing_app_id = 8 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.existing_app_id is deprecated. * See proto/clarifai/api/resources.proto;l=2929 * @return The existingAppId. */ @java.lang.Deprecated public java.lang.String getExistingAppId() { java.lang.Object ref = existingAppId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); existingAppId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The ID of an existing app you want to copy data into.
     * If not provided, then we will create a new application as the destination instead.
     * The various new_app_* fields can be used to set fields of this new application.
     * Deprecated: Use destination_app.id with an existing ID instead.
     * 
* * string existing_app_id = 8 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.existing_app_id is deprecated. * See proto/clarifai/api/resources.proto;l=2929 * @return The bytes for existingAppId. */ @java.lang.Deprecated public com.google.protobuf.ByteString getExistingAppIdBytes() { java.lang.Object ref = existingAppId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); existingAppId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The ID of an existing app you want to copy data into.
     * If not provided, then we will create a new application as the destination instead.
     * The various new_app_* fields can be used to set fields of this new application.
     * Deprecated: Use destination_app.id with an existing ID instead.
     * 
* * string existing_app_id = 8 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.existing_app_id is deprecated. * See proto/clarifai/api/resources.proto;l=2929 * @param value The existingAppId to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setExistingAppId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } existingAppId_ = value; onChanged(); return this; } /** *
     * The ID of an existing app you want to copy data into.
     * If not provided, then we will create a new application as the destination instead.
     * The various new_app_* fields can be used to set fields of this new application.
     * Deprecated: Use destination_app.id with an existing ID instead.
     * 
* * string existing_app_id = 8 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.existing_app_id is deprecated. * See proto/clarifai/api/resources.proto;l=2929 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearExistingAppId() { existingAppId_ = getDefaultInstance().getExistingAppId(); onChanged(); return this; } /** *
     * The ID of an existing app you want to copy data into.
     * If not provided, then we will create a new application as the destination instead.
     * The various new_app_* fields can be used to set fields of this new application.
     * Deprecated: Use destination_app.id with an existing ID instead.
     * 
* * string existing_app_id = 8 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.existing_app_id is deprecated. * See proto/clarifai/api/resources.proto;l=2929 * @param value The bytes for existingAppId to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setExistingAppIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); existingAppId_ = value; onChanged(); return this; } private java.lang.Object newAppId_ = ""; /** *
     * The ID to use when creating a new application.
     * You cannot set this field when copying into an existing app, i.e., when existing_app_is is set.
     * If not provided, then it will be generated automatically.
     * Deprecated: Use destination_app.id with a new ID instead.
     * 
* * string new_app_id = 2 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.new_app_id is deprecated. * See proto/clarifai/api/resources.proto;l=2937 * @return The newAppId. */ @java.lang.Deprecated public java.lang.String getNewAppId() { java.lang.Object ref = newAppId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newAppId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The ID to use when creating a new application.
     * You cannot set this field when copying into an existing app, i.e., when existing_app_is is set.
     * If not provided, then it will be generated automatically.
     * Deprecated: Use destination_app.id with a new ID instead.
     * 
* * string new_app_id = 2 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.new_app_id is deprecated. * See proto/clarifai/api/resources.proto;l=2937 * @return The bytes for newAppId. */ @java.lang.Deprecated public com.google.protobuf.ByteString getNewAppIdBytes() { java.lang.Object ref = newAppId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); newAppId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The ID to use when creating a new application.
     * You cannot set this field when copying into an existing app, i.e., when existing_app_is is set.
     * If not provided, then it will be generated automatically.
     * Deprecated: Use destination_app.id with a new ID instead.
     * 
* * string new_app_id = 2 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.new_app_id is deprecated. * See proto/clarifai/api/resources.proto;l=2937 * @param value The newAppId to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setNewAppId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } newAppId_ = value; onChanged(); return this; } /** *
     * The ID to use when creating a new application.
     * You cannot set this field when copying into an existing app, i.e., when existing_app_is is set.
     * If not provided, then it will be generated automatically.
     * Deprecated: Use destination_app.id with a new ID instead.
     * 
* * string new_app_id = 2 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.new_app_id is deprecated. * See proto/clarifai/api/resources.proto;l=2937 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearNewAppId() { newAppId_ = getDefaultInstance().getNewAppId(); onChanged(); return this; } /** *
     * The ID to use when creating a new application.
     * You cannot set this field when copying into an existing app, i.e., when existing_app_is is set.
     * If not provided, then it will be generated automatically.
     * Deprecated: Use destination_app.id with a new ID instead.
     * 
* * string new_app_id = 2 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.new_app_id is deprecated. * See proto/clarifai/api/resources.proto;l=2937 * @param value The bytes for newAppId to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setNewAppIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); newAppId_ = value; onChanged(); return this; } private java.lang.Object newAppName_ = ""; /** *
     * The name to use when creating a new application.
     * You cannot set this field when copying into an existing app, i.e., when existing_app_is is set.
     * If not provided, then the ID of the new application is also used as the name.
     * Deprecated: Application names are deprecated, use application IDs instead.
     * 
* * string new_app_name = 3 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.new_app_name is deprecated. * See proto/clarifai/api/resources.proto;l=2945 * @return The newAppName. */ @java.lang.Deprecated public java.lang.String getNewAppName() { java.lang.Object ref = newAppName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newAppName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The name to use when creating a new application.
     * You cannot set this field when copying into an existing app, i.e., when existing_app_is is set.
     * If not provided, then the ID of the new application is also used as the name.
     * Deprecated: Application names are deprecated, use application IDs instead.
     * 
* * string new_app_name = 3 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.new_app_name is deprecated. * See proto/clarifai/api/resources.proto;l=2945 * @return The bytes for newAppName. */ @java.lang.Deprecated public com.google.protobuf.ByteString getNewAppNameBytes() { java.lang.Object ref = newAppName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); newAppName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The name to use when creating a new application.
     * You cannot set this field when copying into an existing app, i.e., when existing_app_is is set.
     * If not provided, then the ID of the new application is also used as the name.
     * Deprecated: Application names are deprecated, use application IDs instead.
     * 
* * string new_app_name = 3 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.new_app_name is deprecated. * See proto/clarifai/api/resources.proto;l=2945 * @param value The newAppName to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setNewAppName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } newAppName_ = value; onChanged(); return this; } /** *
     * The name to use when creating a new application.
     * You cannot set this field when copying into an existing app, i.e., when existing_app_is is set.
     * If not provided, then the ID of the new application is also used as the name.
     * Deprecated: Application names are deprecated, use application IDs instead.
     * 
* * string new_app_name = 3 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.new_app_name is deprecated. * See proto/clarifai/api/resources.proto;l=2945 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearNewAppName() { newAppName_ = getDefaultInstance().getNewAppName(); onChanged(); return this; } /** *
     * The name to use when creating a new application.
     * You cannot set this field when copying into an existing app, i.e., when existing_app_is is set.
     * If not provided, then the ID of the new application is also used as the name.
     * Deprecated: Application names are deprecated, use application IDs instead.
     * 
* * string new_app_name = 3 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.new_app_name is deprecated. * See proto/clarifai/api/resources.proto;l=2945 * @param value The bytes for newAppName to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setNewAppNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); newAppName_ = value; onChanged(); return this; } private com.clarifai.grpc.api.status.Status status_; private com.google.protobuf.SingleFieldBuilderV3< com.clarifai.grpc.api.status.Status, com.clarifai.grpc.api.status.Status.Builder, com.clarifai.grpc.api.status.StatusOrBuilder> statusBuilder_; /** *
     * The status of the app duplication job.
     * 
* * .clarifai.api.status.Status status = 4; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** *
     * The status of the app duplication job.
     * 
* * .clarifai.api.status.Status status = 4; * @return The status. */ public com.clarifai.grpc.api.status.Status getStatus() { if (statusBuilder_ == null) { return status_ == null ? com.clarifai.grpc.api.status.Status.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** *
     * The status of the app duplication job.
     * 
* * .clarifai.api.status.Status status = 4; */ public Builder setStatus(com.clarifai.grpc.api.status.Status value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** *
     * The status of the app duplication job.
     * 
* * .clarifai.api.status.Status status = 4; */ public Builder setStatus( com.clarifai.grpc.api.status.Status.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * The status of the app duplication job.
     * 
* * .clarifai.api.status.Status status = 4; */ public Builder mergeStatus(com.clarifai.grpc.api.status.Status value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = com.clarifai.grpc.api.status.Status.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** *
     * The status of the app duplication job.
     * 
* * .clarifai.api.status.Status status = 4; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** *
     * The status of the app duplication job.
     * 
* * .clarifai.api.status.Status status = 4; */ public com.clarifai.grpc.api.status.Status.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** *
     * The status of the app duplication job.
     * 
* * .clarifai.api.status.Status status = 4; */ public com.clarifai.grpc.api.status.StatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? com.clarifai.grpc.api.status.Status.getDefaultInstance() : status_; } } /** *
     * The status of the app duplication job.
     * 
* * .clarifai.api.status.Status status = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.clarifai.grpc.api.status.Status, com.clarifai.grpc.api.status.Status.Builder, com.clarifai.grpc.api.status.StatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.clarifai.grpc.api.status.Status, com.clarifai.grpc.api.status.Status.Builder, com.clarifai.grpc.api.status.StatusOrBuilder>( getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } 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_; /** *
     * The time when the app duplication job was created.
     * 
* * .google.protobuf.Timestamp created_at = 5; * @return Whether the createdAt field is set. */ public boolean hasCreatedAt() { return createdAtBuilder_ != null || createdAt_ != null; } /** *
     * The time when the app duplication job was created.
     * 
* * .google.protobuf.Timestamp created_at = 5; * @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(); } } /** *
     * The time when the app duplication job was created.
     * 
* * .google.protobuf.Timestamp created_at = 5; */ 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; } /** *
     * The time when the app duplication job was created.
     * 
* * .google.protobuf.Timestamp created_at = 5; */ public Builder setCreatedAt( com.google.protobuf.Timestamp.Builder builderForValue) { if (createdAtBuilder_ == null) { createdAt_ = builderForValue.build(); onChanged(); } else { createdAtBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * The time when the app duplication job was created.
     * 
* * .google.protobuf.Timestamp created_at = 5; */ 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; } /** *
     * The time when the app duplication job was created.
     * 
* * .google.protobuf.Timestamp created_at = 5; */ public Builder clearCreatedAt() { if (createdAtBuilder_ == null) { createdAt_ = null; onChanged(); } else { createdAt_ = null; createdAtBuilder_ = null; } return this; } /** *
     * The time when the app duplication job was created.
     * 
* * .google.protobuf.Timestamp created_at = 5; */ public com.google.protobuf.Timestamp.Builder getCreatedAtBuilder() { onChanged(); return getCreatedAtFieldBuilder().getBuilder(); } /** *
     * The time when the app duplication job was created.
     * 
* * .google.protobuf.Timestamp created_at = 5; */ public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { if (createdAtBuilder_ != null) { return createdAtBuilder_.getMessageOrBuilder(); } else { return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; } } /** *
     * The time when the app duplication job was created.
     * 
* * .google.protobuf.Timestamp created_at = 5; */ 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 lastModifiedAt_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastModifiedAtBuilder_; /** *
     * The last time when the app duplication job status was updated.
     * 
* * .google.protobuf.Timestamp last_modified_at = 6; * @return Whether the lastModifiedAt field is set. */ public boolean hasLastModifiedAt() { return lastModifiedAtBuilder_ != null || lastModifiedAt_ != null; } /** *
     * The last time when the app duplication job status was updated.
     * 
* * .google.protobuf.Timestamp last_modified_at = 6; * @return The lastModifiedAt. */ public com.google.protobuf.Timestamp getLastModifiedAt() { if (lastModifiedAtBuilder_ == null) { return lastModifiedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastModifiedAt_; } else { return lastModifiedAtBuilder_.getMessage(); } } /** *
     * The last time when the app duplication job status was updated.
     * 
* * .google.protobuf.Timestamp last_modified_at = 6; */ public Builder setLastModifiedAt(com.google.protobuf.Timestamp value) { if (lastModifiedAtBuilder_ == null) { if (value == null) { throw new NullPointerException(); } lastModifiedAt_ = value; onChanged(); } else { lastModifiedAtBuilder_.setMessage(value); } return this; } /** *
     * The last time when the app duplication job status was updated.
     * 
* * .google.protobuf.Timestamp last_modified_at = 6; */ public Builder setLastModifiedAt( com.google.protobuf.Timestamp.Builder builderForValue) { if (lastModifiedAtBuilder_ == null) { lastModifiedAt_ = builderForValue.build(); onChanged(); } else { lastModifiedAtBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * The last time when the app duplication job status was updated.
     * 
* * .google.protobuf.Timestamp last_modified_at = 6; */ public Builder mergeLastModifiedAt(com.google.protobuf.Timestamp value) { if (lastModifiedAtBuilder_ == null) { if (lastModifiedAt_ != null) { lastModifiedAt_ = com.google.protobuf.Timestamp.newBuilder(lastModifiedAt_).mergeFrom(value).buildPartial(); } else { lastModifiedAt_ = value; } onChanged(); } else { lastModifiedAtBuilder_.mergeFrom(value); } return this; } /** *
     * The last time when the app duplication job status was updated.
     * 
* * .google.protobuf.Timestamp last_modified_at = 6; */ public Builder clearLastModifiedAt() { if (lastModifiedAtBuilder_ == null) { lastModifiedAt_ = null; onChanged(); } else { lastModifiedAt_ = null; lastModifiedAtBuilder_ = null; } return this; } /** *
     * The last time when the app duplication job status was updated.
     * 
* * .google.protobuf.Timestamp last_modified_at = 6; */ public com.google.protobuf.Timestamp.Builder getLastModifiedAtBuilder() { onChanged(); return getLastModifiedAtFieldBuilder().getBuilder(); } /** *
     * The last time when the app duplication job status was updated.
     * 
* * .google.protobuf.Timestamp last_modified_at = 6; */ public com.google.protobuf.TimestampOrBuilder getLastModifiedAtOrBuilder() { if (lastModifiedAtBuilder_ != null) { return lastModifiedAtBuilder_.getMessageOrBuilder(); } else { return lastModifiedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastModifiedAt_; } } /** *
     * The last time when the app duplication job status was updated.
     * 
* * .google.protobuf.Timestamp last_modified_at = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLastModifiedAtFieldBuilder() { if (lastModifiedAtBuilder_ == null) { lastModifiedAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getLastModifiedAt(), getParentForChildren(), isClean()); lastModifiedAt_ = null; } return lastModifiedAtBuilder_; } private com.clarifai.grpc.api.AppDuplicationFilters filter_; private com.google.protobuf.SingleFieldBuilderV3< com.clarifai.grpc.api.AppDuplicationFilters, com.clarifai.grpc.api.AppDuplicationFilters.Builder, com.clarifai.grpc.api.AppDuplicationFiltersOrBuilder> filterBuilder_; /** *
     * The filter specifies which resources are copied by the app duplication job.
     * 
* * .clarifai.api.AppDuplicationFilters filter = 7; * @return Whether the filter field is set. */ public boolean hasFilter() { return filterBuilder_ != null || filter_ != null; } /** *
     * The filter specifies which resources are copied by the app duplication job.
     * 
* * .clarifai.api.AppDuplicationFilters filter = 7; * @return The filter. */ public com.clarifai.grpc.api.AppDuplicationFilters getFilter() { if (filterBuilder_ == null) { return filter_ == null ? com.clarifai.grpc.api.AppDuplicationFilters.getDefaultInstance() : filter_; } else { return filterBuilder_.getMessage(); } } /** *
     * The filter specifies which resources are copied by the app duplication job.
     * 
* * .clarifai.api.AppDuplicationFilters filter = 7; */ public Builder setFilter(com.clarifai.grpc.api.AppDuplicationFilters value) { if (filterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } filter_ = value; onChanged(); } else { filterBuilder_.setMessage(value); } return this; } /** *
     * The filter specifies which resources are copied by the app duplication job.
     * 
* * .clarifai.api.AppDuplicationFilters filter = 7; */ public Builder setFilter( com.clarifai.grpc.api.AppDuplicationFilters.Builder builderForValue) { if (filterBuilder_ == null) { filter_ = builderForValue.build(); onChanged(); } else { filterBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * The filter specifies which resources are copied by the app duplication job.
     * 
* * .clarifai.api.AppDuplicationFilters filter = 7; */ public Builder mergeFilter(com.clarifai.grpc.api.AppDuplicationFilters value) { if (filterBuilder_ == null) { if (filter_ != null) { filter_ = com.clarifai.grpc.api.AppDuplicationFilters.newBuilder(filter_).mergeFrom(value).buildPartial(); } else { filter_ = value; } onChanged(); } else { filterBuilder_.mergeFrom(value); } return this; } /** *
     * The filter specifies which resources are copied by the app duplication job.
     * 
* * .clarifai.api.AppDuplicationFilters filter = 7; */ public Builder clearFilter() { if (filterBuilder_ == null) { filter_ = null; onChanged(); } else { filter_ = null; filterBuilder_ = null; } return this; } /** *
     * The filter specifies which resources are copied by the app duplication job.
     * 
* * .clarifai.api.AppDuplicationFilters filter = 7; */ public com.clarifai.grpc.api.AppDuplicationFilters.Builder getFilterBuilder() { onChanged(); return getFilterFieldBuilder().getBuilder(); } /** *
     * The filter specifies which resources are copied by the app duplication job.
     * 
* * .clarifai.api.AppDuplicationFilters filter = 7; */ public com.clarifai.grpc.api.AppDuplicationFiltersOrBuilder getFilterOrBuilder() { if (filterBuilder_ != null) { return filterBuilder_.getMessageOrBuilder(); } else { return filter_ == null ? com.clarifai.grpc.api.AppDuplicationFilters.getDefaultInstance() : filter_; } } /** *
     * The filter specifies which resources are copied by the app duplication job.
     * 
* * .clarifai.api.AppDuplicationFilters filter = 7; */ private com.google.protobuf.SingleFieldBuilderV3< com.clarifai.grpc.api.AppDuplicationFilters, com.clarifai.grpc.api.AppDuplicationFilters.Builder, com.clarifai.grpc.api.AppDuplicationFiltersOrBuilder> getFilterFieldBuilder() { if (filterBuilder_ == null) { filterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.clarifai.grpc.api.AppDuplicationFilters, com.clarifai.grpc.api.AppDuplicationFilters.Builder, com.clarifai.grpc.api.AppDuplicationFiltersOrBuilder>( getFilter(), getParentForChildren(), isClean()); filter_ = null; } return filterBuilder_; } private java.util.List progress_ = java.util.Collections.emptyList(); private void ensureProgressIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { progress_ = new java.util.ArrayList(progress_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.clarifai.grpc.api.AppCopyProgress, com.clarifai.grpc.api.AppCopyProgress.Builder, com.clarifai.grpc.api.AppCopyProgressOrBuilder> progressBuilder_; /** *
     * Copy progress for each resource type requested by the filter. Possible fields:
     *  - inputs
     *  - concepts
     *  - annotations
     *  - models
     *  - workflows
     *  - installed_module_versions
     * 
* * repeated .clarifai.api.AppCopyProgress progress = 9; */ public java.util.List getProgressList() { if (progressBuilder_ == null) { return java.util.Collections.unmodifiableList(progress_); } else { return progressBuilder_.getMessageList(); } } /** *
     * Copy progress for each resource type requested by the filter. Possible fields:
     *  - inputs
     *  - concepts
     *  - annotations
     *  - models
     *  - workflows
     *  - installed_module_versions
     * 
* * repeated .clarifai.api.AppCopyProgress progress = 9; */ public int getProgressCount() { if (progressBuilder_ == null) { return progress_.size(); } else { return progressBuilder_.getCount(); } } /** *
     * Copy progress for each resource type requested by the filter. Possible fields:
     *  - inputs
     *  - concepts
     *  - annotations
     *  - models
     *  - workflows
     *  - installed_module_versions
     * 
* * repeated .clarifai.api.AppCopyProgress progress = 9; */ public com.clarifai.grpc.api.AppCopyProgress getProgress(int index) { if (progressBuilder_ == null) { return progress_.get(index); } else { return progressBuilder_.getMessage(index); } } /** *
     * Copy progress for each resource type requested by the filter. Possible fields:
     *  - inputs
     *  - concepts
     *  - annotations
     *  - models
     *  - workflows
     *  - installed_module_versions
     * 
* * repeated .clarifai.api.AppCopyProgress progress = 9; */ public Builder setProgress( int index, com.clarifai.grpc.api.AppCopyProgress value) { if (progressBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureProgressIsMutable(); progress_.set(index, value); onChanged(); } else { progressBuilder_.setMessage(index, value); } return this; } /** *
     * Copy progress for each resource type requested by the filter. Possible fields:
     *  - inputs
     *  - concepts
     *  - annotations
     *  - models
     *  - workflows
     *  - installed_module_versions
     * 
* * repeated .clarifai.api.AppCopyProgress progress = 9; */ public Builder setProgress( int index, com.clarifai.grpc.api.AppCopyProgress.Builder builderForValue) { if (progressBuilder_ == null) { ensureProgressIsMutable(); progress_.set(index, builderForValue.build()); onChanged(); } else { progressBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * Copy progress for each resource type requested by the filter. Possible fields:
     *  - inputs
     *  - concepts
     *  - annotations
     *  - models
     *  - workflows
     *  - installed_module_versions
     * 
* * repeated .clarifai.api.AppCopyProgress progress = 9; */ public Builder addProgress(com.clarifai.grpc.api.AppCopyProgress value) { if (progressBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureProgressIsMutable(); progress_.add(value); onChanged(); } else { progressBuilder_.addMessage(value); } return this; } /** *
     * Copy progress for each resource type requested by the filter. Possible fields:
     *  - inputs
     *  - concepts
     *  - annotations
     *  - models
     *  - workflows
     *  - installed_module_versions
     * 
* * repeated .clarifai.api.AppCopyProgress progress = 9; */ public Builder addProgress( int index, com.clarifai.grpc.api.AppCopyProgress value) { if (progressBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureProgressIsMutable(); progress_.add(index, value); onChanged(); } else { progressBuilder_.addMessage(index, value); } return this; } /** *
     * Copy progress for each resource type requested by the filter. Possible fields:
     *  - inputs
     *  - concepts
     *  - annotations
     *  - models
     *  - workflows
     *  - installed_module_versions
     * 
* * repeated .clarifai.api.AppCopyProgress progress = 9; */ public Builder addProgress( com.clarifai.grpc.api.AppCopyProgress.Builder builderForValue) { if (progressBuilder_ == null) { ensureProgressIsMutable(); progress_.add(builderForValue.build()); onChanged(); } else { progressBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * Copy progress for each resource type requested by the filter. Possible fields:
     *  - inputs
     *  - concepts
     *  - annotations
     *  - models
     *  - workflows
     *  - installed_module_versions
     * 
* * repeated .clarifai.api.AppCopyProgress progress = 9; */ public Builder addProgress( int index, com.clarifai.grpc.api.AppCopyProgress.Builder builderForValue) { if (progressBuilder_ == null) { ensureProgressIsMutable(); progress_.add(index, builderForValue.build()); onChanged(); } else { progressBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * Copy progress for each resource type requested by the filter. Possible fields:
     *  - inputs
     *  - concepts
     *  - annotations
     *  - models
     *  - workflows
     *  - installed_module_versions
     * 
* * repeated .clarifai.api.AppCopyProgress progress = 9; */ public Builder addAllProgress( java.lang.Iterable values) { if (progressBuilder_ == null) { ensureProgressIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, progress_); onChanged(); } else { progressBuilder_.addAllMessages(values); } return this; } /** *
     * Copy progress for each resource type requested by the filter. Possible fields:
     *  - inputs
     *  - concepts
     *  - annotations
     *  - models
     *  - workflows
     *  - installed_module_versions
     * 
* * repeated .clarifai.api.AppCopyProgress progress = 9; */ public Builder clearProgress() { if (progressBuilder_ == null) { progress_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { progressBuilder_.clear(); } return this; } /** *
     * Copy progress for each resource type requested by the filter. Possible fields:
     *  - inputs
     *  - concepts
     *  - annotations
     *  - models
     *  - workflows
     *  - installed_module_versions
     * 
* * repeated .clarifai.api.AppCopyProgress progress = 9; */ public Builder removeProgress(int index) { if (progressBuilder_ == null) { ensureProgressIsMutable(); progress_.remove(index); onChanged(); } else { progressBuilder_.remove(index); } return this; } /** *
     * Copy progress for each resource type requested by the filter. Possible fields:
     *  - inputs
     *  - concepts
     *  - annotations
     *  - models
     *  - workflows
     *  - installed_module_versions
     * 
* * repeated .clarifai.api.AppCopyProgress progress = 9; */ public com.clarifai.grpc.api.AppCopyProgress.Builder getProgressBuilder( int index) { return getProgressFieldBuilder().getBuilder(index); } /** *
     * Copy progress for each resource type requested by the filter. Possible fields:
     *  - inputs
     *  - concepts
     *  - annotations
     *  - models
     *  - workflows
     *  - installed_module_versions
     * 
* * repeated .clarifai.api.AppCopyProgress progress = 9; */ public com.clarifai.grpc.api.AppCopyProgressOrBuilder getProgressOrBuilder( int index) { if (progressBuilder_ == null) { return progress_.get(index); } else { return progressBuilder_.getMessageOrBuilder(index); } } /** *
     * Copy progress for each resource type requested by the filter. Possible fields:
     *  - inputs
     *  - concepts
     *  - annotations
     *  - models
     *  - workflows
     *  - installed_module_versions
     * 
* * repeated .clarifai.api.AppCopyProgress progress = 9; */ public java.util.List getProgressOrBuilderList() { if (progressBuilder_ != null) { return progressBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(progress_); } } /** *
     * Copy progress for each resource type requested by the filter. Possible fields:
     *  - inputs
     *  - concepts
     *  - annotations
     *  - models
     *  - workflows
     *  - installed_module_versions
     * 
* * repeated .clarifai.api.AppCopyProgress progress = 9; */ public com.clarifai.grpc.api.AppCopyProgress.Builder addProgressBuilder() { return getProgressFieldBuilder().addBuilder( com.clarifai.grpc.api.AppCopyProgress.getDefaultInstance()); } /** *
     * Copy progress for each resource type requested by the filter. Possible fields:
     *  - inputs
     *  - concepts
     *  - annotations
     *  - models
     *  - workflows
     *  - installed_module_versions
     * 
* * repeated .clarifai.api.AppCopyProgress progress = 9; */ public com.clarifai.grpc.api.AppCopyProgress.Builder addProgressBuilder( int index) { return getProgressFieldBuilder().addBuilder( index, com.clarifai.grpc.api.AppCopyProgress.getDefaultInstance()); } /** *
     * Copy progress for each resource type requested by the filter. Possible fields:
     *  - inputs
     *  - concepts
     *  - annotations
     *  - models
     *  - workflows
     *  - installed_module_versions
     * 
* * repeated .clarifai.api.AppCopyProgress progress = 9; */ public java.util.List getProgressBuilderList() { return getProgressFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.clarifai.grpc.api.AppCopyProgress, com.clarifai.grpc.api.AppCopyProgress.Builder, com.clarifai.grpc.api.AppCopyProgressOrBuilder> getProgressFieldBuilder() { if (progressBuilder_ == null) { progressBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.clarifai.grpc.api.AppCopyProgress, com.clarifai.grpc.api.AppCopyProgress.Builder, com.clarifai.grpc.api.AppCopyProgressOrBuilder>( progress_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); progress_ = null; } return progressBuilder_; } @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:clarifai.api.AppDuplication) } // @@protoc_insertion_point(class_scope:clarifai.api.AppDuplication) private static final com.clarifai.grpc.api.AppDuplication DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.clarifai.grpc.api.AppDuplication(); } public static com.clarifai.grpc.api.AppDuplication getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AppDuplication parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AppDuplication(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 com.clarifai.grpc.api.AppDuplication getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy