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.v2beta.ListRuntimesResponse.Runtime
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ListRuntimesResponse.Runtime.Builder newBuilder()
newBuilder(ListRuntimesResponse.Runtime prototype)
public static ListRuntimesResponse.Runtime.Builder newBuilder(ListRuntimesResponse.Runtime prototype)
public static ListRuntimesResponse.Runtime parseDelimitedFrom(InputStream input)
public static ListRuntimesResponse.Runtime parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ListRuntimesResponse.Runtime parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListRuntimesResponse.Runtime parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ListRuntimesResponse.Runtime parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListRuntimesResponse.Runtime parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListRuntimesResponse.Runtime parseFrom(CodedInputStream input)
public static ListRuntimesResponse.Runtime parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListRuntimesResponse.Runtime parseFrom(InputStream input)
public static ListRuntimesResponse.Runtime parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ListRuntimesResponse.Runtime parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListRuntimesResponse.Runtime parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ListRuntimesResponse.Runtime> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ListRuntimesResponse.Runtime getDefaultInstanceForType()
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.v2beta.Environment environment = 4;
getEnvironmentValue()
public int getEnvironmentValue()
The environment for the runtime.
.google.cloud.functions.v2beta.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 |
Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<ListRuntimesResponse.Runtime> getParserForType()
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.v2beta.ListRuntimesResponse.RuntimeStage stage = 2;
getStageValue()
public int getStageValue()
The stage of life this runtime is in, e.g., BETA, GA, etc.
.google.cloud.functions.v2beta.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;
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ListRuntimesResponse.Runtime.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListRuntimesResponse.Runtime.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ListRuntimesResponse.Runtime.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides