@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.devtools.clouderrorreporting.v1beta1.SourceLocation)) { return super.equals(obj); } com.google.devtools.clouderrorreporting.v1beta1.SourceLocation other = (com.google.devtools.clouderrorreporting.v1beta1.SourceLocation) obj; boolean result = true; result = result && getFilePath().equals(other.getFilePath()); result = result && (getLineNumber() == other.getLineNumber()); result = result && getFunctionName().equals(other.getFunctionName()); result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + FILE_PATH_FIELD_NUMBER; hash = (53 * hash) + getFilePath().hashCode(); hash = (37 * hash) + LINE_NUMBER_FIELD_NUMBER; hash = (53 * hash) + getLineNumber(); hash = (37 * hash) + FUNCTION_NAME_FIELD_NUMBER; hash = (53 * hash) + getFunctionName().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
/** * * * <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; } /**
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 boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.devtools.clouderrorreporting.v1beta1.SourceLocation)) { return super.equals(obj); } com.google.devtools.clouderrorreporting.v1beta1.SourceLocation other = (com.google.devtools.clouderrorreporting.v1beta1.SourceLocation) obj; boolean result = true; result = result && getFilePath().equals(other.getFilePath()); result = result && (getLineNumber() == other.getLineNumber()); result = result && getFunctionName().equals(other.getFunctionName()); result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + FILE_PATH_FIELD_NUMBER; hash = (53 * hash) + getFilePath().hashCode(); hash = (37 * hash) + LINE_NUMBER_FIELD_NUMBER; hash = (53 * hash) + getLineNumber(); hash = (37 * hash) + FUNCTION_NAME_FIELD_NUMBER; hash = (53 * hash) + getFunctionName().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
/** * * * <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; } /**
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; }