Class RayOperatorConfig.Builder (2.57.0)

public static final class RayOperatorConfig.Builder extends GeneratedMessageV3.Builder<RayOperatorConfig.Builder> implements RayOperatorConfigOrBuilder

Configuration options for the Ray Operator add-on.

Protobuf type google.container.v1.RayOperatorConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RayOperatorConfig build()
Returns
Type Description
RayOperatorConfig

buildPartial()

public RayOperatorConfig buildPartial()
Returns
Type Description
RayOperatorConfig

clear()

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

clearEnabled()

public RayOperatorConfig.Builder clearEnabled()

Whether the Ray Operator addon is enabled for this cluster.

bool enabled = 1;

Returns
Type Description
RayOperatorConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRayClusterLoggingConfig()

public RayOperatorConfig.Builder clearRayClusterLoggingConfig()

Optional. Logging configuration for Ray clusters.

.google.container.v1.RayClusterLoggingConfig ray_cluster_logging_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RayOperatorConfig.Builder

clearRayClusterMonitoringConfig()

public RayOperatorConfig.Builder clearRayClusterMonitoringConfig()

Optional. Monitoring configuration for Ray clusters.

.google.container.v1.RayClusterMonitoringConfig ray_cluster_monitoring_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RayOperatorConfig.Builder

clone()

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

getDefaultInstanceForType()

public RayOperatorConfig getDefaultInstanceForType()
Returns
Type Description
RayOperatorConfig

getDescriptorForType()

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

getEnabled()

public boolean getEnabled()

Whether the Ray Operator addon is enabled for this cluster.

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

getRayClusterLoggingConfig()

public RayClusterLoggingConfig getRayClusterLoggingConfig()

Optional. Logging configuration for Ray clusters.

.google.container.v1.RayClusterLoggingConfig ray_cluster_logging_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RayClusterLoggingConfig

The rayClusterLoggingConfig.

getRayClusterLoggingConfigBuilder()

public RayClusterLoggingConfig.Builder getRayClusterLoggingConfigBuilder()

Optional. Logging configuration for Ray clusters.

.google.container.v1.RayClusterLoggingConfig ray_cluster_logging_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RayClusterLoggingConfig.Builder

getRayClusterLoggingConfigOrBuilder()

public RayClusterLoggingConfigOrBuilder getRayClusterLoggingConfigOrBuilder()

Optional. Logging configuration for Ray clusters.

.google.container.v1.RayClusterLoggingConfig ray_cluster_logging_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RayClusterLoggingConfigOrBuilder

getRayClusterMonitoringConfig()

public RayClusterMonitoringConfig getRayClusterMonitoringConfig()

Optional. Monitoring configuration for Ray clusters.

.google.container.v1.RayClusterMonitoringConfig ray_cluster_monitoring_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RayClusterMonitoringConfig

The rayClusterMonitoringConfig.

getRayClusterMonitoringConfigBuilder()

public RayClusterMonitoringConfig.Builder getRayClusterMonitoringConfigBuilder()

Optional. Monitoring configuration for Ray clusters.

.google.container.v1.RayClusterMonitoringConfig ray_cluster_monitoring_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RayClusterMonitoringConfig.Builder

getRayClusterMonitoringConfigOrBuilder()

public RayClusterMonitoringConfigOrBuilder getRayClusterMonitoringConfigOrBuilder()

Optional. Monitoring configuration for Ray clusters.

.google.container.v1.RayClusterMonitoringConfig ray_cluster_monitoring_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RayClusterMonitoringConfigOrBuilder

hasRayClusterLoggingConfig()

public boolean hasRayClusterLoggingConfig()

Optional. Logging configuration for Ray clusters.

.google.container.v1.RayClusterLoggingConfig ray_cluster_logging_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the rayClusterLoggingConfig field is set.

hasRayClusterMonitoringConfig()

public boolean hasRayClusterMonitoringConfig()

Optional. Monitoring configuration for Ray clusters.

.google.container.v1.RayClusterMonitoringConfig ray_cluster_monitoring_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the rayClusterMonitoringConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RayOperatorConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRayClusterLoggingConfig(RayClusterLoggingConfig value)

public RayOperatorConfig.Builder mergeRayClusterLoggingConfig(RayClusterLoggingConfig value)

Optional. Logging configuration for Ray clusters.

.google.container.v1.RayClusterLoggingConfig ray_cluster_logging_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value RayClusterLoggingConfig
Returns
Type Description
RayOperatorConfig.Builder

mergeRayClusterMonitoringConfig(RayClusterMonitoringConfig value)

public RayOperatorConfig.Builder mergeRayClusterMonitoringConfig(RayClusterMonitoringConfig value)

Optional. Monitoring configuration for Ray clusters.

.google.container.v1.RayClusterMonitoringConfig ray_cluster_monitoring_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value RayClusterMonitoringConfig
Returns
Type Description
RayOperatorConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEnabled(boolean value)

public RayOperatorConfig.Builder setEnabled(boolean value)

Whether the Ray Operator addon is enabled for this cluster.

bool enabled = 1;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
RayOperatorConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setRayClusterLoggingConfig(RayClusterLoggingConfig value)

public RayOperatorConfig.Builder setRayClusterLoggingConfig(RayClusterLoggingConfig value)

Optional. Logging configuration for Ray clusters.

.google.container.v1.RayClusterLoggingConfig ray_cluster_logging_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value RayClusterLoggingConfig
Returns
Type Description
RayOperatorConfig.Builder

setRayClusterLoggingConfig(RayClusterLoggingConfig.Builder builderForValue)

public RayOperatorConfig.Builder setRayClusterLoggingConfig(RayClusterLoggingConfig.Builder builderForValue)

Optional. Logging configuration for Ray clusters.

.google.container.v1.RayClusterLoggingConfig ray_cluster_logging_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue RayClusterLoggingConfig.Builder
Returns
Type Description
RayOperatorConfig.Builder

setRayClusterMonitoringConfig(RayClusterMonitoringConfig value)

public RayOperatorConfig.Builder setRayClusterMonitoringConfig(RayClusterMonitoringConfig value)

Optional. Monitoring configuration for Ray clusters.

.google.container.v1.RayClusterMonitoringConfig ray_cluster_monitoring_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value RayClusterMonitoringConfig
Returns
Type Description
RayOperatorConfig.Builder

setRayClusterMonitoringConfig(RayClusterMonitoringConfig.Builder builderForValue)

public RayOperatorConfig.Builder setRayClusterMonitoringConfig(RayClusterMonitoringConfig.Builder builderForValue)

Optional. Monitoring configuration for Ray clusters.

.google.container.v1.RayClusterMonitoringConfig ray_cluster_monitoring_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue RayClusterMonitoringConfig.Builder
Returns
Type Description
RayOperatorConfig.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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