Package com.google.cloud.location
Class ListLocationsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>
-
- com.google.cloud.location.ListLocationsResponse.Builder
-
- All Implemented Interfaces:
ListLocationsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListLocationsResponse
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 typegoogle.cloud.location.ListLocationsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListLocationsResponse.BuilderaddAllLocations(Iterable<? extends Location> values)A list of locations that matches the specified filter in the request.ListLocationsResponse.BuilderaddLocations(int index, Location value)A list of locations that matches the specified filter in the request.ListLocationsResponse.BuilderaddLocations(int index, Location.Builder builderForValue)A list of locations that matches the specified filter in the request.ListLocationsResponse.BuilderaddLocations(Location value)A list of locations that matches the specified filter in the request.ListLocationsResponse.BuilderaddLocations(Location.Builder builderForValue)A list of locations that matches the specified filter in the request.Location.BuilderaddLocationsBuilder()A list of locations that matches the specified filter in the request.Location.BuilderaddLocationsBuilder(int index)A list of locations that matches the specified filter in the request.ListLocationsResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListLocationsResponsebuild()ListLocationsResponsebuildPartial()ListLocationsResponse.Builderclear()ListLocationsResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ListLocationsResponse.BuilderclearLocations()A list of locations that matches the specified filter in the request.ListLocationsResponse.BuilderclearNextPageToken()The standard List next-page token.ListLocationsResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ListLocationsResponse.Builderclone()ListLocationsResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()LocationgetLocations(int index)A list of locations that matches the specified filter in the request.Location.BuildergetLocationsBuilder(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.intgetLocationsCount()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.LocationOrBuildergetLocationsOrBuilder(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.StringgetNextPageToken()The standard List next-page token.com.google.protobuf.ByteStringgetNextPageTokenBytes()The standard List next-page token.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ListLocationsResponse.BuildermergeFrom(ListLocationsResponse other)ListLocationsResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ListLocationsResponse.BuildermergeFrom(com.google.protobuf.Message other)ListLocationsResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListLocationsResponse.BuilderremoveLocations(int index)A list of locations that matches the specified filter in the request.ListLocationsResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListLocationsResponse.BuildersetLocations(int index, Location value)A list of locations that matches the specified filter in the request.ListLocationsResponse.BuildersetLocations(int index, Location.Builder builderForValue)A list of locations that matches the specified filter in the request.ListLocationsResponse.BuildersetNextPageToken(String value)The standard List next-page token.ListLocationsResponse.BuildersetNextPageTokenBytes(com.google.protobuf.ByteString value)The standard List next-page token.ListLocationsResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ListLocationsResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>
-
clear
public ListLocationsResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>
-
getDefaultInstanceForType
public ListLocationsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListLocationsResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListLocationsResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListLocationsResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>
-
setField
public ListLocationsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>
-
clearField
public ListLocationsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>
-
clearOneof
public ListLocationsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>
-
setRepeatedField
public ListLocationsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>
-
addRepeatedField
public ListLocationsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>
-
mergeFrom
public ListLocationsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListLocationsResponse.Builder>
-
mergeFrom
public ListLocationsResponse.Builder mergeFrom(ListLocationsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>
-
mergeFrom
public ListLocationsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListLocationsResponse.Builder>- Throws:
IOException
-
getLocationsList
public List<Location> getLocationsList()
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;- Specified by:
getLocationsListin interfaceListLocationsResponseOrBuilder
-
getLocationsCount
public int getLocationsCount()
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;- Specified by:
getLocationsCountin interfaceListLocationsResponseOrBuilder
-
getLocations
public Location getLocations(int index)
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;- Specified by:
getLocationsin interfaceListLocationsResponseOrBuilder
-
setLocations
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;
-
setLocations
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;
-
addLocations
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;
-
addLocations
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;
-
addLocations
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;
-
addLocations
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;
-
addAllLocations
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;
-
clearLocations
public ListLocationsResponse.Builder clearLocations()
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
-
removeLocations
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;
-
getLocationsBuilder
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;
-
getLocationsOrBuilder
public LocationOrBuilder getLocationsOrBuilder(int index)
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;- Specified by:
getLocationsOrBuilderin interfaceListLocationsResponseOrBuilder
-
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;- Specified by:
getLocationsOrBuilderListin interfaceListLocationsResponseOrBuilder
-
addLocationsBuilder
public Location.Builder addLocationsBuilder()
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
-
addLocationsBuilder
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;
-
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;
-
getNextPageToken
public String getNextPageToken()
The standard List next-page token.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceListLocationsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()
The standard List next-page token.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceListLocationsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public ListLocationsResponse.Builder setNextPageToken(String value)
The standard List next-page token.
string next_page_token = 2;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
public ListLocationsResponse.Builder clearNextPageToken()
The standard List next-page token.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListLocationsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
The standard List next-page token.
string next_page_token = 2;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListLocationsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>
-
mergeUnknownFields
public final ListLocationsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>
-
-