- 2.65.0 (latest)
- 2.64.1
- 2.63.2
- 2.62.0
- 2.61.3
- 2.60.0
- 2.59.2
- 2.58.0
- 2.57.0
- 2.56.0
- 2.54.1
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.1
- 2.49.0
- 2.48.0
- 2.46.0
- 2.45.1
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.1
- 2.38.0
- 2.37.1
- 2.36.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.1
- 2.24.0
- 2.23.1
- 2.22.1
- 2.21.1
- 2.15.0
- 2.14.3
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.6
- 2.8.4
- 2.7.4
public static final class ListLocationsResponse.Builder extends GeneratedMessage.Builder<ListLocationsResponse.Builder> implements ListLocationsResponseOrBuilderThe response message for Locations.ListLocations.
Protobuf type google.cloud.location.ListLocationsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListLocationsResponse.BuilderImplements
ListLocationsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllLocations(Iterable<? extends Location> values)
public ListLocationsResponse.Builder addAllLocations(Iterable<? extends Location> values)A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.location.Location> |
| Returns | |
|---|---|
| Type | Description |
ListLocationsResponse.Builder |
|
addLocations(Location value)
public ListLocationsResponse.Builder addLocations(Location value)A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Location |
| Returns | |
|---|---|
| Type | Description |
ListLocationsResponse.Builder |
|
addLocations(Location.Builder builderForValue)
public ListLocationsResponse.Builder addLocations(Location.Builder builderForValue)A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Location.Builder |
| Returns | |
|---|---|
| Type | Description |
ListLocationsResponse.Builder |
|
addLocations(int index, Location value)
public ListLocationsResponse.Builder addLocations(int index, Location value)A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Location |
| Returns | |
|---|---|
| Type | Description |
ListLocationsResponse.Builder |
|
addLocations(int index, Location.Builder builderForValue)
public ListLocationsResponse.Builder addLocations(int index, Location.Builder builderForValue)A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Location.Builder |
| Returns | |
|---|---|
| Type | Description |
ListLocationsResponse.Builder |
|
addLocationsBuilder()
public Location.Builder addLocationsBuilder()A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
| Returns | |
|---|---|
| Type | Description |
Location.Builder |
|
addLocationsBuilder(int index)
public Location.Builder addLocationsBuilder(int index)A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Location.Builder |
|
build()
public ListLocationsResponse build()| Returns | |
|---|---|
| Type | Description |
ListLocationsResponse |
|
buildPartial()
public ListLocationsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListLocationsResponse |
|
clear()
public ListLocationsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListLocationsResponse.Builder |
|
clearLocations()
public ListLocationsResponse.Builder clearLocations()A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
| Returns | |
|---|---|
| Type | Description |
ListLocationsResponse.Builder |
|
clearNextPageToken()
public ListLocationsResponse.Builder clearNextPageToken()The standard List next-page token.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListLocationsResponse.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListLocationsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListLocationsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLocations(int index)
public Location getLocations(int index)A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Location |
|
getLocationsBuilder(int index)
public Location.Builder getLocationsBuilder(int index)A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Location.Builder |
|
getLocationsBuilderList()
public List<Location.Builder> getLocationsBuilderList()A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getLocationsCount()
public int getLocationsCount()A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getLocationsList()
public List<Location> getLocationsList()A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
| Returns | |
|---|---|
| Type | Description |
List<Location> |
|
getLocationsOrBuilder(int index)
public LocationOrBuilder getLocationsOrBuilder(int index)A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
LocationOrBuilder |
|
getLocationsOrBuilderList()
public List<? extends LocationOrBuilder> getLocationsOrBuilderList()A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.location.LocationOrBuilder> |
|
getNextPageToken()
public String getNextPageToken()The standard List next-page token.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()The standard List next-page token.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListLocationsResponse other)
public ListLocationsResponse.Builder mergeFrom(ListLocationsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListLocationsResponse |
| Returns | |
|---|---|
| Type | Description |
ListLocationsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListLocationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListLocationsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListLocationsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListLocationsResponse.Builder |
|
removeLocations(int index)
public ListLocationsResponse.Builder removeLocations(int index)A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListLocationsResponse.Builder |
|
setLocations(int index, Location value)
public ListLocationsResponse.Builder setLocations(int index, Location value)A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Location |
| Returns | |
|---|---|
| Type | Description |
ListLocationsResponse.Builder |
|
setLocations(int index, Location.Builder builderForValue)
public ListLocationsResponse.Builder setLocations(int index, Location.Builder builderForValue)A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Location.Builder |
| Returns | |
|---|---|
| Type | Description |
ListLocationsResponse.Builder |
|
setNextPageToken(String value)
public ListLocationsResponse.Builder setNextPageToken(String value)The standard List next-page token.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListLocationsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListLocationsResponse.Builder setNextPageTokenBytes(ByteString value)The standard List next-page token.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListLocationsResponse.Builder |
This builder for chaining. |