Optional. Human-readable name of the function or method being invoked, with
optional context such as the class or package name. This information may be
used in contexts such as the logs viewer, where a file and line number are
less meaningful. The format can vary by language. For example:
qual.if.ied.Class.method (Java), dir/package.func (Go), function
(Python).
Optional. Human-readable name of the function or method being invoked, with
optional context such as the class or package name. This information may be
used in contexts such as the logs viewer, where a file and line number are
less meaningful. The format can vary by language. For example:
qual.if.ied.Class.method (Java), dir/package.func (Go), function
(Python).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-16 UTC."],[],[],null,["# Interface LogEntrySourceLocationOrBuilder (1.72.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.72.0 (latest)](/java/docs/reference/google-cloud-service-control/latest/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.70.0](/java/docs/reference/google-cloud-service-control/1.70.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.68.0](/java/docs/reference/google-cloud-service-control/1.68.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.67.0](/java/docs/reference/google-cloud-service-control/1.67.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.64.0](/java/docs/reference/google-cloud-service-control/1.64.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.63.0](/java/docs/reference/google-cloud-service-control/1.63.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.62.0](/java/docs/reference/google-cloud-service-control/1.62.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.60.0](/java/docs/reference/google-cloud-service-control/1.60.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.59.0](/java/docs/reference/google-cloud-service-control/1.59.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.58.0](/java/docs/reference/google-cloud-service-control/1.58.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.57.0](/java/docs/reference/google-cloud-service-control/1.57.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.56.0](/java/docs/reference/google-cloud-service-control/1.56.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.55.0](/java/docs/reference/google-cloud-service-control/1.55.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.54.0](/java/docs/reference/google-cloud-service-control/1.54.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.53.0](/java/docs/reference/google-cloud-service-control/1.53.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.52.0](/java/docs/reference/google-cloud-service-control/1.52.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.51.0](/java/docs/reference/google-cloud-service-control/1.51.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.49.0](/java/docs/reference/google-cloud-service-control/1.49.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.48.0](/java/docs/reference/google-cloud-service-control/1.48.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.47.0](/java/docs/reference/google-cloud-service-control/1.47.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.46.0](/java/docs/reference/google-cloud-service-control/1.46.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.45.0](/java/docs/reference/google-cloud-service-control/1.45.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.44.0](/java/docs/reference/google-cloud-service-control/1.44.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.43.0](/java/docs/reference/google-cloud-service-control/1.43.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.42.0](/java/docs/reference/google-cloud-service-control/1.42.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.41.0](/java/docs/reference/google-cloud-service-control/1.41.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.40.0](/java/docs/reference/google-cloud-service-control/1.40.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.39.0](/java/docs/reference/google-cloud-service-control/1.39.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.37.0](/java/docs/reference/google-cloud-service-control/1.37.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.36.0](/java/docs/reference/google-cloud-service-control/1.36.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.35.0](/java/docs/reference/google-cloud-service-control/1.35.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.34.0](/java/docs/reference/google-cloud-service-control/1.34.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.33.0](/java/docs/reference/google-cloud-service-control/1.33.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.32.0](/java/docs/reference/google-cloud-service-control/1.32.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.31.0](/java/docs/reference/google-cloud-service-control/1.31.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.30.0](/java/docs/reference/google-cloud-service-control/1.30.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.29.0](/java/docs/reference/google-cloud-service-control/1.29.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.28.0](/java/docs/reference/google-cloud-service-control/1.28.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.27.0](/java/docs/reference/google-cloud-service-control/1.27.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.24.0](/java/docs/reference/google-cloud-service-control/1.24.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.23.0](/java/docs/reference/google-cloud-service-control/1.23.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.22.0](/java/docs/reference/google-cloud-service-control/1.22.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.21.0](/java/docs/reference/google-cloud-service-control/1.21.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.20.0](/java/docs/reference/google-cloud-service-control/1.20.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.19.0](/java/docs/reference/google-cloud-service-control/1.19.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.18.0](/java/docs/reference/google-cloud-service-control/1.18.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.17.0](/java/docs/reference/google-cloud-service-control/1.17.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.16.0](/java/docs/reference/google-cloud-service-control/1.16.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.15.0](/java/docs/reference/google-cloud-service-control/1.15.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.14.0](/java/docs/reference/google-cloud-service-control/1.14.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.13.0](/java/docs/reference/google-cloud-service-control/1.13.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.12.0](/java/docs/reference/google-cloud-service-control/1.12.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.11.0](/java/docs/reference/google-cloud-service-control/1.11.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.9.0](/java/docs/reference/google-cloud-service-control/1.9.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.8.0](/java/docs/reference/google-cloud-service-control/1.8.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.7.0](/java/docs/reference/google-cloud-service-control/1.7.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.6.0](/java/docs/reference/google-cloud-service-control/1.6.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.5.0](/java/docs/reference/google-cloud-service-control/1.5.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.4.0](/java/docs/reference/google-cloud-service-control/1.4.0/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder)\n- [1.1.10](/java/docs/reference/google-cloud-service-control/1.1.10/com.google.api.servicecontrol.v1.LogEntrySourceLocationOrBuilder) \n\n public interface LogEntrySourceLocationOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getFile()\n\n public abstract String getFile()\n\nOptional. Source file name. Depending on the runtime environment, this\nmight be a simple name or a fully-qualified name.\n\n`string file = 1;`\n\n### getFileBytes()\n\n public abstract ByteString getFileBytes()\n\nOptional. Source file name. Depending on the runtime environment, this\nmight be a simple name or a fully-qualified name.\n\n`string file = 1;`\n\n### getFunction()\n\n public abstract String getFunction()\n\nOptional. Human-readable name of the function or method being invoked, with\noptional context such as the class or package name. This information may be\nused in contexts such as the logs viewer, where a file and line number are\nless meaningful. The format can vary by language. For example:\n`qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function`\n(Python).\n\n`string function = 3;`\n\n### getFunctionBytes()\n\n public abstract ByteString getFunctionBytes()\n\nOptional. Human-readable name of the function or method being invoked, with\noptional context such as the class or package name. This information may be\nused in contexts such as the logs viewer, where a file and line number are\nless meaningful. The format can vary by language. For example:\n`qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function`\n(Python).\n\n`string function = 3;`\n\n### getLine()\n\n public abstract long getLine()\n\nOptional. Line within the source file. 1-based; 0 indicates no line number\navailable.\n\n`int64 line = 2;`"]]