Interface ResourceLocationOrBuilder (2.40.0)

public interface ResourceLocationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCurrentLocations(int index)

public abstract 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;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The currentLocations at the given index.

getCurrentLocationsBytes(int index)

public abstract 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;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the currentLocations at the given index.

getCurrentLocationsCount()

public abstract 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
Type Description
int

The count of currentLocations.

getCurrentLocationsList()

public abstract List<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
Type Description
List<String>

A list containing the currentLocations.

getOriginalLocations(int index)

public abstract 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;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The originalLocations at the given index.

getOriginalLocationsBytes(int index)

public abstract 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;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the originalLocations at the given index.

getOriginalLocationsCount()

public abstract 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
Type Description
int

The count of originalLocations.

getOriginalLocationsList()

public abstract List<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
Type Description
List<String>

A list containing the originalLocations.