Class RayMetricSpec.Builder (3.41.0)

public static final class RayMetricSpec.Builder extends GeneratedMessageV3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RayMetricSpec build()
Returns
TypeDescription
RayMetricSpec

buildPartial()

public RayMetricSpec buildPartial()
Returns
TypeDescription
RayMetricSpec

clear()

public RayMetricSpec.Builder clear()
Returns
TypeDescription
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
TypeDescription
RayMetricSpec.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public RayMetricSpec.Builder clone()
Returns
TypeDescription
RayMetricSpec.Builder
Overrides

getDefaultInstanceForType()

public RayMetricSpec getDefaultInstanceForType()
Returns
TypeDescription
RayMetricSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisabled()

public boolean getDisabled()

Optional. Flag to disable the Ray metrics collection.

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

Returns
TypeDescription
boolean

The disabled.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RayMetricSpec other)

public RayMetricSpec.Builder mergeFrom(RayMetricSpec other)
Parameter
NameDescription
otherRayMetricSpec
Returns
TypeDescription
RayMetricSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RayMetricSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The disabled to set.

Returns
TypeDescription
RayMetricSpec.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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