Class ListRuntimesResponse.Runtime (2.51.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.v2alpha.ListRuntimesResponse.Runtime

Static Fields

DECOMMISSION_DATE_FIELD_NUMBER

public static final int DECOMMISSION_DATE_FIELD_NUMBER
Field Value
Type Description
int

DEPRECATION_DATE_FIELD_NUMBER

public static final int DEPRECATION_DATE_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

ENVIRONMENT_FIELD_NUMBER

public static final int ENVIRONMENT_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

STAGE_FIELD_NUMBER

public static final int STAGE_FIELD_NUMBER
Field Value
Type Description
int

WARNINGS_FIELD_NUMBER

public static final int WARNINGS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListRuntimesResponse.Runtime getDefaultInstance()
Returns
Type Description
ListRuntimesResponse.Runtime

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ListRuntimesResponse.Runtime.Builder newBuilder()
Returns
Type Description
ListRuntimesResponse.Runtime.Builder

newBuilder(ListRuntimesResponse.Runtime prototype)

public static ListRuntimesResponse.Runtime.Builder newBuilder(ListRuntimesResponse.Runtime prototype)
Parameter
Name Description
prototype ListRuntimesResponse.Runtime
Returns
Type Description
ListRuntimesResponse.Runtime.Builder

parseDelimitedFrom(InputStream input)

public static ListRuntimesResponse.Runtime parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListRuntimesResponse.Runtime
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListRuntimesResponse.Runtime parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListRuntimesResponse.Runtime
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ListRuntimesResponse.Runtime parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ListRuntimesResponse.Runtime
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListRuntimesResponse.Runtime parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListRuntimesResponse.Runtime
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListRuntimesResponse.Runtime parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ListRuntimesResponse.Runtime
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListRuntimesResponse.Runtime parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListRuntimesResponse.Runtime
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListRuntimesResponse.Runtime parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ListRuntimesResponse.Runtime
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListRuntimesResponse.Runtime parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListRuntimesResponse.Runtime
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ListRuntimesResponse.Runtime parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListRuntimesResponse.Runtime
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListRuntimesResponse.Runtime parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListRuntimesResponse.Runtime
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ListRuntimesResponse.Runtime parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ListRuntimesResponse.Runtime
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListRuntimesResponse.Runtime parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListRuntimesResponse.Runtime
Exceptions
Type Description
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDecommissionDate()

public Date getDecommissionDate()

Decommission date for the runtime.

.google.type.Date decommission_date = 7;

Returns
Type Description
com.google.type.Date

The decommissionDate.

getDecommissionDateOrBuilder()

public DateOrBuilder getDecommissionDateOrBuilder()

Decommission date for the runtime.

.google.type.Date decommission_date = 7;

Returns
Type Description
com.google.type.DateOrBuilder

getDefaultInstanceForType()

public ListRuntimesResponse.Runtime getDefaultInstanceForType()
Returns
Type Description
ListRuntimesResponse.Runtime

getDeprecationDate()

public Date getDeprecationDate()

Deprecation date for the runtime.

.google.type.Date deprecation_date = 6;

Returns
Type Description
com.google.type.Date

The deprecationDate.

getDeprecationDateOrBuilder()

public DateOrBuilder getDeprecationDateOrBuilder()

Deprecation date for the runtime.

.google.type.Date deprecation_date = 6;

Returns
Type Description
com.google.type.DateOrBuilder

getDisplayName()

public String getDisplayName()

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

string display_name = 5;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

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()

public Environment getEnvironment()

The environment for the runtime.

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

Returns
Type Description
Environment

The environment.

getEnvironmentValue()

public int getEnvironmentValue()

The environment for the runtime.

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

Returns
Type Description
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
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
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()

public int getWarningsCount()

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

repeated string warnings = 3;

Returns
Type Description
int

The count of warnings.

getWarningsList()

public ProtocolStringList getWarningsList()

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

repeated string warnings = 3;

Returns
Type Description
ProtocolStringList

A list containing the warnings.

hasDecommissionDate()

public boolean hasDecommissionDate()

Decommission date for the runtime.

.google.type.Date decommission_date = 7;

Returns
Type Description
boolean

Whether the decommissionDate field is set.

hasDeprecationDate()

public boolean hasDeprecationDate()

Deprecation date for the runtime.

.google.type.Date deprecation_date = 6;

Returns
Type Description
boolean

Whether the deprecationDate field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ListRuntimesResponse.Runtime.Builder newBuilderForType()
Returns
Type Description
ListRuntimesResponse.Runtime.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListRuntimesResponse.Runtime.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ListRuntimesResponse.Runtime.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ListRuntimesResponse.Runtime.Builder toBuilder()
Returns
Type Description
ListRuntimesResponse.Runtime.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException