All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.clarifai.grpc.api.InputCount Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: proto/clarifai/api/resources.proto
package com.clarifai.grpc.api;
/**
*
* NOTE: inconsistency: this is weird mix of plural and singular words.
*
*
* Protobuf type {@code clarifai.api.InputCount}
*/
public final class InputCount extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:clarifai.api.InputCount)
InputCountOrBuilder {
private static final long serialVersionUID = 0L;
// Use InputCount.newBuilder() to construct.
private InputCount(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private InputCount() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new InputCount();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private InputCount(
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 8: {
processed_ = input.readUInt32();
break;
}
case 16: {
toProcess_ = input.readUInt32();
break;
}
case 24: {
errors_ = input.readUInt32();
break;
}
case 32: {
processing_ = input.readUInt32();
break;
}
case 40: {
reindexed_ = input.readUInt32();
break;
}
case 48: {
toReindex_ = input.readUInt32();
break;
}
case 56: {
reindexErrors_ = input.readUInt32();
break;
}
case 64: {
reindexing_ = input.readUInt32();
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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_InputCount_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_InputCount_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.clarifai.grpc.api.InputCount.class, com.clarifai.grpc.api.InputCount.Builder.class);
}
public static final int PROCESSED_FIELD_NUMBER = 1;
private int processed_;
/**
* uint32 processed = 1 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return The processed.
*/
@java.lang.Override
public int getProcessed() {
return processed_;
}
public static final int TO_PROCESS_FIELD_NUMBER = 2;
private int toProcess_;
/**
* uint32 to_process = 2 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return The toProcess.
*/
@java.lang.Override
public int getToProcess() {
return toProcess_;
}
public static final int ERRORS_FIELD_NUMBER = 3;
private int errors_;
/**
* uint32 errors = 3 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return The errors.
*/
@java.lang.Override
public int getErrors() {
return errors_;
}
public static final int PROCESSING_FIELD_NUMBER = 4;
private int processing_;
/**
* uint32 processing = 4 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return The processing.
*/
@java.lang.Override
public int getProcessing() {
return processing_;
}
public static final int REINDEXED_FIELD_NUMBER = 5;
private int reindexed_;
/**
* uint32 reindexed = 5 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return The reindexed.
*/
@java.lang.Override
public int getReindexed() {
return reindexed_;
}
public static final int TO_REINDEX_FIELD_NUMBER = 6;
private int toReindex_;
/**
* uint32 to_reindex = 6 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return The toReindex.
*/
@java.lang.Override
public int getToReindex() {
return toReindex_;
}
public static final int REINDEX_ERRORS_FIELD_NUMBER = 7;
private int reindexErrors_;
/**
* uint32 reindex_errors = 7 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return The reindexErrors.
*/
@java.lang.Override
public int getReindexErrors() {
return reindexErrors_;
}
public static final int REINDEXING_FIELD_NUMBER = 8;
private int reindexing_;
/**
* uint32 reindexing = 8 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return The reindexing.
*/
@java.lang.Override
public int getReindexing() {
return reindexing_;
}
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 (processed_ != 0) {
output.writeUInt32(1, processed_);
}
if (toProcess_ != 0) {
output.writeUInt32(2, toProcess_);
}
if (errors_ != 0) {
output.writeUInt32(3, errors_);
}
if (processing_ != 0) {
output.writeUInt32(4, processing_);
}
if (reindexed_ != 0) {
output.writeUInt32(5, reindexed_);
}
if (toReindex_ != 0) {
output.writeUInt32(6, toReindex_);
}
if (reindexErrors_ != 0) {
output.writeUInt32(7, reindexErrors_);
}
if (reindexing_ != 0) {
output.writeUInt32(8, reindexing_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (processed_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, processed_);
}
if (toProcess_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, toProcess_);
}
if (errors_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, errors_);
}
if (processing_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, processing_);
}
if (reindexed_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, reindexed_);
}
if (toReindex_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, toReindex_);
}
if (reindexErrors_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, reindexErrors_);
}
if (reindexing_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, reindexing_);
}
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.InputCount)) {
return super.equals(obj);
}
com.clarifai.grpc.api.InputCount other = (com.clarifai.grpc.api.InputCount) obj;
if (getProcessed()
!= other.getProcessed()) return false;
if (getToProcess()
!= other.getToProcess()) return false;
if (getErrors()
!= other.getErrors()) return false;
if (getProcessing()
!= other.getProcessing()) return false;
if (getReindexed()
!= other.getReindexed()) return false;
if (getToReindex()
!= other.getToReindex()) return false;
if (getReindexErrors()
!= other.getReindexErrors()) return false;
if (getReindexing()
!= other.getReindexing()) 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) + PROCESSED_FIELD_NUMBER;
hash = (53 * hash) + getProcessed();
hash = (37 * hash) + TO_PROCESS_FIELD_NUMBER;
hash = (53 * hash) + getToProcess();
hash = (37 * hash) + ERRORS_FIELD_NUMBER;
hash = (53 * hash) + getErrors();
hash = (37 * hash) + PROCESSING_FIELD_NUMBER;
hash = (53 * hash) + getProcessing();
hash = (37 * hash) + REINDEXED_FIELD_NUMBER;
hash = (53 * hash) + getReindexed();
hash = (37 * hash) + TO_REINDEX_FIELD_NUMBER;
hash = (53 * hash) + getToReindex();
hash = (37 * hash) + REINDEX_ERRORS_FIELD_NUMBER;
hash = (53 * hash) + getReindexErrors();
hash = (37 * hash) + REINDEXING_FIELD_NUMBER;
hash = (53 * hash) + getReindexing();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.clarifai.grpc.api.InputCount parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.clarifai.grpc.api.InputCount 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.InputCount parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.clarifai.grpc.api.InputCount 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.InputCount parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.clarifai.grpc.api.InputCount parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.clarifai.grpc.api.InputCount parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.clarifai.grpc.api.InputCount 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.InputCount parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.clarifai.grpc.api.InputCount 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.InputCount parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.clarifai.grpc.api.InputCount 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.InputCount 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;
}
/**
*
* NOTE: inconsistency: this is weird mix of plural and singular words.
*
*
* Protobuf type {@code clarifai.api.InputCount}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:clarifai.api.InputCount)
com.clarifai.grpc.api.InputCountOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_InputCount_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_InputCount_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.clarifai.grpc.api.InputCount.class, com.clarifai.grpc.api.InputCount.Builder.class);
}
// Construct using com.clarifai.grpc.api.InputCount.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();
processed_ = 0;
toProcess_ = 0;
errors_ = 0;
processing_ = 0;
reindexed_ = 0;
toReindex_ = 0;
reindexErrors_ = 0;
reindexing_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_InputCount_descriptor;
}
@java.lang.Override
public com.clarifai.grpc.api.InputCount getDefaultInstanceForType() {
return com.clarifai.grpc.api.InputCount.getDefaultInstance();
}
@java.lang.Override
public com.clarifai.grpc.api.InputCount build() {
com.clarifai.grpc.api.InputCount result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.clarifai.grpc.api.InputCount buildPartial() {
com.clarifai.grpc.api.InputCount result = new com.clarifai.grpc.api.InputCount(this);
result.processed_ = processed_;
result.toProcess_ = toProcess_;
result.errors_ = errors_;
result.processing_ = processing_;
result.reindexed_ = reindexed_;
result.toReindex_ = toReindex_;
result.reindexErrors_ = reindexErrors_;
result.reindexing_ = reindexing_;
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.InputCount) {
return mergeFrom((com.clarifai.grpc.api.InputCount)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.clarifai.grpc.api.InputCount other) {
if (other == com.clarifai.grpc.api.InputCount.getDefaultInstance()) return this;
if (other.getProcessed() != 0) {
setProcessed(other.getProcessed());
}
if (other.getToProcess() != 0) {
setToProcess(other.getToProcess());
}
if (other.getErrors() != 0) {
setErrors(other.getErrors());
}
if (other.getProcessing() != 0) {
setProcessing(other.getProcessing());
}
if (other.getReindexed() != 0) {
setReindexed(other.getReindexed());
}
if (other.getToReindex() != 0) {
setToReindex(other.getToReindex());
}
if (other.getReindexErrors() != 0) {
setReindexErrors(other.getReindexErrors());
}
if (other.getReindexing() != 0) {
setReindexing(other.getReindexing());
}
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.InputCount parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.clarifai.grpc.api.InputCount) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int processed_ ;
/**
* uint32 processed = 1 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return The processed.
*/
@java.lang.Override
public int getProcessed() {
return processed_;
}
/**
* uint32 processed = 1 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @param value The processed to set.
* @return This builder for chaining.
*/
public Builder setProcessed(int value) {
processed_ = value;
onChanged();
return this;
}
/**
* uint32 processed = 1 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return This builder for chaining.
*/
public Builder clearProcessed() {
processed_ = 0;
onChanged();
return this;
}
private int toProcess_ ;
/**
* uint32 to_process = 2 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return The toProcess.
*/
@java.lang.Override
public int getToProcess() {
return toProcess_;
}
/**
* uint32 to_process = 2 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @param value The toProcess to set.
* @return This builder for chaining.
*/
public Builder setToProcess(int value) {
toProcess_ = value;
onChanged();
return this;
}
/**
* uint32 to_process = 2 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return This builder for chaining.
*/
public Builder clearToProcess() {
toProcess_ = 0;
onChanged();
return this;
}
private int errors_ ;
/**
* uint32 errors = 3 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return The errors.
*/
@java.lang.Override
public int getErrors() {
return errors_;
}
/**
* uint32 errors = 3 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @param value The errors to set.
* @return This builder for chaining.
*/
public Builder setErrors(int value) {
errors_ = value;
onChanged();
return this;
}
/**
* uint32 errors = 3 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return This builder for chaining.
*/
public Builder clearErrors() {
errors_ = 0;
onChanged();
return this;
}
private int processing_ ;
/**
* uint32 processing = 4 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return The processing.
*/
@java.lang.Override
public int getProcessing() {
return processing_;
}
/**
* uint32 processing = 4 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @param value The processing to set.
* @return This builder for chaining.
*/
public Builder setProcessing(int value) {
processing_ = value;
onChanged();
return this;
}
/**
* uint32 processing = 4 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return This builder for chaining.
*/
public Builder clearProcessing() {
processing_ = 0;
onChanged();
return this;
}
private int reindexed_ ;
/**
* uint32 reindexed = 5 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return The reindexed.
*/
@java.lang.Override
public int getReindexed() {
return reindexed_;
}
/**
* uint32 reindexed = 5 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @param value The reindexed to set.
* @return This builder for chaining.
*/
public Builder setReindexed(int value) {
reindexed_ = value;
onChanged();
return this;
}
/**
* uint32 reindexed = 5 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return This builder for chaining.
*/
public Builder clearReindexed() {
reindexed_ = 0;
onChanged();
return this;
}
private int toReindex_ ;
/**
* uint32 to_reindex = 6 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return The toReindex.
*/
@java.lang.Override
public int getToReindex() {
return toReindex_;
}
/**
* uint32 to_reindex = 6 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @param value The toReindex to set.
* @return This builder for chaining.
*/
public Builder setToReindex(int value) {
toReindex_ = value;
onChanged();
return this;
}
/**
* uint32 to_reindex = 6 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return This builder for chaining.
*/
public Builder clearToReindex() {
toReindex_ = 0;
onChanged();
return this;
}
private int reindexErrors_ ;
/**
* uint32 reindex_errors = 7 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return The reindexErrors.
*/
@java.lang.Override
public int getReindexErrors() {
return reindexErrors_;
}
/**
* uint32 reindex_errors = 7 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @param value The reindexErrors to set.
* @return This builder for chaining.
*/
public Builder setReindexErrors(int value) {
reindexErrors_ = value;
onChanged();
return this;
}
/**
* uint32 reindex_errors = 7 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return This builder for chaining.
*/
public Builder clearReindexErrors() {
reindexErrors_ = 0;
onChanged();
return this;
}
private int reindexing_ ;
/**
* uint32 reindexing = 8 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return The reindexing.
*/
@java.lang.Override
public int getReindexing() {
return reindexing_;
}
/**
* uint32 reindexing = 8 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @param value The reindexing to set.
* @return This builder for chaining.
*/
public Builder setReindexing(int value) {
reindexing_ = value;
onChanged();
return this;
}
/**
* uint32 reindexing = 8 [(.clarifai.api.utils.cl_show_if_empty) = true];
* @return This builder for chaining.
*/
public Builder clearReindexing() {
reindexing_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:clarifai.api.InputCount)
}
// @@protoc_insertion_point(class_scope:clarifai.api.InputCount)
private static final com.clarifai.grpc.api.InputCount DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.clarifai.grpc.api.InputCount();
}
public static com.clarifai.grpc.api.InputCount getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public InputCount parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new InputCount(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.InputCount getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}