Class ListFunctionsRequest.Builder (2.14.0)

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

Request for the ListFunctions method.

Protobuf type google.cloud.functions.v1.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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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()

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.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

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()

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.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

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.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

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)

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.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)

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.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