Class ListRuntimesResponse.Runtime (2.43.0)

public static final class ListRuntimesResponse.Runtime extends GeneratedMessageV3 implements ListRuntimesResponse.RuntimeOrBuilder

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

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

Static Fields

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

ENVIRONMENT_FIELD_NUMBER

public static final int ENVIRONMENT_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

STAGE_FIELD_NUMBER

public static final int STAGE_FIELD_NUMBER
Field Value
TypeDescription
int

WARNINGS_FIELD_NUMBER

public static final int WARNINGS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListRuntimesResponse.Runtime getDefaultInstance()
Returns
TypeDescription
ListRuntimesResponse.Runtime

getDescriptor()

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

newBuilder()

public static ListRuntimesResponse.Runtime.Builder newBuilder()
Returns
TypeDescription
ListRuntimesResponse.Runtime.Builder

newBuilder(ListRuntimesResponse.Runtime prototype)

public static ListRuntimesResponse.Runtime.Builder newBuilder(ListRuntimesResponse.Runtime prototype)
Parameter
NameDescription
prototypeListRuntimesResponse.Runtime
Returns
TypeDescription
ListRuntimesResponse.Runtime.Builder

parseDelimitedFrom(InputStream input)

public static ListRuntimesResponse.Runtime parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListRuntimesResponse.Runtime
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListRuntimesResponse.Runtime parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListRuntimesResponse.Runtime
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListRuntimesResponse.Runtime parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListRuntimesResponse.Runtime
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListRuntimesResponse.Runtime parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListRuntimesResponse.Runtime
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListRuntimesResponse.Runtime parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListRuntimesResponse.Runtime
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListRuntimesResponse.Runtime parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListRuntimesResponse.Runtime
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListRuntimesResponse.Runtime parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListRuntimesResponse.Runtime
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListRuntimesResponse.Runtime parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListRuntimesResponse.Runtime
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListRuntimesResponse.Runtime parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListRuntimesResponse.Runtime
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListRuntimesResponse.Runtime parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListRuntimesResponse.Runtime
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListRuntimesResponse.Runtime parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListRuntimesResponse.Runtime
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListRuntimesResponse.Runtime parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListRuntimesResponse.Runtime
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListRuntimesResponse.Runtime> parser()
Returns
TypeDescription
Parser<Runtime>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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.v2.Environment environment = 4;

Returns
TypeDescription
Environment

The environment.

getEnvironmentValue()

public int getEnvironmentValue()

The environment for the runtime.

.google.cloud.functions.v2.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.

getParserForType()

public Parser<ListRuntimesResponse.Runtime> getParserForType()
Returns
TypeDescription
Parser<Runtime>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStage()

public ListRuntimesResponse.RuntimeStage getStage()

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

.google.cloud.functions.v2.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.v2.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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListRuntimesResponse.Runtime.Builder newBuilderForType()
Returns
TypeDescription
ListRuntimesResponse.Runtime.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListRuntimesResponse.Runtime.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListRuntimesResponse.Runtime.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListRuntimesResponse.Runtime.Builder toBuilder()
Returns
TypeDescription
ListRuntimesResponse.Runtime.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException