Class RayMetricSpec.Builder (3.48.0)

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

Configuration for the Ray metrics.

Protobuf type google.cloud.aiplatform.v1.RayMetricSpec

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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