/** * * * <pre> * ID of the trace to return. * </pre> * * <code>string trace_id = 2;</code> */ public Builder setTraceIdBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); traceId_ = value; onChanged(); return this; }
/** * * * <pre> * ID of the trace to return. * </pre> * * <code>string trace_id = 2;</code> */ public Builder setTraceId(java.lang.String value) { if (value == null) { throw new NullPointerException(); } traceId_ = value; onChanged(); return this; } /**
/** * * * <pre> * ID of the Cloud project where the trace data is stored. * </pre> * * <code>string project_id = 1;</code> */ public Builder setProjectId(java.lang.String value) { if (value == null) { throw new NullPointerException(); } projectId_ = value; onChanged(); return this; } /**
/** * * * <pre> * ID of the Cloud project where the trace data is stored. * </pre> * * <code>string project_id = 1;</code> */ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; onChanged(); return this; }
/** * * * <pre> * ID of the trace to return. * </pre> * * <code>string trace_id = 2;</code> */ public Builder clearTraceId() { traceId_ = getDefaultInstance().getTraceId(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.devtools.cloudtrace.v1.GetTraceRequest other) { if (other == com.google.devtools.cloudtrace.v1.GetTraceRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); } if (!other.getTraceId().isEmpty()) { traceId_ = other.traceId_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <pre> * ID of the Cloud project where the trace data is stored. * </pre> * * <code>string project_id = 1;</code> */ public Builder clearProjectId() { projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /**