/** * * * <pre> * Human-readable name of a function or method. * The value can include optional context like the class or package name. * For example, `my.package.MyClass.method` in case of Java. * </pre> * * <code>string function_name = 4;</code> */ public Builder setFunctionName(java.lang.String value) { if (value == null) { throw new NullPointerException(); } functionName_ = value; onChanged(); return this; } /**
/** * * * <pre> * The source code filename, which can include a truncated relative * path, or a full path from a production machine. * </pre> * * <code>string file_path = 1;</code> */ public Builder setFilePathBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filePath_ = value; onChanged(); return this; }
/** * * * <pre> * The source code filename, which can include a truncated relative * path, or a full path from a production machine. * </pre> * * <code>string file_path = 1;</code> */ public Builder setFilePath(java.lang.String value) { if (value == null) { throw new NullPointerException(); } filePath_ = value; onChanged(); return this; } /**
/** * * * <pre> * Human-readable name of a function or method. * The value can include optional context like the class or package name. * For example, `my.package.MyClass.method` in case of Java. * </pre> * * <code>string function_name = 4;</code> */ public Builder setFunctionName(java.lang.String value) { if (value == null) { throw new NullPointerException(); } functionName_ = value; onChanged(); return this; } /**
/** * * * <pre> * Human-readable name of a function or method. * The value can include optional context like the class or package name. * For example, `my.package.MyClass.method` in case of Java. * </pre> * * <code>string function_name = 4;</code> */ public Builder setFunctionNameBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); functionName_ = value; onChanged(); return this; }
/** * * * <pre> * The source code filename, which can include a truncated relative * path, or a full path from a production machine. * </pre> * * <code>string file_path = 1;</code> */ public Builder setFilePath(java.lang.String value) { if (value == null) { throw new NullPointerException(); } filePath_ = value; onChanged(); return this; } /**
/** * * * <pre> * The source code filename, which can include a truncated relative * path, or a full path from a production machine. * </pre> * * <code>string file_path = 1;</code> */ public Builder setFilePathBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filePath_ = value; onChanged(); return this; }
public Builder mergeFrom(com.google.devtools.clouderrorreporting.v1beta1.SourceLocation other) { if (other == com.google.devtools.clouderrorreporting.v1beta1.SourceLocation.getDefaultInstance()) return this; if (!other.getFilePath().isEmpty()) { filePath_ = other.filePath_; onChanged(); } if (other.getLineNumber() != 0) { setLineNumber(other.getLineNumber()); } if (!other.getFunctionName().isEmpty()) { functionName_ = other.functionName_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <pre> * The source code filename, which can include a truncated relative * path, or a full path from a production machine. * </pre> * * <code>string file_path = 1;</code> */ public Builder clearFilePath() { filePath_ = getDefaultInstance().getFilePath(); onChanged(); return this; } /**
/** * * * <pre> * 1-based. 0 indicates that the line number is unknown. * </pre> * * <code>int32 line_number = 2;</code> */ public Builder setLineNumber(int value) { lineNumber_ = value; onChanged(); return this; } /**
/** * * * <pre> * 1-based. 0 indicates that the line number is unknown. * </pre> * * <code>int32 line_number = 2;</code> */ public Builder clearLineNumber() { lineNumber_ = 0; onChanged(); return this; }
/** * * * <pre> * Human-readable name of a function or method. * The value can include optional context like the class or package name. * For example, `my.package.MyClass.method` in case of Java. * </pre> * * <code>string function_name = 4;</code> */ public Builder clearFunctionName() { functionName_ = getDefaultInstance().getFunctionName(); onChanged(); return this; } /**
/** * * * <pre> * Human-readable name of a function or method. * The value can include optional context like the class or package name. * For example, `my.package.MyClass.method` in case of Java. * </pre> * * <code>string function_name = 4;</code> */ public Builder setFunctionNameBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); functionName_ = value; onChanged(); return this; }
public Builder mergeFrom(com.google.devtools.clouderrorreporting.v1beta1.SourceLocation other) { if (other == com.google.devtools.clouderrorreporting.v1beta1.SourceLocation.getDefaultInstance()) return this; if (!other.getFilePath().isEmpty()) { filePath_ = other.filePath_; onChanged(); } if (other.getLineNumber() != 0) { setLineNumber(other.getLineNumber()); } if (!other.getFunctionName().isEmpty()) { functionName_ = other.functionName_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <pre> * Human-readable name of a function or method. * The value can include optional context like the class or package name. * For example, `my.package.MyClass.method` in case of Java. * </pre> * * <code>string function_name = 4;</code> */ public Builder clearFunctionName() { functionName_ = getDefaultInstance().getFunctionName(); onChanged(); return this; } /**
/** * * * <pre> * The source code filename, which can include a truncated relative * path, or a full path from a production machine. * </pre> * * <code>string file_path = 1;</code> */ public Builder clearFilePath() { filePath_ = getDefaultInstance().getFilePath(); onChanged(); return this; } /**
/** * * * <pre> * 1-based. 0 indicates that the line number is unknown. * </pre> * * <code>int32 line_number = 2;</code> */ public Builder setLineNumber(int value) { lineNumber_ = value; onChanged(); return this; } /**
/** * * * <pre> * 1-based. 0 indicates that the line number is unknown. * </pre> * * <code>int32 line_number = 2;</code> */ public Builder clearLineNumber() { lineNumber_ = 0; onChanged(); return this; }