@java.lang.Override public com.google.cloud.language.v1.ClassificationCategory getDefaultInstanceForType() { return com.google.cloud.language.v1.ClassificationCategory.getDefaultInstance(); }
/** * * * <pre> * Categories identified in the input document. * </pre> * * <code>repeated .google.cloud.language.v1.ClassificationCategory categories = 6;</code> */ public com.google.cloud.language.v1.ClassificationCategory.Builder addCategoriesBuilder() { return getCategoriesFieldBuilder() .addBuilder(com.google.cloud.language.v1.ClassificationCategory.getDefaultInstance()); } /**
/** * * * <pre> * Categories representing the input document. * </pre> * * <code>repeated .google.cloud.language.v1.ClassificationCategory categories = 1;</code> */ public com.google.cloud.language.v1.ClassificationCategory.Builder addCategoriesBuilder() { return getCategoriesFieldBuilder() .addBuilder(com.google.cloud.language.v1.ClassificationCategory.getDefaultInstance()); } /**
/** * * * <pre> * Categories identified in the input document. * </pre> * * <code>repeated .google.cloud.language.v1.ClassificationCategory categories = 6;</code> */ public com.google.cloud.language.v1.ClassificationCategory.Builder addCategoriesBuilder( int index) { return getCategoriesFieldBuilder() .addBuilder( index, com.google.cloud.language.v1.ClassificationCategory.getDefaultInstance()); } /**
/** * * * <pre> * Categories representing the input document. * </pre> * * <code>repeated .google.cloud.language.v1.ClassificationCategory categories = 1;</code> */ public com.google.cloud.language.v1.ClassificationCategory.Builder addCategoriesBuilder( int index) { return getCategoriesFieldBuilder() .addBuilder( index, com.google.cloud.language.v1.ClassificationCategory.getDefaultInstance()); } /**
/** * * * <pre> * The name of the category representing the document. * </pre> * * <code>string name = 1;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.cloud.language.v1.ClassificationCategory other) { if (other == com.google.cloud.language.v1.ClassificationCategory.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (other.getConfidence() != 0F) { setConfidence(other.getConfidence()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
@java.lang.Override public com.google.cloud.language.v1.ClassificationCategory getDefaultInstanceForType() { return com.google.cloud.language.v1.ClassificationCategory.getDefaultInstance(); }
/** * * * <pre> * Categories representing the input document. * </pre> * * <code>repeated .google.cloud.language.v1.ClassificationCategory categories = 1;</code> */ public com.google.cloud.language.v1.ClassificationCategory.Builder addCategoriesBuilder() { return getCategoriesFieldBuilder() .addBuilder(com.google.cloud.language.v1.ClassificationCategory.getDefaultInstance()); } /**
/** * * * <pre> * Categories identified in the input document. * </pre> * * <code>repeated .google.cloud.language.v1.ClassificationCategory categories = 6;</code> */ public com.google.cloud.language.v1.ClassificationCategory.Builder addCategoriesBuilder() { return getCategoriesFieldBuilder() .addBuilder(com.google.cloud.language.v1.ClassificationCategory.getDefaultInstance()); } /**
/** * * * <pre> * Categories representing the input document. * </pre> * * <code>repeated .google.cloud.language.v1.ClassificationCategory categories = 1;</code> */ public com.google.cloud.language.v1.ClassificationCategory.Builder addCategoriesBuilder( int index) { return getCategoriesFieldBuilder() .addBuilder( index, com.google.cloud.language.v1.ClassificationCategory.getDefaultInstance()); } /**
/** * * * <pre> * Categories identified in the input document. * </pre> * * <code>repeated .google.cloud.language.v1.ClassificationCategory categories = 6;</code> */ public com.google.cloud.language.v1.ClassificationCategory.Builder addCategoriesBuilder( int index) { return getCategoriesFieldBuilder() .addBuilder( index, com.google.cloud.language.v1.ClassificationCategory.getDefaultInstance()); } /**
/** * * * <pre> * The name of the category representing the document. * </pre> * * <code>string name = 1;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.cloud.language.v1.ClassificationCategory other) { if (other == com.google.cloud.language.v1.ClassificationCategory.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (other.getConfidence() != 0F) { setConfidence(other.getConfidence()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }