/** * * * <pre> * The mentions of this entity in the input document. The API currently * supports proper noun mentions. * </pre> * * <code>repeated .google.cloud.language.v1beta2.EntityMention mentions = 5;</code> */ public java.util.List<com.google.cloud.language.v1beta2.EntityMention.Builder> getMentionsBuilderList() { return getMentionsFieldBuilder().getBuilderList(); }
/** * * * <pre> * The mentions of this entity in the input document. The API currently * supports proper noun mentions. * </pre> * * <code>repeated .google.cloud.language.v1beta2.EntityMention mentions = 5;</code> */ public com.google.cloud.language.v1beta2.EntityMention.Builder getMentionsBuilder(int index) { return getMentionsFieldBuilder().getBuilder(index); } /**
/** * * * <pre> * The mentions of this entity in the input document. The API currently * supports proper noun mentions. * </pre> * * <code>repeated .google.cloud.language.v1beta2.EntityMention mentions = 5;</code> */ public com.google.cloud.language.v1beta2.EntityMention.Builder addMentionsBuilder(int index) { return getMentionsFieldBuilder() .addBuilder(index, com.google.cloud.language.v1beta2.EntityMention.getDefaultInstance()); } /**
mentionsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getMentionsFieldBuilder() : null; } else {
/** * * * <pre> * The mentions of this entity in the input document. The API currently * supports proper noun mentions. * </pre> * * <code>repeated .google.cloud.language.v1beta2.EntityMention mentions = 5;</code> */ public com.google.cloud.language.v1beta2.EntityMention.Builder addMentionsBuilder() { return getMentionsFieldBuilder() .addBuilder(com.google.cloud.language.v1beta2.EntityMention.getDefaultInstance()); } /**
private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getMentionsFieldBuilder(); } }