if (subBuilder != null) { subBuilder.mergeFrom(context_); context_ = subBuilder.buildPartial();
/** * * * <pre> * If present, contextual information is needed to understand where this image * comes from. * </pre> * * <code>.google.cloud.vision.v1.ImageAnnotationContext context = 21;</code> */ public Builder mergeContext(com.google.cloud.vision.v1.ImageAnnotationContext value) { if (contextBuilder_ == null) { if (context_ != null) { context_ = com.google.cloud.vision.v1.ImageAnnotationContext.newBuilder(context_) .mergeFrom(value) .buildPartial(); } else { context_ = value; } onChanged(); } else { contextBuilder_.mergeFrom(value); } return this; } /**
if (subBuilder != null) { subBuilder.mergeFrom(context_); context_ = subBuilder.buildPartial();
/** * * * <pre> * If present, contextual information is needed to understand where this image * comes from. * </pre> * * <code>.google.cloud.vision.v1.ImageAnnotationContext context = 21;</code> */ public Builder mergeContext(com.google.cloud.vision.v1.ImageAnnotationContext value) { if (contextBuilder_ == null) { if (context_ != null) { context_ = com.google.cloud.vision.v1.ImageAnnotationContext.newBuilder(context_) .mergeFrom(value) .buildPartial(); } else { context_ = value; } onChanged(); } else { contextBuilder_.mergeFrom(value); } return this; } /**
@java.lang.Override public com.google.cloud.vision.v1.ImageAnnotationContext build() { com.google.cloud.vision.v1.ImageAnnotationContext result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
@java.lang.Override public com.google.cloud.vision.v1.ImageAnnotationContext build() { com.google.cloud.vision.v1.ImageAnnotationContext result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }