Class ListLocationsRequest.Builder (2.46.0)

public static final class ListLocationsRequest.Builder extends GeneratedMessageV3.Builder<ListLocationsRequest.Builder> implements ListLocationsRequestOrBuilder

The request message for Locations.ListLocations.

Protobuf type google.cloud.location.ListLocationsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListLocationsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListLocationsRequest.Builder
Overrides

build()

public ListLocationsRequest build()
Returns
Type Description
ListLocationsRequest

buildPartial()

public ListLocationsRequest buildPartial()
Returns
Type Description
ListLocationsRequest

clear()

public ListLocationsRequest.Builder clear()
Returns
Type Description
ListLocationsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListLocationsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListLocationsRequest.Builder
Overrides

clearFilter()

public ListLocationsRequest.Builder clearFilter()

The standard list filter.

string filter = 2;

Returns
Type Description
ListLocationsRequest.Builder

This builder for chaining.

clearName()

public ListLocationsRequest.Builder clearName()

The resource that owns the locations collection, if applicable.

string name = 1;

Returns
Type Description
ListLocationsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListLocationsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListLocationsRequest.Builder
Overrides

clearPageSize()

public ListLocationsRequest.Builder clearPageSize()

The standard list page size.

int32 page_size = 3;

Returns
Type Description
ListLocationsRequest.Builder

This builder for chaining.

clearPageToken()

public ListLocationsRequest.Builder clearPageToken()

The standard list page token.

string page_token = 4;

Returns
Type Description
ListLocationsRequest.Builder

This builder for chaining.

clone()

public ListLocationsRequest.Builder clone()
Returns
Type Description
ListLocationsRequest.Builder
Overrides

getDefaultInstanceForType()

public ListLocationsRequest getDefaultInstanceForType()
Returns
Type Description
ListLocationsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFilter()

public String getFilter()

The standard list filter.

string filter = 2;

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

The standard list filter.

string filter = 2;

Returns
Type Description
ByteString

The bytes for filter.

getName()

public String getName()

The resource that owns the locations collection, if applicable.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource that owns the locations collection, if applicable.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getPageSize()

public int getPageSize()

The standard list page size.

int32 page_size = 3;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

The standard list page token.

string page_token = 4;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

The standard list page token.

string page_token = 4;

Returns
Type Description
ByteString

The bytes for pageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListLocationsRequest other)

public ListLocationsRequest.Builder mergeFrom(ListLocationsRequest other)
Parameter
Name Description
other ListLocationsRequest
Returns
Type Description
ListLocationsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListLocationsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListLocationsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListLocationsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListLocationsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListLocationsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListLocationsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListLocationsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListLocationsRequest.Builder
Overrides

setFilter(String value)

public ListLocationsRequest.Builder setFilter(String value)

The standard list filter.

string filter = 2;

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ListLocationsRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListLocationsRequest.Builder setFilterBytes(ByteString value)

The standard list filter.

string filter = 2;

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ListLocationsRequest.Builder

This builder for chaining.

setName(String value)

public ListLocationsRequest.Builder setName(String value)

The resource that owns the locations collection, if applicable.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ListLocationsRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ListLocationsRequest.Builder setNameBytes(ByteString value)

The resource that owns the locations collection, if applicable.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ListLocationsRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListLocationsRequest.Builder setPageSize(int value)

The standard list page size.

int32 page_size = 3;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListLocationsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListLocationsRequest.Builder setPageToken(String value)

The standard list page token.

string page_token = 4;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListLocationsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListLocationsRequest.Builder setPageTokenBytes(ByteString value)

The standard list page token.

string page_token = 4;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListLocationsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListLocationsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListLocationsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListLocationsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListLocationsRequest.Builder
Overrides