@java.lang.Override public com.google.devtools.clouderrorreporting.v1beta1.SourceLocation getDefaultInstanceForType() { return com.google.devtools.clouderrorreporting.v1beta1.SourceLocation.getDefaultInstance(); }
/** * * * <pre> * The location in the source code where the decision was made to * report the error, usually the place where it was logged. * For a logged exception this would be the source line where the * exception is logged, usually close to the place where it was * caught. This value is in contrast to `Exception.cause_location`, * which describes the source line where the exception was thrown. * </pre> * * <code>.google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;</code> */ public com.google.devtools.clouderrorreporting.v1beta1.SourceLocation getReportLocation() { return reportLocation_ == null ? com.google.devtools.clouderrorreporting.v1beta1.SourceLocation.getDefaultInstance() : reportLocation_; } /**
/** * * * <pre> * The location in the source code where the decision was made to * report the error, usually the place where it was logged. * For a logged exception this would be the source line where the * exception is logged, usually close to the place where it was * caught. This value is in contrast to `Exception.cause_location`, * which describes the source line where the exception was thrown. * </pre> * * <code>.google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;</code> */ public com.google.devtools.clouderrorreporting.v1beta1.SourceLocation getReportLocation() { if (reportLocationBuilder_ == null) { return reportLocation_ == null ? com.google.devtools.clouderrorreporting.v1beta1.SourceLocation.getDefaultInstance() : reportLocation_; } else { return reportLocationBuilder_.getMessage(); } } /**
/** * * * <pre> * The location in the source code where the decision was made to * report the error, usually the place where it was logged. * For a logged exception this would be the source line where the * exception is logged, usually close to the place where it was * caught. This value is in contrast to `Exception.cause_location`, * which describes the source line where the exception was thrown. * </pre> * * <code>.google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;</code> */ public com.google.devtools.clouderrorreporting.v1beta1.SourceLocationOrBuilder getReportLocationOrBuilder() { if (reportLocationBuilder_ != null) { return reportLocationBuilder_.getMessageOrBuilder(); } else { return reportLocation_ == null ? com.google.devtools.clouderrorreporting.v1beta1.SourceLocation.getDefaultInstance() : reportLocation_; } } /**
/** * * * <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> * 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; } /**
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; }
@java.lang.Override public com.google.devtools.clouderrorreporting.v1beta1.SourceLocation getDefaultInstanceForType() { return com.google.devtools.clouderrorreporting.v1beta1.SourceLocation.getDefaultInstance(); }
/** * * * <pre> * The location in the source code where the decision was made to * report the error, usually the place where it was logged. * For a logged exception this would be the source line where the * exception is logged, usually close to the place where it was * caught. This value is in contrast to `Exception.cause_location`, * which describes the source line where the exception was thrown. * </pre> * * <code>.google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;</code> */ public com.google.devtools.clouderrorreporting.v1beta1.SourceLocation getReportLocation() { return reportLocation_ == null ? com.google.devtools.clouderrorreporting.v1beta1.SourceLocation.getDefaultInstance() : reportLocation_; } /**
/** * * * <pre> * The location in the source code where the decision was made to * report the error, usually the place where it was logged. * For a logged exception this would be the source line where the * exception is logged, usually close to the place where it was * caught. This value is in contrast to `Exception.cause_location`, * which describes the source line where the exception was thrown. * </pre> * * <code>.google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;</code> */ public com.google.devtools.clouderrorreporting.v1beta1.SourceLocationOrBuilder getReportLocationOrBuilder() { if (reportLocationBuilder_ != null) { return reportLocationBuilder_.getMessageOrBuilder(); } else { return reportLocation_ == null ? com.google.devtools.clouderrorreporting.v1beta1.SourceLocation.getDefaultInstance() : reportLocation_; } } /**
/** * * * <pre> * The location in the source code where the decision was made to * report the error, usually the place where it was logged. * For a logged exception this would be the source line where the * exception is logged, usually close to the place where it was * caught. This value is in contrast to `Exception.cause_location`, * which describes the source line where the exception was thrown. * </pre> * * <code>.google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;</code> */ public com.google.devtools.clouderrorreporting.v1beta1.SourceLocation getReportLocation() { if (reportLocationBuilder_ == null) { return reportLocation_ == null ? com.google.devtools.clouderrorreporting.v1beta1.SourceLocation.getDefaultInstance() : reportLocation_; } else { return reportLocationBuilder_.getMessage(); } } /**
/** * * * <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> * 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; } /**
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; }