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
ENVIRONMENT_FIELD_NUMBER
public static final int ENVIRONMENT_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
STAGE_FIELD_NUMBER
public static final int STAGE_FIELD_NUMBER
Field Value
WARNINGS_FIELD_NUMBER
public static final int WARNINGS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ListRuntimesResponse.Runtime getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ListRuntimesResponse.Runtime.Builder newBuilder()
Returns
newBuilder(ListRuntimesResponse.Runtime prototype)
public static ListRuntimesResponse.Runtime.Builder newBuilder(ListRuntimesResponse.Runtime prototype)
Parameter
Returns
public static ListRuntimesResponse.Runtime parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListRuntimesResponse.Runtime parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ListRuntimesResponse.Runtime parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListRuntimesResponse.Runtime parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ListRuntimesResponse.Runtime parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListRuntimesResponse.Runtime parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListRuntimesResponse.Runtime parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ListRuntimesResponse.Runtime parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListRuntimesResponse.Runtime parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListRuntimesResponse.Runtime parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ListRuntimesResponse.Runtime parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListRuntimesResponse.Runtime parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ListRuntimesResponse.Runtime> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ListRuntimesResponse.Runtime getDefaultInstanceForType()
Returns
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.v2.Environment environment = 4;
Returns
getEnvironmentValue()
public int getEnvironmentValue()
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()
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
getParserForType()
public Parser<ListRuntimesResponse.Runtime> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
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
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
Type | Description |
int | The enum numeric value on the wire for stage.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ListRuntimesResponse.Runtime.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListRuntimesResponse.Runtime.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ListRuntimesResponse.Runtime.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions