public static final class ListLocationsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder> implements ListLocationsResponseOrBuilder
The response message for [Locations.ListLocations][google.cloud.location.Locations.ListLocations].Protobuf type
google.cloud.location.ListLocationsResponse| Modifier and Type | Method and Description |
|---|---|
ListLocationsResponse.Builder |
addAllLocations(Iterable<? extends Location> values)
A list of locations that matches the specified filter in the request.
|
ListLocationsResponse.Builder |
addLocations(int index,
Location.Builder builderForValue)
A list of locations that matches the specified filter in the request.
|
ListLocationsResponse.Builder |
addLocations(int index,
Location value)
A list of locations that matches the specified filter in the request.
|
ListLocationsResponse.Builder |
addLocations(Location.Builder builderForValue)
A list of locations that matches the specified filter in the request.
|
ListLocationsResponse.Builder |
addLocations(Location value)
A list of locations that matches the specified filter in the request.
|
Location.Builder |
addLocationsBuilder()
A list of locations that matches the specified filter in the request.
|
Location.Builder |
addLocationsBuilder(int index)
A list of locations that matches the specified filter in the request.
|
ListLocationsResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListLocationsResponse |
build() |
ListLocationsResponse |
buildPartial() |
ListLocationsResponse.Builder |
clear() |
ListLocationsResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListLocationsResponse.Builder |
clearLocations()
A list of locations that matches the specified filter in the request.
|
ListLocationsResponse.Builder |
clearNextPageToken()
The standard List next-page token.
|
ListLocationsResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListLocationsResponse.Builder |
clone() |
ListLocationsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Location |
getLocations(int index)
A list of locations that matches the specified filter in the request.
|
Location.Builder |
getLocationsBuilder(int index)
A list of locations that matches the specified filter in the request.
|
List<Location.Builder> |
getLocationsBuilderList()
A list of locations that matches the specified filter in the request.
|
int |
getLocationsCount()
A list of locations that matches the specified filter in the request.
|
List<Location> |
getLocationsList()
A list of locations that matches the specified filter in the request.
|
LocationOrBuilder |
getLocationsOrBuilder(int index)
A list of locations that matches the specified filter in the request.
|
List<? extends LocationOrBuilder> |
getLocationsOrBuilderList()
A list of locations that matches the specified filter in the request.
|
String |
getNextPageToken()
The standard List next-page token.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
The standard List next-page token.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListLocationsResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListLocationsResponse.Builder |
mergeFrom(ListLocationsResponse other) |
ListLocationsResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListLocationsResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListLocationsResponse.Builder |
removeLocations(int index)
A list of locations that matches the specified filter in the request.
|
ListLocationsResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListLocationsResponse.Builder |
setLocations(int index,
Location.Builder builderForValue)
A list of locations that matches the specified filter in the request.
|
ListLocationsResponse.Builder |
setLocations(int index,
Location value)
A list of locations that matches the specified filter in the request.
|
ListLocationsResponse.Builder |
setNextPageToken(String value)
The standard List next-page token.
|
ListLocationsResponse.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
The standard List next-page token.
|
ListLocationsResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListLocationsResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>public ListLocationsResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>public ListLocationsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListLocationsResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListLocationsResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListLocationsResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>public ListLocationsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>public ListLocationsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>public ListLocationsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>public ListLocationsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>public ListLocationsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>public ListLocationsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListLocationsResponse.Builder>public ListLocationsResponse.Builder mergeFrom(ListLocationsResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>public ListLocationsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListLocationsResponse.Builder>IOExceptionpublic List<Location> getLocationsList()
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;getLocationsList in interface ListLocationsResponseOrBuilderpublic int getLocationsCount()
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;getLocationsCount in interface ListLocationsResponseOrBuilderpublic Location getLocations(int index)
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;getLocations in interface ListLocationsResponseOrBuilderpublic 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;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;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;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;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;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;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;public ListLocationsResponse.Builder clearLocations()
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;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;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;public LocationOrBuilder getLocationsOrBuilder(int index)
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;getLocationsOrBuilder in interface ListLocationsResponseOrBuilderpublic List<? extends LocationOrBuilder> getLocationsOrBuilderList()
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;getLocationsOrBuilderList in interface ListLocationsResponseOrBuilderpublic Location.Builder addLocationsBuilder()
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;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;public List<Location.Builder> getLocationsBuilderList()
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;public String getNextPageToken()
The standard List next-page token.
string next_page_token = 2;getNextPageToken in interface ListLocationsResponseOrBuilderpublic com.google.protobuf.ByteString getNextPageTokenBytes()
The standard List next-page token.
string next_page_token = 2;getNextPageTokenBytes in interface ListLocationsResponseOrBuilderpublic ListLocationsResponse.Builder setNextPageToken(String value)
The standard List next-page token.
string next_page_token = 2;value - The nextPageToken to set.public ListLocationsResponse.Builder clearNextPageToken()
The standard List next-page token.
string next_page_token = 2;public ListLocationsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
The standard List next-page token.
string next_page_token = 2;value - The bytes for nextPageToken to set.public final ListLocationsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>public final ListLocationsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>Copyright © 2022 Google LLC. All rights reserved.