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 outputProtobuf type
google.cloud.aiplatform.v1beta1.ResourceRuntime-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Deprecated.google.cloud.aiplatform.v1beta1.ResourceRuntime.notebook_runtime_template is deprecated.booleancontainsAccessUris(String key) Output only.Deprecated.intOutput only.Output only.getAccessUrisOrDefault(String key, String defaultValue) Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.Deprecated.google.cloud.aiplatform.v1beta1.ResourceRuntime.notebook_runtime_template is deprecated.com.google.protobuf.ByteStringDeprecated.google.cloud.aiplatform.v1beta1.ResourceRuntime.notebook_runtime_template is deprecated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(ResourceRuntime other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) putAccessUris(String key, String value) Output only.putAllAccessUris(Map<String, String> values) Output only.removeAccessUris(String key) Output only.setNotebookRuntimeTemplate(String value) Deprecated.google.cloud.aiplatform.v1beta1.ResourceRuntime.notebook_runtime_template is deprecated.setNotebookRuntimeTemplateBytes(com.google.protobuf.ByteString value) Deprecated.google.cloud.aiplatform.v1beta1.ResourceRuntime.notebook_runtime_template is deprecated.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<ResourceRuntime.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<ResourceRuntime.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ResourceRuntime.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ResourceRuntime.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ResourceRuntime.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResourceRuntime.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResourceRuntime.Builder>- Throws:
IOException
-
getAccessUrisCount
public int getAccessUrisCount()Description copied from interface:ResourceRuntimeOrBuilderOutput 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:
getAccessUrisCountin interfaceResourceRuntimeOrBuilder
-
containsAccessUris
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:
containsAccessUrisin interfaceResourceRuntimeOrBuilder
-
getAccessUris
Deprecated.UsegetAccessUrisMap()instead.- Specified by:
getAccessUrisin interfaceResourceRuntimeOrBuilder
-
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:
getAccessUrisMapin interfaceResourceRuntimeOrBuilder
-
getAccessUrisOrDefault
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:
getAccessUrisOrDefaultin interfaceResourceRuntimeOrBuilder
-
getAccessUrisOrThrow
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:
getAccessUrisOrThrowin interfaceResourceRuntimeOrBuilder
-
clearAccessUris
-
removeAccessUris
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.Use alternate mutation accessors instead. -
putAccessUris
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
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.google.cloud.aiplatform.v1beta1.ResourceRuntime.notebook_runtime_template is deprecated. See google/cloud/aiplatform/v1beta1/persistent_resource.proto;l=290Output 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:
getNotebookRuntimeTemplatein interfaceResourceRuntimeOrBuilder- Returns:
- The notebookRuntimeTemplate.
-
getNotebookRuntimeTemplateBytes
Deprecated.google.cloud.aiplatform.v1beta1.ResourceRuntime.notebook_runtime_template is deprecated. See google/cloud/aiplatform/v1beta1/persistent_resource.proto;l=290Output 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:
getNotebookRuntimeTemplateBytesin interfaceResourceRuntimeOrBuilder- Returns:
- The bytes for notebookRuntimeTemplate.
-
setNotebookRuntimeTemplate
Deprecated.google.cloud.aiplatform.v1beta1.ResourceRuntime.notebook_runtime_template is deprecated. See google/cloud/aiplatform/v1beta1/persistent_resource.proto;l=290Output 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.google.cloud.aiplatform.v1beta1.ResourceRuntime.notebook_runtime_template is deprecated. See google/cloud/aiplatform/v1beta1/persistent_resource.proto;l=290Output 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=290Output 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.
-