Class ListFunctionsResponse.Builder (2.16.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.functions.v1.CloudFunction>
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueCloudFunction
Returns
TypeDescription
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
NameDescription
builderForValueCloudFunction.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueCloudFunction
Returns
TypeDescription
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
NameDescription
indexint
builderForValueCloudFunction.Builder
Returns
TypeDescription
ListFunctionsResponse.Builder

addFunctionsBuilder()

public CloudFunction.Builder addFunctionsBuilder()

The functions that match the request.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
CloudFunction.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

The unreachable to add.

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

The bytes of the unreachable to add.

Returns
TypeDescription
ListFunctionsResponse.Builder

This builder for chaining.

build()

public ListFunctionsResponse build()
Returns
TypeDescription
ListFunctionsResponse

buildPartial()

public ListFunctionsResponse buildPartial()
Returns
TypeDescription
ListFunctionsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListFunctionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListFunctionsResponse.Builder
Overrides

clearFunctions()

public ListFunctionsResponse.Builder clearFunctions()

The functions that match the request.

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

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListFunctionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListFunctionsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
CloudFunction.Builder

getFunctionsBuilderList()

public List<CloudFunction.Builder> getFunctionsBuilderList()

The functions that match the request.

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

Returns
TypeDescription
List<Builder>

getFunctionsCount()

public int getFunctionsCount()

The functions that match the request.

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

Returns
TypeDescription
int

getFunctionsList()

public List<CloudFunction> getFunctionsList()

The functions that match the request.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
CloudFunctionOrBuilder

getFunctionsOrBuilderList()

public List<? extends CloudFunctionOrBuilder> getFunctionsOrBuilderList()

The functions that match the request.

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

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

The index of the element to return.

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

The index of the value to return.

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

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListFunctionsResponse other)

public ListFunctionsResponse.Builder mergeFrom(ListFunctionsResponse other)
Parameter
NameDescription
otherListFunctionsResponse
Returns
TypeDescription
ListFunctionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListFunctionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListFunctionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ListFunctionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListFunctionsResponse.Builder

This builder for chaining.