Package com.google.cloud.audit
Interface ResourceLocationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResourceLocation
,ResourceLocation.Builder
public interface ResourceLocationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetCurrentLocations
(int index) The locations of a resource after the execution of the operation.com.google.protobuf.ByteString
getCurrentLocationsBytes
(int index) The locations of a resource after the execution of the operation.int
The locations of a resource after the execution of the operation.The locations of a resource after the execution of the operation.getOriginalLocations
(int index) The locations of a resource prior to the execution of the operation.com.google.protobuf.ByteString
getOriginalLocationsBytes
(int index) The locations of a resource prior to the execution of the operation.int
The locations of a resource prior to the execution of the operation.The locations of a resource prior to the execution of the operation.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCurrentLocationsList
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"
repeated string current_locations = 1;
- Returns:
- A list containing the currentLocations.
-
getCurrentLocationsCount
int getCurrentLocationsCount()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"
repeated string current_locations = 1;
- Returns:
- The count of currentLocations.
-
getCurrentLocations
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"
repeated string current_locations = 1;
- Parameters:
index
- The index of the element to return.- Returns:
- The currentLocations at the given index.
-
getCurrentLocationsBytes
com.google.protobuf.ByteString getCurrentLocationsBytes(int index) 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"
repeated string current_locations = 1;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the currentLocations at the given index.
-
getOriginalLocationsList
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"
repeated string original_locations = 2;
- Returns:
- A list containing the originalLocations.
-
getOriginalLocationsCount
int getOriginalLocationsCount()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"
repeated string original_locations = 2;
- Returns:
- The count of originalLocations.
-
getOriginalLocations
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"
repeated string original_locations = 2;
- Parameters:
index
- The index of the element to return.- Returns:
- The originalLocations at the given index.
-
getOriginalLocationsBytes
com.google.protobuf.ByteString getOriginalLocationsBytes(int index) 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"
repeated string original_locations = 2;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the originalLocations at the given index.
-