Package com.google.cloud.location
Class ListLocationsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
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 type
google.cloud.location.ListLocationsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllLocations(Iterable<? extends Location> values) A list of locations that matches the specified filter in the request.addLocations(int index, Location value) A list of locations that matches the specified filter in the request.addLocations(int index, Location.Builder builderForValue) A list of locations that matches the specified filter in the request.addLocations(Location value) A list of locations that matches the specified filter in the request.addLocations(Location.Builder builderForValue) A list of locations that matches the specified filter in the request.A list of locations that matches the specified filter in the request.addLocationsBuilder(int index) A list of locations that matches the specified filter in the request.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) A list of locations that matches the specified filter in the request.The standard List next-page token.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetLocations(int index) A list of locations that matches the specified filter in the request.getLocationsBuilder(int index) A list of locations that matches the specified filter in the request.A list of locations that matches the specified filter in the request.intA list of locations that matches the specified filter in the request.A list of locations that matches the specified filter in the request.getLocationsOrBuilder(int index) A list of locations that matches the specified filter in the request.List<? extends LocationOrBuilder>A list of locations that matches the specified filter in the request.The standard List next-page token.com.google.protobuf.ByteStringThe standard List next-page token.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(ListLocationsResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeLocations(int index) A list of locations that matches the specified filter in the request.setLocations(int index, Location value) A list of locations that matches the specified filter in the request.setLocations(int index, Location.Builder builderForValue) A list of locations that matches the specified filter in the request.setNextPageToken(String value) The standard List next-page token.setNextPageTokenBytes(com.google.protobuf.ByteString value) The standard List next-page token.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
- 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
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListLocationsResponse.Builder>
-
mergeFrom
-
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
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
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;- Specified by:
getLocationsin interfaceListLocationsResponseOrBuilder
-
setLocations
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1; -
setLocations
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1; -
addLocations
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1; -
addLocations
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1; -
addLocations
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1; -
addLocations
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1; -
addAllLocations
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1; -
clearLocations
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1; -
removeLocations
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1; -
getLocationsBuilder
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1; -
getLocationsOrBuilder
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;- Specified by:
getLocationsOrBuilderin interfaceListLocationsResponseOrBuilder
-
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
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1; -
addLocationsBuilder
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1; -
getLocationsBuilderList
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1; -
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
The standard List next-page token.
string next_page_token = 2;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
The standard List next-page token.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
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>
-