Class ListRuntimesResponse.Runtime.Builder (2.36.0)

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

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

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

Static Methods

getDescriptor()

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

Methods

addAllWarnings(Iterable<String> values)

public ListRuntimesResponse.Runtime.Builder addAllWarnings(Iterable<String> values)

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

repeated string warnings = 3;

Parameter
NameDescription
valuesIterable<String>

The warnings to add.

Returns
TypeDescription
ListRuntimesResponse.Runtime.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addWarnings(String value)

public ListRuntimesResponse.Runtime.Builder addWarnings(String value)

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

repeated string warnings = 3;

Parameter
NameDescription
valueString

The warnings to add.

Returns
TypeDescription
ListRuntimesResponse.Runtime.Builder

This builder for chaining.

addWarningsBytes(ByteString value)

public ListRuntimesResponse.Runtime.Builder addWarningsBytes(ByteString value)

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

repeated string warnings = 3;

Parameter
NameDescription
valueByteString

The bytes of the warnings to add.

Returns
TypeDescription
ListRuntimesResponse.Runtime.Builder

This builder for chaining.

build()

public ListRuntimesResponse.Runtime build()
Returns
TypeDescription
ListRuntimesResponse.Runtime

buildPartial()

public ListRuntimesResponse.Runtime buildPartial()
Returns
TypeDescription
ListRuntimesResponse.Runtime

clear()

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

clearDisplayName()

public ListRuntimesResponse.Runtime.Builder clearDisplayName()

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

string display_name = 5;

Returns
TypeDescription
ListRuntimesResponse.Runtime.Builder

This builder for chaining.

clearEnvironment()

public ListRuntimesResponse.Runtime.Builder clearEnvironment()

The environment for the runtime.

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

Returns
TypeDescription
ListRuntimesResponse.Runtime.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public ListRuntimesResponse.Runtime.Builder clearName()

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

string name = 1;

Returns
TypeDescription
ListRuntimesResponse.Runtime.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStage()

public ListRuntimesResponse.Runtime.Builder clearStage()

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

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

Returns
TypeDescription
ListRuntimesResponse.Runtime.Builder

This builder for chaining.

clearWarnings()

public ListRuntimesResponse.Runtime.Builder clearWarnings()

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

repeated string warnings = 3;

Returns
TypeDescription
ListRuntimesResponse.Runtime.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListRuntimesResponse.Runtime getDefaultInstanceForType()
Returns
TypeDescription
ListRuntimesResponse.Runtime

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

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

string display_name = 5;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

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

string display_name = 5;

Returns
TypeDescription
ByteString

The bytes for displayName.

getEnvironment()

public Environment getEnvironment()

The environment for the runtime.

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

Returns
TypeDescription
Environment

The environment.

getEnvironmentValue()

public int getEnvironmentValue()

The environment for the runtime.

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

Returns
TypeDescription
int

The enum numeric value on the wire for environment.

getName()

public String getName()

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

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getStage()

public ListRuntimesResponse.RuntimeStage getStage()

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

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

Returns
TypeDescription
ListRuntimesResponse.RuntimeStage

The stage.

getStageValue()

public int getStageValue()

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

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

Returns
TypeDescription
int

The enum numeric value on the wire for stage.

getWarnings(int index)

public String getWarnings(int index)

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

repeated string warnings = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The warnings at the given index.

getWarningsBytes(int index)

public ByteString getWarningsBytes(int index)

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

repeated string warnings = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the warnings at the given index.

getWarningsCount()

public int getWarningsCount()

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

repeated string warnings = 3;

Returns
TypeDescription
int

The count of warnings.

getWarningsList()

public ProtocolStringList getWarningsList()

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

repeated string warnings = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the warnings.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListRuntimesResponse.Runtime other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDisplayName(String value)

public ListRuntimesResponse.Runtime.Builder setDisplayName(String value)

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

string display_name = 5;

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
ListRuntimesResponse.Runtime.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public ListRuntimesResponse.Runtime.Builder setDisplayNameBytes(ByteString value)

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

string display_name = 5;

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
ListRuntimesResponse.Runtime.Builder

This builder for chaining.

setEnvironment(Environment value)

public ListRuntimesResponse.Runtime.Builder setEnvironment(Environment value)

The environment for the runtime.

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

Parameter
NameDescription
valueEnvironment

The environment to set.

Returns
TypeDescription
ListRuntimesResponse.Runtime.Builder

This builder for chaining.

setEnvironmentValue(int value)

public ListRuntimesResponse.Runtime.Builder setEnvironmentValue(int value)

The environment for the runtime.

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

Parameter
NameDescription
valueint

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

Returns
TypeDescription
ListRuntimesResponse.Runtime.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public ListRuntimesResponse.Runtime.Builder setName(String value)

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

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
ListRuntimesResponse.Runtime.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ListRuntimesResponse.Runtime.Builder setNameBytes(ByteString value)

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

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
ListRuntimesResponse.Runtime.Builder

This builder for chaining.

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

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

setStage(ListRuntimesResponse.RuntimeStage value)

public ListRuntimesResponse.Runtime.Builder setStage(ListRuntimesResponse.RuntimeStage value)

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

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

Parameter
NameDescription
valueListRuntimesResponse.RuntimeStage

The stage to set.

Returns
TypeDescription
ListRuntimesResponse.Runtime.Builder

This builder for chaining.

setStageValue(int value)

public ListRuntimesResponse.Runtime.Builder setStageValue(int value)

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

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

Parameter
NameDescription
valueint

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

Returns
TypeDescription
ListRuntimesResponse.Runtime.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setWarnings(int index, String value)

public ListRuntimesResponse.Runtime.Builder setWarnings(int index, String value)

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

repeated string warnings = 3;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The warnings to set.

Returns
TypeDescription
ListRuntimesResponse.Runtime.Builder

This builder for chaining.