Class ListLocationsRequest.Builder (2.26.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListLocationsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListLocationsRequest.Builder
Overrides

build()

public ListLocationsRequest build()
Returns
TypeDescription
ListLocationsRequest

buildPartial()

public ListLocationsRequest buildPartial()
Returns
TypeDescription
ListLocationsRequest

clear()

public ListLocationsRequest.Builder clear()
Returns
TypeDescription
ListLocationsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListLocationsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListLocationsRequest.Builder
Overrides

clearFilter()

public ListLocationsRequest.Builder clearFilter()

The standard list filter.

string filter = 2;

Returns
TypeDescription
ListLocationsRequest.Builder

This builder for chaining.

clearName()

public ListLocationsRequest.Builder clearName()

The resource that owns the locations collection, if applicable.

string name = 1;

Returns
TypeDescription
ListLocationsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListLocationsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListLocationsRequest.Builder
Overrides

clearPageSize()

public ListLocationsRequest.Builder clearPageSize()

The standard list page size.

int32 page_size = 3;

Returns
TypeDescription
ListLocationsRequest.Builder

This builder for chaining.

clearPageToken()

public ListLocationsRequest.Builder clearPageToken()

The standard list page token.

string page_token = 4;

Returns
TypeDescription
ListLocationsRequest.Builder

This builder for chaining.

clone()

public ListLocationsRequest.Builder clone()
Returns
TypeDescription
ListLocationsRequest.Builder
Overrides

getDefaultInstanceForType()

public ListLocationsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListLocationsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFilter()

public String getFilter()

The standard list filter.

string filter = 2;

Returns
TypeDescription
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

The standard list filter.

string filter = 2;

Returns
TypeDescription
ByteString

The bytes for filter.

getName()

public String getName()

The resource that owns the locations collection, if applicable.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource that owns the locations collection, if applicable.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getPageSize()

public int getPageSize()

The standard list page size.

int32 page_size = 3;

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

The standard list page token.

string page_token = 4;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

The standard list page token.

string page_token = 4;

Returns
TypeDescription
ByteString

The bytes for pageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListLocationsRequest other)

public ListLocationsRequest.Builder mergeFrom(ListLocationsRequest other)
Parameter
NameDescription
otherListLocationsRequest
Returns
TypeDescription
ListLocationsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListLocationsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListLocationsRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListLocationsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListLocationsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListLocationsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListLocationsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListLocationsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListLocationsRequest.Builder
Overrides

setFilter(String value)

public ListLocationsRequest.Builder setFilter(String value)

The standard list filter.

string filter = 2;

Parameter
NameDescription
valueString

The filter to set.

Returns
TypeDescription
ListLocationsRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListLocationsRequest.Builder setFilterBytes(ByteString value)

The standard list filter.

string filter = 2;

Parameter
NameDescription
valueByteString

The bytes for filter to set.

Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
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
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListLocationsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListLocationsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListLocationsRequest.Builder
Overrides