Class ListFunctionsRequest.Builder (2.8.0)

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

Request for the ListFunctions method.

Protobuf type google.cloud.functions.v2alpha.ListFunctionsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListFunctionsRequest build()
Returns
TypeDescription
ListFunctionsRequest

buildPartial()

public ListFunctionsRequest buildPartial()
Returns
TypeDescription
ListFunctionsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListFunctionsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListFunctionsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListFunctionsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ListFunctionsRequest.Builder

This builder for chaining.

clearPageSize()

public ListFunctionsRequest.Builder clearPageSize()

Maximum number of functions to return per call.

int32 page_size = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ListFunctionsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListFunctionsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListFunctionsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for orderBy.

getPageSize()

public int getPageSize()

Maximum number of functions to return per call.

int32 page_size = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListFunctionsRequest other)

public ListFunctionsRequest.Builder mergeFrom(ListFunctionsRequest other)
Parameter
NameDescription
otherListFunctionsRequest
Returns
TypeDescription
ListFunctionsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ListFunctionsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The filter to set.

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

The bytes for filter to set.

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

The orderBy to set.

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

The bytes for orderBy to set.

Returns
TypeDescription
ListFunctionsRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListFunctionsRequest.Builder setPageSize(int value)

Maximum number of functions to return per call.

int32 page_size = 2;

Parameter
NameDescription
valueint

The pageSize to set.

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

The pageToken to set.

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

The bytes for pageToken to set.

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

The parent to set.

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

The bytes for parent to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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