Class ListFunctionsRequest.Builder (2.44.0)

public static final class ListFunctionsRequest.Builder extends GeneratedMessageV3.Builder<ListFunctionsRequest.Builder> implements ListFunctionsRequestOrBuilder

Request for the ListFunctions method.

Protobuf type google.cloud.functions.v2.ListFunctionsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListFunctionsRequest build()
Returns
Type Description
ListFunctionsRequest

buildPartial()

public ListFunctionsRequest buildPartial()
Returns
Type Description
ListFunctionsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public ListFunctionsRequest.Builder clearFilter()

The filter for Functions that match the filter expression, following the syntax outlined in https://google.aip.dev/160.

string filter = 4;

Returns
Type Description
ListFunctionsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOrderBy()

public ListFunctionsRequest.Builder clearOrderBy()

The sorting order of the resources returned. Value should be a comma separated list of fields. The default sorting oder is ascending. See https://google.aip.dev/132#ordering.

string order_by = 5;

Returns
Type Description
ListFunctionsRequest.Builder

This builder for chaining.

clearPageSize()

public ListFunctionsRequest.Builder clearPageSize()

Maximum number of functions to return per call. The largest allowed page_size is 1,000, if the page_size is omitted or specified as greater than 1,000 then it will be replaced as 1,000. The size of the list response can be less than specified when used with filters.

int32 page_size = 2;

Returns
Type Description
ListFunctionsRequest.Builder

This builder for chaining.

clearPageToken()

public ListFunctionsRequest.Builder clearPageToken()

The value returned by the last ListFunctionsResponse; indicates that this is a continuation of a prior ListFunctions call, and that the system should return the next page of data.

string page_token = 3;

Returns
Type Description
ListFunctionsRequest.Builder

This builder for chaining.

clearParent()

public ListFunctionsRequest.Builder clearParent()

Required. The project and location from which the function should be listed, specified in the format projects/*/locations/* If you want to list functions in all locations, use "-" in place of a location. When listing functions in all locations, if one or more location(s) are unreachable, the response will contain functions from all reachable locations along with the names of any unreachable locations.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ListFunctionsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListFunctionsRequest getDefaultInstanceForType()
Returns
Type Description
ListFunctionsRequest

getDescriptorForType()

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

getFilter()

public String getFilter()

The filter for Functions that match the filter expression, following the syntax outlined in https://google.aip.dev/160.

string filter = 4;

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

The filter for Functions that match the filter expression, following the syntax outlined in https://google.aip.dev/160.

string filter = 4;

Returns
Type Description
ByteString

The bytes for filter.

getOrderBy()

public String getOrderBy()

The sorting order of the resources returned. Value should be a comma separated list of fields. The default sorting oder is ascending. See https://google.aip.dev/132#ordering.

string order_by = 5;

Returns
Type Description
String

The orderBy.

getOrderByBytes()

public ByteString getOrderByBytes()

The sorting order of the resources returned. Value should be a comma separated list of fields. The default sorting oder is ascending. See https://google.aip.dev/132#ordering.

string order_by = 5;

Returns
Type Description
ByteString

The bytes for orderBy.

getPageSize()

public int getPageSize()

Maximum number of functions to return per call. The largest allowed page_size is 1,000, if the page_size is omitted or specified as greater than 1,000 then it will be replaced as 1,000. The size of the list response can be less than specified when used with filters.

int32 page_size = 2;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

The value returned by the last ListFunctionsResponse; indicates that this is a continuation of a prior ListFunctions call, and that the system should return the next page of data.

string page_token = 3;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

The value returned by the last ListFunctionsResponse; indicates that this is a continuation of a prior ListFunctions call, and that the system should return the next page of data.

string page_token = 3;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The project and location from which the function should be listed, specified in the format projects/*/locations/* If you want to list functions in all locations, use "-" in place of a location. When listing functions in all locations, if one or more location(s) are unreachable, the response will contain functions from all reachable locations along with the names of any unreachable locations.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The project and location from which the function should be listed, specified in the format projects/*/locations/* If you want to list functions in all locations, use "-" in place of a location. When listing functions in all locations, if one or more location(s) are unreachable, the response will contain functions from all reachable locations along with the names of any unreachable locations.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListFunctionsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilter(String value)

public ListFunctionsRequest.Builder setFilter(String value)

The filter for Functions that match the filter expression, following the syntax outlined in https://google.aip.dev/160.

string filter = 4;

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ListFunctionsRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListFunctionsRequest.Builder setFilterBytes(ByteString value)

The filter for Functions that match the filter expression, following the syntax outlined in https://google.aip.dev/160.

string filter = 4;

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ListFunctionsRequest.Builder

This builder for chaining.

setOrderBy(String value)

public ListFunctionsRequest.Builder setOrderBy(String value)

The sorting order of the resources returned. Value should be a comma separated list of fields. The default sorting oder is ascending. See https://google.aip.dev/132#ordering.

string order_by = 5;

Parameter
Name Description
value String

The orderBy to set.

Returns
Type Description
ListFunctionsRequest.Builder

This builder for chaining.

setOrderByBytes(ByteString value)

public ListFunctionsRequest.Builder setOrderByBytes(ByteString value)

The sorting order of the resources returned. Value should be a comma separated list of fields. The default sorting oder is ascending. See https://google.aip.dev/132#ordering.

string order_by = 5;

Parameter
Name Description
value ByteString

The bytes for orderBy to set.

Returns
Type Description
ListFunctionsRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListFunctionsRequest.Builder setPageSize(int value)

Maximum number of functions to return per call. The largest allowed page_size is 1,000, if the page_size is omitted or specified as greater than 1,000 then it will be replaced as 1,000. The size of the list response can be less than specified when used with filters.

int32 page_size = 2;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListFunctionsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListFunctionsRequest.Builder setPageToken(String value)

The value returned by the last ListFunctionsResponse; indicates that this is a continuation of a prior ListFunctions call, and that the system should return the next page of data.

string page_token = 3;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListFunctionsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListFunctionsRequest.Builder setPageTokenBytes(ByteString value)

The value returned by the last ListFunctionsResponse; indicates that this is a continuation of a prior ListFunctions call, and that the system should return the next page of data.

string page_token = 3;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListFunctionsRequest.Builder

This builder for chaining.

setParent(String value)

public ListFunctionsRequest.Builder setParent(String value)

Required. The project and location from which the function should be listed, specified in the format projects/*/locations/* If you want to list functions in all locations, use "-" in place of a location. When listing functions in all locations, if one or more location(s) are unreachable, the response will contain functions from all reachable locations along with the names of any unreachable locations.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListFunctionsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListFunctionsRequest.Builder setParentBytes(ByteString value)

Required. The project and location from which the function should be listed, specified in the format projects/*/locations/* If you want to list functions in all locations, use "-" in place of a location. When listing functions in all locations, if one or more location(s) are unreachable, the response will contain functions from all reachable locations along with the names of any unreachable locations.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListFunctionsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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