Class ResourceRuntime.Builder (3.54.0)

public static final class ResourceRuntime.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ResourceRuntime.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ResourceRuntime.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public ResourceRuntime.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ResourceRuntime.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ResourceRuntime.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ResourceRuntime.Builder
Overrides

clone()

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

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 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.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.GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ResourceRuntime.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

public ResourceRuntime.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ResourceRuntime.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ResourceRuntime.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ResourceRuntime.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ResourceRuntime.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ResourceRuntime.Builder
Overrides