/** * * * <pre> * The number of attributes that were discarded. Attributes can be discarded * because their keys are too long or because there are too many attributes. * If this value is 0 then all attributes are valid. * </pre> * * <code>int32 dropped_attributes_count = 2;</code> */ public Builder setDroppedAttributesCount(int value) { droppedAttributesCount_ = value; onChanged(); return this; } /**
/** * * * <pre> * The number of attributes that were discarded. Attributes can be discarded * because their keys are too long or because there are too many attributes. * If this value is 0 then all attributes are valid. * </pre> * * <code>int32 dropped_attributes_count = 2;</code> */ public Builder clearDroppedAttributesCount() { droppedAttributesCount_ = 0; onChanged(); return this; }
private com.google.protobuf.MapField< java.lang.String, com.google.devtools.cloudtrace.v2.AttributeValue> internalGetMutableAttributeMap() { onChanged(); ; if (attributeMap_ == null) { attributeMap_ = com.google.protobuf.MapField.newMapField(AttributeMapDefaultEntryHolder.defaultEntry); } if (!attributeMap_.isMutable()) { attributeMap_ = attributeMap_.copy(); } return attributeMap_; }
public Builder mergeFrom(com.google.devtools.cloudtrace.v2.Span.Attributes other) { if (other == com.google.devtools.cloudtrace.v2.Span.Attributes.getDefaultInstance()) return this; internalGetMutableAttributeMap().mergeFrom(other.internalGetAttributeMap()); if (other.getDroppedAttributesCount() != 0) { setDroppedAttributesCount(other.getDroppedAttributesCount()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <pre> * The number of attributes that were discarded. Attributes can be discarded * because their keys are too long or because there are too many attributes. * If this value is 0 then all attributes are valid. * </pre> * * <code>int32 dropped_attributes_count = 2;</code> */ public Builder setDroppedAttributesCount(int value) { droppedAttributesCount_ = value; onChanged(); return this; } /**
/** * * * <pre> * The number of attributes that were discarded. Attributes can be discarded * because their keys are too long or because there are too many attributes. * If this value is 0 then all attributes are valid. * </pre> * * <code>int32 dropped_attributes_count = 2;</code> */ public Builder clearDroppedAttributesCount() { droppedAttributesCount_ = 0; onChanged(); return this; }
private com.google.protobuf.MapField< java.lang.String, com.google.devtools.cloudtrace.v2.AttributeValue> internalGetMutableAttributeMap() { onChanged(); ; if (attributeMap_ == null) { attributeMap_ = com.google.protobuf.MapField.newMapField(AttributeMapDefaultEntryHolder.defaultEntry); } if (!attributeMap_.isMutable()) { attributeMap_ = attributeMap_.copy(); } return attributeMap_; }
public Builder mergeFrom(com.google.devtools.cloudtrace.v2.Span.Attributes other) { if (other == com.google.devtools.cloudtrace.v2.Span.Attributes.getDefaultInstance()) return this; internalGetMutableAttributeMap().mergeFrom(other.internalGetAttributeMap()); if (other.getDroppedAttributesCount() != 0) { setDroppedAttributesCount(other.getDroppedAttributesCount()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }