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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getCurrentLocations(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
getCurrentLocationsCount()
The locations of a resource after the execution of the operation.java.util.List<java.lang.String>
getCurrentLocationsList()
The locations of a resource after the execution of the operation.java.lang.String
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
getOriginalLocationsCount()
The locations of a resource prior to the execution of the operation.java.util.List<java.lang.String>
getOriginalLocationsList()
The locations of a resource prior to the execution of the operation.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getCurrentLocationsList
java.util.List<java.lang.String> 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
java.lang.String getCurrentLocations(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 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
java.util.List<java.lang.String> 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
java.lang.String getOriginalLocations(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 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.
-
-