Class ResourceRuntime.Builder (3.40.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.v1beta1.ResourceRuntime

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ResourceRuntime.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ResourceRuntime.Builder
Overrides

build()

public ResourceRuntime build()
Returns
TypeDescription
ResourceRuntime

buildPartial()

public ResourceRuntime buildPartial()
Returns
TypeDescription
ResourceRuntime

clear()

public ResourceRuntime.Builder clear()
Returns
TypeDescription
ResourceRuntime.Builder
Overrides

clearAccessUris()

public ResourceRuntime.Builder clearAccessUris()
Returns
TypeDescription
ResourceRuntime.Builder

clearField(Descriptors.FieldDescriptor field)

public ResourceRuntime.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ResourceRuntime.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ResourceRuntime.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ResourceRuntime.Builder
Overrides

clone()

public ResourceRuntime.Builder clone()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

getAccessUris() (deprecated)

public Map<String,String> getAccessUris()

Use #getAccessUrisMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
String

getDefaultInstanceForType()

public ResourceRuntime getDefaultInstanceForType()
Returns
TypeDescription
ResourceRuntime

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMutableAccessUris() (deprecated)

public Map<String,String> getMutableAccessUris()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ResourceRuntime other)

public ResourceRuntime.Builder mergeFrom(ResourceRuntime other)
Parameter
NameDescription
otherResourceRuntime
Returns
TypeDescription
ResourceRuntime.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ResourceRuntime.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourceRuntime.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ResourceRuntime.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ResourceRuntime.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ResourceRuntime.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
keyString
valueString
Returns
TypeDescription
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
NameDescription
valuesMap<String,String>
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
ResourceRuntime.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ResourceRuntime.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ResourceRuntime.Builder
Overrides

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

public ResourceRuntime.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ResourceRuntime.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ResourceRuntime.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ResourceRuntime.Builder
Overrides