/** * * * <pre> * Stack frames in this stack trace. A maximum of 128 frames are allowed. * </pre> * * <code>.google.devtools.cloudtrace.v2.StackTrace.StackFrames stack_frames = 1;</code> */ public Builder setStackFrames(com.google.devtools.cloudtrace.v2.StackTrace.StackFrames value) { if (stackFramesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } stackFrames_ = value; onChanged(); } else { stackFramesBuilder_.setMessage(value); } return this; } /**
/** * * * <pre> * Stack frames in this stack trace. A maximum of 128 frames are allowed. * </pre> * * <code>.google.devtools.cloudtrace.v2.StackTrace.StackFrames stack_frames = 1;</code> */ public com.google.devtools.cloudtrace.v2.StackTrace.StackFrames.Builder getStackFramesBuilder() { onChanged(); return getStackFramesFieldBuilder().getBuilder(); } /**
/** * * * <pre> * Stack frames in this stack trace. A maximum of 128 frames are allowed. * </pre> * * <code>.google.devtools.cloudtrace.v2.StackTrace.StackFrames stack_frames = 1;</code> */ public Builder setStackFrames( com.google.devtools.cloudtrace.v2.StackTrace.StackFrames.Builder builderForValue) { if (stackFramesBuilder_ == null) { stackFrames_ = builderForValue.build(); onChanged(); } else { stackFramesBuilder_.setMessage(builderForValue.build()); } return this; } /**
/** * * * <pre> * Stack frames in this stack trace. A maximum of 128 frames are allowed. * </pre> * * <code>.google.devtools.cloudtrace.v2.StackTrace.StackFrames stack_frames = 1;</code> */ public Builder mergeStackFrames( com.google.devtools.cloudtrace.v2.StackTrace.StackFrames value) { if (stackFramesBuilder_ == null) { if (stackFrames_ != null) { stackFrames_ = com.google.devtools.cloudtrace.v2.StackTrace.StackFrames.newBuilder(stackFrames_) .mergeFrom(value) .buildPartial(); } else { stackFrames_ = value; } onChanged(); } else { stackFramesBuilder_.mergeFrom(value); } return this; } /**
/** * * * <pre> * Stack frames in this stack trace. A maximum of 128 frames are allowed. * </pre> * * <code>.google.devtools.cloudtrace.v2.StackTrace.StackFrames stack_frames = 1;</code> */ public Builder setStackFrames(com.google.devtools.cloudtrace.v2.StackTrace.StackFrames value) { if (stackFramesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } stackFrames_ = value; onChanged(); } else { stackFramesBuilder_.setMessage(value); } return this; } /**
/** * * * <pre> * Stack frames in this stack trace. A maximum of 128 frames are allowed. * </pre> * * <code>.google.devtools.cloudtrace.v2.StackTrace.StackFrames stack_frames = 1;</code> */ public Builder clearStackFrames() { if (stackFramesBuilder_ == null) { stackFrames_ = null; onChanged(); } else { stackFrames_ = null; stackFramesBuilder_ = null; } return this; } /**
/** * * * <pre> * The hash ID is used to conserve network bandwidth for duplicate * stack traces within a single trace. * Often multiple spans will have identical stack traces. * The first occurrence of a stack trace should contain both the * `stackFrame` content and a value in `stackTraceHashId`. * Subsequent spans within the same request can refer * to that stack trace by only setting `stackTraceHashId`. * </pre> * * <code>int64 stack_trace_hash_id = 2;</code> */ public Builder clearStackTraceHashId() { stackTraceHashId_ = 0L; onChanged(); return this; }
/** * * * <pre> * Stack frames in this stack trace. A maximum of 128 frames are allowed. * </pre> * * <code>.google.devtools.cloudtrace.v2.StackTrace.StackFrames stack_frames = 1;</code> */ public Builder setStackFrames( com.google.devtools.cloudtrace.v2.StackTrace.StackFrames.Builder builderForValue) { if (stackFramesBuilder_ == null) { stackFrames_ = builderForValue.build(); onChanged(); } else { stackFramesBuilder_.setMessage(builderForValue.build()); } return this; } /**
/** * * * <pre> * The hash ID is used to conserve network bandwidth for duplicate * stack traces within a single trace. * Often multiple spans will have identical stack traces. * The first occurrence of a stack trace should contain both the * `stackFrame` content and a value in `stackTraceHashId`. * Subsequent spans within the same request can refer * to that stack trace by only setting `stackTraceHashId`. * </pre> * * <code>int64 stack_trace_hash_id = 2;</code> */ public Builder setStackTraceHashId(long value) { stackTraceHashId_ = value; onChanged(); return this; } /**
/** * * * <pre> * Stack frames in this stack trace. A maximum of 128 frames are allowed. * </pre> * * <code>.google.devtools.cloudtrace.v2.StackTrace.StackFrames stack_frames = 1;</code> */ public com.google.devtools.cloudtrace.v2.StackTrace.StackFrames.Builder getStackFramesBuilder() { onChanged(); return getStackFramesFieldBuilder().getBuilder(); } /**
public Builder mergeFrom(com.google.devtools.cloudtrace.v2.StackTrace other) { if (other == com.google.devtools.cloudtrace.v2.StackTrace.getDefaultInstance()) return this; if (other.hasStackFrames()) { mergeStackFrames(other.getStackFrames()); } if (other.getStackTraceHashId() != 0L) { setStackTraceHashId(other.getStackTraceHashId()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <pre> * Stack frames in this stack trace. A maximum of 128 frames are allowed. * </pre> * * <code>.google.devtools.cloudtrace.v2.StackTrace.StackFrames stack_frames = 1;</code> */ public Builder mergeStackFrames( com.google.devtools.cloudtrace.v2.StackTrace.StackFrames value) { if (stackFramesBuilder_ == null) { if (stackFrames_ != null) { stackFrames_ = com.google.devtools.cloudtrace.v2.StackTrace.StackFrames.newBuilder(stackFrames_) .mergeFrom(value) .buildPartial(); } else { stackFrames_ = value; } onChanged(); } else { stackFramesBuilder_.mergeFrom(value); } return this; } /**
/** * * * <pre> * The hash ID is used to conserve network bandwidth for duplicate * stack traces within a single trace. * Often multiple spans will have identical stack traces. * The first occurrence of a stack trace should contain both the * `stackFrame` content and a value in `stackTraceHashId`. * Subsequent spans within the same request can refer * to that stack trace by only setting `stackTraceHashId`. * </pre> * * <code>int64 stack_trace_hash_id = 2;</code> */ public Builder setStackTraceHashId(long value) { stackTraceHashId_ = value; onChanged(); return this; } /**
/** * * * <pre> * The hash ID is used to conserve network bandwidth for duplicate * stack traces within a single trace. * Often multiple spans will have identical stack traces. * The first occurrence of a stack trace should contain both the * `stackFrame` content and a value in `stackTraceHashId`. * Subsequent spans within the same request can refer * to that stack trace by only setting `stackTraceHashId`. * </pre> * * <code>int64 stack_trace_hash_id = 2;</code> */ public Builder clearStackTraceHashId() { stackTraceHashId_ = 0L; onChanged(); return this; }
/** * * * <pre> * Stack frames in this stack trace. A maximum of 128 frames are allowed. * </pre> * * <code>.google.devtools.cloudtrace.v2.StackTrace.StackFrames stack_frames = 1;</code> */ public Builder clearStackFrames() { if (stackFramesBuilder_ == null) { stackFrames_ = null; onChanged(); } else { stackFrames_ = null; stackFramesBuilder_ = null; } return this; } /**
public Builder mergeFrom(com.google.devtools.cloudtrace.v2.StackTrace other) { if (other == com.google.devtools.cloudtrace.v2.StackTrace.getDefaultInstance()) return this; if (other.hasStackFrames()) { mergeStackFrames(other.getStackFrames()); } if (other.getStackTraceHashId() != 0L) { setStackTraceHashId(other.getStackTraceHashId()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }