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.GeneratedMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>
-
- com.google.cloud.location.ListLocationsResponse.Builder
-
- All Implemented Interfaces:
ListLocationsResponseOrBuilder
,com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.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.Builder
addAllLocations(java.lang.Iterable<? extends Location> values)
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(int index, 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.ListLocationsResponse.Builder
addLocations(Location.Builder builderForValue)
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, java.lang.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.java.util.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.java.util.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.java.util.List<? extends LocationOrBuilder>
getLocationsOrBuilderList()
A list of locations that matches the specified filter in the request.java.lang.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(ListLocationsResponse other)
ListLocationsResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
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, java.lang.Object value)
ListLocationsResponse.Builder
setLocations(int index, Location value)
A list of locations that matches the specified filter in the request.ListLocationsResponse.Builder
setLocations(int index, Location.Builder builderForValue)
A list of locations that matches the specified filter in the request.ListLocationsResponse.Builder
setNextPageToken(java.lang.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, java.lang.Object value)
ListLocationsResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessage.ExtendableBuilder
addExtension, clearExtension, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtensionCount, getField, getFieldBuilder, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, hasExtension, hasField, mergeExtensionFields, newBuilderForField, parseUnknownField, setExtension, setExtension
-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
getOneofFieldDescriptor, getUnknownFields, getUnknownFieldSetBuilder, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, onBuilt, onChanged, 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()
- Overrides:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>
-
clear
public ListLocationsResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<ListLocationsResponse.Builder>
-
getDefaultInstanceForType
public ListLocationsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListLocationsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListLocationsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListLocationsResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>
-
setField
public ListLocationsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>
-
clearField
public ListLocationsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>
-
clearOneof
public ListLocationsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>
-
setRepeatedField
public ListLocationsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>
-
addRepeatedField
public ListLocationsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>
-
mergeFrom
public ListLocationsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListLocationsResponse.Builder>
-
mergeFrom
public ListLocationsResponse.Builder mergeFrom(ListLocationsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,ListLocationsResponse.Builder>
-
mergeFrom
public ListLocationsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListLocationsResponse.Builder>
- Throws:
java.io.IOException
-
getLocationsList
public java.util.List<Location> getLocationsList()
A list of locations that matches the specified filter in the request.
repeated .google.cloud.location.Location locations = 1;
- Specified by:
getLocationsList
in 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:
getLocationsCount
in 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:
getLocations
in 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(java.lang.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:
getLocationsOrBuilder
in interfaceListLocationsResponseOrBuilder
-
getLocationsOrBuilderList
public java.util.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:
getLocationsOrBuilderList
in 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 java.util.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 java.lang.String getNextPageToken()
The standard List next-page token.
string next_page_token = 2;
- Specified by:
getNextPageToken
in interfaceListLocationsResponseOrBuilder
- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()
The standard List next-page token.
string next_page_token = 2;
- Specified by:
getNextPageTokenBytes
in interfaceListLocationsResponseOrBuilder
- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public ListLocationsResponse.Builder setNextPageToken(java.lang.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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>
-
mergeUnknownFields
public final ListLocationsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListLocationsResponse.Builder>
-
-