Class ResourceRuntime.Builder (3.84.0)

public static final class ResourceRuntime.Builder extends GeneratedMessage.Builder<ResourceRuntime.Builder> implements ResourceRuntimeOrBuilder

Persistent Cluster runtime information as output

Protobuf type google.cloud.aiplatform.v1.ResourceRuntime

Static Methods

getDescriptor()

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

Methods

build()

public ResourceRuntime build()
Returns
Type Description
ResourceRuntime

buildPartial()

public ResourceRuntime buildPartial()
Returns
Type Description
ResourceRuntime

clear()

public ResourceRuntime.Builder clear()
Returns
Type Description
ResourceRuntime.Builder
Overrides

clearAccessUris()

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

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

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMutableAccessUris() (deprecated)

public Map<String,String> getMutableAccessUris()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

internalGetFieldAccessorTable()

protected GeneratedMessage.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.GeneratedMessage.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ResourceRuntime other)

public ResourceRuntime.Builder mergeFrom(ResourceRuntime other)
Parameter
Name Description
other ResourceRuntime
Returns
Type Description
ResourceRuntime.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ResourceRuntime.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceRuntime.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ResourceRuntime.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ResourceRuntime.Builder
Overrides

putAccessUris(String key, String value)

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

Parameters
Name Description
key String
value String
Returns
Type Description
ResourceRuntime.Builder

putAllAccessUris(Map<String,String> values)

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

Parameter
Name Description
values Map<String,String>
Returns
Type Description
ResourceRuntime.Builder

removeAccessUris(String key)

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

Parameter
Name Description
key String
Returns
Type Description
ResourceRuntime.Builder