Class RayClusterMonitoringConfig.Builder (2.50.0)

public static final class RayClusterMonitoringConfig.Builder extends GeneratedMessageV3.Builder<RayClusterMonitoringConfig.Builder> implements RayClusterMonitoringConfigOrBuilder

RayClusterMonitoringConfig specifies monitoring configuration for Ray clusters.

Protobuf type google.container.v1.RayClusterMonitoringConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RayClusterMonitoringConfig build()
Returns
Type Description
RayClusterMonitoringConfig

buildPartial()

public RayClusterMonitoringConfig buildPartial()
Returns
Type Description
RayClusterMonitoringConfig

clear()

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

clearEnabled()

public RayClusterMonitoringConfig.Builder clearEnabled()

Enable metrics collection for Ray clusters.

bool enabled = 1;

Returns
Type Description
RayClusterMonitoringConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public RayClusterMonitoringConfig getDefaultInstanceForType()
Returns
Type Description
RayClusterMonitoringConfig

getDescriptorForType()

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

getEnabled()

public boolean getEnabled()

Enable metrics collection for Ray clusters.

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RayClusterMonitoringConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RayClusterMonitoringConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RayClusterMonitoringConfig.Builder
Overrides

setEnabled(boolean value)

public RayClusterMonitoringConfig.Builder setEnabled(boolean value)

Enable metrics collection for Ray clusters.

bool enabled = 1;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
RayClusterMonitoringConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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