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:
  • 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getRuntimeCase

      public RuntimeConfig.RuntimeCase getRuntimeCase()
      Specified by:
      getRuntimeCase in interface RuntimeConfigOrBuilder
    • getDerivedFromCase

      public RuntimeConfig.DerivedFromCase getDerivedFromCase()
      Specified by:
      getDerivedFromCase in interface RuntimeConfigOrBuilder
    • 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:
      hasGkeWorkload in interface RuntimeConfigOrBuilder
      Returns:
      Whether the gkeWorkload field is set.
    • getGkeWorkload

      public GKEWorkload getGkeWorkload()
       Output only. Google Kubernetes Engine runtime.
       
      .google.cloud.developerconnect.v1.GKEWorkload gke_workload = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getGkeWorkload in interface RuntimeConfigOrBuilder
      Returns:
      The gkeWorkload.
    • getGkeWorkloadOrBuilder

      public GKEWorkloadOrBuilder getGkeWorkloadOrBuilder()
       Output only. Google Kubernetes Engine runtime.
       
      .google.cloud.developerconnect.v1.GKEWorkload gke_workload = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getGkeWorkloadOrBuilder in interface RuntimeConfigOrBuilder
    • 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:
      hasGoogleCloudRun in interface RuntimeConfigOrBuilder
      Returns:
      Whether the googleCloudRun field is set.
    • getGoogleCloudRun

      public GoogleCloudRun getGoogleCloudRun()
       Output only. Cloud Run runtime.
       
      .google.cloud.developerconnect.v1.GoogleCloudRun google_cloud_run = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getGoogleCloudRun in interface RuntimeConfigOrBuilder
      Returns:
      The googleCloudRun.
    • getGoogleCloudRunOrBuilder

      public GoogleCloudRunOrBuilder getGoogleCloudRunOrBuilder()
       Output only. Cloud Run runtime.
       
      .google.cloud.developerconnect.v1.GoogleCloudRun google_cloud_run = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getGoogleCloudRunOrBuilder in interface RuntimeConfigOrBuilder
    • 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:
      hasAppHubWorkload in interface RuntimeConfigOrBuilder
      Returns:
      Whether the appHubWorkload field is set.
    • getAppHubWorkload

      public AppHubWorkload getAppHubWorkload()
       Output only. App Hub Workload.
       
      .google.cloud.developerconnect.v1.AppHubWorkload app_hub_workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAppHubWorkload in interface RuntimeConfigOrBuilder
      Returns:
      The appHubWorkload.
    • getAppHubWorkloadOrBuilder

      public AppHubWorkloadOrBuilder getAppHubWorkloadOrBuilder()
       Output only. App Hub Workload.
       
      .google.cloud.developerconnect.v1.AppHubWorkload app_hub_workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAppHubWorkloadOrBuilder in interface RuntimeConfigOrBuilder
    • 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:
      hasAppHubService in interface RuntimeConfigOrBuilder
      Returns:
      Whether the appHubService field is set.
    • getAppHubService

      public AppHubService getAppHubService()
       Output only. App Hub Service.
       
      .google.cloud.developerconnect.v1.AppHubService app_hub_service = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAppHubService in interface RuntimeConfigOrBuilder
      Returns:
      The appHubService.
    • getAppHubServiceOrBuilder

      public AppHubServiceOrBuilder getAppHubServiceOrBuilder()
       Output only. App Hub Service.
       
      .google.cloud.developerconnect.v1.AppHubService app_hub_service = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAppHubServiceOrBuilder in interface RuntimeConfigOrBuilder
    • getUri

      public String 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:
      getUri in interface RuntimeConfigOrBuilder
      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:
      getUriBytes in interface RuntimeConfigOrBuilder
      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:
      getStateValue in interface RuntimeConfigOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public RuntimeConfig.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:
      getState in interface RuntimeConfigOrBuilder
      Returns:
      The state.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static RuntimeConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RuntimeConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static RuntimeConfig parseDelimitedFrom(InputStream input) throws IOException
      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

      public RuntimeConfig.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static RuntimeConfig.Builder newBuilder()
    • newBuilder

      public static RuntimeConfig.Builder newBuilder(RuntimeConfig prototype)
    • toBuilder

      public RuntimeConfig.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected RuntimeConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static RuntimeConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<RuntimeConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<RuntimeConfig> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public RuntimeConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder