Class ListRuntimesResponse.Builder (2.17.0)

public static final class ListRuntimesResponse.Builder extends GeneratedMessageV3.Builder<ListRuntimesResponse.Builder> implements ListRuntimesResponseOrBuilder

Response for the ListRuntimes method.

Protobuf type google.cloud.functions.v2.ListRuntimesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllRuntimes(Iterable<? extends ListRuntimesResponse.Runtime> values)

public ListRuntimesResponse.Builder addAllRuntimes(Iterable<? extends ListRuntimesResponse.Runtime> values)

The runtimes that match the request.

repeated .google.cloud.functions.v2.ListRuntimesResponse.Runtime runtimes = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.functions.v2.ListRuntimesResponse.Runtime>
Returns
TypeDescription
ListRuntimesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListRuntimesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListRuntimesResponse.Builder
Overrides

addRuntimes(ListRuntimesResponse.Runtime value)

public ListRuntimesResponse.Builder addRuntimes(ListRuntimesResponse.Runtime value)

The runtimes that match the request.

repeated .google.cloud.functions.v2.ListRuntimesResponse.Runtime runtimes = 1;

Parameter
NameDescription
valueListRuntimesResponse.Runtime
Returns
TypeDescription
ListRuntimesResponse.Builder

addRuntimes(ListRuntimesResponse.Runtime.Builder builderForValue)

public ListRuntimesResponse.Builder addRuntimes(ListRuntimesResponse.Runtime.Builder builderForValue)

The runtimes that match the request.

repeated .google.cloud.functions.v2.ListRuntimesResponse.Runtime runtimes = 1;

Parameter
NameDescription
builderForValueListRuntimesResponse.Runtime.Builder
Returns
TypeDescription
ListRuntimesResponse.Builder

addRuntimes(int index, ListRuntimesResponse.Runtime value)

public ListRuntimesResponse.Builder addRuntimes(int index, ListRuntimesResponse.Runtime value)

The runtimes that match the request.

repeated .google.cloud.functions.v2.ListRuntimesResponse.Runtime runtimes = 1;

Parameters
NameDescription
indexint
valueListRuntimesResponse.Runtime
Returns
TypeDescription
ListRuntimesResponse.Builder

addRuntimes(int index, ListRuntimesResponse.Runtime.Builder builderForValue)

public ListRuntimesResponse.Builder addRuntimes(int index, ListRuntimesResponse.Runtime.Builder builderForValue)

The runtimes that match the request.

repeated .google.cloud.functions.v2.ListRuntimesResponse.Runtime runtimes = 1;

Parameters
NameDescription
indexint
builderForValueListRuntimesResponse.Runtime.Builder
Returns
TypeDescription
ListRuntimesResponse.Builder

addRuntimesBuilder()

public ListRuntimesResponse.Runtime.Builder addRuntimesBuilder()

The runtimes that match the request.

repeated .google.cloud.functions.v2.ListRuntimesResponse.Runtime runtimes = 1;

Returns
TypeDescription
ListRuntimesResponse.Runtime.Builder

addRuntimesBuilder(int index)

public ListRuntimesResponse.Runtime.Builder addRuntimesBuilder(int index)

The runtimes that match the request.

repeated .google.cloud.functions.v2.ListRuntimesResponse.Runtime runtimes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListRuntimesResponse.Runtime.Builder

build()

public ListRuntimesResponse build()
Returns
TypeDescription
ListRuntimesResponse

buildPartial()

public ListRuntimesResponse buildPartial()
Returns
TypeDescription
ListRuntimesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRuntimes()

public ListRuntimesResponse.Builder clearRuntimes()

The runtimes that match the request.

repeated .google.cloud.functions.v2.ListRuntimesResponse.Runtime runtimes = 1;

Returns
TypeDescription
ListRuntimesResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListRuntimesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListRuntimesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRuntimes(int index)

public ListRuntimesResponse.Runtime getRuntimes(int index)

The runtimes that match the request.

repeated .google.cloud.functions.v2.ListRuntimesResponse.Runtime runtimes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListRuntimesResponse.Runtime

getRuntimesBuilder(int index)

public ListRuntimesResponse.Runtime.Builder getRuntimesBuilder(int index)

The runtimes that match the request.

repeated .google.cloud.functions.v2.ListRuntimesResponse.Runtime runtimes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListRuntimesResponse.Runtime.Builder

getRuntimesBuilderList()

public List<ListRuntimesResponse.Runtime.Builder> getRuntimesBuilderList()

The runtimes that match the request.

repeated .google.cloud.functions.v2.ListRuntimesResponse.Runtime runtimes = 1;

Returns
TypeDescription
List<Builder>

getRuntimesCount()

public int getRuntimesCount()

The runtimes that match the request.

repeated .google.cloud.functions.v2.ListRuntimesResponse.Runtime runtimes = 1;

Returns
TypeDescription
int

getRuntimesList()

public List<ListRuntimesResponse.Runtime> getRuntimesList()

The runtimes that match the request.

repeated .google.cloud.functions.v2.ListRuntimesResponse.Runtime runtimes = 1;

Returns
TypeDescription
List<Runtime>

getRuntimesOrBuilder(int index)

public ListRuntimesResponse.RuntimeOrBuilder getRuntimesOrBuilder(int index)

The runtimes that match the request.

repeated .google.cloud.functions.v2.ListRuntimesResponse.Runtime runtimes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListRuntimesResponse.RuntimeOrBuilder

getRuntimesOrBuilderList()

public List<? extends ListRuntimesResponse.RuntimeOrBuilder> getRuntimesOrBuilderList()

The runtimes that match the request.

repeated .google.cloud.functions.v2.ListRuntimesResponse.Runtime runtimes = 1;

Returns
TypeDescription
List<? extends com.google.cloud.functions.v2.ListRuntimesResponse.RuntimeOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListRuntimesResponse other)

public ListRuntimesResponse.Builder mergeFrom(ListRuntimesResponse other)
Parameter
NameDescription
otherListRuntimesResponse
Returns
TypeDescription
ListRuntimesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListRuntimesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListRuntimesResponse.Builder
Overrides

removeRuntimes(int index)

public ListRuntimesResponse.Builder removeRuntimes(int index)

The runtimes that match the request.

repeated .google.cloud.functions.v2.ListRuntimesResponse.Runtime runtimes = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListRuntimesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListRuntimesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListRuntimesResponse.Builder
Overrides

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

public ListRuntimesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListRuntimesResponse.Builder
Overrides

setRuntimes(int index, ListRuntimesResponse.Runtime value)

public ListRuntimesResponse.Builder setRuntimes(int index, ListRuntimesResponse.Runtime value)

The runtimes that match the request.

repeated .google.cloud.functions.v2.ListRuntimesResponse.Runtime runtimes = 1;

Parameters
NameDescription
indexint
valueListRuntimesResponse.Runtime
Returns
TypeDescription
ListRuntimesResponse.Builder

setRuntimes(int index, ListRuntimesResponse.Runtime.Builder builderForValue)

public ListRuntimesResponse.Builder setRuntimes(int index, ListRuntimesResponse.Runtime.Builder builderForValue)

The runtimes that match the request.

repeated .google.cloud.functions.v2.ListRuntimesResponse.Runtime runtimes = 1;

Parameters
NameDescription
indexint
builderForValueListRuntimesResponse.Runtime.Builder
Returns
TypeDescription
ListRuntimesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListRuntimesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListRuntimesResponse.Builder
Overrides