The locations of a resource after the execution of the operation.
Requests to create or delete a location based resource must populate
the 'current_locations' field and not the 'original_locations' field.
For example:
"europe-west1-a"
"us-east1"
"nam3"
The locations of a resource after the execution of the operation.
Requests to create or delete a location based resource must populate
the 'current_locations' field and not the 'original_locations' field.
For example:
"europe-west1-a"
"us-east1"
"nam3"
The bytes of the currentLocations at the given index.
getCurrentLocationsCount()
publicabstractintgetCurrentLocationsCount()
The locations of a resource after the execution of the operation.
Requests to create or delete a location based resource must populate
the 'current_locations' field and not the 'original_locations' field.
For example:
"europe-west1-a"
"us-east1"
"nam3"
The locations of a resource after the execution of the operation.
Requests to create or delete a location based resource must populate
the 'current_locations' field and not the 'original_locations' field.
For example:
"europe-west1-a"
"us-east1"
"nam3"
The locations of a resource prior to the execution of the operation.
Requests that mutate the resource's location must populate both the
'original_locations' as well as the 'current_locations' fields.
For example:
"europe-west1-a"
"us-east1"
"nam3"
The locations of a resource prior to the execution of the operation.
Requests that mutate the resource's location must populate both the
'original_locations' as well as the 'current_locations' fields.
For example:
"europe-west1-a"
"us-east1"
"nam3"
The bytes of the originalLocations at the given index.
getOriginalLocationsCount()
publicabstractintgetOriginalLocationsCount()
The locations of a resource prior to the execution of the operation.
Requests that mutate the resource's location must populate both the
'original_locations' as well as the 'current_locations' fields.
For example:
"europe-west1-a"
"us-east1"
"nam3"
The locations of a resource prior to the execution of the operation.
Requests that mutate the resource's location must populate both the
'original_locations' as well as the 'current_locations' fields.
For example:
"europe-west1-a"
"us-east1"
"nam3"
[[["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-07 UTC."],[],[],null,["# Interface ResourceLocationOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.audit.v1.ResourceLocationOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.audit.v1.ResourceLocationOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.audit.v1.ResourceLocationOrBuilder) \n\n public interface ResourceLocationOrBuilder 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### getCurrentLocations(int index)\n\n public abstract String getCurrentLocations(int index)\n\nThe locations of a resource after the execution of the operation.\nRequests to create or delete a location based resource must populate\nthe 'current_locations' field and not the 'original_locations' field.\nFor example:\n\"europe-west1-a\"\n\"us-east1\"\n\"nam3\"\n\n`repeated string current_locations = 1;`\n\n### getCurrentLocationsBytes(int index)\n\n public abstract ByteString getCurrentLocationsBytes(int index)\n\nThe locations of a resource after the execution of the operation.\nRequests to create or delete a location based resource must populate\nthe 'current_locations' field and not the 'original_locations' field.\nFor example:\n\"europe-west1-a\"\n\"us-east1\"\n\"nam3\"\n\n`repeated string current_locations = 1;`\n\n### getCurrentLocationsCount()\n\n public abstract int getCurrentLocationsCount()\n\nThe locations of a resource after the execution of the operation.\nRequests to create or delete a location based resource must populate\nthe 'current_locations' field and not the 'original_locations' field.\nFor example:\n\"europe-west1-a\"\n\"us-east1\"\n\"nam3\"\n\n`repeated string current_locations = 1;`\n\n### getCurrentLocationsList()\n\n public abstract List\u003cString\u003e getCurrentLocationsList()\n\nThe locations of a resource after the execution of the operation.\nRequests to create or delete a location based resource must populate\nthe 'current_locations' field and not the 'original_locations' field.\nFor example:\n\"europe-west1-a\"\n\"us-east1\"\n\"nam3\"\n\n`repeated string current_locations = 1;`\n\n### getOriginalLocations(int index)\n\n public abstract String getOriginalLocations(int index)\n\nThe locations of a resource prior to the execution of the operation.\nRequests that mutate the resource's location must populate both the\n'original_locations' as well as the 'current_locations' fields.\nFor example:\n\"europe-west1-a\"\n\"us-east1\"\n\"nam3\"\n\n`repeated string original_locations = 2;`\n\n### getOriginalLocationsBytes(int index)\n\n public abstract ByteString getOriginalLocationsBytes(int index)\n\nThe locations of a resource prior to the execution of the operation.\nRequests that mutate the resource's location must populate both the\n'original_locations' as well as the 'current_locations' fields.\nFor example:\n\"europe-west1-a\"\n\"us-east1\"\n\"nam3\"\n\n`repeated string original_locations = 2;`\n\n### getOriginalLocationsCount()\n\n public abstract int getOriginalLocationsCount()\n\nThe locations of a resource prior to the execution of the operation.\nRequests that mutate the resource's location must populate both the\n'original_locations' as well as the 'current_locations' fields.\nFor example:\n\"europe-west1-a\"\n\"us-east1\"\n\"nam3\"\n\n`repeated string original_locations = 2;`\n\n### getOriginalLocationsList()\n\n public abstract List\u003cString\u003e getOriginalLocationsList()\n\nThe locations of a resource prior to the execution of the operation.\nRequests that mutate the resource's location must populate both the\n'original_locations' as well as the 'current_locations' fields.\nFor example:\n\"europe-west1-a\"\n\"us-east1\"\n\"nam3\"\n\n`repeated string original_locations = 2;`"]]