public static final class RaySpec.Builder extends GeneratedMessageV3.Builder<RaySpec.Builder> implements RaySpecOrBuilder
Configuration information for the Ray cluster.
For experimental launch, Ray cluster creation and Persistent
cluster creation are 1:1 mapping: We will provision all the nodes within the
Persistent cluster as Ray nodes.
Protobuf type google.cloud.aiplatform.v1beta1.RaySpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public RaySpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RaySpec buildPartial()
public RaySpec.Builder clear()
Overrides
public RaySpec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public RaySpec.Builder clearImageUri()
Optional. Default image for user to choose a preferred ML framework(e.g.
tensorflow or Pytorch) by choosing from Vertex prebuild
images(https://cloud.google.com/vertex-ai/docs/training/pre-built-containers).
Either this or the resource_pool_images is required. Use this field if
you need all the resource pools to have the same Ray image, Otherwise, use
the {@code resource_pool_images} field.
string image_uri = 1 [(.google.api.field_behavior) = OPTIONAL];
public RaySpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public RaySpec.Builder clone()
Overrides
public RaySpec getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getImageUri()
Optional. Default image for user to choose a preferred ML framework(e.g.
tensorflow or Pytorch) by choosing from Vertex prebuild
images(https://cloud.google.com/vertex-ai/docs/training/pre-built-containers).
Either this or the resource_pool_images is required. Use this field if
you need all the resource pools to have the same Ray image, Otherwise, use
the {@code resource_pool_images} field.
string image_uri = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
String | The imageUri.
|
public ByteString getImageUriBytes()
Optional. Default image for user to choose a preferred ML framework(e.g.
tensorflow or Pytorch) by choosing from Vertex prebuild
images(https://cloud.google.com/vertex-ai/docs/training/pre-built-containers).
Either this or the resource_pool_images is required. Use this field if
you need all the resource pools to have the same Ray image, Otherwise, use
the {@code resource_pool_images} field.
string image_uri = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
ByteString | The bytes for imageUri.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public RaySpec.Builder mergeFrom(RaySpec other)
Parameter |
---|
Name | Description |
other | RaySpec
|
public RaySpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public RaySpec.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final RaySpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public RaySpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RaySpec.Builder setImageUri(String value)
Optional. Default image for user to choose a preferred ML framework(e.g.
tensorflow or Pytorch) by choosing from Vertex prebuild
images(https://cloud.google.com/vertex-ai/docs/training/pre-built-containers).
Either this or the resource_pool_images is required. Use this field if
you need all the resource pools to have the same Ray image, Otherwise, use
the {@code resource_pool_images} field.
string image_uri = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
value | String
The imageUri to set.
|
public RaySpec.Builder setImageUriBytes(ByteString value)
Optional. Default image for user to choose a preferred ML framework(e.g.
tensorflow or Pytorch) by choosing from Vertex prebuild
images(https://cloud.google.com/vertex-ai/docs/training/pre-built-containers).
Either this or the resource_pool_images is required. Use this field if
you need all the resource pools to have the same Ray image, Otherwise, use
the {@code resource_pool_images} field.
string image_uri = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for imageUri to set.
|
public RaySpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final RaySpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides