Class RuntimeConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.developerconnect.v1.RuntimeConfig
- All Implemented Interfaces:
RuntimeConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class RuntimeConfig
extends com.google.protobuf.GeneratedMessage
implements RuntimeConfigOrBuilder
RuntimeConfig represents the runtimes where the application is deployed.Protobuf type
google.cloud.developerconnect.v1.RuntimeConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRuntimeConfig represents the runtimes where the application is deployed.static enumstatic enumstatic enumThe state of the runtime in the InsightsConfig.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOutput only.Output only.Output only.Output only.static RuntimeConfigstatic final com.google.protobuf.Descriptors.DescriptorOutput only.Output only.Output only.Output only.com.google.protobuf.Parser<RuntimeConfig>intgetState()Output only.intOutput only.getUri()Required.com.google.protobuf.ByteStringRequired.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic RuntimeConfig.Builderstatic RuntimeConfig.BuildernewBuilder(RuntimeConfig prototype) protected RuntimeConfig.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static RuntimeConfigparseDelimitedFrom(InputStream input) static RuntimeConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RuntimeConfigparseFrom(byte[] data) static RuntimeConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RuntimeConfigparseFrom(com.google.protobuf.ByteString data) static RuntimeConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RuntimeConfigparseFrom(com.google.protobuf.CodedInputStream input) static RuntimeConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RuntimeConfigparseFrom(InputStream input) static RuntimeConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RuntimeConfigparseFrom(ByteBuffer data) static RuntimeConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<RuntimeConfig>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
GKE_WORKLOAD_FIELD_NUMBER
public static final int GKE_WORKLOAD_FIELD_NUMBER- See Also:
-
GOOGLE_CLOUD_RUN_FIELD_NUMBER
public static final int GOOGLE_CLOUD_RUN_FIELD_NUMBER- See Also:
-
APP_HUB_WORKLOAD_FIELD_NUMBER
public static final int APP_HUB_WORKLOAD_FIELD_NUMBER- See Also:
-
APP_HUB_SERVICE_FIELD_NUMBER
public static final int APP_HUB_SERVICE_FIELD_NUMBER- See Also:
-
URI_FIELD_NUMBER
public static final int URI_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getRuntimeCase
- Specified by:
getRuntimeCasein interfaceRuntimeConfigOrBuilder
-
getDerivedFromCase
- Specified by:
getDerivedFromCasein interfaceRuntimeConfigOrBuilder
-
hasGkeWorkload
public boolean hasGkeWorkload()Output only. Google Kubernetes Engine runtime.
.google.cloud.developerconnect.v1.GKEWorkload gke_workload = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasGkeWorkloadin interfaceRuntimeConfigOrBuilder- Returns:
- Whether the gkeWorkload field is set.
-
getGkeWorkload
Output only. Google Kubernetes Engine runtime.
.google.cloud.developerconnect.v1.GKEWorkload gke_workload = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getGkeWorkloadin interfaceRuntimeConfigOrBuilder- Returns:
- The gkeWorkload.
-
getGkeWorkloadOrBuilder
Output only. Google Kubernetes Engine runtime.
.google.cloud.developerconnect.v1.GKEWorkload gke_workload = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getGkeWorkloadOrBuilderin interfaceRuntimeConfigOrBuilder
-
hasGoogleCloudRun
public boolean hasGoogleCloudRun()Output only. Cloud Run runtime.
.google.cloud.developerconnect.v1.GoogleCloudRun google_cloud_run = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasGoogleCloudRunin interfaceRuntimeConfigOrBuilder- Returns:
- Whether the googleCloudRun field is set.
-
getGoogleCloudRun
Output only. Cloud Run runtime.
.google.cloud.developerconnect.v1.GoogleCloudRun google_cloud_run = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getGoogleCloudRunin interfaceRuntimeConfigOrBuilder- Returns:
- The googleCloudRun.
-
getGoogleCloudRunOrBuilder
Output only. Cloud Run runtime.
.google.cloud.developerconnect.v1.GoogleCloudRun google_cloud_run = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getGoogleCloudRunOrBuilderin interfaceRuntimeConfigOrBuilder
-
hasAppHubWorkload
public boolean hasAppHubWorkload()Output only. App Hub Workload.
.google.cloud.developerconnect.v1.AppHubWorkload app_hub_workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasAppHubWorkloadin interfaceRuntimeConfigOrBuilder- Returns:
- Whether the appHubWorkload field is set.
-
getAppHubWorkload
Output only. App Hub Workload.
.google.cloud.developerconnect.v1.AppHubWorkload app_hub_workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAppHubWorkloadin interfaceRuntimeConfigOrBuilder- Returns:
- The appHubWorkload.
-
getAppHubWorkloadOrBuilder
Output only. App Hub Workload.
.google.cloud.developerconnect.v1.AppHubWorkload app_hub_workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAppHubWorkloadOrBuilderin interfaceRuntimeConfigOrBuilder
-
hasAppHubService
public boolean hasAppHubService()Output only. App Hub Service.
.google.cloud.developerconnect.v1.AppHubService app_hub_service = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasAppHubServicein interfaceRuntimeConfigOrBuilder- Returns:
- Whether the appHubService field is set.
-
getAppHubService
Output only. App Hub Service.
.google.cloud.developerconnect.v1.AppHubService app_hub_service = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAppHubServicein interfaceRuntimeConfigOrBuilder- Returns:
- The appHubService.
-
getAppHubServiceOrBuilder
Output only. App Hub Service.
.google.cloud.developerconnect.v1.AppHubService app_hub_service = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAppHubServiceOrBuilderin interfaceRuntimeConfigOrBuilder
-
getUri
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];- Specified by:
getUriin interfaceRuntimeConfigOrBuilder- Returns:
- The uri.
-
getUriBytes
public com.google.protobuf.ByteString getUriBytes()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];- Specified by:
getUriBytesin interfaceRuntimeConfigOrBuilder- Returns:
- The bytes for uri.
-
getStateValue
public int getStateValue()Output only. The state of the Runtime.
.google.cloud.developerconnect.v1.RuntimeConfig.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceRuntimeConfigOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
Output only. The state of the Runtime.
.google.cloud.developerconnect.v1.RuntimeConfig.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceRuntimeConfigOrBuilder- Returns:
- The state.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static RuntimeConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RuntimeConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RuntimeConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RuntimeConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RuntimeConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RuntimeConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RuntimeConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static RuntimeConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static RuntimeConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static RuntimeConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RuntimeConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-