Class RayMetricSpec.Builder (3.84.0)

public static final class RayMetricSpec.Builder extends GeneratedMessage.Builder<RayMetricSpec.Builder> implements RayMetricSpecOrBuilder

Configuration for the Ray metrics.

Protobuf type google.cloud.aiplatform.v1beta1.RayMetricSpec

Static Methods

getDescriptor()

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

Methods

build()

public RayMetricSpec build()
Returns
Type Description
RayMetricSpec

buildPartial()

public RayMetricSpec buildPartial()
Returns
Type Description
RayMetricSpec

clear()

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

clearDisabled()

public RayMetricSpec.Builder clearDisabled()

Optional. Flag to disable the Ray metrics collection.

bool disabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RayMetricSpec.Builder

This builder for chaining.

getDefaultInstanceForType()

public RayMetricSpec getDefaultInstanceForType()
Returns
Type Description
RayMetricSpec

getDescriptorForType()

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

getDisabled()

public boolean getDisabled()

Optional. Flag to disable the Ray metrics collection.

bool disabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The disabled.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RayMetricSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDisabled(boolean value)

public RayMetricSpec.Builder setDisabled(boolean value)

Optional. Flag to disable the Ray metrics collection.

bool disabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The disabled to set.

Returns
Type Description
RayMetricSpec.Builder

This builder for chaining.