Class RuntimeConfig (0.24.0)

publicfinalclass RuntimeConfigextendsGeneratedMessageV3implementsRuntimeConfigOrBuilder

RuntimeConfig represents the runtimes where the application is deployed.

Protobuf type google.cloud.developerconnect.v1.RuntimeConfig

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

APP_HUB_WORKLOAD_FIELD_NUMBER

publicstaticfinalintAPP_HUB_WORKLOAD_FIELD_NUMBER
Field Value
Type Description
int

GKE_WORKLOAD_FIELD_NUMBER

publicstaticfinalintGKE_WORKLOAD_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

publicstaticfinalintSTATE_FIELD_NUMBER
Field Value
Type Description
int

URI_FIELD_NUMBER

publicstaticfinalintURI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticRuntimeConfiggetDefaultInstance()
Returns
Type Description
RuntimeConfig

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticRuntimeConfig.BuildernewBuilder()
Returns
Type Description
RuntimeConfig.Builder

newBuilder(RuntimeConfig prototype)

publicstaticRuntimeConfig.BuildernewBuilder(RuntimeConfigprototype)
Parameter
Name Description
prototype RuntimeConfig
Returns
Type Description
RuntimeConfig.Builder

parseDelimitedFrom(InputStream input)

publicstaticRuntimeConfigparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
RuntimeConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticRuntimeConfigparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticRuntimeConfigparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
RuntimeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticRuntimeConfigparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticRuntimeConfigparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
RuntimeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticRuntimeConfigparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticRuntimeConfigparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RuntimeConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticRuntimeConfigparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticRuntimeConfigparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
RuntimeConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticRuntimeConfigparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticRuntimeConfigparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RuntimeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticRuntimeConfigparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<RuntimeConfig>parser()
Returns
Type Description
Parser<RuntimeConfig>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAppHubWorkload()

publicAppHubWorkloadgetAppHubWorkload()

Output only. App Hub Workload.

.google.cloud.developerconnect.v1.AppHubWorkload app_hub_workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AppHubWorkload

The appHubWorkload.

getAppHubWorkloadOrBuilder()

publicAppHubWorkloadOrBuildergetAppHubWorkloadOrBuilder()

Output only. App Hub Workload.

.google.cloud.developerconnect.v1.AppHubWorkload app_hub_workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AppHubWorkloadOrBuilder

getDefaultInstanceForType()

publicRuntimeConfiggetDefaultInstanceForType()
Returns
Type Description
RuntimeConfig

getDerivedFromCase()

publicRuntimeConfig.DerivedFromCasegetDerivedFromCase()
Returns
Type Description
RuntimeConfig.DerivedFromCase

getGkeWorkload()

publicGKEWorkloadgetGkeWorkload()

Output only. Google Kubernetes Engine runtime.

.google.cloud.developerconnect.v1.GKEWorkload gke_workload = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GKEWorkload

The gkeWorkload.

getGkeWorkloadOrBuilder()

publicGKEWorkloadOrBuildergetGkeWorkloadOrBuilder()

Output only. Google Kubernetes Engine runtime.

.google.cloud.developerconnect.v1.GKEWorkload gke_workload = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GKEWorkloadOrBuilder

getParserForType()

publicParser<RuntimeConfig>getParserForType()
Returns
Type Description
Parser<RuntimeConfig>
Overrides

getRuntimeCase()

publicRuntimeConfig.RuntimeCasegetRuntimeCase()
Returns
Type Description
RuntimeConfig.RuntimeCase

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getState()

publicRuntimeConfig.StategetState()

Output only. The state of the Runtime.

.google.cloud.developerconnect.v1.RuntimeConfig.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RuntimeConfig.State

The state.

getStateValue()

publicintgetStateValue()

Output only. The state of the Runtime.

.google.cloud.developerconnect.v1.RuntimeConfig.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getUri()

publicStringgetUri()

Required. Immutable. The URI of the runtime configuration. For GKE, this is the cluster name. For Cloud Run, this is the service name.

string uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The uri.

getUriBytes()

publicByteStringgetUriBytes()

Required. Immutable. The URI of the runtime configuration. For GKE, this is the cluster name. For Cloud Run, this is the service name.

string uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for uri.

hasAppHubWorkload()

publicbooleanhasAppHubWorkload()

Output only. App Hub Workload.

.google.cloud.developerconnect.v1.AppHubWorkload app_hub_workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the appHubWorkload field is set.

hasGkeWorkload()

publicbooleanhasGkeWorkload()

Output only. Google Kubernetes Engine runtime.

.google.cloud.developerconnect.v1.GKEWorkload gke_workload = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the gkeWorkload field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicRuntimeConfig.BuildernewBuilderForType()
Returns
Type Description
RuntimeConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedRuntimeConfig.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RuntimeConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicRuntimeConfig.BuildertoBuilder()
Returns
Type Description
RuntimeConfig.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.