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_ = ""; newAppId_ = ""; newAppName_ = ""; } @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(); } 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; } 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 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 id of app duplication
   * 
* * string id = 1; * @return The id. */ 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 id of app duplication
   * 
* * string id = 1; * @return The bytes for id. */ 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 NEW_APP_ID_FIELD_NUMBER = 2; private volatile java.lang.Object newAppId_; /** *
   *the id of new app
   * 
* * string new_app_id = 2; * @return The newAppId. */ 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 of new app
   * 
* * string new_app_id = 2; * @return The bytes for newAppId. */ 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 of new app
   * 
* * string new_app_name = 3; * @return The newAppName. */ 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 of new app
   * 
* * string new_app_name = 3; * @return The bytes for newAppName. */ 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 app duplication
   * 
* * .clarifai.api.status.Status status = 4; * @return Whether the status field is set. */ public boolean hasStatus() { return status_ != null; } /** *
   *the status of app duplication
   * 
* * .clarifai.api.status.Status status = 4; * @return The status. */ public com.clarifai.grpc.api.status.Status getStatus() { return status_ == null ? com.clarifai.grpc.api.status.Status.getDefaultInstance() : status_; } /** *
   *the status of app duplication
   * 
* * .clarifai.api.status.Status status = 4; */ 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_; /** *
   *when is the app duplication triggered
   * 
* * .google.protobuf.Timestamp created_at = 5; * @return Whether the createdAt field is set. */ public boolean hasCreatedAt() { return createdAt_ != null; } /** *
   *when is the app duplication triggered
   * 
* * .google.protobuf.Timestamp created_at = 5; * @return The createdAt. */ public com.google.protobuf.Timestamp getCreatedAt() { return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_; } /** *
   *when is the app duplication triggered
   * 
* * .google.protobuf.Timestamp created_at = 5; */ 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 is the status got updated
   * 
* * .google.protobuf.Timestamp last_modified_at = 6; * @return Whether the lastModifiedAt field is set. */ public boolean hasLastModifiedAt() { return lastModifiedAt_ != null; } /** *
   *The last time when is the status got updated
   * 
* * .google.protobuf.Timestamp last_modified_at = 6; * @return The lastModifiedAt. */ public com.google.protobuf.Timestamp getLastModifiedAt() { return lastModifiedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastModifiedAt_; } /** *
   *The last time when is the status got updated
   * 
* * .google.protobuf.Timestamp last_modified_at = 6; */ public com.google.protobuf.TimestampOrBuilder getLastModifiedAtOrBuilder() { return getLastModifiedAt(); } public static final int FILTER_FIELD_NUMBER = 7; private com.clarifai.grpc.api.AppDuplicationFilters filter_; /** *
   * Only copy resources depending on the filters
   * 
* * .clarifai.api.AppDuplicationFilters filter = 7; * @return Whether the filter field is set. */ public boolean hasFilter() { return filter_ != null; } /** *
   * Only copy resources depending on the filters
   * 
* * .clarifai.api.AppDuplicationFilters filter = 7; * @return The filter. */ public com.clarifai.grpc.api.AppDuplicationFilters getFilter() { return filter_ == null ? com.clarifai.grpc.api.AppDuplicationFilters.getDefaultInstance() : filter_; } /** *
   * Only copy resources depending on the filters
   * 
* * .clarifai.api.AppDuplicationFilters filter = 7; */ public com.clarifai.grpc.api.AppDuplicationFiltersOrBuilder getFilterOrBuilder() { return getFilter(); } 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 (!getIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } if (!getNewAppIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, newAppId_); } if (!getNewAppNameBytes().isEmpty()) { 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()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (!getNewAppIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, newAppId_); } if (!getNewAppNameBytes().isEmpty()) { 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()); } 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 (!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 (!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(); 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(); } 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) { } } @java.lang.Override public Builder clear() { super.clear(); id_ = ""; 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; } 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); result.id_ = id_; 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(); } 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.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()); } 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 java.lang.Object id_ = ""; /** *
     *the id of app duplication
     * 
* * 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 id of app duplication
     * 
* * 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 id of app duplication
     * 
* * 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 id of app duplication
     * 
* * string id = 1; * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /** *
     *the id of app duplication
     * 
* * 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 java.lang.Object newAppId_ = ""; /** *
     *the id of new app
     * 
* * string new_app_id = 2; * @return The newAppId. */ 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 of new app
     * 
* * string new_app_id = 2; * @return The bytes for newAppId. */ 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 of new app
     * 
* * string new_app_id = 2; * @param value The newAppId to set. * @return This builder for chaining. */ public Builder setNewAppId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } newAppId_ = value; onChanged(); return this; } /** *
     *the id of new app
     * 
* * string new_app_id = 2; * @return This builder for chaining. */ public Builder clearNewAppId() { newAppId_ = getDefaultInstance().getNewAppId(); onChanged(); return this; } /** *
     *the id of new app
     * 
* * string new_app_id = 2; * @param value The bytes for newAppId to set. * @return This builder for chaining. */ 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 of new app
     * 
* * string new_app_name = 3; * @return The newAppName. */ 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 of new app
     * 
* * string new_app_name = 3; * @return The bytes for newAppName. */ 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 of new app
     * 
* * string new_app_name = 3; * @param value The newAppName to set. * @return This builder for chaining. */ public Builder setNewAppName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } newAppName_ = value; onChanged(); return this; } /** *
     *the name of new app
     * 
* * string new_app_name = 3; * @return This builder for chaining. */ public Builder clearNewAppName() { newAppName_ = getDefaultInstance().getNewAppName(); onChanged(); return this; } /** *
     *the name of new app
     * 
* * string new_app_name = 3; * @param value The bytes for newAppName to set. * @return This builder for chaining. */ 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 app duplication
     * 
* * .clarifai.api.status.Status status = 4; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** *
     *the status of app duplication
     * 
* * .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 app duplication
     * 
* * .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 app duplication
     * 
* * .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 app duplication
     * 
* * .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 app duplication
     * 
* * .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 app duplication
     * 
* * .clarifai.api.status.Status status = 4; */ public com.clarifai.grpc.api.status.Status.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** *
     *the status of app duplication
     * 
* * .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 app duplication
     * 
* * .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_; /** *
     *when is the app duplication triggered
     * 
* * .google.protobuf.Timestamp created_at = 5; * @return Whether the createdAt field is set. */ public boolean hasCreatedAt() { return createdAtBuilder_ != null || createdAt_ != null; } /** *
     *when is the app duplication triggered
     * 
* * .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(); } } /** *
     *when is the app duplication triggered
     * 
* * .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; } /** *
     *when is the app duplication triggered
     * 
* * .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; } /** *
     *when is the app duplication triggered
     * 
* * .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; } /** *
     *when is the app duplication triggered
     * 
* * .google.protobuf.Timestamp created_at = 5; */ public Builder clearCreatedAt() { if (createdAtBuilder_ == null) { createdAt_ = null; onChanged(); } else { createdAt_ = null; createdAtBuilder_ = null; } return this; } /** *
     *when is the app duplication triggered
     * 
* * .google.protobuf.Timestamp created_at = 5; */ public com.google.protobuf.Timestamp.Builder getCreatedAtBuilder() { onChanged(); return getCreatedAtFieldBuilder().getBuilder(); } /** *
     *when is the app duplication triggered
     * 
* * .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_; } } /** *
     *when is the app duplication triggered
     * 
* * .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 is the status got 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 is the status got 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 is the status got 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 is the status got 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 is the status got 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 is the status got 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 is the status got updated
     * 
* * .google.protobuf.Timestamp last_modified_at = 6; */ public com.google.protobuf.Timestamp.Builder getLastModifiedAtBuilder() { onChanged(); return getLastModifiedAtFieldBuilder().getBuilder(); } /** *
     *The last time when is the status got 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 is the status got 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_; /** *
     * Only copy resources depending on the filters
     * 
* * .clarifai.api.AppDuplicationFilters filter = 7; * @return Whether the filter field is set. */ public boolean hasFilter() { return filterBuilder_ != null || filter_ != null; } /** *
     * Only copy resources depending on the filters
     * 
* * .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(); } } /** *
     * Only copy resources depending on the filters
     * 
* * .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; } /** *
     * Only copy resources depending on the filters
     * 
* * .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; } /** *
     * Only copy resources depending on the filters
     * 
* * .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; } /** *
     * Only copy resources depending on the filters
     * 
* * .clarifai.api.AppDuplicationFilters filter = 7; */ public Builder clearFilter() { if (filterBuilder_ == null) { filter_ = null; onChanged(); } else { filter_ = null; filterBuilder_ = null; } return this; } /** *
     * Only copy resources depending on the filters
     * 
* * .clarifai.api.AppDuplicationFilters filter = 7; */ public com.clarifai.grpc.api.AppDuplicationFilters.Builder getFilterBuilder() { onChanged(); return getFilterFieldBuilder().getBuilder(); } /** *
     * Only copy resources depending on the filters
     * 
* * .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_; } } /** *
     * Only copy resources depending on the filters
     * 
* * .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_; } @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 - 2025 Weber Informatics LLC | Privacy Policy