Class ListRuntimesResponse.Runtime.Builder (2.43.0)

publicstaticfinalclass ListRuntimesResponse.Runtime.BuilderextendsGeneratedMessageV3.Builder<ListRuntimesResponse.Runtime.Builder>implementsListRuntimesResponse.RuntimeOrBuilder

Describes a runtime and any special information (e.g., deprecation status) related to it.

Protobuf type google.cloud.functions.v2.ListRuntimesResponse.Runtime

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addAllWarnings(Iterable<String> values)

publicListRuntimesResponse.Runtime.BuilderaddAllWarnings(Iterable<String>values)

Warning messages, e.g., a deprecation warning.

repeated string warnings = 3;

Parameter
Name Description
values Iterable<String>

The warnings to add.

Returns
Type Description
ListRuntimesResponse.Runtime.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicListRuntimesResponse.Runtime.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListRuntimesResponse.Runtime.Builder
Overrides

addWarnings(String value)

publicListRuntimesResponse.Runtime.BuilderaddWarnings(Stringvalue)

Warning messages, e.g., a deprecation warning.

repeated string warnings = 3;

Parameter
Name Description
value String

The warnings to add.

Returns
Type Description
ListRuntimesResponse.Runtime.Builder

This builder for chaining.

addWarningsBytes(ByteString value)

publicListRuntimesResponse.Runtime.BuilderaddWarningsBytes(ByteStringvalue)

Warning messages, e.g., a deprecation warning.

repeated string warnings = 3;

Parameter
Name Description
value ByteString

The bytes of the warnings to add.

Returns
Type Description
ListRuntimesResponse.Runtime.Builder

This builder for chaining.

build()

publicListRuntimesResponse.Runtimebuild()
Returns
Type Description
ListRuntimesResponse.Runtime

buildPartial()

publicListRuntimesResponse.RuntimebuildPartial()
Returns
Type Description
ListRuntimesResponse.Runtime

clear()

publicListRuntimesResponse.Runtime.Builderclear()
Returns
Type Description
ListRuntimesResponse.Runtime.Builder
Overrides

clearDisplayName()

publicListRuntimesResponse.Runtime.BuilderclearDisplayName()

The user facing name, eg 'Go 1.13', 'Node.js 12', etc.

string display_name = 5;

Returns
Type Description
ListRuntimesResponse.Runtime.Builder

This builder for chaining.

clearEnvironment()

publicListRuntimesResponse.Runtime.BuilderclearEnvironment()

The environment for the runtime.

.google.cloud.functions.v2.Environment environment = 4;

Returns
Type Description
ListRuntimesResponse.Runtime.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

publicListRuntimesResponse.Runtime.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListRuntimesResponse.Runtime.Builder
Overrides

clearName()

publicListRuntimesResponse.Runtime.BuilderclearName()

The name of the runtime, e.g., 'go113', 'nodejs12', etc.

string name = 1;

Returns
Type Description
ListRuntimesResponse.Runtime.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

publicListRuntimesResponse.Runtime.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListRuntimesResponse.Runtime.Builder
Overrides

clearStage()

publicListRuntimesResponse.Runtime.BuilderclearStage()

The stage of life this runtime is in, e.g., BETA, GA, etc.

.google.cloud.functions.v2.ListRuntimesResponse.RuntimeStage stage = 2;

Returns
Type Description
ListRuntimesResponse.Runtime.Builder

This builder for chaining.

clearWarnings()

publicListRuntimesResponse.Runtime.BuilderclearWarnings()

Warning messages, e.g., a deprecation warning.

repeated string warnings = 3;

Returns
Type Description
ListRuntimesResponse.Runtime.Builder

This builder for chaining.

clone()

publicListRuntimesResponse.Runtime.Builderclone()
Returns
Type Description
ListRuntimesResponse.Runtime.Builder
Overrides

getDefaultInstanceForType()

publicListRuntimesResponse.RuntimegetDefaultInstanceForType()
Returns
Type Description
ListRuntimesResponse.Runtime

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisplayName()

publicStringgetDisplayName()

The user facing name, eg 'Go 1.13', 'Node.js 12', etc.

string display_name = 5;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

publicByteStringgetDisplayNameBytes()

The user facing name, eg 'Go 1.13', 'Node.js 12', etc.

string display_name = 5;

Returns
Type Description
ByteString

The bytes for displayName.

getEnvironment()

publicEnvironmentgetEnvironment()

The environment for the runtime.

.google.cloud.functions.v2.Environment environment = 4;

Returns
Type Description
Environment

The environment.

getEnvironmentValue()

publicintgetEnvironmentValue()

The environment for the runtime.

.google.cloud.functions.v2.Environment environment = 4;

Returns
Type Description
int

The enum numeric value on the wire for environment.

getName()

publicStringgetName()

The name of the runtime, e.g., 'go113', 'nodejs12', etc.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

publicByteStringgetNameBytes()

The name of the runtime, e.g., 'go113', 'nodejs12', etc.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getStage()

publicListRuntimesResponse.RuntimeStagegetStage()

The stage of life this runtime is in, e.g., BETA, GA, etc.

.google.cloud.functions.v2.ListRuntimesResponse.RuntimeStage stage = 2;

Returns
Type Description
ListRuntimesResponse.RuntimeStage

The stage.

getStageValue()

publicintgetStageValue()

The stage of life this runtime is in, e.g., BETA, GA, etc.

.google.cloud.functions.v2.ListRuntimesResponse.RuntimeStage stage = 2;

Returns
Type Description
int

The enum numeric value on the wire for stage.

getWarnings(int index)

publicStringgetWarnings(intindex)

Warning messages, e.g., a deprecation warning.

repeated string warnings = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The warnings at the given index.

getWarningsBytes(int index)

publicByteStringgetWarningsBytes(intindex)

Warning messages, e.g., a deprecation warning.

repeated string warnings = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the warnings at the given index.

getWarningsCount()

publicintgetWarningsCount()

Warning messages, e.g., a deprecation warning.

repeated string warnings = 3;

Returns
Type Description
int

The count of warnings.

getWarningsList()

publicProtocolStringListgetWarningsList()

Warning messages, e.g., a deprecation warning.

repeated string warnings = 3;

Returns
Type Description
ProtocolStringList

A list containing the warnings.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListRuntimesResponse.Runtime other)

publicListRuntimesResponse.Runtime.BuildermergeFrom(ListRuntimesResponse.Runtimeother)
Parameter
Name Description
other ListRuntimesResponse.Runtime
Returns
Type Description
ListRuntimesResponse.Runtime.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicListRuntimesResponse.Runtime.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListRuntimesResponse.Runtime.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicListRuntimesResponse.Runtime.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
ListRuntimesResponse.Runtime.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalListRuntimesResponse.Runtime.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListRuntimesResponse.Runtime.Builder
Overrides

setDisplayName(String value)

publicListRuntimesResponse.Runtime.BuildersetDisplayName(Stringvalue)

The user facing name, eg 'Go 1.13', 'Node.js 12', etc.

string display_name = 5;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
ListRuntimesResponse.Runtime.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

publicListRuntimesResponse.Runtime.BuildersetDisplayNameBytes(ByteStringvalue)

The user facing name, eg 'Go 1.13', 'Node.js 12', etc.

string display_name = 5;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
ListRuntimesResponse.Runtime.Builder

This builder for chaining.

setEnvironment(Environment value)

publicListRuntimesResponse.Runtime.BuildersetEnvironment(Environmentvalue)

The environment for the runtime.

.google.cloud.functions.v2.Environment environment = 4;

Parameter
Name Description
value Environment

The environment to set.

Returns
Type Description
ListRuntimesResponse.Runtime.Builder

This builder for chaining.

setEnvironmentValue(int value)

publicListRuntimesResponse.Runtime.BuildersetEnvironmentValue(intvalue)

The environment for the runtime.

.google.cloud.functions.v2.Environment environment = 4;

Parameter
Name Description
value int

The enum numeric value on the wire for environment to set.

Returns
Type Description
ListRuntimesResponse.Runtime.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

publicListRuntimesResponse.Runtime.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListRuntimesResponse.Runtime.Builder
Overrides

setName(String value)

publicListRuntimesResponse.Runtime.BuildersetName(Stringvalue)

The name of the runtime, e.g., 'go113', 'nodejs12', etc.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ListRuntimesResponse.Runtime.Builder

This builder for chaining.

setNameBytes(ByteString value)

publicListRuntimesResponse.Runtime.BuildersetNameBytes(ByteStringvalue)

The name of the runtime, e.g., 'go113', 'nodejs12', etc.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ListRuntimesResponse.Runtime.Builder

This builder for chaining.

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

publicListRuntimesResponse.Runtime.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListRuntimesResponse.Runtime.Builder
Overrides

setStage(ListRuntimesResponse.RuntimeStage value)

publicListRuntimesResponse.Runtime.BuildersetStage(ListRuntimesResponse.RuntimeStagevalue)

The stage of life this runtime is in, e.g., BETA, GA, etc.

.google.cloud.functions.v2.ListRuntimesResponse.RuntimeStage stage = 2;

Parameter
Name Description
value ListRuntimesResponse.RuntimeStage

The stage to set.

Returns
Type Description
ListRuntimesResponse.Runtime.Builder

This builder for chaining.

setStageValue(int value)

publicListRuntimesResponse.Runtime.BuildersetStageValue(intvalue)

The stage of life this runtime is in, e.g., BETA, GA, etc.

.google.cloud.functions.v2.ListRuntimesResponse.RuntimeStage stage = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for stage to set.

Returns
Type Description
ListRuntimesResponse.Runtime.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalListRuntimesResponse.Runtime.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListRuntimesResponse.Runtime.Builder
Overrides

setWarnings(int index, String value)

publicListRuntimesResponse.Runtime.BuildersetWarnings(intindex,Stringvalue)

Warning messages, e.g., a deprecation warning.

repeated string warnings = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The warnings to set.

Returns
Type Description
ListRuntimesResponse.Runtime.Builder

This builder for chaining.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.