Class ListFunctionsResponse.Builder (2.10.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.functions.v2beta.Function>
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(Function value)

public ListFunctionsResponse.Builder addFunctions(Function value)

The functions that match the request.

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

Parameter
NameDescription
valueFunction
Returns
TypeDescription
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
NameDescription
builderForValueFunction.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueFunction
Returns
TypeDescription
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
NameDescription
indexint
builderForValueFunction.Builder
Returns
TypeDescription
ListFunctionsResponse.Builder

addFunctionsBuilder()

public Function.Builder addFunctionsBuilder()

The functions that match the request.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Function.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.v2beta.Function functions = 1;

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

The functions that match the request.

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

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

getFunctionsBuilderList()

public List<Function.Builder> getFunctionsBuilderList()

The functions that match the request.

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

Returns
TypeDescription
List<Builder>

getFunctionsCount()

public int getFunctionsCount()

The functions that match the request.

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

Returns
TypeDescription
int

getFunctionsList()

public List<Function> getFunctionsList()

The functions that match the request.

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

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

getFunctionsOrBuilderList()

public List<? extends FunctionOrBuilder> getFunctionsOrBuilderList()

The functions that match the request.

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

Returns
TypeDescription
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
TypeDescription
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
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.v2beta.Function 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, 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
NameDescription
indexint
valueFunction
Returns
TypeDescription
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
NameDescription
indexint
builderForValueFunction.Builder
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

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