Class ResourceRuntime.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ResourceRuntime.Builder>
com.google.cloud.aiplatform.v1beta1.ResourceRuntime.Builder
All Implemented Interfaces:
ResourceRuntimeOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ResourceRuntime

public static final class ResourceRuntime.Builder extends com.google.protobuf.GeneratedMessage.Builder<ResourceRuntime.Builder> implements ResourceRuntimeOrBuilder
 Persistent Cluster runtime information as output
 
Protobuf type google.cloud.aiplatform.v1beta1.ResourceRuntime
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<ResourceRuntime.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<ResourceRuntime.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ResourceRuntime.Builder>
    • clear

      public ResourceRuntime.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ResourceRuntime.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ResourceRuntime.Builder>
    • getDefaultInstanceForType

      public ResourceRuntime getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ResourceRuntime build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ResourceRuntime buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ResourceRuntime.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ResourceRuntime.Builder>
    • mergeFrom

      public ResourceRuntime.Builder mergeFrom(ResourceRuntime other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ResourceRuntime.Builder>
    • mergeFrom

      public ResourceRuntime.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ResourceRuntime.Builder>
      Throws:
      IOException
    • getAccessUrisCount

      public int getAccessUrisCount()
      Description copied from interface: ResourceRuntimeOrBuilder
       Output only. URIs for user to connect to the Cluster.
       Example:
       {
       "RAY_HEAD_NODE_INTERNAL_IP": "head-node-IP:10001"
       "RAY_DASHBOARD_URI": "ray-dashboard-address:8888"
       }
       
      map<string, string> access_uris = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAccessUrisCount in interface ResourceRuntimeOrBuilder
    • containsAccessUris

      public boolean containsAccessUris(String key)
       Output only. URIs for user to connect to the Cluster.
       Example:
       {
       "RAY_HEAD_NODE_INTERNAL_IP": "head-node-IP:10001"
       "RAY_DASHBOARD_URI": "ray-dashboard-address:8888"
       }
       
      map<string, string> access_uris = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      containsAccessUris in interface ResourceRuntimeOrBuilder
    • getAccessUris

      @Deprecated public Map<String,String> getAccessUris()
      Deprecated.
      Use getAccessUrisMap() instead.
      Specified by:
      getAccessUris in interface ResourceRuntimeOrBuilder
    • getAccessUrisMap

      public Map<String,String> getAccessUrisMap()
       Output only. URIs for user to connect to the Cluster.
       Example:
       {
       "RAY_HEAD_NODE_INTERNAL_IP": "head-node-IP:10001"
       "RAY_DASHBOARD_URI": "ray-dashboard-address:8888"
       }
       
      map<string, string> access_uris = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAccessUrisMap in interface ResourceRuntimeOrBuilder
    • getAccessUrisOrDefault

      public String getAccessUrisOrDefault(String key, String defaultValue)
       Output only. URIs for user to connect to the Cluster.
       Example:
       {
       "RAY_HEAD_NODE_INTERNAL_IP": "head-node-IP:10001"
       "RAY_DASHBOARD_URI": "ray-dashboard-address:8888"
       }
       
      map<string, string> access_uris = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAccessUrisOrDefault in interface ResourceRuntimeOrBuilder
    • getAccessUrisOrThrow

      public String getAccessUrisOrThrow(String key)
       Output only. URIs for user to connect to the Cluster.
       Example:
       {
       "RAY_HEAD_NODE_INTERNAL_IP": "head-node-IP:10001"
       "RAY_DASHBOARD_URI": "ray-dashboard-address:8888"
       }
       
      map<string, string> access_uris = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAccessUrisOrThrow in interface ResourceRuntimeOrBuilder
    • clearAccessUris

      public ResourceRuntime.Builder clearAccessUris()
    • removeAccessUris

      public ResourceRuntime.Builder removeAccessUris(String key)
       Output only. URIs for user to connect to the Cluster.
       Example:
       {
       "RAY_HEAD_NODE_INTERNAL_IP": "head-node-IP:10001"
       "RAY_DASHBOARD_URI": "ray-dashboard-address:8888"
       }
       
      map<string, string> access_uris = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getMutableAccessUris

      @Deprecated public Map<String,String> getMutableAccessUris()
      Deprecated.
      Use alternate mutation accessors instead.
    • putAccessUris

      public ResourceRuntime.Builder putAccessUris(String key, String value)
       Output only. URIs for user to connect to the Cluster.
       Example:
       {
       "RAY_HEAD_NODE_INTERNAL_IP": "head-node-IP:10001"
       "RAY_DASHBOARD_URI": "ray-dashboard-address:8888"
       }
       
      map<string, string> access_uris = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • putAllAccessUris

      public ResourceRuntime.Builder putAllAccessUris(Map<String,String> values)
       Output only. URIs for user to connect to the Cluster.
       Example:
       {
       "RAY_HEAD_NODE_INTERNAL_IP": "head-node-IP:10001"
       "RAY_DASHBOARD_URI": "ray-dashboard-address:8888"
       }
       
      map<string, string> access_uris = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getNotebookRuntimeTemplate

      @Deprecated public String getNotebookRuntimeTemplate()
      Deprecated.
      google.cloud.aiplatform.v1beta1.ResourceRuntime.notebook_runtime_template is deprecated. See google/cloud/aiplatform/v1beta1/persistent_resource.proto;l=290
       Output only. The resource name of NotebookRuntimeTemplate for the RoV
       Persistent Cluster The NotebokRuntimeTemplate is created in the same VPC
       (if set), and with the same Ray and Python version as the Persistent
       Cluster. Example:
       "projects/1000/locations/us-central1/notebookRuntimeTemplates/abc123"
       
      string notebook_runtime_template = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getNotebookRuntimeTemplate in interface ResourceRuntimeOrBuilder
      Returns:
      The notebookRuntimeTemplate.
    • getNotebookRuntimeTemplateBytes

      @Deprecated public com.google.protobuf.ByteString getNotebookRuntimeTemplateBytes()
      Deprecated.
      google.cloud.aiplatform.v1beta1.ResourceRuntime.notebook_runtime_template is deprecated. See google/cloud/aiplatform/v1beta1/persistent_resource.proto;l=290
       Output only. The resource name of NotebookRuntimeTemplate for the RoV
       Persistent Cluster The NotebokRuntimeTemplate is created in the same VPC
       (if set), and with the same Ray and Python version as the Persistent
       Cluster. Example:
       "projects/1000/locations/us-central1/notebookRuntimeTemplates/abc123"
       
      string notebook_runtime_template = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getNotebookRuntimeTemplateBytes in interface ResourceRuntimeOrBuilder
      Returns:
      The bytes for notebookRuntimeTemplate.
    • setNotebookRuntimeTemplate

      @Deprecated public ResourceRuntime.Builder setNotebookRuntimeTemplate(String value)
      Deprecated.
      google.cloud.aiplatform.v1beta1.ResourceRuntime.notebook_runtime_template is deprecated. See google/cloud/aiplatform/v1beta1/persistent_resource.proto;l=290
       Output only. The resource name of NotebookRuntimeTemplate for the RoV
       Persistent Cluster The NotebokRuntimeTemplate is created in the same VPC
       (if set), and with the same Ray and Python version as the Persistent
       Cluster. Example:
       "projects/1000/locations/us-central1/notebookRuntimeTemplates/abc123"
       
      string notebook_runtime_template = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The notebookRuntimeTemplate to set.
      Returns:
      This builder for chaining.
    • clearNotebookRuntimeTemplate

      @Deprecated public ResourceRuntime.Builder clearNotebookRuntimeTemplate()
      Deprecated.
      google.cloud.aiplatform.v1beta1.ResourceRuntime.notebook_runtime_template is deprecated. See google/cloud/aiplatform/v1beta1/persistent_resource.proto;l=290
       Output only. The resource name of NotebookRuntimeTemplate for the RoV
       Persistent Cluster The NotebokRuntimeTemplate is created in the same VPC
       (if set), and with the same Ray and Python version as the Persistent
       Cluster. Example:
       "projects/1000/locations/us-central1/notebookRuntimeTemplates/abc123"
       
      string notebook_runtime_template = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNotebookRuntimeTemplateBytes

      @Deprecated public ResourceRuntime.Builder setNotebookRuntimeTemplateBytes(com.google.protobuf.ByteString value)
      Deprecated.
      google.cloud.aiplatform.v1beta1.ResourceRuntime.notebook_runtime_template is deprecated. See google/cloud/aiplatform/v1beta1/persistent_resource.proto;l=290
       Output only. The resource name of NotebookRuntimeTemplate for the RoV
       Persistent Cluster The NotebokRuntimeTemplate is created in the same VPC
       (if set), and with the same Ray and Python version as the Persistent
       Cluster. Example:
       "projects/1000/locations/us-central1/notebookRuntimeTemplates/abc123"
       
      string notebook_runtime_template = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for notebookRuntimeTemplate to set.
      Returns:
      This builder for chaining.