if (subBuilder != null) { subBuilder.mergeFrom(attributes_); attributes_ = subBuilder.buildPartial();
if (subBuilder != null) { subBuilder.mergeFrom(attributes_); attributes_ = subBuilder.buildPartial();
/** * * * <pre> * A set of attributes on the span. You can have up to 32 attributes per * span. * </pre> * * <code>.google.devtools.cloudtrace.v2.Span.Attributes attributes = 7;</code> */ public Builder mergeAttributes(com.google.devtools.cloudtrace.v2.Span.Attributes value) { if (attributesBuilder_ == null) { if (attributes_ != null) { attributes_ = com.google.devtools.cloudtrace.v2.Span.Attributes.newBuilder(attributes_) .mergeFrom(value) .buildPartial(); } else { attributes_ = value; } onChanged(); } else { attributesBuilder_.mergeFrom(value); } return this; } /**
if (subBuilder != null) { subBuilder.mergeFrom(attributes_); attributes_ = subBuilder.buildPartial();
if (subBuilder != null) { subBuilder.mergeFrom(attributes_); attributes_ = subBuilder.buildPartial();
if (subBuilder != null) { subBuilder.mergeFrom(attributes_); attributes_ = subBuilder.buildPartial();
/** * * * <pre> * A set of attributes on the span. You can have up to 32 attributes per * span. * </pre> * * <code>.google.devtools.cloudtrace.v2.Span.Attributes attributes = 7;</code> */ public Builder mergeAttributes(com.google.devtools.cloudtrace.v2.Span.Attributes value) { if (attributesBuilder_ == null) { if (attributes_ != null) { attributes_ = com.google.devtools.cloudtrace.v2.Span.Attributes.newBuilder(attributes_) .mergeFrom(value) .buildPartial(); } else { attributes_ = value; } onChanged(); } else { attributesBuilder_.mergeFrom(value); } return this; } /**
/** * * * <pre> * A set of attributes on the link. You have have up to 32 attributes per * link. * </pre> * * <code>.google.devtools.cloudtrace.v2.Span.Attributes attributes = 4;</code> */ public Builder mergeAttributes(com.google.devtools.cloudtrace.v2.Span.Attributes value) { if (attributesBuilder_ == null) { if (attributes_ != null) { attributes_ = com.google.devtools.cloudtrace.v2.Span.Attributes.newBuilder(attributes_) .mergeFrom(value) .buildPartial(); } else { attributes_ = value; } onChanged(); } else { attributesBuilder_.mergeFrom(value); } return this; } /**
/** * * * <pre> * A set of attributes on the annotation. You can have up to 4 attributes * per Annotation. * </pre> * * <code>.google.devtools.cloudtrace.v2.Span.Attributes attributes = 2;</code> */ public Builder mergeAttributes(com.google.devtools.cloudtrace.v2.Span.Attributes value) { if (attributesBuilder_ == null) { if (attributes_ != null) { attributes_ = com.google.devtools.cloudtrace.v2.Span.Attributes.newBuilder(attributes_) .mergeFrom(value) .buildPartial(); } else { attributes_ = value; } onChanged(); } else { attributesBuilder_.mergeFrom(value); } return this; } /**
@java.lang.Override public com.google.devtools.cloudtrace.v2.Span.Attributes build() { com.google.devtools.cloudtrace.v2.Span.Attributes result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
if (subBuilder != null) { subBuilder.mergeFrom(attributes_); attributes_ = subBuilder.buildPartial();
/** * * * <pre> * A set of attributes on the link. You have have up to 32 attributes per * link. * </pre> * * <code>.google.devtools.cloudtrace.v2.Span.Attributes attributes = 4;</code> */ public Builder mergeAttributes(com.google.devtools.cloudtrace.v2.Span.Attributes value) { if (attributesBuilder_ == null) { if (attributes_ != null) { attributes_ = com.google.devtools.cloudtrace.v2.Span.Attributes.newBuilder(attributes_) .mergeFrom(value) .buildPartial(); } else { attributes_ = value; } onChanged(); } else { attributesBuilder_.mergeFrom(value); } return this; } /**
/** * * * <pre> * A set of attributes on the annotation. You can have up to 4 attributes * per Annotation. * </pre> * * <code>.google.devtools.cloudtrace.v2.Span.Attributes attributes = 2;</code> */ public Builder mergeAttributes(com.google.devtools.cloudtrace.v2.Span.Attributes value) { if (attributesBuilder_ == null) { if (attributes_ != null) { attributes_ = com.google.devtools.cloudtrace.v2.Span.Attributes.newBuilder(attributes_) .mergeFrom(value) .buildPartial(); } else { attributes_ = value; } onChanged(); } else { attributesBuilder_.mergeFrom(value); } return this; } /**
@java.lang.Override public com.google.devtools.cloudtrace.v2.Span.Attributes build() { com.google.devtools.cloudtrace.v2.Span.Attributes result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }