Class ResourceRuntime (3.43.0)

public final class ResourceRuntime extends GeneratedMessageV3 implements ResourceRuntimeOrBuilder

Persistent Cluster runtime information as output

Protobuf type google.cloud.aiplatform.v1beta1.ResourceRuntime

Static Fields

ACCESS_URIS_FIELD_NUMBER

public static final int ACCESS_URIS_FIELD_NUMBER
Field Value
Type Description
int

NOTEBOOK_RUNTIME_TEMPLATE_FIELD_NUMBER

public static final int NOTEBOOK_RUNTIME_TEMPLATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ResourceRuntime getDefaultInstance()
Returns
Type Description
ResourceRuntime

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ResourceRuntime.Builder newBuilder()
Returns
Type Description
ResourceRuntime.Builder

newBuilder(ResourceRuntime prototype)

public static ResourceRuntime.Builder newBuilder(ResourceRuntime prototype)
Parameter
Name Description
prototype ResourceRuntime
Returns
Type Description
ResourceRuntime.Builder

parseDelimitedFrom(InputStream input)

public static ResourceRuntime parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ResourceRuntime
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ResourceRuntime parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceRuntime
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ResourceRuntime parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ResourceRuntime
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ResourceRuntime parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceRuntime
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ResourceRuntime parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ResourceRuntime
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ResourceRuntime parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceRuntime
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ResourceRuntime parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ResourceRuntime
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ResourceRuntime parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceRuntime
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ResourceRuntime parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ResourceRuntime
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ResourceRuntime parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceRuntime
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ResourceRuntime parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ResourceRuntime
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ResourceRuntime parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceRuntime
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ResourceRuntime> parser()
Returns
Type Description
Parser<ResourceRuntime>

Methods

containsAccessUris(String key)

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];

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAccessUris() (deprecated)

public Map<String,String> getAccessUris()

Use #getAccessUrisMap() instead.

Returns
Type Description
Map<String,String>

getAccessUrisCount()

public int getAccessUrisCount()

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];

Returns
Type Description
int

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];

Returns
Type Description
Map<String,String>

getAccessUrisOrDefault(String key, String defaultValue)

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];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getAccessUrisOrThrow(String key)

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];

Parameter
Name Description
key String
Returns
Type Description
String

getDefaultInstanceForType()

public ResourceRuntime getDefaultInstanceForType()
Returns
Type Description
ResourceRuntime

getNotebookRuntimeTemplate()

public String getNotebookRuntimeTemplate()

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 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The notebookRuntimeTemplate.

getNotebookRuntimeTemplateBytes()

public ByteString getNotebookRuntimeTemplateBytes()

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 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for notebookRuntimeTemplate.

getParserForType()

public Parser<ResourceRuntime> getParserForType()
Returns
Type Description
Parser<ResourceRuntime>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ResourceRuntime.Builder newBuilderForType()
Returns
Type Description
ResourceRuntime.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ResourceRuntime.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ResourceRuntime.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ResourceRuntime.Builder toBuilder()
Returns
Type Description
ResourceRuntime.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException