Class ListFunctionsResponse.Builder (2.53.0)

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

Response for the ListFunctions method.

Protobuf type google.cloud.functions.v2beta.ListFunctionsResponse

Static Methods

getDescriptor()

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

Methods

addAllFunctions(Iterable<? extends Function> values)

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

The functions that match the request.

repeated .google.cloud.functions.v2beta.Function functions = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.functions.v2beta.Function>
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(Function value)

public ListFunctionsResponse.Builder addFunctions(Function value)

The functions that match the request.

repeated .google.cloud.functions.v2beta.Function functions = 1;

Parameter
Name Description
value Function
Returns
Type Description
ListFunctionsResponse.Builder

addFunctions(Function.Builder builderForValue)

public ListFunctionsResponse.Builder addFunctions(Function.Builder builderForValue)

The functions that match the request.

repeated .google.cloud.functions.v2beta.Function functions = 1;

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

addFunctions(int index, Function value)

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

The functions that match the request.

repeated .google.cloud.functions.v2beta.Function functions = 1;

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

addFunctions(int index, Function.Builder builderForValue)

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

The functions that match the request.

repeated .google.cloud.functions.v2beta.Function functions = 1;

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

addFunctionsBuilder()

public Function.Builder addFunctionsBuilder()

The functions that match the request.

repeated .google.cloud.functions.v2beta.Function functions = 1;

Returns
Type Description
Function.Builder

addFunctionsBuilder(int index)

public Function.Builder addFunctionsBuilder(int index)

The functions that match the request.

repeated .google.cloud.functions.v2beta.Function functions = 1;

Parameter
Name Description
index int
Returns
Type Description
Function.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.v2beta.Function functions = 1;

Returns
Type Description
ListFunctionsResponse.Builder

clearNextPageToken()

public ListFunctionsResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

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 Function getFunctions(int index)

The functions that match the request.

repeated .google.cloud.functions.v2beta.Function functions = 1;

Parameter
Name Description
index int
Returns
Type Description
Function

getFunctionsBuilder(int index)

public Function.Builder getFunctionsBuilder(int index)

The functions that match the request.

repeated .google.cloud.functions.v2beta.Function functions = 1;

Parameter
Name Description
index int
Returns
Type Description
Function.Builder

getFunctionsBuilderList()

public List<Function.Builder> getFunctionsBuilderList()

The functions that match the request.

repeated .google.cloud.functions.v2beta.Function functions = 1;

Returns
Type Description
List<Builder>

getFunctionsCount()

public int getFunctionsCount()

The functions that match the request.

repeated .google.cloud.functions.v2beta.Function functions = 1;

Returns
Type Description
int

getFunctionsList()

public List<Function> getFunctionsList()

The functions that match the request.

repeated .google.cloud.functions.v2beta.Function functions = 1;

Returns
Type Description
List<Function>

getFunctionsOrBuilder(int index)

public FunctionOrBuilder getFunctionsOrBuilder(int index)

The functions that match the request.

repeated .google.cloud.functions.v2beta.Function functions = 1;

Parameter
Name Description
index int
Returns
Type Description
FunctionOrBuilder

getFunctionsOrBuilderList()

public List<? extends FunctionOrBuilder> getFunctionsOrBuilderList()

The functions that match the request.

repeated .google.cloud.functions.v2beta.Function functions = 1;

Returns
Type Description
List<? extends com.google.cloud.functions.v2beta.FunctionOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

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.v2beta.Function 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, Function value)

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

The functions that match the request.

repeated .google.cloud.functions.v2beta.Function functions = 1;

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

setFunctions(int index, Function.Builder builderForValue)

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

The functions that match the request.

repeated .google.cloud.functions.v2beta.Function functions = 1;

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

setNextPageToken(String value)

public ListFunctionsResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

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)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

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.