Class ListFunctionsResponse.Builder (2.57.0)

public static final class ListFunctionsResponse.Builder extends GeneratedMessageV3.Builder<ListFunctionsResponse.Builder> implements ListFunctionsResponseOrBuilder

Response for the ListFunctions method.

Protobuf type google.cloud.functions.v1.ListFunctionsResponse

Static Methods

getDescriptor()

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

Methods

addAllFunctions(Iterable<? extends CloudFunction> values)

public ListFunctionsResponse.Builder addAllFunctions(Iterable<? extends CloudFunction> values)

The functions that match the request.

repeated .google.cloud.functions.v1.CloudFunction functions = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.functions.v1.CloudFunction>
Returns
Type Description
ListFunctionsResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListFunctionsResponse.Builder addAllUnreachable(Iterable<String> values)

Locations that could not be reached. The response does not include any functions from these locations.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListFunctionsResponse.Builder

This builder for chaining.

addFunctions(CloudFunction value)

public ListFunctionsResponse.Builder addFunctions(CloudFunction value)

The functions that match the request.

repeated .google.cloud.functions.v1.CloudFunction functions = 1;

Parameter
Name Description
value CloudFunction
Returns
Type Description
ListFunctionsResponse.Builder

addFunctions(CloudFunction.Builder builderForValue)

public ListFunctionsResponse.Builder addFunctions(CloudFunction.Builder builderForValue)

The functions that match the request.

repeated .google.cloud.functions.v1.CloudFunction functions = 1;

Parameter
Name Description
builderForValue CloudFunction.Builder
Returns
Type Description
ListFunctionsResponse.Builder

addFunctions(int index, CloudFunction value)

public ListFunctionsResponse.Builder addFunctions(int index, CloudFunction value)

The functions that match the request.

repeated .google.cloud.functions.v1.CloudFunction functions = 1;

Parameters
Name Description
index int
value CloudFunction
Returns
Type Description
ListFunctionsResponse.Builder

addFunctions(int index, CloudFunction.Builder builderForValue)

public ListFunctionsResponse.Builder addFunctions(int index, CloudFunction.Builder builderForValue)

The functions that match the request.

repeated .google.cloud.functions.v1.CloudFunction functions = 1;

Parameters
Name Description
index int
builderForValue CloudFunction.Builder
Returns
Type Description
ListFunctionsResponse.Builder

addFunctionsBuilder()

public CloudFunction.Builder addFunctionsBuilder()

The functions that match the request.

repeated .google.cloud.functions.v1.CloudFunction functions = 1;

Returns
Type Description
CloudFunction.Builder

addFunctionsBuilder(int index)

public CloudFunction.Builder addFunctionsBuilder(int index)

The functions that match the request.

repeated .google.cloud.functions.v1.CloudFunction functions = 1;

Parameter
Name Description
index int
Returns
Type Description
CloudFunction.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListFunctionsResponse.Builder addUnreachable(String value)

Locations that could not be reached. The response does not include any functions from these locations.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListFunctionsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListFunctionsResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached. The response does not include any functions from these locations.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListFunctionsResponse.Builder

This builder for chaining.

build()

public ListFunctionsResponse build()
Returns
Type Description
ListFunctionsResponse

buildPartial()

public ListFunctionsResponse buildPartial()
Returns
Type Description
ListFunctionsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFunctions()

public ListFunctionsResponse.Builder clearFunctions()

The functions that match the request.

repeated .google.cloud.functions.v1.CloudFunction functions = 1;

Returns
Type Description
ListFunctionsResponse.Builder

clearNextPageToken()

public ListFunctionsResponse.Builder clearNextPageToken()

If not empty, indicates that there may be more functions that match the request; this value should be passed in a new google.cloud.functions.v1.ListFunctionsRequest to get more functions.

string next_page_token = 2;

Returns
Type Description
ListFunctionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListFunctionsResponse.Builder clearUnreachable()

Locations that could not be reached. The response does not include any functions from these locations.

repeated string unreachable = 3;

Returns
Type Description
ListFunctionsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListFunctionsResponse getDefaultInstanceForType()
Returns
Type Description
ListFunctionsResponse

getDescriptorForType()

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

getFunctions(int index)

public CloudFunction getFunctions(int index)

The functions that match the request.

repeated .google.cloud.functions.v1.CloudFunction functions = 1;

Parameter
Name Description
index int
Returns
Type Description
CloudFunction

getFunctionsBuilder(int index)

public CloudFunction.Builder getFunctionsBuilder(int index)

The functions that match the request.

repeated .google.cloud.functions.v1.CloudFunction functions = 1;

Parameter
Name Description
index int
Returns
Type Description
CloudFunction.Builder

getFunctionsBuilderList()

public List<CloudFunction.Builder> getFunctionsBuilderList()

The functions that match the request.

repeated .google.cloud.functions.v1.CloudFunction functions = 1;

Returns
Type Description
List<Builder>

getFunctionsCount()

public int getFunctionsCount()

The functions that match the request.

repeated .google.cloud.functions.v1.CloudFunction functions = 1;

Returns
Type Description
int

getFunctionsList()

public List<CloudFunction> getFunctionsList()

The functions that match the request.

repeated .google.cloud.functions.v1.CloudFunction functions = 1;

Returns
Type Description
List<CloudFunction>

getFunctionsOrBuilder(int index)

public CloudFunctionOrBuilder getFunctionsOrBuilder(int index)

The functions that match the request.

repeated .google.cloud.functions.v1.CloudFunction functions = 1;

Parameter
Name Description
index int
Returns
Type Description
CloudFunctionOrBuilder

getFunctionsOrBuilderList()

public List<? extends CloudFunctionOrBuilder> getFunctionsOrBuilderList()

The functions that match the request.

repeated .google.cloud.functions.v1.CloudFunction functions = 1;

Returns
Type Description
List<? extends com.google.cloud.functions.v1.CloudFunctionOrBuilder>

getNextPageToken()

public String getNextPageToken()

If not empty, indicates that there may be more functions that match the request; this value should be passed in a new google.cloud.functions.v1.ListFunctionsRequest to get more functions.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If not empty, indicates that there may be more functions that match the request; this value should be passed in a new google.cloud.functions.v1.ListFunctionsRequest to get more functions.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached. The response does not include any functions from these locations.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Locations that could not be reached. The response does not include any functions from these locations.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Locations that could not be reached. The response does not include any functions from these locations.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached. The response does not include any functions from these locations.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListFunctionsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeFunctions(int index)

public ListFunctionsResponse.Builder removeFunctions(int index)

The functions that match the request.

repeated .google.cloud.functions.v1.CloudFunction functions = 1;

Parameter
Name Description
index int
Returns
Type Description
ListFunctionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setFunctions(int index, CloudFunction value)

public ListFunctionsResponse.Builder setFunctions(int index, CloudFunction value)

The functions that match the request.

repeated .google.cloud.functions.v1.CloudFunction functions = 1;

Parameters
Name Description
index int
value CloudFunction
Returns
Type Description
ListFunctionsResponse.Builder

setFunctions(int index, CloudFunction.Builder builderForValue)

public ListFunctionsResponse.Builder setFunctions(int index, CloudFunction.Builder builderForValue)

The functions that match the request.

repeated .google.cloud.functions.v1.CloudFunction functions = 1;

Parameters
Name Description
index int
builderForValue CloudFunction.Builder
Returns
Type Description
ListFunctionsResponse.Builder

setNextPageToken(String value)

public ListFunctionsResponse.Builder setNextPageToken(String value)

If not empty, indicates that there may be more functions that match the request; this value should be passed in a new google.cloud.functions.v1.ListFunctionsRequest to get more functions.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListFunctionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListFunctionsResponse.Builder setNextPageTokenBytes(ByteString value)

If not empty, indicates that there may be more functions that match the request; this value should be passed in a new google.cloud.functions.v1.ListFunctionsRequest to get more functions.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListFunctionsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListFunctionsResponse.Builder setUnreachable(int index, String value)

Locations that could not be reached. The response does not include any functions from these locations.

repeated string unreachable = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListFunctionsResponse.Builder

This builder for chaining.